Hi Matt, My workaround is to do it in a python2 manner:
class SEWorkload(Workload): type = 'SEWorkload' __metaclass__ = SEWorkloadMeta I have the same syntax error because I am running the gem5-gcn docker, and I have both python2 and python3 installed. But I don't really know how to fix it, it seems python2 is used sometimes. Jieming On Thu, Oct 8, 2020 at 7:43 PM Bobby Bruce via gem5-dev <gem5-dev@gem5.org> wrote: > Hey Matt, > > Before the nightly tests were run on Jenkins server which was an Ubuntu > 18.04 machine with Python2. > > The nightly tests will now run using our Ubuntu 20.04 docker image: > gcr.io/gem5-test/ubuntu-20.04_all-dependencies (Dockerfile source: > https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile). > > > So, to compile gem5.opt for the ARM ISA, the nightly will use: > > ``` > docker run -u $UID:$GID --volume $(pwd):$(pwd) -w $(pwd) --rm > gcr.io/gem5-test/ubuntu-20.04_all-dependencies scons build/ARM/gem5.opt > ``` > > I'm going to guess you probably still have Python2 somewhere on your > machine and it's using it during the compilation. I'll setup some tests on > my end and see if I can recreate this problem. I _think_ right now we only > test in environments that either have only Python2 or have only Python3, so > we should probably have some tests to check what happens if someone has > both. > > Kind regards, > Bobby > -- > Dr. Bobby R. Bruce > Room 2235, > Kemper Hall, UC Davis > Davis, > CA, 95616 > > web: https://www.bobbybruce.net > > > On Thu, Oct 8, 2020 at 4:10 PM Poremba, Matthew <matthew.pore...@amd.com> > wrote: > >> [AMD Public Use] >> >> >> >> Hi Bobby, >> >> >> >> >> >> What is/was the fix for this issue? I also cannot build even though I >> have python 3.6 installed (via apt-get on Ubuntu 20.04). I am manually >> passing python3-config to scons but I’m getting a syntax error when it sees >> the metaclass keyword. >> >> >> >> >> >> -Matt >> >> >> >> *From:* Bobby Bruce via gem5-dev <gem5-dev@gem5.org> >> *Sent:* Thursday, October 8, 2020 3:19 PM >> *To:* gem5 Developer List <gem5-dev@gem5.org> >> *Cc:* Bobby Bruce <bbr...@ucdavis.edu> >> *Subject:* [gem5-dev] Re: Build failed in Jenkins: Nightly #91 >> >> >> >> [CAUTION: External Email] >> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgem5-review.googlesource.com%2Fc%2Fpublic%2Fgem5%2F%2B%2F33900&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081348428&sdata=Ux12iZ%2Bj0umYNRs7KDlkuZcHZEpE3tOvRlV6Tsyy%2B3Y%3D&reserved=0> >> >> >> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bobbybruce.net%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081358426&sdata=K7p4NxR5oOe5EwzEP4mkuGWTqZOGyDMn%2BzP8J5MPSzk%3D&reserved=0> >> >> >> >> >> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FNightly%2F91%2Fdisplay%2Fredirect%3Fpage%3Dchanges&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081368416&sdata=UA%2BkCy45Ggv1hLVQ2vgtKisVgQxnkVaLL8NPNSSaqfY%3D&reserved=0> >> > >> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finst_dep_record.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081368416&sdata=%2BHZL04t3pzOubkjdmwTeGtaBcc1RByckcZBknFapOA4%3D&reserved=0>, >> NULL/proto/inst_dep_record.pb.h >> [ CXX] NULL/proto/inst_dep_record.pb.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finst_dep_record.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081378411&sdata=sXnxvSwXMuze6snmqHsJk5mODu4Huywi%2BQIj7zkAhX8%3D&reserved=0> >> -> .o >> [ PROTOC] NULL/proto/packet.proto -> NULL/proto/packet.pb.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpacket.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081378411&sdata=62iyvGEJAXN6XVEts1uXRGjL8zZqsAoSH06unuSzjCQ%3D&reserved=0>, >> NULL/proto/packet.pb.h >> [ CXX] NULL/proto/packet.pb.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpacket.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081388407&sdata=YE0%2BvxSfNtCeNc%2BJbXs6nlSoKU1bEDSwQkQMR1ZyffQ%3D&reserved=0> >> -> .o >> [ PROTOC] NULL/proto/inst.proto -> NULL/proto/inst.pb.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finst.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081398403&sdata=JWpk7Z0XMOy2vdFW%2BuM3%2BkILS6L1iL20v2J3MittRro%3D&reserved=0>, >> NULL/proto/inst.pb.h >> [ CXX] NULL/proto/inst.pb.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Finst.pb.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081398403&sdata=JWpk7Z0XMOy2vdFW%2BuM3%2BkILS6L1iL20v2J3MittRro%3D&reserved=0> >> -> .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 >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fattrdict.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081408398&sdata=Mff738dDg%2BD%2Bhc8vcaQj3ejr1Y%2BoGZ1%2B5tWnjWL%2FPxM%3D&reserved=0> >> [ CXX] NULL/python/m5/util/attrdict.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fattrdict.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081408398&sdata=Mff738dDg%2BD%2Bhc8vcaQj3ejr1Y%2BoGZ1%2B5tWnjWL%2FPxM%3D&reserved=0> >> -> .o >> [EMBED PY] NULL/marshal, NULL/mem/ruby/structures/DirectoryMemory.py -> >> NULL/mem/ruby/structures/DirectoryMemory.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdirectorymemory.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081418390&sdata=O%2FwZelf2l424gICz7WhCcjgONMVXFrBPaHBOXNB6Kbc%3D&reserved=0> >> [ CXX] NULL/mem/ruby/structures/DirectoryMemory.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdirectorymemory.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081418390&sdata=O%2FwZelf2l424gICz7WhCcjgONMVXFrBPaHBOXNB6Kbc%3D&reserved=0> >> -> .o >> [EMBED PY] NULL/marshal, dev/pci/PciHost.py -> dev/pci/PciHost.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpcihost.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081428386&sdata=Uwv3KNoVmTwEUWVpRv2%2F1UO1FJKiTvcLM3ukjg6GaQ4%3D&reserved=0> >> [EMBED PY] NULL/marshal, NULL/mem/ruby/network/BasicRouter.py -> >> NULL/mem/ruby/network/BasicRouter.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbasicrouter.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081438387&sdata=G9grHjylduUp91PXkowKB9zj%2FJ%2F2HDSE43M28vq5QHc%3D&reserved=0> >> [ CXX] NULL/dev/pci/PciHost.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpcihost.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081438387&sdata=QaPwyhpCjoRuw6jrAogTqclblXfbuI8phdxVfFq0vN0%3D&reserved=0> >> -> .o >> [ CXX] NULL/mem/ruby/network/BasicRouter.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbasicrouter.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081448380&sdata=hOtvCJyLENjQ9G4wSgw%2FmVzfZ8yuL6F8xVvGJ54ATQE%3D&reserved=0> >> -> .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 >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fprefetcher.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081448380&sdata=%2BW1S3QeSht2Maf53LN0CnBF10PEmFHiH5MU3vwIJAxU%3D&reserved=0> >> [ CXX] NULL/mem/cache/prefetch/Prefetcher.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fprefetcher.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081458376&sdata=C83eYtI%2BUefOKFsASFl9Yg00T%2FvdXY5JRyRAr%2BSzzZ4%3D&reserved=0> >> -> .o >> [EMBED PY] NULL/marshal, sim/Workload.py -> sim/Workload.py.cc >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fworkload.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081458376&sdata=ml2qmDHOW1euBdEifr8bMvtL8VXIk3Awl%2B0IzTrjASY%3D&reserved=0> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fworkload.py.cc%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081468372&sdata=dUKqB0ZKy%2BOD2FiAsG6nXZNrkU6cgpbdqz4gwWR5A9I%3D&reserved=0>] >> CalledProcessError : Command '['< >> https://jenkins.gem5.org/job/Nightly/ws/build/NULL/marshal >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FNightly%2Fws%2Fbuild%2FNULL%2Fmarshal&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081478372&sdata=JlRaOti3X1n7srb0NkcGxBLHPHv0uYC0YNHycSSTX4Y%3D&reserved=0>',> >> '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 >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FNightly%2Fws%2Fbuild%2FNULL%2FSConscript&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081478372&sdata=sSgYL4p8YLHHwQZpC7rDWR5WggafX5VyG36jqkwiCvk%3D&reserved=0>",> >> 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 >> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FNightly%2Fws%2Fbuild%2FNULL%2Fmarshal&data=02%7C01%7Cmatthew.poremba%40amd.com%7Cfbadcb5540864f21620c08d86bd84e41%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637377924081488365&sdata=lpGK%2FVYNSgndFa%2FANyH%2FzEqqIYWzrZ3399nzcChxJ0c%3D&reserved=0>',> >> '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 -- Jieming
_______________________________________________ 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