Skip to content

CI failing for autest-9.1.x for schedule.test.py #7538

@bneradt

Description

@bneradt
 Test: schedule: Exception
    File: schedule.test.py
    Directory: /var/jenkins/workspace/autest-9.1.x/src/tests/gold_tests/cont_schedule
     Reason: Traceback (most recent call last):
       File "/usr/local/lib/python3.6/site-packages/autest/core/runtesttask.py", line 34, in __call__
         tl = self.__logic.Run(self.__test)
       File "/usr/local/lib/python3.6/site-packages/autest/runlogic/runlogic.py", line 18, in Run
         if not tmp.Start(obj):
       File "/usr/local/lib/python3.6/site-packages/autest/runlogic/test.py", line 90, in Start
         loadTest(self.__test)
       File "/usr/local/lib/python3.6/site-packages/autest/core/test.py", line 292, in loadTest
         execFile(fileName, locals, locals)
       File "/usr/local/lib/python3.6/site-packages/autest/common/execfile.py", line 15, in execFile
         exec (safeCompile(f.read(), fname), globals, locals)
       File "/var/jenkins/workspace/autest-9.1.x/src/tests/gold_tests/cont_schedule/schedule.test.py", line 41, in <module>
         Test.PreparePlugin(os.path.join(Test.Variables.AtsTestToolsDir, 'plugins', 'cont_schedule.cc'), ts)
     AttributeError: 'Test' object has no attribute 'PreparePlugin'

This test needs to be updated with the new Test.PrepareTestPlugin rather than the old Test.PreparePlugin.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions