5 Star 0 Fork 5

src-openEuler / rubygem-pry

 / 详情

rubygem-pry problem in openEuler-22.03-LTS-SP1

已验收
缺陷
创建于  
2022-11-24 21:50

repo:http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP1/Alpha_openeuler-2022-11-23-19-40-46

Pending: (Failures listed here are expected and do not affect your suite's status)

  1. Pry::Editor build_editor_invocation_string should shell-escape files

    No reason given

    ./spec/editor_spec.rb:75

  2. Pry::InputCompleter should not crash if there's a Module that has a symbolic name.

    No reason given

    ./spec/completion_spec.rb:36

  3. ls on java objects should omit java-esque aliases by default

    No reason given

    ./spec/commands/ls_spec.rb:295

  4. ls on java objects should include java-esque aliases if requested

    No reason given

    ./spec/commands/ls_spec.rb:302

Failures:

  1. Pry::Config is expected to equal true or equal false
    Failure/Error: specify { expect(subject.auto_indent).to be(true).or be(false) }

     expected true
          got nil
    

    ...or:

     expected false
          got nil
    

    ./spec/config_spec.rb:25:in `block (2 levels) in <top (required)>'

  2. Pry::Config is expected to equal true or equal false
    Failure/Error: specify { expect(subject.color).to be(true).or be(false) }

     expected true
          got nil
    

    ...or:

     expected false
          got nil
    

    ./spec/config_spec.rb:17:in `block (2 levels) in <top (required)>'

  3. Pry::REPL eval_string and binding_stack should immediately evaluate eval_string after cmd if complete
    Failure/Error: expect(last_prompt).to match pattern

    expected "[1] pry(main)* " to match /* $/
    Diff:
    @@ -1,2 +1,2 @@
    -/* $/
    +"[1] pry(main)* "

    ./spec/support/repl_tester.rb:77:in `prompt'

    ./spec/pry_repl_spec.rb:93:in `block (4 levels) in <top (required)>'

    ./spec/support/repl_tester.rb:36:in `instance_eval'

    ./spec/support/repl_tester.rb:36:in `block in start'

    ./spec/support/mock_pry.rb:26:in `redirect_pry_io'

    ./spec/support/repl_tester.rb:34:in `start'

    ./spec/pry_repl_spec.rb:90:in `block (3 levels) in <top (required)>'

  4. Pry::REPL autoindent should raise no exception when indented with a tab
    Failure/Error: expect(@pry.output.string.chomp).to match pattern

    RegexpError:
    premature end of char-class: /do
    break #note the tab here
    end
    \x1B[1B\x1B[0G=> nil/

    ./spec/support/repl_tester.rb:83:in `output'

    ./spec/pry_repl_spec.rb:138:in `block (4 levels) in <top (required)>'

    ./spec/support/repl_tester.rb:36:in `instance_eval'

    ./spec/support/repl_tester.rb:36:in `block in start'

    ./spec/support/mock_pry.rb:26:in `redirect_pry_io'

    ./spec/support/repl_tester.rb:34:in `start'

    ./spec/pry_repl_spec.rb:128:in `block (3 levels) in <top (required)>'

Finished in 58.14 seconds (files took 0.43855 seconds to load)
1431 examples, 4 failures, 4 pending

Failed examples:

rspec ./spec/config_spec.rb:25 # Pry::Config is expected to equal true or equal false
rspec ./spec/config_spec.rb:17 # Pry::Config is expected to equal true or equal false
rspec ./spec/pry_repl_spec.rb:81 # Pry::REPL eval_string and binding_stack should immediately evaluate eval_string after cmd if complete
rspec ./spec/pry_repl_spec.rb:127 # Pry::REPL autoindent should raise no exception when indented with a tab

Randomized with seed 63824

附件

评论 (4)

dongjie110 创建了缺陷

Hi dongjie110, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-ruby, and any of the maintainers: @木得感情的openEuler机器人 , @small_leek , @薄皮小笼包

openeuler-ci-bot 添加了
 
sig/sig-ruby
标签
dongjie110 修改了描述
dongjie110 上传了附件cbs.247570-rubygem-pry-x86_64.txt
dongjie110 负责人设置为caodongxia
dongjie110 计划开始日期设置为2022-11-25
dongjie110 计划截止日期2022-11-26 修改为2022-11-29
dongjie110 修改了描述

该问题为偶现失败。用例执行start函数,start函数内部会获取当前执行线程,根据日志查看该问题属于多线程执行时资源抢占导致返回数据异常导致失败。问题与软件包本身代码无关,

caodongxia 任务状态待办的 修改为已完成

该问题为偶现失败。用例执行start函数,start函数内部会获取当前执行线程,根据日志查看该问题属于多线程执行时资源抢占导致返回数据异常导致失败。问题与软件包本身代码无关,

@吴磊磊 此包在EBS上近期均为构建失败,请继续排查一下

dongjie110 任务状态已完成 修改为待办的

【问题根因】
构建工程框架的TERM=dumb,因为该包的测试用例需要断言颜色,所以导致测试用例失败
【解决方案】
构建工程框架 export TERM=xterm-256color 使用的docker中已包含所有的terminfo

caodongxia 任务状态待办的 修改为已完成
dongjie110 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/rubygem-pry.git
git@gitee.com:src-openeuler/rubygem-pry.git
src-openeuler
rubygem-pry
rubygem-pry

搜索帮助