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
Help? Working on Hydra release builds for master x64 Deb/RPM #1769
Conversation
Not really intending for this to be merged as-is (hoping someone has some insight into the VM tools/debug symbols/chroot issues and can enlighten me), though it would be nice to get the Hydra release build in the green again. |
Hydra has been broken since 4cde04f due to some strange behavior with the sandboxing, and somewhere during that time a debug symbol problem also crept into the RPM builds. Strangely, neither problem shows up on 32-bit builds. This is hideous but it gets both Ubuntu and Fedora building again: $ nix-build release.nix -A rpm_fedora25x86_64 -A deb_ubuntu1604x86_64 <passes everything> The first issue seems to be that /bin/bash doesn't get mounted in the chroot, but I'm not sure why that is. I verified outside the sandbox call that it is there and does exist. Not sure on the debug symbols issue. I'll keep digging around but figured I'd show some hotfixes to demonstrate these are the only problems and see if anyone else knows more?
2f1c8fb
to
bbe7df6
Compare
Not sure what to do about the debuginfo problem, but your fix seems reasonable if it's a known issue with the tools shipping with released Fedora. Searching around... FWIW, here's a log snippet from the Fedora failure:
|
I can confirm that the fix in #1770 ALSO fixes the RPM sandbox test cases! Good catch on That just leaves the debug symbols for the RPMs. That ticket hints that |
Oh, hooray! Good call on VM memory, looking forward to seeing some green builds! 😁 |
bus error? I suppose they use |
Hydra has been broken since 4cde04f due to some strange behavior with the
sandboxing, and somewhere during that time a debug symbol problem also crept
into the RPM builds. Strangely, neither problem shows up on 32-bit builds.
This is hideous but it gets both Ubuntu and Fedora building again:
$ nix-build release.nix -A rpm_fedora25x86_64 -A deb_ubuntu1604x86_64
The first issue seems to be that /bin/bash doesn't get mounted in the chroot,
but I'm not sure why that is. I verified outside the sandbox call that it is
there and does exist. Not sure on the debug symbols issue. I'll keep digging
around but figured I'd show some hotfixes to demonstrate these are the only
problems and see if anyone else knows more?