[AMD Public Use]

Hi Gabe,


We are seeing similar errors, so +1 priority on this. Some of our changes that 
where ready to submit got rerun (for some reason?) and then failed with the 
same error. My (weak) theory is that maybe it has something to do with how it 
is checking for timeouts and maybe that is why it does not happen locally.



-Matt

From: Gabe Black via gem5-dev <gem5-dev@gem5.org>
Sent: Sunday, March 28, 2021 9:40 PM
To: gem5 Developer List <gem5-dev@gem5.org>
Cc: Gabe Black <gabe.bl...@gmail.com>
Subject: [gem5-dev] More unreproducible kokoro failures... testlib bug?

[CAUTION: External Email]
Hi folks. I have another change which is failing kokoro unreproducibly, this 
time it seems because of a failure in the test library. I've looked at the code 
in question and have some weak theories, but nothing which really helps 
identify the problem or a fix. This is especially hard since the failure 
doesn't reproduce locally.

https://source.cloud.google.com/results/invocations/7a3203b0-f429-48f8-b49e-0abf9413cc3c/targets/gem5%2Fgcp_ubuntu%2Fpresubmit/log<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.cloud.google.com%2Fresults%2Finvocations%2F7a3203b0-f429-48f8-b49e-0abf9413cc3c%2Ftargets%2Fgem5%252Fgcp_ubuntu%252Fpresubmit%2Flog&data=04%7C01%7Cmatthew.poremba%40amd.com%7C9c1e23827ce2443d12d908d8f26cc5b9%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637525896281915829%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HmV%2F65DMj0L4iZZc1%2FNOJ3RpSEVWdXyqRQYI2Qy8aDc%3D&reserved=0>

Traceback (most recent call last):
  File "./main.py", line 25, in <module>
    sys.exit(testlib())
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/main.py", line 
331, in main
    result = globals()['do_'+configuration.config.command]()
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/main.py", line 
303, in do_run
    return run_schedule(test_schedule, log_handler)
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/main.py", line 
277, in run_schedule
    log_handler.finish_testing()
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/main.py", line 
68, in finish_testing
    self.result_handler.close()
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/handlers.py", 
line 164, in close
    self._save()
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/handlers.py", 
line 156, in _save
    result.JUnitSavedResults.save(
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/result.py", line 
330, in save
    results = JUnitTestSuites(results)
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/result.py", line 
238, in __init__
    self.elements.append(JUnitTestSuite(suite))
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/result.py", line 
264, in __init__
    self.elements.append(JUnitTestCase(test))
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/result.py", line 
277, in __init__
    XMLAttribute('time', str(test_result.time["user_time"])),
  File "/tmpfs/src/git/jenkins-gem5-prod/tests/../ext/testlib/result.py", line 
77, in time
    return self._metadata.time
AttributeError: 'TestCaseMetadata' object has no attribute 'time'
_______________________________________________
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

Reply via email to