[GH-ISSUE #1652] CircleCI spurious failures #1093

Closed
opened 2026-10-14 03:34:43 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @jfoug on GitHub (Aug 11, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1652

Originally assigned to: @kholia on GitHub.

There have been quite a few. Some are due to my recent multi building, where I am installing components, and the Fedora install times out. We could fix them, by having the image up to date, so it can build 64 AND 32 bit. But not all failures are like that.

Here is an example:

https://circleci.com/gh/magnumripper/JohnTheRipper/641

Since @kholia owns the fedora image, to get it updated may require him to do so. But we also need to figure out how best to address some of these other spurious failures.

Originally created by @jfoug on GitHub (Aug 11, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1652 Originally assigned to: @kholia on GitHub. There have been quite a few. Some are due to my recent multi building, where I am installing components, and the Fedora install times out. We could fix them, by having the image up to date, so it can build 64 AND 32 bit. But not all failures are like that. Here is an example: https://circleci.com/gh/magnumripper/JohnTheRipper/641 Since @kholia owns the fedora image, to get it updated may require him to do so. But we also need to figure out how best to address some of these other spurious failures.
Author
Owner

@jfoug commented on GitHub (Aug 11, 2015):

We are getting the same error again. There is something wrong with the CI setup.

<!-- gh-comment-id:130000726 --> @jfoug commented on GitHub (Aug 11, 2015): We are getting the same error again. There is something wrong with the CI setup.
Author
Owner

@kholia commented on GitHub (Sep 6, 2015):

@jfoug I just updated the image, and also installed the various i686 packages. Hopefully, the builds will be more stable now.

<!-- gh-comment-id:138076892 --> @kholia commented on GitHub (Sep 6, 2015): @jfoug I just updated the image, and also installed the various i686 packages. Hopefully, the builds will be more stable now.
Author
Owner

@magnumripper commented on GitHub (Sep 6, 2015):

I got a failure after that.

<!-- gh-comment-id:138088000 --> @magnumripper commented on GitHub (Sep 6, 2015): I got a failure after that.
Author
Owner

@kholia commented on GitHub (Sep 6, 2015):

@magnumripper do we know what exactly fails?

<!-- gh-comment-id:138088985 --> @kholia commented on GitHub (Sep 6, 2015): @magnumripper do we know what exactly fails?
Author
Owner

@frank-dittrich commented on GitHub (Sep 6, 2015):

  adding: README-jumbo (deflated 45%)
wine: created the configuration directory '/root/.wine'
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
wine: configuration in '/root/.wine' has been updated.
==lxc-start: lxc_start.c: main: 342 The container failed to start.

docker run --name fedora -v /home/ubuntu:/base -i -t dhiru/fedora /base/JohnTheRipper/src/CircleCI-MinGW.sh returned exit code 1

lxc-start: lxc_start.c: main: 346 Additional information can be obtained by setting the --logfile and --logpriority options. Action failed: docker run --name fedora -v /home/ubuntu:/base -i -t dhiru/fedora /base/JohnTheRipper/src/CircleCI-MinGW.sh
<!-- gh-comment-id:138089122 --> @frank-dittrich commented on GitHub (Sep 6, 2015): ``` adding: README-jumbo (deflated 45%) wine: created the configuration directory '/root/.wine' Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. wine: configuration in '/root/.wine' has been updated. ==lxc-start: lxc_start.c: main: 342 The container failed to start. docker run --name fedora -v /home/ubuntu:/base -i -t dhiru/fedora /base/JohnTheRipper/src/CircleCI-MinGW.sh returned exit code 1 lxc-start: lxc_start.c: main: 346 Additional information can be obtained by setting the --logfile and --logpriority options. Action failed: docker run --name fedora -v /home/ubuntu:/base -i -t dhiru/fedora /base/JohnTheRipper/src/CircleCI-MinGW.sh ```
Author
Owner

@kholia commented on GitHub (Sep 6, 2015):

It seems that I will need to SSH into the CircleCI box itself.

<!-- gh-comment-id:138089800 --> @kholia commented on GitHub (Sep 6, 2015): It seems that I will need to SSH into the CircleCI box itself.
Author
Owner

@kholia commented on GitHub (Sep 8, 2015):

I have reached out to CircleCI support (I can't make much sense of that error message myself).

<!-- gh-comment-id:138507313 --> @kholia commented on GitHub (Sep 8, 2015): I have reached out to CircleCI support (I can't make much sense of that error message myself).
Author
Owner

@jfoug commented on GitHub (Sep 9, 2015):

I do not fully understand the setup you did with docker, but is there any external servers being accessed for these images (i.e. scp to somewhere)? I know that it is often in the external site communications that we see failures. This is why the mingw stuff was sporadically failing. It would work most of the time, but then it would have a timeout downloading some package, and thus not be able to build, link or run something. It wasn't that the code was bad, just that building the framework of the server failed. Since we are using an external script as a single point of testing, the CI has no choice other than to say the run failed.

I wonder if we can work around a lot of this by updating the script to be a little more bullet proof? I think the updates were happening within the script.

Now, I know the problem we are seeing now is not part of the script run (I think), but in the CI setup code (trying to get the image docked.)

Hopefully CI support can point out the problems.

<!-- gh-comment-id:138915921 --> @jfoug commented on GitHub (Sep 9, 2015): I do not fully understand the setup you did with docker, but is there any external servers being accessed for these images (i.e. scp to somewhere)? I know that it is often in the external site communications that we see failures. This is why the mingw stuff was sporadically failing. It would work most of the time, but then it would have a timeout downloading some package, and thus not be able to build, link or run something. It wasn't that the code was bad, just that building the framework of the server failed. Since we are using an external script as a single point of testing, the CI has no choice other than to say the run failed. I wonder if we can work around a lot of this by updating the script to be a little more bullet proof? I think the updates were happening within the script. Now, I know the problem we are seeing now is not part of the script run (I think), but in the CI setup code (trying to get the image docked.) Hopefully CI support can point out the problems.
Author
Owner

@kholia commented on GitHub (Sep 9, 2015):

See https://github.com/kholia/JohnTheRipper/commits/CircleCI-stability-fixes for my approach to fixing this stuff.

With those changes, I get the following errors in the build process,

******************************************************************************
now testing a NON-SIMD build
******************************************************************************

checking build system type... x86_64-unknown-linux-gnu
...
configure: Testing build host's native CPU features
checking for MMX... yes
checking for SSE2... no
checking for arch.h alternative... x86-64.h
checking whether compiler understands -march=native... yes
checking for 32/64 bit... 64-bit
checking for extra ASFLAGS... None needed
checking for X32 ABI... no
checking for byte ordering according to target triple... little
checking for OPENSSL... no
configure: error: in `/base/JohnTheRipper/src':
configure: error: JtR requires OpenSSL and OpenSSL-devel being installed. Install if not installed.
Try using --disable-pkg-config and possibly helping configure find oSSL by providing hints in CFLAGS and LDFLAGS
See `config.log' for more details
lxc-start: lxc_start.c: main: 342 The container failed to start

We are much closer to fixing the real problem now, I think. Any hints?

<!-- gh-comment-id:138928483 --> @kholia commented on GitHub (Sep 9, 2015): See https://github.com/kholia/JohnTheRipper/commits/CircleCI-stability-fixes for my approach to fixing this stuff. With those changes, I get the following errors in the build process, ``` ****************************************************************************** now testing a NON-SIMD build ****************************************************************************** checking build system type... x86_64-unknown-linux-gnu ... configure: Testing build host's native CPU features checking for MMX... yes checking for SSE2... no checking for arch.h alternative... x86-64.h checking whether compiler understands -march=native... yes checking for 32/64 bit... 64-bit checking for extra ASFLAGS... None needed checking for X32 ABI... no checking for byte ordering according to target triple... little checking for OPENSSL... no configure: error: in `/base/JohnTheRipper/src': configure: error: JtR requires OpenSSL and OpenSSL-devel being installed. Install if not installed. Try using --disable-pkg-config and possibly helping configure find oSSL by providing hints in CFLAGS and LDFLAGS See `config.log' for more details lxc-start: lxc_start.c: main: 342 The container failed to start ``` We are much closer to fixing the real problem now, I think. Any hints?
Author
Owner

@kholia commented on GitHub (Sep 9, 2015):

https://github.com/magnumripper/JohnTheRipper/pull/1739 should help in fixing this.

<!-- gh-comment-id:138995464 --> @kholia commented on GitHub (Sep 9, 2015): https://github.com/magnumripper/JohnTheRipper/pull/1739 should help in fixing this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1093
No description provided.