#7524 Koji builder changes its time suddenly
Closed: Fixed by kevin. Opened by pvalena.

In build log, there occurs:

make: Warning: File 'abrt_prelude.rb' has modification time 69 s in the future

Then executing part of the test suite (in %check) results in (re)compiling a part of code we did not intend to (or at all), and failure occurs:

https://kojipkgs.fedoraproject.org//work/tasks/8343/27188343/build.log
https://kojipkgs.fedoraproject.org//work/tasks/8339/27188339/build.log
https://kojipkgs.fedoraproject.org//work/tasks/8030/27168030/build.log
https://kojipkgs.fedoraproject.org//work/tasks/8026/27168026/build.log


Please include the root task links so it's easier to work out build hosts and other details

Those are simple-koji-ci builds:
http://koji.fedoraproject.org/koji/taskinfo?taskID=27188338
http://koji.fedoraproject.org/koji/taskinfo?taskID=27168025

All the builders are running ntpd... I don't see anything on the builders logs around those times.

You cannot duplicate this locally?

I didn't see anything like AFAIR.
I wasn't however even able to reproduce this with koji scratch-builds (numerous of them).

Looking at several of my failed past tasks in koji- it occured just once, bearing additional message:

make: warning:  Clock skew detected.  Your build may be incomplete.

I did see it quite often among simple-koji-ci builds, though.

Additional ones from task history:
https://koji.fedoraproject.org/koji/taskinfo?taskID=27010530
https://koji.fedoraproject.org/koji/taskinfo?taskID=26992535
https://koji.fedoraproject.org/koji/taskinfo?taskID=27114253

@pvalena , is this still an issue?

The issues were not reproducible in 100%. But they did not occur for some time now, so I'd say it's fixed.

Okay, thanks. Closing ticket. Please reopen if you see this again.

Metadata Update from @syeghiay:
- Issue close_status updated to: It's all good
- Issue status updated to: Closed (was: Open)

It seems it just happened again:

+ make runruby 'TESTRUN_SCRIPT=--enable-gems /builddir/build/SOURCES/test_abrt.rb'
BUILDSTDERR: make: Warning: File 'abrt_prelude.rb' has modification time 1325 s in the future
generating prelude.c

Failed as it should not built at that point (in %check section), but it was trigerred due to invalid time.

Build: https://koji.fedoraproject.org/koji/taskinfo?taskID=34055499

Metadata Update from @pvalena:
- Issue status updated to: Open (was: Closed)

Well, the builder involved has chronyd running and in sync.

I see that the file indicated is a source file in your src.rpm. Could it be that the time was off on whatever machine you generated that file on?

Note that it's simple-koji-ci, so I've not created the SRPM. I've only pushed to my fork, connected to a PR, which in due course trigerred the build.

I don't think the issue is with builders, but with something creating the SRPMs, which has probably wrong time.

Indeed, date on simple-koji-ci-prod.fedorainfracloud.org is about 29 minutes in future.

Yeah, we are working on redeploying these... will let you know when it's fixed up.

Done!
Please let us know if you see this again... the instances are now Fedora 29 and are running chrony.

:musical_keyboard:

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata