iting0321 opened a new issue, #12094:
URL: https://github.com/apache/trafficserver/issues/12094

   
   Hi, I'm new to contributing to ATS, and while working on #11917 , I 
encountered some errors and could use some help.
   
   I tried running a golden test with:
   ```
   autest run -f remap_acl --ats-bin /usr/bin
   ```
   Here’s what I observed:
   
   - When running the test under `~/trafficserver/tests/gold_tests`, I get the 
following error:
   ```
   Generating Report: --------------
    Test: remap_acl: Exception
       File: [remap_acl.test.py](http://remap_acl.test.py/)
       Directory: /home/iting0321/trafficserver/tests/gold_tests/remap
        Reason: Traceback (most recent call last):
          File 
"/home/iting0321/.local/lib/python3.10/site-packages/autest/core/runtesttask.py",
 line 34, in __call__
            tl = self.__logic.Run(self.__test)
          File 
"/home/iting0321/.local/lib/python3.10/site-packages/autest/runlogic/runlogic.py",
 line 18, in Run
            if not tmp.Start(obj):
          File 
"/home/iting0321/.local/lib/python3.10/site-packages/autest/runlogic/test.py", 
line 90, in Start
            loadTest(self.__test)
          File 
"/home/iting0321/.local/lib/python3.10/site-packages/autest/core/test.py", line 
292, in loadTest
            execFile(fileName, locals, locals)
          File 
"/home/iting0321/.local/lib/python3.10/site-packages/autest/common/execfile.py",
 line 16, in execFile
            exec(safeCompile(f.read(), fname), globals, locals)
          File 
"/home/iting0321/trafficserver/tests/gold_tests/remap/[remap_acl.test.py](http://remap_acl.test.py/)",
 line 29, in <module>
            from deactivate_ip_allow import all_deactivate_ip_allow_tests
        ModuleNotFoundError: No module named 'deactivate_ip_allow'
   
   Total of 1 test
     Unknown: 0
     Exception: 1
     Failed: 0
     Warning: 0
     Skipped: 0
     Passed: 0
   ```
   - When running the test under `~/trafficserver/tests/gold_tests/remap`, I 
get the following error:
   ```
   error: AttributeError: 'TestRun' object has no attribute 'MakeATSProcess'
   ```
   Any help or guidance would be greatly appreciated. Thanks!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to