Closed Bug 984061 Opened 6 years ago Closed 6 years ago

package-tests isn't safe with -j >1

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla31

People

(Reporter: catlee, Assigned: catlee)

References

Details

Attachments

(1 file)

I hit this quite often in staging:

18:14:31     INFO -  make[1]: Entering directory `/builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/objdir-gecko'
18:14:31     INFO -  rm -rf dist/test-package-stage
18:14:31     INFO -  dist/bin/nsinstall -D dist/test-package-stage/cppunittests
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/ShowAlignments dist/test-package-stage/cppunittests/ShowAlignments; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAppShellSteadyState dist/test-package-stage/cppunittests/TestAppShellSteadyState; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_AsXXX_helpers dist/test-package-stage/cppunittests/test_AsXXX_helpers; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_async_callbacks_with_spun_event_loops dist/test-package-stage/cppunittests/test_async_callbacks_with_spun_event_loops; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_asyncStatementExecution_transaction dist/test-package-stage/cppunittests/test_asyncStatementExecution_transaction; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAtomics dist/test-package-stage/cppunittests/TestAtomics; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAudioChannelService dist/test-package-stage/cppunittests/TestAudioChannelService; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAudioEventTimeline dist/test-package-stage/cppunittests/TestAudioEventTimeline; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAutoPtr dist/test-package-stage/cppunittests/TestAutoPtr; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestAutoRef dist/test-package-stage/cppunittests/TestAutoRef; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_binding_params dist/test-package-stage/cppunittests/test_binding_params; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestBloomFilter dist/test-package-stage/cppunittests/TestBloomFilter; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCasting dist/test-package-stage/cppunittests/TestCasting; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCeilingFloor dist/test-package-stage/cppunittests/TestCeilingFloor; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCertDB dist/test-package-stage/cppunittests/TestCertDB; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCheckedInt dist/test-package-stage/cppunittests/TestCheckedInt; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCOMArray dist/test-package-stage/cppunittests/TestCOMArray; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCOMPtr dist/test-package-stage/cppunittests/TestCOMPtr; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCOMPtrEq dist/test-package-stage/cppunittests/TestCOMPtrEq; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCountPopulation dist/test-package-stage/cppunittests/TestCountPopulation; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestCountZeroes dist/test-package-stage/cppunittests/TestCountZeroes; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_deadlock_detector dist/test-package-stage/cppunittests/test_deadlock_detector; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestDeadlockDetector dist/test-package-stage/cppunittests/TestDeadlockDetector; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestDeadlockDetectorScalability dist/test-package-stage/cppunittests/TestDeadlockDetectorScalability; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestDeque dist/test-package-stage/cppunittests/TestDeque; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestEndian dist/test-package-stage/cppunittests/TestEndian; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestEnumSet dist/test-package-stage/cppunittests/TestEnumSet; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestFile dist/test-package-stage/cppunittests/TestFile; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_file_perms dist/test-package-stage/cppunittests/test_file_perms; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestFloatingPoint dist/test-package-stage/cppunittests/TestFloatingPoint; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestGetURL dist/test-package-stage/cppunittests/TestGetURL; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestHashtables dist/test-package-stage/cppunittests/TestHashtables; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestID dist/test-package-stage/cppunittests/TestID; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestIntegerPrintfMacros dist/test-package-stage/cppunittests/TestIntegerPrintfMacros; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestJemalloc dist/test-package-stage/cppunittests/TestJemalloc; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestLineBreak dist/test-package-stage/cppunittests/TestLineBreak; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_mutex dist/test-package-stage/cppunittests/test_mutex; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestNativeXMLHttpRequest dist/test-package-stage/cppunittests/TestNativeXMLHttpRequest; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestObserverArray dist/test-package-stage/cppunittests/TestObserverArray; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestObserverService dist/test-package-stage/cppunittests/TestObserverService; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestPipe dist/test-package-stage/cppunittests/TestPipe; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestPlainTextSerializer dist/test-package-stage/cppunittests/TestPlainTextSerializer; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestPLDHash dist/test-package-stage/cppunittests/TestPLDHash; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestPoisonArea dist/test-package-stage/cppunittests/TestPoisonArea; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestRefPtr dist/test-package-stage/cppunittests/TestRefPtr; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestRollingMean dist/test-package-stage/cppunittests/TestRollingMean; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_service_init_background_thread dist/test-package-stage/cppunittests/test_service_init_background_thread; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestSHA1 dist/test-package-stage/cppunittests/TestSHA1; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_StatementCache dist/test-package-stage/cppunittests/test_StatementCache; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_statement_scoper dist/test-package-stage/cppunittests/test_statement_scoper; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestStringAPI dist/test-package-stage/cppunittests/TestStringAPI; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestSTSParser dist/test-package-stage/cppunittests/TestSTSParser; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestTArray dist/test-package-stage/cppunittests/TestTArray; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestTextFormatter dist/test-package-stage/cppunittests/TestTextFormatter; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestThreadUtils dist/test-package-stage/cppunittests/TestThreadUtils; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_transaction_helper dist/test-package-stage/cppunittests/test_transaction_helper; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_true_async dist/test-package-stage/cppunittests/test_true_async; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestTXMgr dist/test-package-stage/cppunittests/TestTXMgr; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestTypedEnum dist/test-package-stage/cppunittests/TestTypedEnum; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestTypeTraits dist/test-package-stage/cppunittests/TestTypeTraits; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestUDPSocket dist/test-package-stage/cppunittests/TestUDPSocket; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/test_unlock_notify dist/test-package-stage/cppunittests/test_unlock_notify; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestVolatileBuffer dist/test-package-stage/cppunittests/TestVolatileBuffer; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestWeakPtr dist/test-package-stage/cppunittests/TestWeakPtr; /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy --strip-unneeded dist/cppunittests/TestWebGLElementArrayCache dist/test-package-stage/cppunittests/TestWebGLElementArrayCache;
18:14:31     INFO -  dist/bin/nsinstall -D dist/test-package-stage/jit-test/tests
18:14:31     INFO -  dist/bin/nsinstall -D dist/test-package-stage/steeplechase/
18:14:31     INFO -  cp -RL /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/gecko/js/src/jsapi.h dist/test-package-stage/jit-test
18:14:31     INFO -  cp -RL ./_tests/steeplechase dist/test-package-stage/steeplechase/tests
...
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy:dist/test-package-stage/cppunittests/test_unlock_notify: No such file or directory
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy: /lib64/libz.so.1: no version information available (required by /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy)
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy:dist/test-package-stage/cppunittests/TestVolatileBuffer: No such file or directory
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy: /lib64/libz.so.1: no version information available (required by /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy)
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy:dist/test-package-stage/cppunittests/TestWeakPtr: No such file or directory
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy: /lib64/libz.so.1: no version information available (required by /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy)
18:14:31     INFO -  /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-objcopy:dist/test-package-stage/cppunittests/TestWebGLElementArrayCache: No such file or directory
18:14:31    ERROR -  make[1]: *** [stage-cppunittests] Error 1
18:14:31     INFO -  make[1]: *** Waiting for unfinished jobs....
18:14:31     INFO -  rm: cannot remove `dist/test-package-stage/jit-test/jit-test/jit-test/tests/basic': Directory not empty
18:14:31    ERROR -  make[1]: *** [make-stage-dir] Error 1
18:14:32     INFO -  cp -RL /builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/gecko/js/src/tests/ecma_6 dist/test-package-stage/jit-test/tests/ecma_6
18:14:32     INFO -  cp: cannot create directory `dist/test-package-stage/jit-test/tests/ecma_6': No such file or directory
18:14:32    ERROR -  make[1]: *** [stage-jittest] Error 1
18:14:32     INFO -  make[1]: Leaving directory `/builds/slave/b2g_b2g-in_emu-jb-d_dep-000000/build/objdir-gecko'
18:14:32     INFO -  make: *** [package-tests] Error 2

I can reproduce this locally by running 'build.sh package-tests' after completing a build.
Seems to work when running with -j1.
Looks like this problem in in gecko. Some targets in testing/testsuite-targets.mk don't depend properly on make-stage-dir. If package-tests is run with -j>1, which happens with the default b2g configs, then the directory is being deleted for make-stage-dir while being populated in stage-jittest.
Component: GonkIntegration → Build Config
Product: Firefox OS → Core
Attachment #8391800 - Flags: review?(mh+mozilla)
Summary: build.sh package-tests intermittently fails → package-tests isn't safe with -j >1
Comment on attachment 8391800 [details] [diff] [review]
package-tests.diff

Review of attachment 8391800 [details] [diff] [review]:
-----------------------------------------------------------------

::: testing/testsuite-targets.mk
@@ +516,4 @@
>  	cp -RL $(topsrcdir)/js/src/tests/js1_8_5 $(PKG_STAGE)/jit-test/tests/js1_8_5
>  	cp -RL $(topsrcdir)/js/src/tests/lib $(PKG_STAGE)/jit-test/tests/lib
>  
> +stage-steeplechase: make-stage-dir

The sad result for this is that if someone does
  make stage-cppunittests
then
  make stage-jittest

They end up with only the jittests.

OTOH, this is already what happens with the other stage-* rules.
Attachment #8391800 - Flags: review?(mh+mozilla) → review+
This is all terrible and I hope to rip it out and replace it with Python in the near future.
https://hg.mozilla.org/mozilla-central/rev/3f80e11fbf7a
Assignee: nobody → catlee
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.