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/12 10:44:07 UTC

[GitHub] [cloudstack] Pearl1594 opened a new pull request #4262: fix test failure

Pearl1594 opened a new pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262


   ## Description
   test_ssvm fails on VMWare
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-673241320


   @blueorangutan test centos7 vmware-67u3


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



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

Posted by GitBox <gi...@apache.org>.
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



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

Posted by GitBox <gi...@apache.org>.
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 would be an issue in the older versions too




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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672917446


   @Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672894094


   Packaging result: ✔centos7 ✔debian. JID-1730


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672916770


   @blueorangutan test centos7 vmware-67u3


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672797408


   @blueorangutan package


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672955959


   Packaging result: ✔centos7 ✔debian. JID-1731


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



[GitHub] [cloudstack] rhtyd commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672798575


   @Pearl1594 jfyi @spaceman1984 is looking at vm migration failure. Also it's possible the issue is on master and not 4.14, pl check that as well 


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



[GitHub] [cloudstack] rhtyd commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
rhtyd commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-673954644


   @Pearl1594 I see the issue as well, I've done repeated tests on master now:
   ```
   test_07_reboot_ssvm (tests.smoke.test_ssvm.TestSSVMs): DEBUG: SSVM script output: [u'ERROR: NFS is not currently mounted', u'Tests Complete. Look for ERROR or WARNING above.']
   ```
   
   Can you investigate why NFS is not mounted or should it be? Should we do something to make it mount for example add a template or download a template, or simply ignore this case? You may use the lab env `pr4131-t2412-vmware-67u3`


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



[GitHub] [cloudstack] rhtyd merged pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
rhtyd merged pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262


   


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672895114


   @blueorangutan test


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674055934


   @blueorangutan package


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674324731


   <b>Trillian test result (tid-2454)</b>
   Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 40076 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4262-t2454-vmware-67u3.zip
   Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
   Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
   Smoke tests completed. 84 look OK, 1 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_00_deploy_vm_root_resize | `Failure` | 235.75 | test_deploy_vm_root_resize.py
   


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



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

Posted by GitBox <gi...@apache.org>.
rhtyd commented on a change in pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#discussion_r469837363



##########
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:
       @Pearl1594 what was the issue during the reboot test, does this fix that? If so, do we need to port it back to 4.14/4.13?




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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672936173


   @Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674056089


   @Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672895601


   @Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674069910


   @Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-673241529


   @Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674069049


   Packaging result: ✔centos7 ✔debian. JID-1757


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-673634161


   <b>Trillian test result (tid-2393)</b>
   Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 42198 seconds
   Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4262-t2393-vmware-67u3.zip
   Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
   Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
   Smoke tests completed. 76 look OK, 2 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_07_reboot_ssvm | `Failure` | 41.80 | test_ssvm.py
   test_11_migrate_vm | `Error` | 54.99 | test_vm_life_cycle.py
   


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



[GitHub] [cloudstack] blueorangutan commented on pull request #4262: fix test failure

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672797781


   @Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-672935809


   @blueorangutan package


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-674069462


   @blueorangutan test centos7 vmware-67u3


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



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

Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on pull request #4262:
URL: https://github.com/apache/cloudstack/pull/4262#issuecomment-673888659


   Seems like, while sometimes the issue is wrt to the running of socat command, during reboot, it fails because of the following error:
   ERROR: NFS is not currently mounted.


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