Seems like there’s a linking issue with the debug build of unittests.. Will 
investigate this

Giacomo

From: jenkins-no-reply=gem5....@mg.gem5.org 
<jenkins-no-reply=gem5....@mg.gem5.org> on behalf of jenkins-no-re...@gem5.org 
<jenkins-no-re...@gem5.org>
Date: Thursday, 13 October 2022 at 08:47
To: gem5-dev@gem5.org <gem5-dev@gem5.org>
Subject: [gem5-dev] Build failed in Jenkins: nightly #382
See <https://jenkins.gem5.org/job/nightly/382/display/redirect?page=changes>

Changes:

[Bobby R. Bruce] tests: Add 'riscvmatched-fs.py' example to long/nightly tests

[Giacomo Travaglini] misc: Suggest usage of ALL instead of NULL in TESTING.md

[Giacomo Travaglini] tests: Run ALL unit-tests with the nightly script

[yuhsingw] sysetmc: fix the leak in TlmToGem5Bridge

[yuhsingw] sysetmc: add missing NO_ACCESS flags in get_direct_mem_ptr


------------------------------------------
[...truncated 818.67 KB...]
[       OK ] RegisterBankTest.ReadOneAlignedLast (0 ms)
[ RUN      ] RegisterBankTest.ReadTwoAligned
[       OK ] RegisterBankTest.ReadTwoAligned (0 ms)
[ RUN      ] RegisterBankTest.ReadContained
[       OK ] RegisterBankTest.ReadContained (0 ms)
[ RUN      ] RegisterBankTest.ReadOneSpanning
[       OK ] RegisterBankTest.ReadOneSpanning (0 ms)
[ RUN      ] RegisterBankTest.ReadTwoSpanning
[       OK ] RegisterBankTest.ReadTwoSpanning (0 ms)
[ RUN      ] RegisterBankTest.ReadPartialFull
[       OK ] RegisterBankTest.ReadPartialFull (0 ms)
[ RUN      ] RegisterBankTest.ReadFullPartial
[       OK ] RegisterBankTest.ReadFullPartial (0 ms)
[ RUN      ] RegisterBankTest.ReadLastPartial
[       OK ] RegisterBankTest.ReadLastPartial (0 ms)
[ RUN      ] RegisterBankTest.WriteOneAlignedFirst
[       OK ] RegisterBankTest.WriteOneAlignedFirst (0 ms)
[ RUN      ] RegisterBankTest.WriteOneAlignedMid
[       OK ] RegisterBankTest.WriteOneAlignedMid (0 ms)
[ RUN      ] RegisterBankTest.WriteOneAlignedLast
[       OK ] RegisterBankTest.WriteOneAlignedLast (0 ms)
[ RUN      ] RegisterBankTest.WriteTwoAligned
[       OK ] RegisterBankTest.WriteTwoAligned (0 ms)
[ RUN      ] RegisterBankTest.WriteContained
[       OK ] RegisterBankTest.WriteContained (0 ms)
[ RUN      ] RegisterBankTest.WriteOneSpanning
[       OK ] RegisterBankTest.WriteOneSpanning (0 ms)
[ RUN      ] RegisterBankTest.WriteTwoSpanning
[       OK ] RegisterBankTest.WriteTwoSpanning (0 ms)
[ RUN      ] RegisterBankTest.WritePartialFull
[       OK ] RegisterBankTest.WritePartialFull (0 ms)
[ RUN      ] RegisterBankTest.WriteFullPartial
[       OK ] RegisterBankTest.WriteFullPartial (0 ms)
[----------] 22 tests from RegisterBankTest (0 ms total)

[----------] Global test environment tear-down
[==========] 90 tests from 6 test suites ran. (1 ms total)
[  PASSED  ] 90 tests.
 [    LINK]  -> ALL/sim/serialize.test.opt
build/ALL/sim/serialize.test.opt 
--gtest_output=xml:build/ALL/unittests.opt/sim/serialize.test.xml
Running main() from build/ALL/ext/googletest/googletest/src/gtest_main.cc
[==========] Running 33 tests from 8 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from SerializeFixtureDeathTest
[ RUN      ] SerializeFixtureDeathTest.ConstructorFailure
build/ALL/sim/serialize.cc:164: fatal: Can't load checkpoint file 
'/tmp/temp_dir_test0//m5.cpt'
[       OK ] SerializeFixtureDeathTest.ConstructorFailure (0 ms)
[ RUN      ] SerializeFixtureDeathTest.ArrayParamOutInSmaller
build/ALL/sim/serialize.hh:452: fatal: fatal condition fixed_size >= 0 && 
tokens.size() != fixed_size occurred: Array size mismatch on Section1:Param1 
(Got 3, expected 2)'
[       OK ] SerializeFixtureDeathTest.ArrayParamOutInSmaller (0 ms)
[----------] 2 tests from SerializeFixtureDeathTest (0 ms total)

[----------] 1 test from CheckpointInFixtureDeathTest
[ RUN      ] CheckpointInFixtureDeathTest.GetCptDir
build/ALL/sim/serialize.cc:164: fatal: Can't load checkpoint file 
'/random_dir_name//m5.cpt'
[       OK ] CheckpointInFixtureDeathTest.GetCptDir (0 ms)
[----------] 1 test from CheckpointInFixtureDeathTest (0 ms total)

[----------] 1 test from SerializableDeathTest
[ RUN      ] SerializableDeathTest.GenerateCptOutFail
build/ALL/sim/serialize.cc:93: fatal: couldn't mkdir 
/tmp/temp_dir_test3//b/a/n/a/n/a/
[       OK ] SerializableDeathTest.GenerateCptOutFail (0 ms)
[----------] 1 test from SerializableDeathTest (0 ms total)

[----------] 2 tests from SerializableFixtureDeathTest
[ RUN      ] SerializableFixtureDeathTest.ParamIn
build/ALL/sim/serialize.hh:379: fatal: fatal condition !paramInImpl(cp, name, 
param) occurred: Can't unserialize 'Section1:Param1'
[       OK ] SerializableFixtureDeathTest.ParamIn (0 ms)
[ RUN      ] SerializableFixtureDeathTest.NoSectionParamIn
build/ALL/sim/serialize.test.cc:815: Skipped
Skipping as assertions are stripped out of fast builds
[  SKIPPED ] SerializableFixtureDeathTest.NoSectionParamIn (0 ms)
[----------] 2 tests from SerializableFixtureDeathTest (0 ms total)

[----------] 2 tests from CheckpointInTest
[ RUN      ] CheckpointInTest.SetGetDirSlash
[       OK ] CheckpointInTest.SetGetDirSlash (0 ms)
[ RUN      ] CheckpointInTest.SetGetDirTick
[       OK ] CheckpointInTest.SetGetDirTick (0 ms)
[----------] 2 tests from CheckpointInTest (0 ms total)

[----------] 15 tests from SerializeFixture
[ RUN      ] SerializeFixture.ConstructorSuccess
[       OK ] SerializeFixture.ConstructorSuccess (0 ms)
[ RUN      ] SerializeFixture.SCSCptOutPathScoped
[       OK ] SerializeFixture.SCSCptOutPathScoped (0 ms)
[ RUN      ] SerializeFixture.SCSNoChangeCptIn
[       OK ] SerializeFixture.SCSNoChangeCptIn (0 ms)
[ RUN      ] SerializeFixture.GenerateCptOut
[       OK ] SerializeFixture.GenerateCptOut (0 ms)
[ RUN      ] SerializeFixture.GenerateCptOutExistent
[       OK ] SerializeFixture.GenerateCptOutExistent (0 ms)
[ RUN      ] SerializeFixture.OptParamOutIn
[       OK ] SerializeFixture.OptParamOutIn (0 ms)
[ RUN      ] SerializeFixture.ArrayParamOutIn
[       OK ] SerializeFixture.ArrayParamOutIn (0 ms)
[ RUN      ] SerializeFixture.MappingParamOutIn
[       OK ] SerializeFixture.MappingParamOutIn (0 ms)
[ RUN      ] SerializeFixture.MappingParamOutInMissing
[       OK ] SerializeFixture.MappingParamOutInMissing (0 ms)
[ RUN      ] SerializeFixture.SerializeScalar
[       OK ] SerializeFixture.SerializeScalar (0 ms)
[ RUN      ] SerializeFixture.UnserializeOptScalar
[       OK ] SerializeFixture.UnserializeOptScalar (0 ms)
[ RUN      ] SerializeFixture.SerializeEnum
[       OK ] SerializeFixture.SerializeEnum (0 ms)
[ RUN      ] SerializeFixture.SerializeArray
[       OK ] SerializeFixture.SerializeArray (0 ms)
[ RUN      ] SerializeFixture.SerializeContainer
[       OK ] SerializeFixture.SerializeContainer (0 ms)
[ RUN      ] SerializeFixture.SerializeMapping
[       OK ] SerializeFixture.SerializeMapping (0 ms)
[----------] 15 tests from SerializeFixture (3 ms total)

[----------] 4 tests from CheckpointInFixture
[ RUN      ] CheckpointInFixture.FindSections
[       OK ] CheckpointInFixture.FindSections (0 ms)
[ RUN      ] CheckpointInFixture.FindEntries
[       OK ] CheckpointInFixture.FindEntries (0 ms)
[ RUN      ] CheckpointInFixture.ExtractEntries
[       OK ] CheckpointInFixture.ExtractEntries (0 ms)
[ RUN      ] CheckpointInFixture.SCSCptInPathScoped
[       OK ] CheckpointInFixture.SCSCptInPathScoped (0 ms)
[----------] 4 tests from CheckpointInFixture (0 ms total)

[----------] 6 tests from SerializableFixture
[ RUN      ] SerializableFixture.SCSChangeCptOutSingle
[       OK ] SerializableFixture.SCSChangeCptOutSingle (0 ms)
[ RUN      ] SerializableFixture.SCSChangeCptOutMultiple
[       OK ] SerializableFixture.SCSChangeCptOutMultiple (0 ms)
[ RUN      ] SerializableFixture.SCSChangeCptOutLarge
[       OK ] SerializableFixture.SCSChangeCptOutLarge (0 ms)
[ RUN      ] SerializableFixture.SectionSerializationSimple
[       OK ] SerializableFixture.SectionSerializationSimple (0 ms)
[ RUN      ] SerializableFixture.ParamOutIn
[       OK ] SerializableFixture.ParamOutIn (0 ms)
[ RUN      ] SerializableFixture.ParamOutInMultipleSections
[       OK ] SerializableFixture.ParamOutInMultipleSections (0 ms)
[----------] 6 tests from SerializableFixture (0 ms total)

[----------] Global test environment tear-down
[==========] 33 tests from 8 test suites ran. (6 ms total)
[  PASSED  ] 32 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] SerializableFixtureDeathTest.NoSectionParamIn

  YOU HAVE 1 DISABLED TEST

scons: done building targets.
*** Summary of Warnings ***
Warning: Deprecated namespaces are not supported by this compiler.
         Please make sure to check the mailing list for deprecation
         announcements.
+ unit_test debug
+ build=debug
+ docker run -u 118: --volume 
/nobackup/jenkins/workspace/nightly/tests/..:/nobackup/jenkins/workspace/nightly/tests/..
 -w /nobackup/jenkins/workspace/nightly/tests/.. --memory=18g --rm 
gcr.io/gem5-test/ubuntu-20.04_all-dependencies:latest scons 
build/ALL/unittests.debug -j24 --ignore-style
scons: Reading SConscript files ...
Mkdir("/nobackup/jenkins/workspace/nightly/build/ALL/gem5.build")
Checking for linker -Wl,--as-needed support... (cached) yes
Checking for compiler -Wno-free-nonheap-object support... (cached) yes
Checking for compiler -gz support... (cached) yes
Checking for linker -gz support... (cached) yes
Info: Using Python config: python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... (cached) 3.8.10
Checking for accept(0,0,0) in C++ library None... (cached) yes
Checking for zlibVersion() in C++ library z... (cached) yes
Checking for C library tcmalloc... (cached) yes
Building in /nobackup/jenkins/workspace/nightly/build/ALL
Using saved variables file(s) 
/nobackup/jenkins/workspace/nightly/build/ALL/gem5.build/variables
Checking for C header file fenv.h... (cached) yes
Checking for C header file png.h... (cached) yes
Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) yes
Checking for C header file valgrind/valgrind.h... (cached) no
Warning: Deprecated namespaces are not supported by this compiler.
         Please make sure to check the mailing list for deprecation
         announcements.
Checking for pkg-config package hdf5-serial... (cached) yes
Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... (cached) yes
Checking for H5::H5File("", 0) in C++ library hdf5_cpp... (cached) yes
Checking size of struct kvm_xsave ... (cached) yes
Checking for C header file linux/kvm.h... (cached) yes
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library None... 
(cached) no
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library rt... 
(cached) yes
Checking for member exclude_host in struct perf_event_attr...(cached) yes
Checking for shm_open("/test", 0, 0) in C library None... (cached) yes
Checking for char temp; backtrace_symbols_fd((void *)&temp, 0, 0) in C library 
None... (cached) yes
Checking for pkg-config package protobuf... (cached) yes
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... (cached) 
yes
Checking for C header file linux/if_tun.h... (cached) yes
Checking whether __i386__ is declared... (cached) no
Checking whether __x86_64__ is declared... (cached) yes
Checking for compiler -Wno-self-assign-overloaded support... (cached) yes
Checking for compiler -Wno-free-nonheap-object support... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
 [     CXX] ALL/arch/arm/aapcs64.test.cc -> .tdo
 [     CXX] ALL/base/debug.cc -> .tdo
 [     CXX] ALL/cpu/reg_class.cc -> .tdo
 [     CXX] ALL/sim/bufval.cc -> .tdo
 [     CXX] ALL/base/cprintf.cc -> .tdo
 [     CXX] ALL/base/gtest/logging.cc -> .tdo
 [     CXX] ALL/base/gtest/logging_mock.cc -> .tdo
 [     CXX] ALL/arch/generic/vec_pred_reg.test.cc -> .tdo
 [     CXX] ALL/arch/generic/vec_reg.test.cc -> .tdo
 [     CXX] ALL/base/addr_range.test.cc -> .tdo
 [     CXX] ALL/base/addr_range_map.test.cc -> .tdo
 [     CXX] ALL/base/amo.test.cc -> .tdo
 [     CXX] ALL/base/atomicio.test.cc -> .tdo
 [     CXX] ALL/base/atomicio.cc -> .tdo
 [     CXX] ALL/base/bitfield.test.cc -> .tdo
 [     CXX] ALL/base/bitfield.cc -> .tdo
 [     CXX] ALL/base/bitunion.test.cc -> .tdo
 [     CXX] ALL/base/channel_addr.test.cc -> .tdo
 [     CXX] ALL/base/channel_addr.cc -> .tdo
 [     CXX] ALL/base/chunk_generator.test.cc -> .tdo
 [     CXX] ALL/base/circlebuf.test.cc -> .tdo
 [     CXX] ALL/base/circular_queue.test.cc -> .tdo
 [     CXX] ALL/base/condcodes.test.cc -> .tdo
 [     CXX] ALL/base/coroutine.test.cc -> .tdo
 [     CXX] ALL/base/fiber.cc -> .tdo
 [     CXX] ALL/base/cprintf.test.cc -> .tdo
 [     CXX] ALL/base/debug.test.cc -> .tdo
 [     CXX] ALL/base/fiber.test.cc -> .tdo
 [     CXX] ALL/base/flags.test.cc -> .tdo
 [     CXX] ALL/base/inifile.test.cc -> .tdo
 [     CXX] ALL/base/inifile.cc -> .tdo
 [     CXX] ALL/base/str.cc -> .tdo
 [     CXX] ALL/base/intmath.test.cc -> .tdo
 [     CXX] ALL/base/loader/image_file_data.test.cc -> .tdo
 [     CXX] ALL/base/loader/image_file_data.cc -> .tdo
 [    LINK]  -> ALL/base/atomicio.test.debug
 [    LINK]  -> ALL/arch/arm/aapcs64.test.debug
 [    LINK]  -> ALL/arch/generic/vec_reg.test.debug
 [    LINK]  -> ALL/arch/generic/vec_pred_reg.test.debug
 [    LINK]  -> ALL/base/channel_addr.test.debug
 [    LINK]  -> ALL/base/amo.test.debug
 [     CXX] ALL/base/loader/symtab.test.cc -> .tdo
 [    LINK]  -> ALL/base/chunk_generator.test.debug
/usr/bin/ld: 
build/ALL/arch/arm/aapcs64.test.tdo:(.data.rel.ro._ZN4gem56ArmISA14intRegClassOpsE[_ZN4gem56ArmISA14intRegClassOpsE]+0x0):
 undefined reference to `vtable for gem5::ArmISA::IntRegClassOps'
collect2: error: ld returned 1 exit status
scons: *** [build/ALL/arch/arm/aapcs64.test.debug] Error 1
scons: building terminated because of errors.
*** Summary of Warnings ***
Warning: Deprecated namespaces are not supported by this compiler.
         Please make sure to check the mailing list for deprecation
         announcements.
Build step 'Execute shell' marked build as failure
Archiving artifacts
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to