Skip to content

Instantly share code, notes, and snippets.

@b10n1k
Created October 12, 2022 08:38
Show Gist options
  • Save b10n1k/4ca6f03ff2684a8a703f602d3a36995f to your computer and use it in GitHub Desktop.
Save b10n1k/4ca6f03ff2684a8a703f602d3a36995f to your computer and use it in GitHub Desktop.
;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with <f20> and enter text in its buffer.
[2022-10-12T10:24:16.728714+02:00] [debug] <<< consoles::serial_screen::type_string(cmd="backend_send_key", json_cmd_token="sGBBoEry", key="ret", text="\n")
[2022-10-12T10:24:16.729399+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:24:16.729771+02:00] [debug] <<< testapi::wait_serial(regexp="# ", expect_not_found=0, timeout=90, quiet=1, buffer_size=undef, record_output=undef, no_regex=1)
[2022-10-12T10:24:16.730507+02:00] [debug] <<< consoles::serial_screen::read_until(expect_not_found=0, buffer_size=undef, pattern=[
"# "
], json_cmd_token="UboBrPLO", regexp="# ", cmd="backend_wait_serial", record_output=undef, no_regex=1, timeout=90, quiet=1)
[2022-10-12T10:25:46.821444+02:00] [debug] >>> testapi::wait_serial: # : fail
[2022-10-12T10:25:46.821758+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.821973+02:00] [debug] <<< distribution::script_output("Content of /tmp/scriptoW~Qf.sh :\n \"cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-\$?-\" \n")
[2022-10-12T10:25:46.823278+02:00] [debug] <<< consoles::serial_screen::type_string(cmd="backend_type_string", json_cmd_token="QuaSHvTD", text="cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-\$?-\n")
[2022-10-12T10:25:46.824206+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.824632+02:00] [debug] <<< testapi::wait_serial(quiet=1, timeout=90, no_regex=1, record_output=undef, buffer_size=undef, expect_not_found=0, regexp="cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-\$?-")
[2022-10-12T10:25:46.826063+02:00] [debug] <<< consoles::serial_screen::read_until(no_regex=1, record_output=undef, cmd="backend_wait_serial", quiet=1, timeout=90, regexp="cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-\$?-", json_cmd_token="TAhWWmUO", buffer_size=undef, pattern=[
"cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-\$?-"
], expect_not_found=0)
[2022-10-12T10:25:46.826370+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 2 loops & 0.00066800881177187 seconds: cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-$?-
[2022-10-12T10:25:46.827128+02:00] [debug] >>> testapi::wait_serial: cat > /tmp/scriptoW~Qf.sh << 'EOT_oW~Qf'; echo oW~Qf-$?-: ok
[2022-10-12T10:25:46.827409+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.827757+02:00] [debug] <<< testapi::wait_serial(regexp="> ", expect_not_found=0, buffer_size=undef, record_output=undef, no_regex=1, timeout=90, quiet=1)
[2022-10-12T10:25:46.829135+02:00] [debug] <<< consoles::serial_screen::read_until(expect_not_found=0, pattern=[
"> "
], buffer_size=undef, regexp="> ", json_cmd_token="vlhdGTxg", quiet=1, timeout=90, no_regex=1, record_output=undef, cmd="backend_wait_serial")
[2022-10-12T10:25:46.829355+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 1 loops & 0.000567731447517872 seconds: >
[2022-10-12T10:25:46.830078+02:00] [debug] >>> testapi::wait_serial: > : ok
[2022-10-12T10:25:46.831024+02:00] [debug] <<< consoles::serial_screen::type_string(cmd="backend_type_string", json_cmd_token="oajiSKgK", text="cat /etc/os-release\nEOT_oW~Qf\n")
[2022-10-12T10:25:46.831865+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.832298+02:00] [debug] <<< testapi::wait_serial(timeout=90, quiet=1, buffer_size=undef, record_output=undef, no_regex=1, regexp="> EOT_oW~Qf", expect_not_found=0)
[2022-10-12T10:25:46.833645+02:00] [debug] <<< consoles::serial_screen::read_until(json_cmd_token="pHJoAgKz", regexp="> EOT_oW~Qf", quiet=1, timeout=90, no_regex=1, record_output=undef, cmd="backend_wait_serial", expect_not_found=0, pattern=[
"> EOT_oW~Qf"
], buffer_size=undef)
[2022-10-12T10:25:46.833917+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 2 loops & 0.000615965574979782 seconds: > EOT_oW~Qf
[2022-10-12T10:25:46.834636+02:00] [debug] >>> testapi::wait_serial: > EOT_oW~Qf: ok
[2022-10-12T10:25:46.834920+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.835276+02:00] [debug] <<< testapi::wait_serial(timeout=90, quiet=1, buffer_size=undef, record_output=undef, no_regex=0, regexp="oW~Qf-0-", expect_not_found=0)
[2022-10-12T10:25:46.836614+02:00] [debug] <<< consoles::serial_screen::read_until(timeout=90, quiet=1, cmd="backend_wait_serial", record_output=undef, no_regex=0, json_cmd_token="Ndiqitvt", regexp="oW~Qf-0-", pattern="oW~Qf-0-", buffer_size=undef, expect_not_found=0)
[2022-10-12T10:25:46.838520+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 2 loops & 0.00216399226337671 seconds: oW~Qf-0-
[2022-10-12T10:25:46.839279+02:00] [debug] >>> testapi::wait_serial: oW~Qf-0-: ok
[2022-10-12T10:25:46.839574+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:25:46.839922+02:00] [debug] <<< testapi::wait_serial(buffer_size=undef, record_output=undef, no_regex=1, timeout=90, quiet=1, regexp="# ", expect_not_found=0)
[2022-10-12T10:25:46.841285+02:00] [debug] <<< consoles::serial_screen::read_until(pattern=[
"# "
], buffer_size=undef, expect_not_found=0, quiet=1, timeout=90, no_regex=1, record_output=undef, cmd="backend_wait_serial", regexp="# ", json_cmd_token="kvmtdIjk")
[2022-10-12T10:27:16.929409+02:00] [debug] >>> testapi::wait_serial: # : fail
[2022-10-12T10:27:16.930539+02:00] [debug] <<< consoles::serial_screen::type_string(json_cmd_token="UUvjHBlL", text="echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-\$?-\n", cmd="backend_type_string")
[2022-10-12T10:27:16.931299+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:27:16.931786+02:00] [debug] <<< testapi::wait_serial(regexp="echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-\$?-", expect_not_found=0, record_output=undef, buffer_size=undef, no_regex=1, timeout=90, quiet=1)
[2022-10-12T10:27:16.932849+02:00] [debug] <<< consoles::serial_screen::read_until(regexp="echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-\$?-", json_cmd_token="HcOOxwFJ", quiet=1, timeout=90, no_regex=1, record_output=undef, cmd="backend_wait_serial", expect_not_found=0, pattern=[
"echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-\$?-"
], buffer_size=undef)
[2022-10-12T10:27:16.933124+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 2 loops & 0.000596741214394569 seconds: echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-$?-
[2022-10-12T10:27:16.933704+02:00] [debug] >>> testapi::wait_serial: echo oW~Qf; bash -oe pipefail /tmp/scriptoW~Qf.sh ; echo SCRIPT_FINISHEDoW~Qf-$?-: ok
[2022-10-12T10:27:16.934004+02:00] [debug] tests/containers/apptainer.pm:46 called testapi::validate_script_output
[2022-10-12T10:27:16.934377+02:00] [debug] <<< testapi::wait_serial(no_regex=0, record_output=1, buffer_size=undef, quiet=1, timeout=90, expect_not_found=0, regexp="SCRIPT_FINISHEDoW~Qf-\\d+-")
[2022-10-12T10:27:16.935480+02:00] [debug] <<< consoles::serial_screen::read_until(timeout=90, quiet=1, record_output=1, cmd="backend_wait_serial", no_regex=0, json_cmd_token="wbpJWSIf", regexp="SCRIPT_FINISHEDoW~Qf-\\d+-", pattern="SCRIPT_FINISHEDoW~Qf-\\d+-", buffer_size=undef, expect_not_found=0)
[2022-10-12T10:27:16.941181+02:00] [info] ::: consoles::serial_screen::read_until: Matched output from SUT in 6 loops & 0.00595629028975964 seconds: SCRIPT_FINISHEDoW~Qf-0-
[2022-10-12T10:27:16.941915+02:00] [debug] >>> testapi::wait_serial: SCRIPT_FINISHEDoW~Qf-\d+-: ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment