View Issue Details

IDProjectCategoryView StatusLast Update
0004305Spring engineGeneralpublic2014-02-13 20:27
ReporteriElectric Assigned Toabma  
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version96.0 
Summary0004305: Build has transient failures when doing parallel builds
DescriptionSee example log file that fails: http://hydra.nixos.org/build/8650902/nixlog/1/raw

Example log file that builds fine:
http://hydra.nixos.org/build/8705103/log/raw

From IRC convo:

15:21:16 MelBot | <[LCC]jK> spring's cmake runs generateVersionFiles multiple times (for each target) and when another build is running while it gets written, there is a chance that the file doesn't exists when gcc wants to access it
15:30:30 MelBot | <[LCC]jK> k seems to be a issue with cmake's Configure_File
15:30:42 MelBot | <[LCC]jK> so better make a mantis ticket
Steps To ReproduceBuild spring with -j4
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2014-02-06 07:16

administrator   ~0012819

failed build is spring 95.0. is there a failed build with spring 96.0?

iElectric

2014-02-08 08:38

reporter   ~0012825

Same for 0.96: http://hydra.nixos.org/build/8768788/nixlog/1/raw

abma

2014-02-13 01:05

administrator   ~0012827

for me it looks like generateVersionFiles isn't run at all.

i miss the output of

"Running utility command for generateVersionFiles"

also:

cat: cont/base/make_gamedata_arch.sh: No such file or directory
+ fixing cmake files...


what is patched there?

abma

2014-02-13 01:13

administrator   ~0012828

does this work: "make generateVersionFiles"?

output should be sth. like this:

[1/1] Running utility command for generateVersionFiles
Spring engine version: 96.0.1-253-gaa5a287 develop ()

abma

2014-02-13 01:37

administrator   ~0012831

Last edited: 2014-02-13 01:38

output of a clean build (spring 96):

$ cmake .
[...]
$ make -j4 all
Scanning dependencies of target generateVersionFiles

(and yes, its the first line printed)

atm this bug is at the state "can't reproduce..."

iElectric

2014-02-13 19:18

reporter   ~0012832

cat: cont/base/make_gamedata_arch.sh: No such file or directory

That patch was removed, but shouldn't affect anything in this build.

Did you try running: "$ make -j8 all" for a few times in a row? I happens only about every 10th run.

iElectric

2014-02-13 19:19

reporter   ~0012833

See here, which one is failing: http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.spring.x86_64-linux

abma

2014-02-13 20:27

administrator   ~0012834

please reopen if it still fails!

but i'm pretty sure it fixes the problem:

LegacyCpp-Creg-AIWrapper didn't depend on generateVersionFiles...

Issue History

Date Modified Username Field Change
2014-02-05 15:32 iElectric New Issue
2014-02-06 07:16 abma Note Added: 0012819
2014-02-06 07:16 abma Assigned To => abma
2014-02-06 07:16 abma Status new => feedback
2014-02-08 08:38 iElectric Note Added: 0012825
2014-02-08 08:38 iElectric Status feedback => assigned
2014-02-13 01:05 abma Note Added: 0012827
2014-02-13 01:05 abma Status assigned => feedback
2014-02-13 01:13 abma Note Added: 0012828
2014-02-13 01:37 abma Note Added: 0012831
2014-02-13 01:37 abma Note Edited: 0012831
2014-02-13 01:37 abma Note Edited: 0012831
2014-02-13 01:38 abma Note Edited: 0012831
2014-02-13 19:18 iElectric Note Added: 0012832
2014-02-13 19:18 iElectric Status feedback => assigned
2014-02-13 19:19 iElectric Note Added: 0012833
2014-02-13 20:25 abma Changeset attached => spring develop 8a6850b1
2014-02-13 20:25 abma Status assigned => resolved
2014-02-13 20:25 abma Resolution open => fixed
2014-02-13 20:27 abma Note Added: 0012834