Changes:
[pmaier@sysmocom.de] tests: Make sure tests do not return with 0 on failure
------------------------------------------ Started by upstream project "master-sysmo-usim-tool" build number 588 originally caused by: Started by an SCM change Running as SYSTEM Building remotely on simtester in workspace https://jenkins.osmocom.org/jenkins/job/master-sysmo-usim-tool/a1=default,a2=default,a3=default,a4=default,label=simtester/ws/ No credentials specified
git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url git://git.sysmocom.de/sysmo-usim-tool # timeout=10
Fetching upstream changes from git://git.sysmocom.de/sysmo-usim-tool
git --version # timeout=10 git fetch --tags --progress git://git.sysmocom.de/sysmo-usim-tool +refs/heads/*:refs/remotes/origin/*
Checking out Revision 80653e791a6a0d704f9512107e9b8ecc318e2b50 (refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10 git checkout -f 80653e791a6a0d704f9512107e9b8ecc318e2b50
Commit message: "tests: Make sure tests do not return with 0 on failure"
git rev-list --no-walk 149da081c118f5da7b7c39de6bc22bdc2d27d06f # timeout=10
[simtester] $ /bin/sh -xe /tmp/jenkins6451244434257484467.sh + cd ./tests + ./run-tests ========================================================== EXECUTING TESTS FOR SYSMO-USIM-SJS1 ==========================================================
================ PREPARING TEST CARD ================ sysmoUSIM-SJS1 parameterization tool Copyright (c)2017-2019 Sysmocom s.f.m.c. GmbH
Initializing smartcard terminal... * Detected Card IMSI: 262423203000002
Authenticating... * Remaining attempts: 3 * Authenticating... * Authentication successful * Remaining attempts: 3
Writing ICCID value... * Initalizing... * New ICCID setting: ICCID: 8988211320300000028f * Programming...
Done! sysmoUSIM-SJS1 parameterization tool Copyright (c)2017-2019 Sysmocom s.f.m.c. GmbH
Initializing smartcard terminal... * Detected Card IMSI: 262423203000002
Authenticating... * Remaining attempts: 3 * Authenticating... * Authentication successful * Remaining attempts: 3
Writing IMSI value... * Initalizing... * New ISMI setting: IMSI: 9262423203000002 * Programming...
Done! ================ TEST CARD PREPARED =================
==> Executing Testcase 01_auth.sh Test 01_auth.sh passed ==> Executing Testcase 02_mode_read.sh Test 02_mode_read.sh passed ==> Executing Testcase 03_mode_write.sh Test 03_mode_write.sh passed ==> Executing Testcase 04_algo.sh Test 04_algo.sh passed ==> Executing Testcase 05_milenage_par.sh Test 05_milenage_par.sh passed ==> Executing Testcase 06_op_opc.sh Test 06_op_opc.sh passed ==> Executing Testcase 07_ki.sh Test 07_ki.sh passed ==> Executing Testcase 08_seq.sh Test 08_seq.sh passed ==> Executing Testcase 09_mnclen.sh Test 09_mnclen.sh passed
Summary: 0 Tests failed
========================================================== EXECUTING TESTS FOR SYSMO-USIM-SJA2 ==========================================================
================ PREPARING TEST CARD ================ sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
* Error: Invalid commandline options sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9 Initializing smartcard terminal... * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... * Detected Card IMSI: 262423203000002
Authenticating... * Remaining attempts: 3 * Authenticating... * Authentication successful * Remaining attempts: 3
Writing IMSI value... * Initalizing... * New ISMI setting: IMSI: 9262423203000002 * Programming...
Done! ================ TEST CARD PREPARED =================
==> Executing Testcase 01_auth.sh Test 01_auth.sh passed ==> Executing Testcase 02_algo.sh Test 02_algo.sh passed ==> Executing Testcase 03_milenage_par.sh Test 03_milenage_par.sh passed ==> Executing Testcase 04_op_opc.sh Test 04_op_opc.sh passed ==> Executing Testcase 05_ki.sh Test 05_ki.sh passed ==> Executing Testcase 06_seq.sh --- 06_seq.out 2020-01-23 14:44:02.313043591 +0100 +++ /tmp/file4NdWtU 2020-02-18 13:43:12.784462524 +0100 @@ -21,7 +21,7 @@ SQN Check enabled SQN Age Limit enabled SQN Max Delta enabled - SQN Skip first enabled + SQN Skip first disabled SQN Conceal AUTN enabled SQN Conceal AUTS enabled SQN No AMF clear enabled Test 06_seq.sh FAILED! ==> Executing Testcase 07_mnclen.sh Test 07_mnclen.sh passed
Summary: 1 Tests failed Build step 'Execute shell' marked build as failure [WARNINGS]Skipping publisher since build result is FAILURE
------------------------------------------ [...truncated 37.41 KB...] +Initializing smartcard terminal... + * Card not detected! Test 05_ki.sh FAILED! ==> Executing Testcase 06_seq.sh --- 06_seq.out 2020-01-23 14:44:02.313043591 +0100 +++ /tmp/fileUFsunG 2020-02-18 14:47:54.087524561 +0100 @@ -6,54 +6,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Reading Milenage Sequence parameters... - * Initalizing... - * Current SQN Configuration for ADF_USIM: - IND (bits): 5 - SQN Check enabled - SQN Age Limit enabled - SQN Max Delta enabled - SQN Skip first enabled - SQN Conceal AUTN enabled - SQN Conceal AUTS enabled - SQN No AMF clear enabled - Max Delta: 281474976710655 - Age Limit: 281474976710655 - Freshness Data: - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000 - * Current SQN Configuration for ADF_ISIM: - IND (bits): 5 - SQN Check enabled - SQN Age Limit enabled - SQN Max Delta enabled - SQN Skip first enabled - SQN Conceal AUTN enabled - SQN Conceal AUTS enabled - SQN No AMF clear enabled - Max Delta: 281474976710655 - Age Limit: 281474976710655 - Freshness Data: - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000 - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -62,16 +18,7 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - - * Resetting SQN Configuration to defaults... - * Initalizing... - * Resetting... - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! Test 06_seq.sh FAILED! ==> Executing Testcase 07_mnclen.sh --- 07_mnclen.out 2020-01-23 14:44:02.313043591 +0100 +++ /tmp/fileUFsunG 2020-02-18 14:48:13.109815539 +0100 @@ -6,21 +6,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Writing MNCLEN value... - * Initalizing... - * New MNCLEN setting: - MNCLEN: 0x02 - * Programming... - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -29,21 +18,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Reading MNCLEN value... - * Initalizing... - * Reading... - * Current MNCLEN setting: - MNCLEN: 0x02 - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -52,21 +30,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Writing MNCLEN value... - * Initalizing... - * New MNCLEN setting: - MNCLEN: 0x03 - * Programming... - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -75,21 +42,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Reading MNCLEN value... - * Initalizing... - * Reading... - * Current MNCLEN setting: - MNCLEN: 0x03 - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -98,21 +54,10 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Writing MNCLEN value... - * Initalizing... - * New MNCLEN setting: - MNCLEN: 0x02 - * Programming... - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! sysmoISIM-SJA2 parameterization tool Copyright (c)2019 Sysmocom s.f.m.c. GmbH
@@ -121,18 +66,7 @@ * Card not detected! Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 31 33 02 51 B2 Initializing smartcard terminal... - * Detected Card IMSI: 262423203000002 - -Authenticating... - * Remaining attempts: 3 - * Authenticating... - * Authentication successful - * Remaining attempts: 3 - -Reading MNCLEN value... - * Initalizing... - * Reading... - * Current MNCLEN setting: - MNCLEN: 0x02 - -Done! + * Card not detected! +Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 52 75 31 04 51 D5 +Initializing smartcard terminal... + * Card not detected! Test 07_mnclen.sh FAILED!
Summary: 7 Tests failed Build step 'Execute shell' marked build as failure [WARNINGS]Skipping publisher since build result is FAILURE
jenkins-notifications@lists.osmocom.org