Hey all, The source of this issue is that our Jenkin's server was using Python2, and a commit was merged which utilized some Python3 exclusive features: https://gem5-review.googlesource.com/c/public/gem5/+/33900
We are going to drop support for Python2 in the next release, so I've upgraded our nightly tests to use Python3. They should pass tonight. I'm unsure if this has been officially announced in any capacity, but as we're dropping Python2 support in the next release, you may submit patches containing Python3 code without any requirement of providing some Python2 backwards compatibility. The compilation tests also failed as we're using Python2 there as well. I'm currently working on a fix for these tests. Kind regards, Bobby -- Dr. Bobby R. Bruce Room 2235, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Wed, Oct 7, 2020 at 11:49 PM jenkins-no-reply--- via gem5-dev < gem5-dev@gem5.org> wrote: > See <https://jenkins.gem5.org/job/Nightly/91/display/redirect?page=changes > > > > Changes: > > [giacomo.travaglini] arch: Add generic BaseMMU > > [giacomo.travaglini] fastmodel: Add IrisMMU model > > [gabeblack] sim: Add a mechanism for finding an compatible SE workload. > > [gabeblack] sparc: Clean up some code in base.isa. > > [gabeblack] sparc: Simplify the IntOp format slightly. > > > ------------------------------------------ > [...truncated 47.05 KB...] > [SO PyBind] QoSMemSinkInterface -> > NULL/python/_m5/param_QoSMemSinkInterface.cc > [ CXX] NULL/python/_m5/param_QoSMemSinkInterface.cc -> .o > [SO PyBind] QoSPolicy -> NULL/python/_m5/param_QoSPolicy.cc > [ CXX] NULL/python/_m5/param_QoSPolicy.cc -> .o > [SO PyBind] QoSPropFairPolicy -> > NULL/python/_m5/param_QoSPropFairPolicy.cc > [SO PARAM] QoSPropFairPolicy -> NULL/params/QoSPropFairPolicy.hh > [ CXX] NULL/python/_m5/param_QoSPropFairPolicy.cc -> .o > [SO PyBind] QoSTurnaroundPolicy -> > NULL/python/_m5/param_QoSTurnaroundPolicy.cc > [ CXX] NULL/python/_m5/param_QoSTurnaroundPolicy.cc -> .o > [SO PyBind] QoSTurnaroundPolicyIdeal -> > NULL/python/_m5/param_QoSTurnaroundPolicyIdeal.cc > [SO PARAM] QoSTurnaroundPolicyIdeal -> > NULL/params/QoSTurnaroundPolicyIdeal.hh > [ CXX] NULL/python/_m5/param_QoSTurnaroundPolicyIdeal.cc -> .o > [SO PyBind] QueuedPrefetcher -> NULL/python/_m5/param_QueuedPrefetcher.cc > [ CXX] NULL/python/_m5/param_QueuedPrefetcher.cc -> .o > [SO PyBind] RandomRP -> NULL/python/_m5/param_RandomRP.cc > [SO PARAM] RandomRP -> NULL/params/RandomRP.hh > [ CXX] NULL/python/_m5/param_RandomRP.cc -> .o > [SO PyBind] RangeAddrMapper -> NULL/python/_m5/param_RangeAddrMapper.cc > [ CXX] NULL/python/_m5/param_RangeAddrMapper.cc -> .o > [SO PyBind] RedirectPath -> NULL/python/_m5/param_RedirectPath.cc > [ CXX] NULL/python/_m5/param_RedirectPath.cc -> .o > [SO PyBind] RepeatedQwordsCompressor -> > NULL/python/_m5/param_RepeatedQwordsCompressor.cc > [SO PARAM] RepeatedQwordsCompressor -> > NULL/params/RepeatedQwordsCompressor.hh > [ CXX] NULL/python/_m5/param_RepeatedQwordsCompressor.cc -> .o > [SO PyBind] Root -> NULL/python/_m5/param_Root.cc > [SO PARAM] Root -> NULL/params/Root.hh > [ CXX] NULL/python/_m5/param_Root.cc -> .o > [SO PyBind] RubyCache -> NULL/python/_m5/param_RubyCache.cc > [ CXX] NULL/python/_m5/param_RubyCache.cc -> .o > [SO PyBind] RubyController -> NULL/python/_m5/param_RubyController.cc > [ CXX] NULL/python/_m5/param_RubyController.cc -> .o > [SO PyBind] RubyDirectedTester -> > NULL/python/_m5/param_RubyDirectedTester.cc > [ CXX] NULL/python/_m5/param_RubyDirectedTester.cc -> .o > [SO PyBind] RubyDirectoryMemory -> > NULL/python/_m5/param_RubyDirectoryMemory.cc > [ CXX] NULL/python/_m5/param_RubyDirectoryMemory.cc -> .o > [SO PyBind] RubyHTMSequencer -> NULL/python/_m5/param_RubyHTMSequencer.cc > [ CXX] NULL/python/_m5/param_RubyHTMSequencer.cc -> .o > [SO PyBind] RubyNetwork -> NULL/python/_m5/param_RubyNetwork.cc > [ CXX] NULL/python/_m5/param_RubyNetwork.cc -> .o > [SO PyBind] RubyPort -> NULL/python/_m5/param_RubyPort.cc > [ CXX] NULL/python/_m5/param_RubyPort.cc -> .o > [SO PyBind] RubyPortProxy -> NULL/python/_m5/param_RubyPortProxy.cc > [SO PARAM] RubyPortProxy -> NULL/params/RubyPortProxy.hh > [ CXX] NULL/python/_m5/param_RubyPortProxy.cc -> .o > [SO PyBind] RubyPrefetcher -> NULL/python/_m5/param_RubyPrefetcher.cc > [ CXX] NULL/python/_m5/param_RubyPrefetcher.cc -> .o > [SO PyBind] RubySequencer -> NULL/python/_m5/param_RubySequencer.cc > [ CXX] NULL/python/_m5/param_RubySequencer.cc -> .o > [SO PyBind] RubySystem -> NULL/python/_m5/param_RubySystem.cc > [ CXX] NULL/python/_m5/param_RubySystem.cc -> .o > [SO PyBind] RubyTester -> NULL/python/_m5/param_RubyTester.cc > [SO PARAM] RubyTester -> NULL/params/RubyTester.hh > [ CXX] NULL/python/_m5/param_RubyTester.cc -> .o > [SO PyBind] RubyWireBuffer -> NULL/python/_m5/param_RubyWireBuffer.cc > [ CXX] NULL/python/_m5/param_RubyWireBuffer.cc -> .o > [SO PyBind] SBOOEPrefetcher -> NULL/python/_m5/param_SBOOEPrefetcher.cc > [SO PARAM] SBOOEPrefetcher -> NULL/params/SBOOEPrefetcher.hh > [ CXX] NULL/python/_m5/param_SBOOEPrefetcher.cc -> .o > [SO PyBind] SEWorkload -> NULL/python/_m5/param_SEWorkload.cc > [SO PARAM] SEWorkload -> NULL/params/SEWorkload.hh > [ CXX] NULL/python/_m5/param_SEWorkload.cc -> .o > [SO PyBind] STeMSPrefetcher -> NULL/python/_m5/param_STeMSPrefetcher.cc > [SO PARAM] STeMSPrefetcher -> NULL/params/STeMSPrefetcher.hh > [ CXX] NULL/python/_m5/param_STeMSPrefetcher.cc -> .o > [SO PyBind] SecondChanceRP -> NULL/python/_m5/param_SecondChanceRP.cc > [SO PARAM] SecondChanceRP -> NULL/params/SecondChanceRP.hh > [ CXX] NULL/python/_m5/param_SecondChanceRP.cc -> .o > [SO PyBind] SectorTags -> NULL/python/_m5/param_SectorTags.cc > [ CXX] NULL/python/_m5/param_SectorTags.cc -> .o > [SO PyBind] SerialLink -> NULL/python/_m5/param_SerialLink.cc > [SO PARAM] SerialLink -> NULL/params/SerialLink.hh > [ CXX] NULL/python/_m5/param_SerialLink.cc -> .o > [SO PyBind] SeriesRequestGenerator -> > NULL/python/_m5/param_SeriesRequestGenerator.cc > [ CXX] NULL/python/_m5/param_SeriesRequestGenerator.cc -> .o > [SO PyBind] SetAssociative -> NULL/python/_m5/param_SetAssociative.cc > [ CXX] NULL/python/_m5/param_SetAssociative.cc -> .o > [SO PyBind] SignaturePathPrefetcher -> > NULL/python/_m5/param_SignaturePathPrefetcher.cc > [SO PARAM] SignaturePathPrefetcher -> > NULL/params/SignaturePathPrefetcher.hh > [ CXX] NULL/python/_m5/param_SignaturePathPrefetcher.cc -> .o > [SO PyBind] SignaturePathPrefetcherV2 -> > NULL/python/_m5/param_SignaturePathPrefetcherV2.cc > [SO PARAM] SignaturePathPrefetcherV2 -> > NULL/params/SignaturePathPrefetcherV2.hh > [ CXX] NULL/python/_m5/param_SignaturePathPrefetcherV2.cc -> .o > [SO PyBind] SimObject -> NULL/python/_m5/param_SimObject.cc > [ CXX] NULL/python/_m5/param_SimObject.cc -> .o > [SO PyBind] SimpleCache -> NULL/python/_m5/param_SimpleCache.cc > [SO PARAM] SimpleCache -> NULL/params/SimpleCache.hh > [ CXX] NULL/python/_m5/param_SimpleCache.cc -> .o > [SO PyBind] SimpleExtLink -> NULL/python/_m5/param_SimpleExtLink.cc > [SO PARAM] SimpleExtLink -> NULL/params/SimpleExtLink.hh > [SO PARAM] SimpleIntLink -> NULL/params/SimpleIntLink.hh > [ CXX] NULL/python/_m5/param_SimpleExtLink.cc -> .o > [SO PyBind] SimpleIntLink -> NULL/python/_m5/param_SimpleIntLink.cc > [SO PyBind] SimpleMemDelay -> NULL/python/_m5/param_SimpleMemDelay.cc > [SO PARAM] SimpleMemDelay -> NULL/params/SimpleMemDelay.hh > [ CXX] NULL/python/_m5/param_SimpleIntLink.cc -> .o > [ CXX] NULL/python/_m5/param_SimpleMemDelay.cc -> .o > [SO PyBind] SimpleMemobj -> NULL/python/_m5/param_SimpleMemobj.cc > [SO PARAM] SimpleMemobj -> NULL/params/SimpleMemobj.hh > [ CXX] NULL/python/_m5/param_SimpleMemobj.cc -> .o > [SO PyBind] SimpleMemory -> NULL/python/_m5/param_SimpleMemory.cc > [ CXX] NULL/python/_m5/param_SimpleMemory.cc -> .o > [SO PyBind] SimpleNetwork -> NULL/python/_m5/param_SimpleNetwork.cc > [SO PARAM] SimpleNetwork -> NULL/params/SimpleNetwork.hh > [ CXX] NULL/python/_m5/param_SimpleNetwork.cc -> .o > [SO PyBind] SimpleObject -> NULL/python/_m5/param_SimpleObject.cc > [SO PARAM] SimpleObject -> NULL/params/SimpleObject.hh > [ CXX] NULL/python/_m5/param_SimpleObject.cc -> .o > [SO PyBind] Sinic -> NULL/python/_m5/param_Sinic.cc > [SO PARAM] Sinic -> NULL/params/Sinic.hh > [ CXX] NULL/python/_m5/param_Sinic.cc -> .o > [SO PyBind] SkewedAssociative -> > NULL/python/_m5/param_SkewedAssociative.cc > [ CXX] NULL/python/_m5/param_SkewedAssociative.cc -> .o > [SO PyBind] SlimAMPMPrefetcher -> > NULL/python/_m5/param_SlimAMPMPrefetcher.cc > [SO PARAM] SlimAMPMPrefetcher -> NULL/params/SlimAMPMPrefetcher.hh > [ CXX] NULL/python/_m5/param_SlimAMPMPrefetcher.cc -> .o > [SO PyBind] SnoopFilter -> NULL/python/_m5/param_SnoopFilter.cc > [ CXX] NULL/python/_m5/param_SnoopFilter.cc -> .o > [SO PyBind] SrcClockDomain -> NULL/python/_m5/param_SrcClockDomain.cc > [ CXX] NULL/python/_m5/param_SrcClockDomain.cc -> .o > [SO PyBind] StackDistProbe -> NULL/python/_m5/param_StackDistProbe.cc > [SO PARAM] StackDistProbe -> NULL/params/StackDistProbe.hh > [ CXX] NULL/python/_m5/param_StackDistProbe.cc -> .o > [SO PyBind] StridePrefetcher -> NULL/python/_m5/param_StridePrefetcher.cc > [SO PARAM] StridePrefetcher -> NULL/params/StridePrefetcher.hh > [SO PARAM] StridePrefetcherHashedSetAssociative -> > NULL/params/StridePrefetcherHashedSetAssociative.hh > [ CXX] NULL/python/_m5/param_StridePrefetcher.cc -> .o > [SO PyBind] StridePrefetcherHashedSetAssociative -> > NULL/python/_m5/param_StridePrefetcherHashedSetAssociative.cc > [ CXX] NULL/python/_m5/param_StridePrefetcherHashedSetAssociative.cc > -> .o > [SO PyBind] SubSystem -> NULL/python/_m5/param_SubSystem.cc > [ CXX] NULL/python/_m5/param_SubSystem.cc -> .o > [SO PyBind] Switch -> NULL/python/_m5/param_Switch.cc > [SO PARAM] Switch -> NULL/params/Switch.hh > [ CXX] NULL/python/_m5/param_Switch.cc -> .o > [SO PyBind] System -> NULL/python/_m5/param_System.cc > [ CXX] NULL/python/_m5/param_System.cc -> .o > [SO PyBind] SystemC_Kernel -> NULL/python/_m5/param_SystemC_Kernel.cc > [ CXX] NULL/python/_m5/param_SystemC_Kernel.cc -> .o > [SO PyBind] SystemC_ScModule -> NULL/python/_m5/param_SystemC_ScModule.cc > [ CXX] NULL/python/_m5/param_SystemC_ScModule.cc -> .o > [SO PyBind] SystemC_ScObject -> NULL/python/_m5/param_SystemC_ScObject.cc > [ CXX] NULL/python/_m5/param_SystemC_ScObject.cc -> .o > [SO PyBind] TaggedPrefetcher -> NULL/python/_m5/param_TaggedPrefetcher.cc > [SO PARAM] TaggedPrefetcher -> NULL/params/TaggedPrefetcher.hh > [ CXX] NULL/python/_m5/param_TaggedPrefetcher.cc -> .o > [SO PyBind] ThermalCapacitor -> NULL/python/_m5/param_ThermalCapacitor.cc > [ CXX] NULL/python/_m5/param_ThermalCapacitor.cc -> .o > [SO PyBind] ThermalDomain -> NULL/python/_m5/param_ThermalDomain.cc > [ CXX] NULL/python/_m5/param_ThermalDomain.cc -> .o > [SO PyBind] ThermalModel -> NULL/python/_m5/param_ThermalModel.cc > [ CXX] NULL/python/_m5/param_ThermalModel.cc -> .o > [SO PyBind] ThermalNode -> NULL/python/_m5/param_ThermalNode.cc > [ CXX] NULL/python/_m5/param_ThermalNode.cc -> .o > [SO PyBind] ThermalReference -> NULL/python/_m5/param_ThermalReference.cc > [ CXX] NULL/python/_m5/param_ThermalReference.cc -> .o > [SO PyBind] ThermalResistor -> NULL/python/_m5/param_ThermalResistor.cc > [ CXX] NULL/python/_m5/param_ThermalResistor.cc -> .o > [SO PyBind] TickedObject -> NULL/python/_m5/param_TickedObject.cc > [SO PARAM] TickedObject -> NULL/params/TickedObject.hh > [ CXX] NULL/python/_m5/param_TickedObject.cc -> .o > [SO PyBind] TlmToGem5Bridge32 -> > NULL/python/_m5/param_TlmToGem5Bridge32.cc > [SO PARAM] TlmToGem5Bridge32 -> NULL/params/TlmToGem5Bridge32.hh > [SO PARAM] TlmToGem5BridgeBase -> NULL/params/TlmToGem5BridgeBase.hh > [ CXX] NULL/python/_m5/param_TlmToGem5Bridge32.cc -> .o > [SO PyBind] TlmToGem5Bridge64 -> > NULL/python/_m5/param_TlmToGem5Bridge64.cc > [SO PARAM] TlmToGem5Bridge64 -> NULL/params/TlmToGem5Bridge64.hh > [ CXX] NULL/python/_m5/param_TlmToGem5Bridge64.cc -> .o > [SO PyBind] TlmToGem5BridgeBase -> > NULL/python/_m5/param_TlmToGem5BridgeBase.cc > [ CXX] NULL/python/_m5/param_TlmToGem5BridgeBase.cc -> .o > [SO PyBind] TrafficGen -> NULL/python/_m5/param_TrafficGen.cc > [SO PARAM] TrafficGen -> NULL/params/TrafficGen.hh > [ CXX] NULL/python/_m5/param_TrafficGen.cc -> .o > [SO PyBind] TreePLRURP -> NULL/python/_m5/param_TreePLRURP.cc > [SO PARAM] TreePLRURP -> NULL/params/TreePLRURP.hh > [ CXX] NULL/python/_m5/param_TreePLRURP.cc -> .o > [SO PyBind] VncInput -> NULL/python/_m5/param_VncInput.cc > [SO PARAM] VncInput -> NULL/params/VncInput.hh > [ CXX] NULL/python/_m5/param_VncInput.cc -> .o > [SO PyBind] VncServer -> NULL/python/_m5/param_VncServer.cc > [SO PARAM] VncServer -> NULL/params/VncServer.hh > [ CXX] NULL/python/_m5/param_VncServer.cc -> .o > [SO PyBind] VoltageDomain -> NULL/python/_m5/param_VoltageDomain.cc > [ CXX] NULL/python/_m5/param_VoltageDomain.cc -> .o > [SO PyBind] WeightedLRURP -> NULL/python/_m5/param_WeightedLRURP.cc > [SO PARAM] WeightedLRURP -> NULL/params/WeightedLRURP.hh > [ CXX] NULL/python/_m5/param_WeightedLRURP.cc -> .o > [SO PyBind] Workload -> NULL/python/_m5/param_Workload.cc > [ CXX] NULL/python/_m5/param_Workload.cc -> .o > [SO PyBind] WriteAllocator -> NULL/python/_m5/param_WriteAllocator.cc > [ CXX] NULL/python/_m5/param_WriteAllocator.cc -> .o > [SO PyBind] ZeroCompressor -> NULL/python/_m5/param_ZeroCompressor.cc > [SO PARAM] ZeroCompressor -> NULL/params/ZeroCompressor.hh > [ CXX] NULL/python/_m5/param_ZeroCompressor.cc -> .o > [ PROTOC] NULL/proto/inst_dep_record.proto -> NULL/proto/ > inst_dep_record.pb.cc, NULL/proto/inst_dep_record.pb.h > [ CXX] NULL/proto/inst_dep_record.pb.cc -> .o > [ PROTOC] NULL/proto/packet.proto -> NULL/proto/packet.pb.cc, > NULL/proto/packet.pb.h > [ CXX] NULL/proto/packet.pb.cc -> .o > [ PROTOC] NULL/proto/inst.proto -> NULL/proto/inst.pb.cc, > NULL/proto/inst.pb.h > [ CXX] NULL/proto/inst.pb.cc -> .o > [ TRACING] -> NULL/debug/flags.cc > [ CXX] NULL/debug/flags.cc -> .o > [ CXX] NULL/python/marshal.cc -> .o > [ DEFINES] -> NULL/python/m5/defines.py > [ INFO] COPYING, LICENSE, README -> NULL/python/m5/info.py > [ TRACING] -> NULL/debug/RubyNetwork.hh > [ CXX] NULL/mem/ruby/network/garnet/GarnetLink.cc -> .o > [ CXX] NULL/mem/ruby/network/garnet/GarnetNetwork.cc -> .o > [ LINK] -> NULL/marshal > [EMBED PY] NULL/marshal, python/m5/util/attrdict.py -> python/m5/util/ > attrdict.py.cc > [ CXX] NULL/python/m5/util/attrdict.py.cc -> .o > [EMBED PY] NULL/marshal, NULL/mem/ruby/structures/DirectoryMemory.py -> > NULL/mem/ruby/structures/DirectoryMemory.py.cc > [ CXX] NULL/mem/ruby/structures/DirectoryMemory.py.cc -> .o > [EMBED PY] NULL/marshal, dev/pci/PciHost.py -> dev/pci/PciHost.py.cc > [EMBED PY] NULL/marshal, NULL/mem/ruby/network/BasicRouter.py -> > NULL/mem/ruby/network/BasicRouter.py.cc > [ CXX] NULL/dev/pci/PciHost.py.cc -> .o > [ CXX] NULL/mem/ruby/network/BasicRouter.py.cc -> .o > [EMBED PY] NULL/marshal, python/m5/objects/__init__.py -> > python/m5/objects/__init__.py.cc > [ CXX] NULL/python/m5/objects/__init__.py.cc -> .o > [EMBED PY] NULL/marshal, NULL/mem/cache/prefetch/Prefetcher.py -> > NULL/mem/cache/prefetch/Prefetcher.py.cc > [ CXX] NULL/mem/cache/prefetch/Prefetcher.py.cc -> .o > [EMBED PY] NULL/marshal, sim/Workload.py -> sim/Workload.py.cc > terminate called after throwing an instance of > 'pybind11::error_already_set' > what(): SyntaxError: ('invalid syntax', ('build/NULL/sim/Workload.py', > 61, 37, 'class SEWorkload(Workload, metaclass=SEWorkloadMeta):\n')) > > At: > <string>(4): <module> > > scons: *** [build/NULL/sim/Workload.py.cc] CalledProcessError : Command > '['<https://jenkins.gem5.org/job/Nightly/ws/build/NULL/marshal',> > 'build/NULL/sim/Workload.py']' died with <Signals.SIGABRT: 6>. > Traceback (most recent call last): > File "/usr/lib/scons/SCons/Action.py", line 1209, in execute > result = self.execfunction(target=target, source=rsources, env=env) > File "<https://jenkins.gem5.org/job/Nightly/ws/build/NULL/SConscript",> > line 1166, in embedPyFile > marshalled = subprocess.check_output( > File "/usr/lib/python3.8/subprocess.py", line 411, in check_output > return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, > File "/usr/lib/python3.8/subprocess.py", line 512, in run > raise CalledProcessError(retcode, process.args, > subprocess.CalledProcessError: Command '['< > https://jenkins.gem5.org/job/Nightly/ws/build/NULL/marshal',> > 'build/NULL/sim/Workload.py']' died with <Signals.SIGABRT: 6>. > scons: building terminated because of errors. > *** Summary of Warnings *** > Warning: Your compiler doesn't support incremental linking and lto at the > same > time, so lto is being disabled. To force lto on anyway, use the > --force-lto option. That will disable partial linking. > Warning: python3-config could not be found. > Future releases of gem5 will drop support for python2. > Warning: Header file <png.h> not found. > This host has no libpng library. > Disabling support for PNG framebuffers. > 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 > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s >
_______________________________________________ gem5-dev mailing list -- gem5-dev@gem5.org To unsubscribe send an email to gem5-dev-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s