Skip to content

feat(ci): more details in the start/stop scripts for COTS-UE Test pipeline

Raphael Defosseux requested to merge ci-more-details-start-stop-scripts into master

@schmidtr

I noticed this when I tested oai-gnb:2023.w09:

14:38:14  + sudo bash -c set -o pipefail && ./stop.sh 2>&1 | tee /tmp/test-stop0.log
14:38:14  ---- mbimcli -d /dev/cdc-wdm0 -p --disconnect=0
14:39:22  error: operation failed: Transaction timed out
14:39:22  ---- mbimcli -d /dev/cdc-wdm0 -p --disconnect=1
14:39:54  [/dev/cdc-wdm0] Successfully disconnected
14:39:54  
14:39:54  [/dev/cdc-wdm0] Connection status:
14:39:54  	      Session ID: '1'
14:39:54  	Activation state: 'deactivated'
14:39:54  	Voice call state: 'none'
14:39:54  	         IP type: 'default'
14:39:54  	    Context type: 'internet'
14:39:54  	   Network error: 'unknown'
14:39:54  ---- ip link set wwan0.1 down
14:39:54  ---- ip link del link wwan0 name wwan0.1 type vlan id 1
14:39:54  ---- mbimcli -p -d /dev/cdc-wdm0 --set-radio-state=off
14:39:54  [/dev/cdc-wdm0] Radio state retrieved:
14:39:54  	     Hardware radio state: 'on'
14:39:54  	     Software radio state: 'off'
14:39:54  -------Removing the wwan0 -------

The test still managed to finish and pass but it does concern me.

For more details --> https://jenkins-oai.eurecom.fr/view/CN5G/job/OAI-CN5G-COTS-UE-Test-Dev/40 (That is w/ oai-gnb:2023.w08b)

And for comparison w/ 2023.w05 --> https://jenkins-oai.eurecom.fr/view/CN5G/job/OAI-CN5G-COTS-UE-Test-Dev/39 I don't see the timeout message:

14:33:12  + sudo bash -c set -o pipefail && ./stop.sh 2>&1 | tee /tmp/test-stop0.log
14:33:12  ---- mbimcli -d /dev/cdc-wdm0 -p --disconnect=0
14:33:12  [/dev/cdc-wdm0] Successfully disconnected
14:33:12  
14:33:12  [/dev/cdc-wdm0] Connection status:
14:33:12  	      Session ID: '0'
14:33:12  	Activation state: 'deactivated'
14:33:12  	Voice call state: 'none'
14:33:12  	         IP type: 'default'
14:33:12  	    Context type: 'internet'
14:33:12  	   Network error: 'unknown'
14:33:12  ---- mbimcli -d /dev/cdc-wdm0 -p --disconnect=1
14:33:12  [/dev/cdc-wdm0] Successfully disconnected
14:33:12  
14:33:12  [/dev/cdc-wdm0] Connection status:
14:33:12  	      Session ID: '1'
14:33:12  	Activation state: 'deactivated'
14:33:12  	Voice call state: 'none'
14:33:12  	         IP type: 'default'
14:33:12  	    Context type: 'internet'
14:33:12  	   Network error: 'unknown'
14:33:12  ---- ip link set wwan0.1 down
14:33:12  ---- ip link del link wwan0 name wwan0.1 type vlan id 1
14:33:12  ---- mbimcli -p -d /dev/cdc-wdm0 --set-radio-state=off
14:33:13  [/dev/cdc-wdm0] Radio state retrieved:
14:33:13  	     Hardware radio state: 'on'
14:33:13  	     Software radio state: 'off'
14:33:13  -------Removing the wwan0 -------

Merge request reports