NatLabRockies / NatLabRockies/OpenStudio-resources

bundle tests are failing with 3.0.0 official

Open
#104 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
HTML
Stars
29
Forks
17
Avg merge
4d 6h
Merged PRs (30d)
3

Description

Error:
ModelTests#test_model_articulation1_bundle_no_git_osw:
RuntimeError: Exit code 1:
W, [2020-04-27T22:39:24.915438 #6719]  WARN -- : Bundle activated but ENV['BUNDLE_WITHOUT'] is not set
Error executing argv: ["--bundle", "/home/julien/Software/Others/OpenStudio-resources/gemfiles/bundle_no_git/Gemfile", "--bundle_path", "/home/julien/Software/Others/OpenStudio-resources/gemfiles/bundle_no_git/gems", "run", "-w", "/home/julien/Software/Others/OpenStudio-resources/testruns/model_articulation1_bundle_no_git.osw/in.osw"]
Error: Could not find openstudio-standards-0.2.11 in any of the sources in /home/julien/.rvm/gems/ruby-2.5.5/gems/bundler-2.1.4/lib/bundler/spec_set.rb:86:in `block in materialize'
/home/julien/.rvm/gems/ruby-2.5.5/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in `map!'
/home/julien/.rvm/gems/ruby-2.5.5/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in `materialize'
/home/julien/.rvm/gems/ruby-2.5.5/gems/bundler-2.1.4/lib/bundler/definition.rb:170:in `specs'
/home/julien/.rvm/gems/ruby-2.5.5/gems/bundler-2.1.4/lib/bundler/definition.rb:237:in `specs_for'
:/openstudio_cli.rb:557:in `parse_main_args'
:/openstudio_cli.rb:727:in `execute'
:/openstudio_cli.rb:1757:in `<main>'
eval:149:in `eval'
eval:149:in `require_embedded_absolute'
eval:123:in `block in require'
eval:117:in `each'
eval:117:in `require'
eval:3:in `<main>'

    /home/julien/Software/Others/OpenStudio-resources/test_helpers.rb:352:in `block in run_command'
    :/ruby/2.5.0/open3.rb:205:in `popen_run'
    :/ruby/2.5.0/open3.rb:95:in `popen3'
    /home/julien/Software/Others/OpenStudio-resources/test_helpers.rb:336:in `run_command'
    /home/julien/Software/Others/OpenStudio-resources/test_helpers.rb:699:in `sim_test'
    /home/julien/Software/Others/OpenStudio-resources/model_tests.rb:999:in `test_model_articulation1_bundle_no_git_osw'

Failure:
ModelTests#test_model_articulation1_bundle_git_osw [/home/julien/Software/Others/OpenStudio-resources/model_tests.rb:1051]
Minitest::Assertion: Expected nil to be truthy.

2 tests, 9 assertions, 1 failures, 1 errors, 0 skips

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with model_tests.rb around test_model_articulation1_bundle_no_git_osw and test_model_articulation1_bundle_git_osw, then inspect test_helpers.rb around sim_test and run_command. Reproduce the two bundle tests against official 3.0.0 and trace the dependency resolution shown in the error. Done means both tests pass without the reported failure or error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.