Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/actions/test/integration/collect-logs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ runs:
- name: Obtain logs from test runner
shell: bash
run: |
sudo lscpu > lscpu-RUNNER.log || true
sudo lshw > lshw-runner.log || true
sudo journalctl --no-pager > journal-RUNNER.log || true

sudo cp /var/log/libvirt/qemu/HV1.log "libvirt-HV1.log" || true
sudo cp /var/log/libvirt/qemu/HV2.log "libvirt-HV2.log" || true
sudo journalctl --no-pager > journal-RUNNER.log || true

- name: Obtain logs from hypervisors
shell: bash
Expand All @@ -23,11 +26,13 @@ runs:
scp $SSH_OPTS $USER@$HV1_IP:/var/log/libvirt/qemu/VM-QEMU.log "libvirt-VM-QEMU-HV1.log" || true
scp $SSH_OPTS $USER@$HV1_IP:/var/log/libvirt/ch/VM-CHV.log "libvirt-VM-CHV-HV1.log" || true
scp $SSH_OPTS $USER@$HV1_IP:/var/log/QEMU.log "serial-VM-QEMU-HV1.log" || true
scp $SSH_OPTS $USER@$HV1_IP:/var/log/CHV.log "serial-VM-CHV-HV1.log" || true

ssh $SSH_OPTS $USER@$HV2_IP "journalctl --no-pager" > "journal-HV2.log" || true
scp $SSH_OPTS $USER@$HV2_IP:/var/log/libvirt/qemu/VM-QEMU.log "libvirt-VM-QEMU-HV2.log" || true
scp $SSH_OPTS $USER@$HV2_IP:/var/log/libvirt/ch/VM-CHV.log "libvirt-VM-CHV-HV2.log" || true
scp $SSH_OPTS $USER@$HV2_IP:/var/log/QEMU.log "serial-VM-QEMU-HV2.log" || true
scp $SSH_OPTS $USER@$HV2_IP:/var/log/CHV.log "serial-VM-CHV-HV2.log" || true

- name: Set permissions
shell: bash
Expand Down
13 changes: 4 additions & 9 deletions .github/actions/test/integration/test/cloudhypervisor/vm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,10 @@
<source network='default' />
<model type='virtio' />
</interface>
<!-- currently not supported with libvirt/chv: -->
<!-- error: internal error: Serial only works in UNIX/PTY modes -->
<!-- <console type='pty'> -->
<!-- <target type='serial' port='0' /> -->
<!-- </console> -->
<!-- <serial type='file'> -->
<!-- <source path='/var/log/CHV.log' /> -->
<!-- <target port='0' /> -->
<!-- </serial> -->
<serial type='file'>
<source path='/var/log/CHV.log' />
<target port='0' />
</serial>
Comment thread
anokfireball marked this conversation as resolved.
</devices>
</domain>

Loading