Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins test fails #2308

Closed
edolstra opened this issue Apr 18, 2014 · 5 comments
Closed

Jenkins test fails #2308

edolstra opened this issue Apr 18, 2014 · 5 comments

Comments

@edolstra
Copy link
Member

The Jenkins test fails pretty consistently: http://hydra.nixos.org/job/nixos/trunk/tests.jenkins.x86_64-linux

@coreyoconnor
Copy link
Contributor

Just noticed this bug.
This test runs consistently with my fork of nixpkgs. I suspect there is a necessary change that I have not merged upstream.

@coreyoconnor
Copy link
Contributor

Hrm. Looked into the logs. The test fails but the nix-build for the test does not exit with status 0. The command I'm using is:

nix-build --no-out-link release.nix -A tests.jenkins.x86_64-linux

Is this command expect to return status 0 when the test fails?

coreyoconnor added a commit to coreyoconnor/nixpkgs that referenced this issue May 11, 2014
@coreyoconnor
Copy link
Contributor

Resolved with pull request #2619.

coreyoconnor added a commit to coreyoconnor/nixpkgs that referenced this issue May 11, 2014
@edolstra
Copy link
Member Author

Yeah, if a VM test fails, it returns 0 but creates $out/nix-support/failed. This allows it to have a Hydra build result (the log) even when it fails.

edolstra pushed a commit that referenced this issue May 13, 2014
@coreyoconnor
Copy link
Contributor

Cool. I'll correct my integration test process. Thanks!
On May 13, 2014 2:10 AM, "Eelco Dolstra" notifications@github.com wrote:

Yeah, if a VM test fails, it returns 0 but creates
$out/nix-support/failed. This allows it to have a Hydra build result (the
log) even when it fails.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2308#issuecomment-42932976
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants