weizhouapache commented on PR #13281:
URL: https://github.com/apache/cloudstack/pull/13281#issuecomment-6493653540

   > > [SF] Trillian test result (tid-17267) Environment: kvm-debian12 (x2), 
zone: Advanced Networking with Mgmt server d12 Total time taken: 70314 seconds 
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13281-t17267-kvm-debian12.zip
 Smoke tests completed. 154 look OK, 3 have errors, 0 did not run Only failed 
and skipped tests results shown below:
   > > Test     Result  Time (s)        Test File
   > > test_1_userdata_on_ssvm  `Failure`       161.14  
test_systemvm_userdata.py
   > > test_04_extract_template `Failure`       16.39   test_templates.py
   > > test_hostha_kvm_host_recovering  `Failure`       1159.40 
test_hostha_kvm.py
   > 
   > tests of rerun
   > 
   > <img alt="image" width="1729" height="713" 
src="https://private-user-images.githubusercontent.com/57355700/686172758-95f18124-50b1-477e-9e7f-6ee18333d8f3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTMyNjgxNTksIm5iZiI6MTc5MzI2Nzg1OSwicGF0aCI6Ii81NzM1NTcwMC82ODYxNzI3NTgtOTVmMTgxMjQtNTBiMS00NzdlLTllN2YtNmVlMTgzMzNkOGYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjEwMjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMDI5VDA5NTczOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzMmM1YjFlODcyMjRjZDBmZTZhYTU4YWQ1ZWY0ZWJkMDZkYjBjMGVjNWNkYmIwNjhhNzQwNmE2MjEzNTdjOTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.g4eGrPBjBb12esMLFOTMlZmCFpuzsmY3WJIUMaJI5hQ";>
   
   the failures with test_hostha_kvm.py (on ubuntu 24 and debian12) is not 
caused by any code changes.
   it worked well on ubuntu 26 and ol8/9/10
   
   it could be fixed by
   ```
   diff --git a/test/integration/smoke/test_hostha_kvm.py 
b/test/integration/smoke/test_hostha_kvm.py
   index 9b131558dc2..c1bc8fa1dba 100644
   --- a/test/integration/smoke/test_hostha_kvm.py
   +++ b/test/integration/smoke/test_hostha_kvm.py
   @@ -176,9 +176,15 @@ class TestHAKVM(cloudstackTestCase):
                ("systemctl disable cloudstack-agent || chkconfig 
cloudstack-agent off")
   
        def resetHost(self):
   +        # Simulate a crash: reset immediately instead of a graceful 
"reboot",
   +        # which can block on libvirt-guests waiting for running guests to 
shut down
   +        # (up to 5 minutes on some distros) while sshd is already stopped.
   +        # The reset runs detached so that the ssh command returns before 
the host
   +        # goes down, as an abrupt reset leaves the ssh connection half-open.
            SshClient(self.host.ipaddress, port=22, 
user=self.hostConfig["username"],
                      passwd=self.hostConfig["password"]).execute \
   -            ("reboot")
   +            ("nohup sh -c 'sleep 2; echo 1 > /proc/sys/kernel/sysrq; echo b 
> /proc/sysrq-trigger' "
   +             "</dev/null >/dev/null 2>&1 &")
   
        def enableAgent(self):
            SshClient(self.host.ipaddress, port=22, 
user=self.hostConfig["username"], passwd=self.hostConfig["password"]).execute\
   
   ```


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