You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/08/13 10:13:30 UTC

[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4262: fix test failure

Pearl1594 commented on a change in pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#discussion_r469846362



##########
File path: systemvm/agent/scripts/ssvm-check.sh
##########
@@ -118,7 +118,7 @@ fi
 # check for connectivity to the management server
 echo ================================================
 echo Management server is $MGMTSERVER.  Checking connectivity.
-socatout=$(echo | socat - TCP:$MGMTSERVER:8250,connect-timeout=3 2>&1)
+socatout=$(echo | socat - TCP:$MGMTSERVER:8250,connect-timeout=3 | tr -d '\0' 2>&1)

Review comment:
       while it reports a failure in ssvm reboot test, the logs report a failure in ssvm check:
   ```
   2020-08-11 23:39:12,513 - CRITICAL - FAILED: test_07_reboot_ssvm: ['Traceback (most recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', '  File "/marvin/tests/smoke/test_ssvm.py", line 897, in test_07_reboot_ssvm\n    self.test_03_ssvm_internals()\n', '  File "/marvin/tests/smoke/test_ssvm.py", line 460, in test_03_ssvm_internals\n    "Check for Errors in tests"\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual\n    assertion_func(first, second, msg=msg)\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual\n    raise self.failureException(msg)\n', 'AssertionError: Check for Errors in tests\n']
   ```




----------------------------------------------------------------
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.

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