question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

waiting on log randomly doesn't work

See original GitHub issue

Description

The wait on logging will often fail even though the logging statement is plainly visible in the logs. This is most often observed when running in Jenkins. There doesn’t appear to be any pattern as running the build manually afterwards will usually fix it, but not always. Sometimes we have to rerun it two or three times in a row until it decides to see the logging.

Info

  • d-m-p version : 0.20.1
  • Maven version (mvn -v) : 3.3.9
  • Docker version : Docker version 1.13.1, build 092cba3
  • Simply running the build will fail about half of the time. We have a dockerized DropWizard service starting up and then we wait for the service to come up using the following setting:
                                    <wait>
                                        <log>(.*)(org\.eclipse\.jetty\.server\.Server: Started)(.*)</log>
                                        <time>60000</time>
                                    </wait>

We’ve tried various permutations from simply looking for “Started” to the regex noted above. The issue is never resolved. As often as not the following failed build output can be observed:

omitted> INFO  [2017-05-01 19:16:45,229] org.eclipse.jetty.server.AbstractConnector: Started admin@3804a9a8{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
omitted> INFO  [2017-05-01 19:16:45,229] org.eclipse.jetty.server.Server: Started @7161ms
[ERROR] DOCKER> [omitted] "omitted": Timeout after 120039 ms while waiting on log out '(.*)(org\.eclipse\.jetty\.server\.Server: Started)(.*)'
[ERROR] DOCKER> Error occurred during container startup, shutting down...

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:31

github_iconTop GitHub Comments

6reactions
riccardomarotticommented, Apr 15, 2019

I’m still having this issue, with version 0.29.0.

2reactions
rhusscommented, Apr 8, 2019

Next try: There’s an update of the unix socket library in release 0.29.0, so it might be worth to check this out whether it fixes this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 lock screen randomly does not work, says ...
Neither pins or password works either. The only way to log back in is by restarting the laptop, losing any unsaved files.
Read more >
r/ffxiv - Dear SE, if you're going to have a login queue ... - Reddit
Waiting in line is fine. Winning the coin flip that you don't get back to back lobby errors and get punted to the...
Read more >
Random Error Waiting Time - Electronics Stack Exchange
My favorite final process test for new SMD MOBO'S was random vibration with heat on a fixture or a vibrator on backplane cards....
Read more >
If you can't turn on or sign in to iMessage or FaceTime
When activating iMessage or FaceTime, you might see one of these messages: Waiting for activation; Activation unsuccessful; An error ...
Read more >
Troubleshoot Chrome crashes - Google Support
In most cases, you can reload the page to dismiss this error. If you keep seeing the message, try closing other webpages that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found