Skip to content

builder failing with nix and MacOS #101

@joaothallis

Description

@joaothallis
nix run 'github:infertux/bashcov' -- help
error: Cannot build '/nix/store/g4yj61y7lgljj2snvzmkkxg3i0sm6yxh-bashcov-3.2.0.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/rvsbwsr0wglsm067yjl1g8l1zs3fs1ln-bashcov-3.2.0
       Last 25 log lines:
       >       ./simple.sh
       >       """
       >     Then the results should contain the commands:                                      # features/step_definitions/bashcov_steps.rb:77
       >       | simple-test |
       >     And the file "./simple.sh" should have the following coverage:                     # features/step_definitions/bashcov_steps.rb:83
       >       | 1 | nil |
       >       | 2 | 1 |
       >       coverage includes results for "/nix/var/nix/builds/nix-29717-970421615/source/tmp/aruba/simple.sh"
       >       Diff:
       >       @@ -1 +0,0 @@
       >       -["/nix/var/nix/builds/nix-29717-970421615/source/tmp/aruba/simple.sh"]
       >        (RSpec::Expectations::ExpectationNotMetError)
       >       ./features/step_definitions/bashcov_steps.rb:87:in `/^the file "([^"]*)" should have the following coverage:/'
       >       features/result_merging.feature:60:in `the file "./simple.sh" should have the following coverage:'
       >
       > Failing Scenarios:
       > cucumber features/result_merging.feature:25 # Scenario: SimpleCov.use_merging == true and SimpleCov.command_name is unique
       > cucumber features/result_merging.feature:45 # Scenario: SimpleCov.use_merging == true and SimpleCov.command_name is not unique
       >
       > 6 scenarios (2 failed, 1 skipped, 3 passed)
       > 32 steps (2 failed, 3 skipped, 27 passed)
       > 0m15.495s
       > Coverage report generated for Cucumber Features to /nix/var/nix/builds/nix-29717-970421615/source/coverage.
       > Line Coverage: 100.0% (0 / 0)
       > Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
       For full logs, run:
         nix log /nix/store/g4yj61y7lgljj2snvzmkkxg3i0sm6yxh-bashcov-3.2.0.drv

Nix shell

nix shell 'github:infertux/bashcov'
error: Cannot build '/nix/store/g4yj61y7lgljj2snvzmkkxg3i0sm6yxh-bashcov-3.2.0.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/rvsbwsr0wglsm067yjl1g8l1zs3fs1ln-bashcov-3.2.0
       Last 25 log lines:
       >       ./simple.sh
       >       """
       >     Then the results should contain the commands:                                      # features/step_definitions/bashcov_steps.rb:77
       >       | simple-test |
       >     And the file "./simple.sh" should have the following coverage:                     # features/step_definitions/bashcov_steps.rb:83
       >       | 1 | nil |
       >       | 2 | 1 |
       >       coverage includes results for "/nix/var/nix/builds/nix-30097-2461114602/source/tmp/aruba/simple.sh"
       >       Diff:
       >       @@ -1 +0,0 @@
       >       -["/nix/var/nix/builds/nix-30097-2461114602/source/tmp/aruba/simple.sh"]
       >        (RSpec::Expectations::ExpectationNotMetError)
       >       ./features/step_definitions/bashcov_steps.rb:87:in `/^the file "([^"]*)" should have the following coverage:/'
       >       features/result_merging.feature:60:in `the file "./simple.sh" should have the following coverage:'
       >
       > Failing Scenarios:
       > cucumber features/result_merging.feature:25 # Scenario: SimpleCov.use_merging == true and SimpleCov.command_name is unique
       > cucumber features/result_merging.feature:45 # Scenario: SimpleCov.use_merging == true and SimpleCov.command_name is not unique
       >
       > 6 scenarios (2 failed, 1 skipped, 3 passed)
       > 32 steps (2 failed, 3 skipped, 27 passed)
       > 0m15.480s
       > Coverage report generated for Cucumber Features to /nix/var/nix/builds/nix-30097-2461114602/source/coverage.
       > Line Coverage: 100.0% (0 / 0)
       > Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
       For full logs, run:
         nix log /nix/store/g4yj61y7lgljj2snvzmkkxg3i0sm6yxh-bashcov-3.2.0.drv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions