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

   We disabled txn_box in our build because the autests were not passing and we 
don't use txn_box.  The cmake `ENABLE_TXN_BOX` can be set to `OFF/false` to 
turn off compiling the plugin, but the txn_box autests throw an exception when 
starting up:
   
   ```
    Test: txn_box_basic: Exception
            File: txn_box_basic.test.py
            Directory: /workspace/tests/gold_tests/pluginTest/txn_box/basic
             Reason: Traceback (most recent call last):
               File 
"/usr/local/share/virtualenvs/tests-ZZgKEwcF/lib/python3.9/site-packages/autest/core/runtesttask.py",
 line 34, in __call__
                 tl = self.__logic.Run(self.__test)
               File 
"/usr/local/share/virtualenvs/tests-ZZgKEwcF/lib/python3.9/site-packages/autest/runlogic/runlogic.py",
 line 18, in Run
                 if not tmp.Start(obj):
               File 
"/usr/local/share/virtualenvs/tests-ZZgKEwcF/lib/python3.9/site-packages/autest/runlogic/test.py",
 line 90, in Start
                 loadTest(self.__test)
               File 
"/usr/local/share/virtualenvs/tests-ZZgKEwcF/lib/python3.9/site-packages/autest/core/test.py",
 line 292, in loadTest
                 execFile(fileName, locals, locals)
               File 
"/usr/local/share/virtualenvs/tests-ZZgKEwcF/lib/python3.9/site-packages/autest/common/execfile.py",
 line 16, in execFile
                 exec(safeCompile(f.read(), fname), globals, locals)
               File 
"/workspace/tests/gold_tests/pluginTest/txn_box/basic/txn_box_basic.test.py", 
line 27, in <module>
                 tr = Test.TxnBoxTestAndRun(
               File "/workspace/tests/gold_tests/autest-site/txn_box.test.ext", 
line 237, in TxnBoxTestAndRun
                 self.TxnBoxTest(
               File "/workspace/tests/gold_tests/autest-site/txn_box.test.ext", 
line 128, in TxnBoxTest
                 self.PrepareTestPlugin(
               File 
"/workspace/tests/gold_tests/autest-site/trafficserver_plugins.test.ext", line 
75, in prepare_test_plugin
                 raise ValueError('PrepareTestPlugin: file does not exist: 
"{}"'.format(so_path))
             ValueError: PrepareTestPlugin: file does not exist: 
"/workspace/build-autest/tests/tools/plugins/.libs/../../../../plugins/experimental/txn_box/plugin/txn_box.so"
     
   ```
   
   Note: If I only remove the txn_box.so from the install tree, but do leave it 
enabled in the build then the txn_box autests get skipped as expected.


-- 
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: issues-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to