Skip to content

Instantly share code, notes, and snippets.

2022-10-10T23:53:14.8944164Z Requested labels: ubuntu-latest
2022-10-10T23:53:14.8944200Z Job defined at: kernel-patches/rcu-rc/.github/workflows/test.yml@refs/pull/13/merge
2022-10-10T23:53:14.8944217Z Waiting for a runner to pick up this job...
2022-10-10T23:53:19.0680541Z Job is waiting for a hosted runner to come online.
2022-10-10T23:53:19.1361626Z Job is about to start running on the hosted runner: GitHub Actions 11 (hosted)
2022-10-10T23:53:21.9288337Z Current runner version: '2.298.2'
2022-10-10T23:53:21.9313438Z ##[group]Operating System
2022-10-10T23:53:21.9313907Z Ubuntu
2022-10-10T23:53:21.9314284Z 20.04.5
2022-10-10T23:53:21.9314570Z LTS
#!/bin/bash
#
declare -a myarray=(a z d "e f")
readarray -t test_names < \
<(printf '%s\0' "${myarray[@]}" "$@" | sort -z -u | xargs -0n1)
for test_name in "${test_names[@]}"
do
#!/bin/bash
declare -a TEST_NAMES_FROM_BOOT
read_test_from_boot() {
# Check if test names were passed as boot parameter.
# We expect `run_tests` to be a comma-separated list of test names.
IFS=',' read -r -a TEST_NAMES_FROM_BOOT <<< \
"$(sed -n 's/.*run_tests=\([^ ]*\).*/\1/p' /tmp/a)"
echo "${TEST_NAMES_FROM_BOOT[@]}"
Oct 03 19:35:44 bpf-ci-runner-s390x-2 docker[72914]: # Authentication
Oct 03 19:35:54 bpf-ci-runner-s390x-2 docker[72914]: √ Connected to GitHub
Oct 03 19:35:56 bpf-ci-runner-s390x-2 docker[72914]: # Runner Registration
Oct 03 19:35:56 bpf-ci-runner-s390x-2 docker[72914]: Enter the name of the runner group to add this runner to: [press Enter for Default]
Oct 03 19:35:57 bpf-ci-runner-s390x-2 docker[72914]: A runner exists with the same name
Oct 03 19:35:57 bpf-ci-runner-s390x-2 docker[72914]: Would you like to replace the existing runner? (Y/N) [press Enter for N] Enter the name of runner: [press Enter for a62d476c2c8e]
Oct 03 19:35:57 bpf-ci-runner-s390x-2 docker[72914]: This runner will have the following labels: 'self-hosted', 'Linux', 'X64'
Oct 03 19:35:57 bpf-ci-runner-s390x-2 docker[72914]: Enter any additional labels (ex. label-1,label-2): [press Enter to skip]
Oct 03 19:35:57 bpf-ci-runner-s390x-2 docker[72914]: √ Runner successfully added
Oct 03 19:36:01 bpf-ci-runner-s390x-2 docker[72914]: √ Runner
$ diff -ruN <(~/dump-rpm-headers.py mdatp_101.75.43.x86_64.rpm) <(~/dump-rpm-headers.py mdatp_101.75.43.x86_64.extented.rpm)
--- /proc/self/fd/12 2022-10-03 10:59:15.122137460 -0700
+++ /proc/self/fd/13 2022-10-03 10:59:15.123137468 -0700
@@ -15,7 +15,7 @@
nindex: 9
hsize: 4852
==== Signature Section - Index Entries ====
-[ 0] tag: 62 type: BIN offset:4836 count: 16 # RPMTAG_HEADERSIGNATURES
+[ 0] tag: 62 type: BIN offset: 703 count: 16 # RPMTAG_HEADERSIGNATURES
[ 1] tag: 268 type: BIN offset: 0 count: 287 # RPMSIGTAG_RSA
$ docker run --rm --env-file ../self_hosted_runner.env --env DISABLE_AUTO_UPDATE=1 localhost/actions-runner:latest
Runner reusage is disabled
Ephemeral option is enabled
Disable auto update option is enabled
Configuring
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
$ docker run --rm --env-file ../self_hosted_runner.env localhost/actions-runner:latest
Runner reusage is disabled
Ephemeral option is enabled
Configuring
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
| | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
@chantra
chantra / foo.sh
Created September 30, 2022 21:04
#!/bin/bash
_ARG1=""
_ARG2=""
function foo() {
set -x
ls "${_ARG1}" "${_ARG2}"
set +x
--- tests/python/critical.before.log 2022-08-31 20:04:48.967528665 +0000
+++ tests/python/critical.after.log 2022-08-31 20:20:18.838279086 +0000
@@ -14,25 +14,21 @@
"
CRITICAL:root:WARNING! Test test_brb2 (__main__.TestBPFSocket) failed, but marked as passed because it is decorated with @mayFail.
CRITICAL:root: The reason why this mayFail was: This fails on github actions environment, and needs to be fixed
-CRITICAL:root: The failure was: "interface ns1a exists"
+CRITICAL:root: The failure was: "6 != 12"
CRITICAL:root: Stacktrace: "Traceback (most recent call last):
File "/bcc/tests/python/utils.py", line 36, in wrapper
Running tests...
UpdateCTestConfiguration from :/bcc/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/bcc/build/DartConfiguration.tcl
Test project /bcc/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end