Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_vhost_user_blk tests failed on aarch64 worker #5934

Open
likebreath opened this issue Nov 9, 2023 · 4 comments
Open

test_vhost_user_blk tests failed on aarch64 worker #5934

likebreath opened this issue Nov 9, 2023 · 4 comments
Labels
AArch64 Affects AArch64 only CI CI issues like flaky tests and new pipeline/worker to add

Comments

@likebreath
Copy link
Member

These tests have been failing multiple times on the main branch:
https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/cloud-hypervisor/branches/main/runs/675/nodes/151/log/?start=0
https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/cloud-hypervisor/branches/main/runs/676/nodes/47/log/?start=0
https://cloud-hypervisor-jenkins.westus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/cloud-hypervisor/branches/main/runs/677/nodes/47/steps/176/log/?start=0

Also errors being reported seem to be very consistent:

[2023-11-09T03:44:43.655Z] ==== Start ssh command output (FAILED) ====
[2023-11-09T03:44:43.655Z] 
[2023-11-09T03:44:43.655Z] command="sudo mount -o rw -t ext4 /dev/vdc mount_image/"
[2023-11-09T03:44:43.655Z] auth="PasswordAuth {
[2023-11-09T03:44:43.655Z]     username: "cloud",
[2023-11-09T03:44:43.655Z]     password: "cloud123",
[2023-11-09T03:44:43.655Z] }"
[2023-11-09T03:44:43.655Z] ip="192.168.48.2"
[2023-11-09T03:44:43.655Z] output=""
[2023-11-09T03:44:43.655Z] error="NonZeroExitStatus(32)"
[2023-11-09T03:44:43.655Z] 
[2023-11-09T03:44:43.655Z] ==== End ssh command outout ====

The first failure was from commit 815c7f4 while the corresponding PR #5925 passed the CI (and I confirmed the PR was running the tests with the latest container image e.g. 20231108-0).

@likebreath likebreath added the CI CI issues like flaky tests and new pipeline/worker to add label Nov 9, 2023
@likebreath
Copy link
Member Author

likebreath commented Nov 9, 2023

It is very strange that I can't reproduce the above errors offline when I ran the complete integration test suite with musl build on the aarch64 worker machine manually. I will need to look into it later.

@michael2012z @MrXinWang Please let me know if you have any tips. Thank you.

likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Nov 9, 2023
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Nov 9, 2023
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Nov 9, 2023
rbradford pushed a commit that referenced this issue Nov 9, 2023
See: #5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
@michael2012z
Copy link
Member

The problem seems tricky, I cannot reproduce the failure in my local machine.

@peng6662001
Copy link
Contributor

peng6662001 commented Nov 30, 2023

I ran test_vhost_user_blk on Ampere Altra and Ampere One and all tests passed.

running 3 tests
[2023-11-30T08:05:43Z ERROR vhost_user_block] Error from the main thread: HandleRequest(Disconnected)      
[2023-11-30T08:05:45Z ERROR vhost_user_block] Error from the main thread: HandleRequest(Disconnected)
[2023-11-30T08:05:47Z ERROR vhost_user_block] Error from the main thread: HandleRequest(Disconnected)
test common_parallel::test_vhost_user_blk_default ... ok
test common_parallel::test_vhost_user_blk_direct ... ok
test common_parallel::test_vhost_user_blk_readonly ... ok

@likebreath
Copy link
Member Author

Right. That's the tricky part. We can't reproduce the error manually, even though the CI is using the same machine...

@likebreath likebreath added the AArch64 Affects AArch64 only label Dec 13, 2023
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Jan 9, 2024
See: cloud-hypervisor#5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Jan 9, 2024
See: cloud-hypervisor#5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Jan 10, 2024
See: cloud-hypervisor#5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit to likebreath/cloud-hypervisor that referenced this issue Jan 10, 2024
See: cloud-hypervisor#5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit that referenced this issue Jan 10, 2024
See: #5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit that referenced this issue Jan 10, 2024
See: #5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
likebreath added a commit that referenced this issue Jan 19, 2024
See: #5934

Signed-off-by: Bo Chen <chen.bo@intel.com>
(cherry picked from commit 62db13b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AArch64 Affects AArch64 only CI CI issues like flaky tests and new pipeline/worker to add
Projects
None yet
Development

No branches or pull requests

3 participants