mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-06-15 18:25:47 +00:00
Add format information to update output
The current format is very useful information to get from bug reports so add it as default output to swupd update. Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
committed by
William Douglas
parent
700b9ed5ad
commit
acad8c47b0
+1
-1
@@ -337,7 +337,7 @@ enum swupd_code execute_update_extra(extra_proc_fn_t post_update_fn, extra_proc_
|
||||
goto clean_curl;
|
||||
}
|
||||
|
||||
info("Preparing to update from %i to %i\n", current_version, server_version);
|
||||
info("Preparing to update from %i to %i (in format %s)\n", current_version, server_version, globals.format_string);
|
||||
timelist_timer_stop(globals.global_times); // closing: Get versions
|
||||
|
||||
/* housekeeping */
|
||||
|
||||
+2
-2
@@ -33,7 +33,7 @@ test_setup() {
|
||||
expected_output=$(cat <<-EOM
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -87,7 +87,7 @@ test_setup() {
|
||||
__________________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -51,7 +51,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -93,7 +93,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -133,7 +133,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -167,7 +167,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -56,7 +56,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
@@ -152,7 +152,7 @@ test_setup() {
|
||||
expected_output=$(cat <<-EOM
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
|
||||
@@ -44,7 +44,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
@@ -112,7 +112,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
@@ -186,7 +186,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
|
||||
@@ -50,7 +50,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle3
|
||||
- os-core
|
||||
|
||||
@@ -28,7 +28,7 @@ test_setup() {
|
||||
expected_output=$(cat <<-EOM
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -75,7 +75,7 @@ teardown_file() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -67,7 +67,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -112,7 +112,7 @@ test_setup() {
|
||||
Checking mirror status
|
||||
Warning: Upstream server http://localhost:$port/ not responding, cannot determine upstream version
|
||||
Warning: Unable to determine if the mirror is up to date
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 \(in format staging\)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -31,7 +31,7 @@ test_setup() {
|
||||
Warning: This is an insecure connection
|
||||
The --allow-insecure-http flag was used, be aware that this poses a threat to the system
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 \(in format staging\)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Error: Curl - File incompletely downloaded - '.*/100/pack-test-bundle-from-10.tar'
|
||||
|
||||
@@ -67,7 +67,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -68,7 +68,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_LOAD_MOM"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Warning: Signature check failed
|
||||
Warning: Removing corrupt Manifest.MoM artifacts and re-downloading...
|
||||
Warning: Signature check failed
|
||||
|
||||
@@ -73,7 +73,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_LOAD_MOM"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Error: Curl - Error downloading to local file - 'file://$ABS_TEST_DIR/web-dir/20/Manifest.MoM.tar'
|
||||
Error: Curl - Check free space for $ABS_TEST_DIR/testfs/state?
|
||||
Error: Failed to retrieve 20 MoM manifest
|
||||
@@ -103,7 +103,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_RECURSE_MANIFEST"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Error: Curl - Error downloading to local file - 'file://$ABS_TEST_DIR/web-dir/10/Manifest.test-bundle.tar'
|
||||
Error: Curl - Check free space for $ABS_TEST_DIR/testfs/state?
|
||||
Error: Failed to retrieve 10 test-bundle manifest
|
||||
@@ -134,7 +134,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_RECURSE_MANIFEST"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Error: Curl - Error downloading to local file - 'file://$ABS_TEST_DIR/web-dir/20/Manifest.test-bundle.tar'
|
||||
Error: Curl - Check free space for $ABS_TEST_DIR/testfs/state?
|
||||
Error: Failed to retrieve 20 test-bundle manifest
|
||||
@@ -158,7 +158,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_DOWNLOAD_FILE"
|
||||
expected_output1=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 \(in format staging\)
|
||||
Downloading packs \\(20.*\\) for:
|
||||
EOM
|
||||
)
|
||||
|
||||
@@ -50,7 +50,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -78,7 +78,7 @@ test_setup() {
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Warning: Default cert failed, attempting to use alternative: .*alt
|
||||
Preparing to update from 40 to 50
|
||||
Preparing to update from 40 to 50 \(in format 2\)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -56,7 +56,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -83,7 +83,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 40 to 50
|
||||
Preparing to update from 40 to 50 (in format 2)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -117,7 +117,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -144,7 +144,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_LOAD_MOM"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 40 to 50
|
||||
Preparing to update from 40 to 50 (in format 2)
|
||||
Warning: Signature check failed
|
||||
Warning: Removing corrupt Manifest.MoM artifacts and re-downloading...
|
||||
Warning: Signature check failed
|
||||
|
||||
@@ -75,7 +75,7 @@ test_setup() {
|
||||
Update started
|
||||
Warning: The --nosigcheck flag was used and this compromises the system security
|
||||
Warning: THE SIGNATURE OF file://$ABS_TEST_DIR/web-dir/version/formatstaging/latest WILL NOT BE VERIFIED
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Warning: THE SIGNATURE OF file://$ABS_TEST_DIR/web-dir/10/Manifest.MoM WILL NOT BE VERIFIED
|
||||
Warning: THE SIGNATURE OF file://$ABS_TEST_DIR/web-dir/20/Manifest.MoM WILL NOT BE VERIFIED
|
||||
Downloading packs for:
|
||||
@@ -113,7 +113,7 @@ test_setup() {
|
||||
Update started
|
||||
Warning: The --nosigcheck-latest flag was used and this compromises the system security
|
||||
Warning: THE SIGNATURE OF file://$ABS_TEST_DIR/web-dir/version/formatstaging/latest WILL NOT BE VERIFIED
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -150,7 +150,7 @@ test_setup() {
|
||||
Update started
|
||||
Warning: The --nosigcheck-latest flag was used and this compromises the system security
|
||||
Warning: THE SIGNATURE OF file://$ABS_TEST_DIR/web-dir/version/formatstaging/latest WILL NOT BE VERIFIED
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Warning: Signature check failed
|
||||
Warning: Removing corrupt Manifest.MoM artifacts and re-downloading...
|
||||
Warning: Signature check failed
|
||||
|
||||
@@ -31,7 +31,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- upstream-bundle
|
||||
Finishing packs extraction...
|
||||
@@ -54,7 +54,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -149,7 +149,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- upstream-bundle
|
||||
Finishing packs extraction...
|
||||
@@ -173,7 +173,7 @@ test_setup() {
|
||||
_____________________________
|
||||
Updates from a 3rd-party repository are forced to run with the --no-scripts flag for security reasons
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -71,7 +71,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -16,7 +16,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -35,7 +35,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
|
||||
@@ -17,7 +17,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -24,7 +24,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -28,7 +28,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_RECURSE_MANIFEST"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Error: Failed to retrieve 10 test-bundle2 manifest
|
||||
Error: Unable to download manifest test-bundle2 version 10, exiting now
|
||||
Update failed
|
||||
|
||||
@@ -17,7 +17,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -19,7 +19,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_LOAD_MOM"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 \(in format staging\)
|
||||
Error: Failed to retrieve 10 MoM manifest
|
||||
Update failed
|
||||
EOM
|
||||
@@ -38,7 +38,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_COULDNT_LOAD_MOM"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 \(in format staging\)
|
||||
Error: Failed to retrieve 20 MoM manifest
|
||||
Update failed
|
||||
EOM
|
||||
|
||||
@@ -29,7 +29,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -24,7 +24,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
- os-core
|
||||
|
||||
@@ -22,7 +22,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle2
|
||||
- test-bundle1
|
||||
|
||||
@@ -40,7 +40,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle6
|
||||
- test-bundle5
|
||||
|
||||
@@ -29,7 +29,7 @@ test_teardown() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 30
|
||||
Preparing to update from 10 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -65,7 +65,7 @@ test_teardown() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -83,7 +83,7 @@ test_teardown() {
|
||||
Calling post-update helper scripts
|
||||
Update successful - System updated from version 10 to version 20
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -120,7 +120,7 @@ test_teardown() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -138,7 +138,7 @@ test_teardown() {
|
||||
Calling post-update helper scripts
|
||||
Update successful - System updated from version 10 to version 20
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -177,7 +177,7 @@ test_teardown() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -195,7 +195,7 @@ test_teardown() {
|
||||
Calling post-update helper scripts
|
||||
Update successful - System updated from version 10 to version 20
|
||||
Update started
|
||||
Preparing to update from 20 to 30
|
||||
Preparing to update from 20 to 30 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -238,7 +238,7 @@ test_teardown() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 50
|
||||
Preparing to update from 10 to 50 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -30,7 +30,7 @@ test_setup() {
|
||||
{ "type" : "start", "section" : "update" },
|
||||
{ "type" : "progress", "currentStep" : 1, "totalSteps" : 10, "stepCompletion" : -1, "stepDescription" : "load_manifests" },
|
||||
{ "type" : "info", "msg" : "Update started" },
|
||||
{ "type" : "info", "msg" : "Preparing to update from 10 to 20" },
|
||||
{ "type" : "info", "msg" : "Preparing to update from 10 to 20 (in format staging)" },
|
||||
{ "type" : "progress", "currentStep" : 1, "totalSteps" : 10, "stepCompletion" : 100, "stepDescription" : "load_manifests" },
|
||||
{ "type" : "progress", "currentStep" : 2, "totalSteps" : 10, "stepCompletion" : -1, "stepDescription" : "run_preupdate_scripts" },
|
||||
{ "type" : "progress", "currentStep" : 2, "totalSteps" : 10, "stepCompletion" : 100, "stepDescription" : "run_preupdate_scripts" },
|
||||
|
||||
@@ -29,7 +29,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -61,7 +61,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 30
|
||||
Preparing to update from 10 to 30 (in format staging)
|
||||
Warning: hash check failed for Manifest.test-bundle1 for version 30. Deleting it
|
||||
Warning: Removing corrupt Manifest.test-bundle1 artifacts and re-downloading...
|
||||
Downloading packs for:
|
||||
|
||||
@@ -35,7 +35,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -68,7 +68,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 30
|
||||
Preparing to update from 10 to 30 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
- test-bundle2
|
||||
@@ -104,7 +104,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_RECURSE_MANIFEST"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 30
|
||||
Preparing to update from 10 to 30 (in format staging)
|
||||
Error: Failed to retrieve 30 test-bundle2 manifest
|
||||
Error: Unable to download manifest test-bundle2 version 30, exiting now
|
||||
Update failed
|
||||
|
||||
@@ -20,7 +20,7 @@ test_setup() {
|
||||
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- bundle1
|
||||
- os-core
|
||||
|
||||
@@ -20,7 +20,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle
|
||||
|
||||
@@ -21,7 +21,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -30,7 +30,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 30
|
||||
Preparing to update from 10 to 30 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
|
||||
@@ -18,7 +18,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -22,7 +22,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_CURRENT_VERSION_UNKNOWN"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -17,7 +17,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format 1)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -35,7 +35,7 @@ test_setup() {
|
||||
Calling post-update helper scripts
|
||||
Update successful - System updated from version 10 to version 20
|
||||
Update started
|
||||
Preparing to update from 30 to 40
|
||||
Preparing to update from 30 to 40 (in format 2)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -22,7 +22,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -21,7 +21,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -18,7 +18,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
@@ -49,7 +49,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 \(in format staging\)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -19,7 +19,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -27,7 +27,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -21,7 +21,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -52,7 +52,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -60,7 +60,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
- test-bundle1
|
||||
|
||||
@@ -53,7 +53,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -65,7 +65,7 @@ test_setup() {
|
||||
assert_status_is "$SWUPD_OK"
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -39,7 +39,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
- os-core
|
||||
|
||||
@@ -20,7 +20,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -16,7 +16,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -29,7 +29,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -22,7 +22,7 @@ test_setup() {
|
||||
assert_status_is 0
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -26,7 +26,7 @@ test_setup() {
|
||||
assert_status_is 1
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Preparing to update from 10 to 100
|
||||
Preparing to update from 10 to 100 \(in format staging\)
|
||||
Downloading packs for:
|
||||
- os-core
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -31,7 +31,7 @@ test_setup() {
|
||||
Error: Signature for latest file (file://$ABS_MIRROR_DIR/version/formatstaging/latest) is missing
|
||||
Warning: the mirror version could not be determined
|
||||
Removing mirror configuration
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
@@ -68,7 +68,7 @@ test_setup() {
|
||||
Error: Signature verification failed for URL: file://$ABS_MIRROR_DIR/version/formatstaging/latest
|
||||
Warning: the mirror version could not be determined
|
||||
Removing mirror configuration
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -34,7 +34,7 @@ test_setup() {
|
||||
expected_output=$(cat <<-EOM
|
||||
Update started
|
||||
Checking mirror status
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -37,7 +37,7 @@ test_setup() {
|
||||
Checking mirror status
|
||||
Warning: the mirror version (20) is too far behind upstream version (1000)
|
||||
Removing mirror configuration
|
||||
Preparing to update from 10 to 1000
|
||||
Preparing to update from 10 to 1000 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
@@ -37,7 +37,7 @@ test_setup() {
|
||||
Update started
|
||||
Checking mirror status
|
||||
Warning: mirror version (20) is behind upstream version (100)
|
||||
Preparing to update from 10 to 20
|
||||
Preparing to update from 10 to 20 (in format staging)
|
||||
Downloading packs for:
|
||||
- test-bundle1
|
||||
Finishing packs extraction...
|
||||
|
||||
Reference in New Issue
Block a user