text:
Is there a posibility to include Nvidia Jetson (ARM64)

Hi, I just started using this awesome project and replace our self-hosted runners,
since you're basically emulating an ARM-cpu and download raspberry images, is there a possibility to also include Jetson images ?

It should be doable, especially if they are really based on ubuntu linux.
This action considers partition 1 is boot and 2 is root, and the glob expression doesn't work with more than 9 partitions.
Apparently, the Jetson image I tried has 11 partitions. Do you know how they are organized and how they should be mounted?
https://github.com/pguyot/arm-runner-action/runs/6679373325?check_suite_focus=true#step:3:157

https://geekymind.de/jetson.png
looks like mmcblk0p1 is the main partition, the rest is just for the bootloader

Thanks. Got it working. Fixed in #39
Can you test it before we can call it a release?
The CI test is here:
https://github.com/pguyot/arm-runner-action/blob/main/.github/workflows/test-partitions.yml

mounts and starts great, but I have a strange issue, networking isn't working (using jetson-nano-image) I'll invenstigate, maybe we only need dhclient or something like that :

2022-06-02T22:43:28.1450723Z ##[group]Run pguyot/arm-runner-action@f204b58258d5b01e297eec6db036a14b11dc9ffa
2022-06-02T22:43:28.1451317Z with:
2022-06-02T22:43:28.1451991Z   base_image: https://developer.download.nvidia.com/embedded/L4T/r32_Release_v6.1/Jetson_Nano_2GB/jetson-nano-2gb-jp46-sd-card-image.zip
2022-06-02T22:43:28.1452697Z   cpu: cortex-a53
2022-06-02T22:43:28.1453038Z   rootpartition: 1
2022-06-02T22:43:28.1453524Z   commands: cat /etc/os-release
uname -a
ping google.de
sudo apt update
sudo apt upgrade

2022-06-02T22:43:28.1454047Z   image_additional_mb: 0
2022-06-02T22:43:28.1454421Z   bind_mount_repository: no
2022-06-02T22:43:28.1454766Z   copy_artifact_dest: .
2022-06-02T22:43:28.1455108Z   optimize_image: yes
2022-06-02T22:43:28.1455470Z   use_systemd_nspawn: no
2022-06-02T22:43:28.1455786Z   shell: /bin/sh
2022-06-02T22:43:28.1456104Z   exit_on_fail: yes
2022-06-02T22:43:28.1456424Z   debug: yes
2022-06-02T22:43:28.1456759Z   import_github_env: no
2022-06-02T22:43:28.1457085Z   export_github_env: no
2022-06-02T22:43:28.1457441Z env:
2022-06-02T22:43:28.1457743Z   BUILD_TYPE: Release
2022-06-02T22:43:28.1458071Z ##[endgroup]
2022-06-02T22:43:28.1713819Z ##[group]Run sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support parted wget dosfstools zip
2022-06-02T22:43:28.1714708Z sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support parted wget dosfstools zip
2022-06-02T22:43:28.1780681Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-06-02T22:43:28.1781168Z env:
2022-06-02T22:43:28.1781463Z   BUILD_TYPE: Release
2022-06-02T22:43:28.1781788Z ##[endgroup]
2022-06-02T22:43:28.3375105Z Hit:1 http://azure.archive.ubuntu.com/ubuntu focal InRelease
2022-06-02T22:43:28.3377574Z Get:2 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
2022-06-02T22:43:28.3386334Z Get:3 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
2022-06-02T22:43:28.3410425Z Get:4 http://azure.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
2022-06-02T22:43:28.3929991Z Get:5 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease [10.5 kB]
2022-06-02T22:43:28.5879063Z Hit:6 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
2022-06-02T22:43:28.6065525Z Get:7 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1833 kB]
2022-06-02T22:43:28.6391408Z Get:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [337 kB]
2022-06-02T22:43:28.6426357Z Get:9 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.4 kB]
2022-06-02T22:43:28.6463785Z Get:10 http://azure.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1010 kB]
2022-06-02T22:43:28.6616828Z Get:11 http://azure.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [144 kB]
2022-06-02T22:43:28.6782987Z Get:12 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [926 kB]
2022-06-02T22:43:28.6843543Z Get:13 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [208 kB]
2022-06-02T22:43:28.6895651Z Get:14 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.7 kB]
2022-06-02T22:43:28.7635820Z Get:15 http://azure.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [23.7 kB]
2022-06-02T22:43:28.7652739Z Get:16 http://azure.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [860 B]
2022-06-02T22:43:28.9253114Z Get:17 http://azure.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1491 kB]
2022-06-02T22:43:28.9514668Z Get:18 http://azure.archive.ubuntu.com/ubuntu focal-security/main Translation-en [257 kB]
2022-06-02T22:43:28.9519646Z Get:19 http://azure.archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.4 kB]
2022-06-02T22:43:28.9545951Z Get:20 http://azure.archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [948 kB]
2022-06-02T22:43:28.9675020Z Get:21 http://azure.archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [135 kB]
2022-06-02T22:43:28.9742791Z Get:22 http://azure.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [705 kB]
2022-06-02T22:43:28.9867853Z Get:23 http://azure.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [126 kB]
2022-06-02T22:43:28.9879888Z Get:24 http://azure.archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14.5 kB]
2022-06-02T22:43:29.0622012Z Get:25 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages [161 kB]
2022-06-02T22:43:35.4390452Z Fetched 8711 kB in 2s (4549 kB/s)
2022-06-02T22:43:36.5074377Z Reading package lists...
2022-06-02T22:43:36.6064760Z Reading package lists...
2022-06-02T22:43:36.8142032Z Building dependency tree...
2022-06-02T22:43:36.8158628Z Reading state information...
2022-06-02T22:43:36.9895304Z dosfstools is already the newest version (4.1-2).
2022-06-02T22:43:36.9896975Z dosfstools set to manually installed.
2022-06-02T22:43:36.9898794Z zip is already the newest version (3.0-11build1).
2022-06-02T22:43:36.9899993Z binfmt-support is already the newest version (2.2.0-2).
2022-06-02T22:43:36.9902309Z binfmt-support set to manually installed.
2022-06-02T22:43:36.9903534Z parted is already the newest version (3.3-4ubuntu0.20.04.1).
2022-06-02T22:43:36.9904942Z parted set to manually installed.
2022-06-02T22:43:36.9906056Z wget is already the newest version (1.20.3-1ubuntu2).
2022-06-02T22:43:37.0640670Z The following NEW packages will be installed:
2022-06-02T22:43:37.0641700Z   qemu qemu-user-static
2022-06-02T22:43:37.1062661Z 0 upgraded, 2 newly installed, 0 to remove and 22 not upgraded.
2022-06-02T22:43:37.1748944Z Need to get 21.3 MB of archives.
2022-06-02T22:43:37.1750145Z After this operation, 208 MB of additional disk space will be used.
2022-06-02T22:43:37.1751545Z Get:1 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 qemu amd64 1:4.2-3ubuntu6.21 [15.2 kB]
2022-06-02T22:43:37.1959289Z Get:2 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 qemu-user-static amd64 1:4.2-3ubuntu6.21 [21.2 MB]
2022-06-02T22:43:37.9460128Z Fetched 21.3 MB in 0s (64.7 MB/s)
2022-06-02T22:43:37.9875873Z Selecting previously unselected package qemu.
2022-06-02T22:43:38.0160478Z (Reading database ...
2022-06-02T22:43:38.0160942Z (Reading database ... 5%
2022-06-02T22:43:38.0161769Z (Reading database ... 10%
2022-06-02T22:43:38.0163622Z (Reading database ... 15%
2022-06-02T22:43:38.0179999Z (Reading database ... 20%
2022-06-02T22:43:38.0180320Z (Reading database ... 25%
2022-06-02T22:43:38.0180750Z (Reading database ... 30%
2022-06-02T22:43:38.0181017Z (Reading database ... 35%
2022-06-02T22:43:38.0181268Z (Reading database ... 40%
2022-06-02T22:43:38.0181545Z (Reading database ... 45%
2022-06-02T22:43:38.0181810Z (Reading database ... 50%
2022-06-02T22:43:38.0642575Z (Reading database ... 55%
2022-06-02T22:43:38.1104137Z (Reading database ... 60%
2022-06-02T22:43:38.1506974Z (Reading database ... 65%
2022-06-02T22:43:38.1750250Z (Reading database ... 70%
2022-06-02T22:43:38.2271599Z (Reading database ... 75%
2022-06-02T22:43:38.2842818Z (Reading database ... 80%
2022-06-02T22:43:38.3821147Z (Reading database ... 85%
2022-06-02T22:43:38.4736766Z (Reading database ... 90%
2022-06-02T22:43:38.5330880Z (Reading database ... 95%
2022-06-02T22:43:38.5331262Z (Reading database ... 100%
2022-06-02T22:43:38.5331608Z (Reading database ... 235546 files and directories currently installed.)
2022-06-02T22:43:38.5456452Z Preparing to unpack .../qemu_1%3a4.2-3ubuntu6.21_amd64.deb ...
2022-06-02T22:43:38.5482481Z Unpacking qemu (1:4.2-3ubuntu6.21) ...
2022-06-02T22:43:38.5800421Z Selecting previously unselected package qemu-user-static.
2022-06-02T22:43:38.6072468Z Preparing to unpack .../qemu-user-static_1%3a4.2-3ubuntu6.21_amd64.deb ...
2022-06-02T22:43:38.6096481Z Unpacking qemu-user-static (1:4.2-3ubuntu6.21) ...
2022-06-02T22:43:41.4132971Z Setting up qemu (1:4.2-3ubuntu6.21) ...
2022-06-02T22:43:41.4193358Z Setting up qemu-user-static (1:4.2-3ubuntu6.21) ...
2022-06-02T22:43:41.4612446Z Processing triggers for man-db (2.9.1-1) ...
2022-06-02T22:43:45.0058823Z ##[group]Run case cortex-a53 in
2022-06-02T22:43:45.0059186Z case cortex-a53 in
2022-06-02T22:43:45.0059436Z "")
2022-06-02T22:43:45.0060018Z     cpu="arm1176:cortex-a53"
2022-06-02T22:43:45.0060379Z ;;
2022-06-02T22:43:45.0060833Z arm1176)
2022-06-02T22:43:45.0061093Z     cpu="arm1176:cortex-a53"
2022-06-02T22:43:45.0061331Z ;;
2022-06-02T22:43:45.0061559Z cortex-a7)
2022-06-02T22:43:45.0061833Z     cpu="cortex-a7:cortex-a53"
2022-06-02T22:43:45.0062096Z ;;
2022-06-02T22:43:45.0062308Z cortex-a8)
2022-06-02T22:43:45.0062572Z     cpu="cortex-a8:max"
2022-06-02T22:43:45.0062815Z ;;
2022-06-02T22:43:45.0063028Z cortex-a53)
2022-06-02T22:43:45.0063289Z     cpu="max:cortex-a53"
2022-06-02T22:43:45.0063534Z ;;
2022-06-02T22:43:45.0063729Z *)
2022-06-02T22:43:45.0063966Z     cpu=cortex-a53
2022-06-02T22:43:45.0064207Z esac
2022-06-02T22:43:45.0064429Z arm_cpu=${cpu%:}
2022-06-02T22:43:45.0064690Z aarch64_cpu=${cpu#:}
2022-06-02T22:43:45.0065035Z sudo mv /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static0
2022-06-02T22:43:45.0065448Z sudo mv /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static0
2022-06-02T22:43:45.0066059Z sudo gcc -static /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/qemu-wrapper.c -DQEMU_CPU=${arm_cpu} -O3 -s -o /usr/bin/qemu-arm-static
2022-06-02T22:43:45.0066823Z sudo gcc -static /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/qemu-wrapper.c -DQEMU_CPU=${aarch64_cpu} -O3 -s -o /usr/bin/qemu-aarch64-static
2022-06-02T22:43:45.0067520Z sudo update-binfmts --disable qemu-arm
2022-06-02T22:43:45.0067864Z sudo update-binfmts --disable qemu-aarch64
2022-06-02T22:43:45.0068223Z sudo update-binfmts --enable qemu-arm
2022-06-02T22:43:45.0068569Z sudo update-binfmts --enable qemu-aarch64
2022-06-02T22:43:45.0130041Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-06-02T22:43:45.0130356Z env:
2022-06-02T22:43:45.0130571Z   BUILD_TYPE: Release
2022-06-02T22:43:45.0130815Z ##[endgroup]
2022-06-02T22:43:45.9094910Z ##[group]Run bash /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/download_image.sh https://developer.download.nvidia.com/embedded/L4T/r32_Release_v6.1/Jetson_Nano_2GB/jetson-nano-2gb-jp46-sd-card-image.zip
2022-06-02T22:43:45.9096001Z bash /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/download_image.sh https://developer.download.nvidia.com/embedded/L4T/r32_Release_v6.1/Jetson_Nano_2GB/jetson-nano-2gb-jp46-sd-card-image.zip
2022-06-02T22:43:45.9159130Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-06-02T22:43:45.9159472Z env:
2022-06-02T22:43:45.9159692Z   BUILD_TYPE: Release
2022-06-02T22:43:45.9159940Z ##[endgroup]
2022-06-02T22:44:15.1225348Z Archive:  jetson-nano-2gb-jp46-sd-card-image.zip
2022-06-02T22:47:14.9499484Z   inflating: sd-blob.img
2022-06-02T22:47:15.0453157Z ##[group]Run sudo bash /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/mount_image.sh /home/runner/work/_temp/arm-runner/arm-runner.img 0 no 1
2022-06-02T22:47:15.0454080Z sudo bash /home/runner/work/_actions/pguyot/arm-runner-action/f204b58258d5b01e297eec6db036a14b11dc9ffa/mount_image.sh /home/runner/work/_temp/arm-runner/arm-runner.img 0 no 1
2022-06-02T22:47:15.0521443Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-06-02T22:47:15.0521813Z env:
2022-06-02T22:47:15.0522227Z   BUILD_TYPE: Release
2022-06-02T22:47:15.0522556Z ##[endgroup]
2022-06-02T22:47:15.1209379Z Created loopback device /dev/loop3
2022-06-02T22:47:17.8984715Z /dev/loop3: gpt partitions 2 3 4 5 6 7 8 9 10 11 12 13 14 1
2022-06-02T22:47:17.9551074Z mount: /home/actions/temp/arm-runner/mnt/boot: wrong fs type, bad option, bad superblock on , missing codepage or helper program, or other error.
2022-06-02T22:47:17.9900274Z cp: cannot stat '/home/actions/temp/arm-runner/mnt/etc/resolv.conf': No such file or directory
2022-06-02T22:47:17.9919170Z cp: not writing through dangling symlink '/home/actions/temp/arm-runner/mnt/etc/resolv.conf'
2022-06-02T22:47:18.0574238Z ##[group]Run case "yes" in
2022-06-02T22:47:18.0574834Z case "yes" in
2022-06-02T22:47:18.0575165Z yes|true)
2022-06-02T22:47:18.0575484Z     debug='x'
2022-06-02T22:47:18.0575766Z     set -x
2022-06-02T22:47:18.0576118Z ;;
2022-06-02T22:47:18.0576422Z no|false)
2022-06-02T22:47:18.0576685Z     debug=''
2022-06-02T22:47:18.0576991Z ;;
2022-06-02T22:47:18.0577328Z esac
2022-06-02T22:47:18.0577599Z repository_path=
2022-06-02T22:47:18.0577986Z if [ "${repository_path}x" = "x" ]; then
2022-06-02T22:47:18.0578505Z     repository_name=basename /home/runner/work/Open.HD/Open.HD
2022-06-02T22:47:18.0578908Z     repository_path=/${repository_name}
2022-06-02T22:47:18.0579308Z fi
2022-06-02T22:47:18.0579620Z case "yes" in
2022-06-02T22:47:18.0579890Z yes|true)
2022-06-02T22:47:18.0580216Z     exit_on_fail='e'
2022-06-02T22:47:18.0580785Z ;;
2022-06-02T22:47:18.0581221Z no|false)
2022-06-02T22:47:18.0581549Z     exit_on_fail=''
2022-06-02T22:47:18.0581855Z ;;
2022-06-02T22:47:18.0582293Z esac
2022-06-02T22:47:18.0582543Z shell=/bin/sh
2022-06-02T22:47:18.0582900Z shell_package=
2022-06-02T22:47:18.0583283Z [ -x /home/actions/temp/arm-runner/mnt/${shell} ] || \
2022-06-02T22:47:18.0583714Z shell_path=$(sudo chroot /home/actions/temp/arm-runner/mnt which ${shell}) || \
2022-06-02T22:47:18.0584161Z case ${shell} in
2022-06-02T22:47:18.0584510Z bash|sh)
2022-06-02T22:47:18.0584758Z     :
2022-06-02T22:47:18.0585042Z ;;
2022-06-02T22:47:18.0585346Z *)
2022-06-02T22:47:18.0585739Z     sudo chroot /home/actions/temp/arm-runner/mnt sudo apt-get install -y ${shell_package:-${shell##/}}
2022-06-02T22:47:18.0586211Z ;;
2022-06-02T22:47:18.0586499Z esac
2022-06-02T22:47:18.0586875Z shell_path=${shell_path:-$(sudo chroot /home/actions/temp/arm-runner/mnt which ${shell})}
2022-06-02T22:47:18.0587443Z sudo mkdir -p $(dirname /home/actions/temp/arm-runner/mnt${repository_path})
2022-06-02T22:47:18.0587896Z case no in
2022-06-02T22:47:18.0588239Z yes|true)
2022-06-02T22:47:18.0588593Z     sudo mkdir -p /home/actions/temp/arm-runner/mnt${repository_path}
2022-06-02T22:47:18.0589166Z     sudo mount --bind /home/runner/work/Open.HD/Open.HD /home/actions/temp/arm-runner/mnt${repository_path}
2022-06-02T22:47:18.0589614Z ;;
2022-06-02T22:47:18.0589861Z no|false)
2022-06-02T22:47:18.0590345Z     sudo cp -Rp /home/runner/work/Open.HD/Open.HD /home/actions/temp/arm-runner/mnt${repository_path}
2022-06-02T22:47:18.0590783Z ;;
2022-06-02T22:47:18.0591091Z esac
2022-06-02T22:47:18.0591383Z if [ "nox" != "x" -a "nox" != "nox" ]; then
2022-06-02T22:47:18.0591792Z     chroot_script_dir=/scripts
2022-06-02T22:47:18.0592224Z     script_dir=${RUNNER_TEMP:-/home/actions/temp}/scripts
2022-06-02T22:47:18.0592566Z else
2022-06-02T22:47:18.0592902Z     chroot_script_dir=/tmp
2022-06-02T22:47:18.0593312Z     script_dir=/home/actions/temp/arm-runner/mnt/tmp
2022-06-02T22:47:18.0593658Z fi
2022-06-02T22:47:18.0593984Z mkdir -p ${script_dir}
2022-06-02T22:47:18.0594391Z script_path=${script_dir}/commands.sh
2022-06-02T22:47:18.0594937Z sudo touch ${script_path}
2022-06-02T22:47:18.0595254Z sudo chmod o+wx ${script_path}
2022-06-02T22:47:18.0595676Z echo "#!${shell_path}" > ${script_path}
2022-06-02T22:47:18.0596109Z echo "set -${debug}${exit_on_fail}" >> ${script_path}
2022-06-02T22:47:18.0596437Z case "no" in
2022-06-02T22:47:18.0596833Z yes|true)
2022-06-02T22:47:18.0597416Z     export | sed -e 's/^declare -x //g;s/^[^=]$/\0=""/g;s/='''(.*)'''$/=\1/g' >> ${script_dir}/environment.sh
2022-06-02T22:47:18.0597980Z     echo ". ${chroot_script_dir}/environment.sh" >> ${script_path}
2022-06-02T22:47:18.0598320Z ;;
2022-06-02T22:47:18.0598618Z esac
2022-06-02T22:47:18.0598927Z case "no" in
2022-06-02T22:47:18.0599220Z yes|true)
2022-06-02T22:47:18.0599639Z     echo "GITHUB_ENV=${chroot_script_dir}/github_env.sh" >> ${script_path}
2022-06-02T22:47:18.0600036Z ;;
2022-06-02T22:47:18.0600331Z esac
2022-06-02T22:47:18.0600643Z echo "cd ${repository_path}" >> ${script_path}
2022-06-02T22:47:18.0601127Z cat >> ${script_path} <<"ARM_RUNNER_INPUT_COMMANDS_EOF"
2022-06-02T22:47:18.0601528Z cat /etc/os-release
2022-06-02T22:47:18.0601810Z uname -a
2022-06-02T22:47:18.0602152Z ping google.de
2022-06-02T22:47:18.0602532Z sudo apt update
2022-06-02T22:47:18.0602814Z sudo apt upgrade
2022-06-02T22:47:18.0603131Z
2022-06-02T22:47:18.0603469Z ARM_RUNNER_INPUT_COMMANDS_EOF
2022-06-02T22:47:18.0603805Z if [ "nox" != "x" -a "nox" != "nox" ]; then
2022-06-02T22:47:18.0604352Z     sudo apt-get install -y systemd-container
2022-06-02T22:47:18.0604955Z     sudo systemd-nspawn -q -a --bind=${script_dir}:${chroot_script_dir} -D /home/actions/temp/arm-runner/mnt ${shell_path} ${chroot_script_dir}/commands.sh
2022-06-02T22:47:18.0605478Z else
2022-06-02T22:47:18.0605850Z     sudo chroot /home/actions/temp/arm-runner/mnt ${chroot_script_dir}/commands.sh
2022-06-02T22:47:18.0606276Z fi
2022-06-02T22:47:18.0606602Z rc=$?
2022-06-02T22:47:18.0606905Z [ -f ${script_dir}/github_env.sh ] && \
2022-06-02T22:47:18.0734228Z     cat ${script_dir}/github_env.sh >> $GITHUB_ENV
2022-06-02T22:47:18.0734573Z exit $rc
2022-06-02T22:47:18.0794082Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-06-02T22:47:18.0794393Z env:
2022-06-02T22:47:18.0794624Z   BUILD_TYPE: Release
2022-06-02T22:47:18.0794856Z ##[endgroup]
2022-06-02T22:47:18.0887776Z + repository_path=
2022-06-02T22:47:18.0891136Z + '[' x = x ']'
2022-06-02T22:47:18.0898067Z ++ basename /home/runner/work/Open.HD/Open.HD
2022-06-02T22:47:18.0910098Z + repository_name=Open.HD
2022-06-02T22:47:18.0910613Z + repository_path=/Open.HD
2022-06-02T22:47:18.0914498Z + case "yes" in
2022-06-02T22:47:18.0914931Z + exit_on_fail=e
2022-06-02T22:47:18.0917422Z + shell=/bin/sh
2022-06-02T22:47:18.0917825Z + shell_package=
2022-06-02T22:47:18.0921080Z + '[' -x /home/actions/temp/arm-runner/mnt//bin/sh ']'
2022-06-02T22:47:18.0951693Z ++ sudo chroot /home/actions/temp/arm-runner/mnt which /bin/sh
2022-06-02T22:47:18.2008401Z + shell_path=/bin/sh
2022-06-02T22:47:18.2012331Z ++ dirname /home/actions/temp/arm-runner/mnt/Open.HD
2022-06-02T22:47:18.2026356Z + sudo mkdir -p /home/actions/temp/arm-runner/mnt
2022-06-02T22:47:18.2106380Z + case no in
2022-06-02T22:47:18.2107122Z + sudo cp -Rp /home/runner/work/Open.HD/Open.HD /home/actions/temp/arm-runner/mnt/Open.HD
2022-06-02T22:47:18.2195016Z + '[' nox '!=' x -a nox '!=' nox ']'
2022-06-02T22:47:18.2195523Z + chroot_script_dir=/tmp
2022-06-02T22:47:18.2196031Z + script_dir=/home/actions/temp/arm-runner/mnt/tmp
2022-06-02T22:47:18.2196564Z + mkdir -p /home/actions/temp/arm-runner/mnt/tmp
2022-06-02T22:47:18.2209599Z + script_path=/home/actions/temp/arm-runner/mnt/tmp/commands.sh
2022-06-02T22:47:18.2210614Z + sudo touch /home/actions/temp/arm-runner/mnt/tmp/commands.sh
2022-06-02T22:47:18.2292256Z + sudo chmod o+wx /home/actions/temp/arm-runner/mnt/tmp/commands.sh
2022-06-02T22:47:18.2367716Z + echo '#!/bin/sh'
2022-06-02T22:47:18.2377434Z + echo 'set -xe'
2022-06-02T22:47:18.2377823Z + case "no" in
2022-06-02T22:47:18.2378083Z + case "no" in
2022-06-02T22:47:18.2378385Z + echo 'cd /Open.HD'
2022-06-02T22:47:18.2378608Z + cat
2022-06-02T22:47:18.2394875Z + '[' nox '!=' x -a nox '!=' nox ']'
2022-06-02T22:47:18.2395609Z + sudo chroot /home/actions/temp/arm-runner/mnt /tmp/commands.sh
2022-06-02T22:47:18.2754874Z + cd /Open.HD
2022-06-02T22:47:18.2765292Z + cat /etc/os-release
2022-06-02T22:47:18.3177984Z NAME="Ubuntu"
2022-06-02T22:47:18.3178350Z VERSION="18.04.5 LTS (Bionic Beaver)"
2022-06-02T22:47:18.3178622Z ID=ubuntu
2022-06-02T22:47:18.3178846Z ID_LIKE=debian
2022-06-02T22:47:18.3179099Z PRETTY_NAME="Ubuntu 18.04.5 LTS"
2022-06-02T22:47:18.3179365Z VERSION_ID="18.04"
2022-06-02T22:47:18.3179679Z HOME_URL="https://www.ubuntu.com/"
2022-06-02T22:47:18.3180002Z SUPPORT_URL="https://help.ubuntu.com/"
2022-06-02T22:47:18.3180370Z BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
2022-06-02T22:47:18.3181396Z PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
2022-06-02T22:47:18.3181800Z VERSION_CODENAME=bionic
2022-06-02T22:47:18.3182050Z UBUNTU_CODENAME=bionic
2022-06-02T22:47:18.3216330Z + uname -a
2022-06-02T22:47:18.3560562Z Linux fv-az177-982 5.13.0-1025-azure #29~20.04.1-Ubuntu SMP Thu May 19 14:50:45 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
2022-06-02T22:47:18.3585908Z + ping google.de
2022-06-02T22:47:18.4281143Z ping: google.de: Name or service not known
2022-06-02T22:47:18.4350989Z ##[error]Process completed with exit code 2.

After few attempts, I was able to get it right. Could you please test it again?
BTW, you probably want to ping with -c 1.

looks great, didn't find any bugs, really big thank you :)

Thanks for testing. Just released that as v2.4.0

authors: pguyot raphaelscholle

repo: pguyot/arm-runner-action


text:
Data Table: Bot Accounts

What does this PR do and why?
Note: Due to the size of this current PR, the following will be branched out and fixed in separate PRs:

Removal of new PAT panel upon bot deletion and PAT revoke

This PR refactors the bot account pages (Group and Project) to use the data_table_component (includes PAT tables to use data_table_component). This required much of the response logic (turbo etc.) to be re-done.
Screenshots or screen recordings

How to set up and validate locally
Test all bot functionality:

Create new bot (table updates with new bot and new PAT panel appears/updates)
Delete bot (table updates, empty state appears if there are 0 bots)
Active PATs for a bot and Revoke action (empty state of PAT table once all PATs are revoked)
Generate new PAT (table active PAT # updates, new PAT panel appears/updates)

PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[x] I have evaluated the PR acceptance checklist for this PR.

I found a minor UI bug that I am hoping you can fix, and I am hoping that I can explain it properly. I will paste the screenshot and try to explain below.

The div highlighted in the developer console wraps a turbo-frame.
When the turbo frame is empty (as in the screenshot) the div is empty but still renders and has the class of mb-4 which for all purposes makes the margin bottom on the header 8.
Can you remove the wrapping div and set the mb-4 on the content within the turbo-frame so that it is only there if the turbo-frame has content?

I think this small bug is something that you can quickly fix in this PR.  The create  bot modal body does not vertically scroll.  If you don't have enough vertical screen space you cannot fill in all the values.  As yo can see in the screenshot I cannot select a date

I found a minor UI bug that I am hoping you can fix, and I am hoping that I can explain it properly. I will paste the screenshot and try to explain below.

The div highlighted in the developer console wraps a turbo-frame.
When the turbo frame is empty (as in the screenshot) the div is empty but still renders and has the class of mb-4 which for all purposes makes the margin bottom on the header 8.
Can you remove the wrapping div and set the mb-4 on the content within the turbo-frame so that it is only there if the turbo-frame has content?

Thanks, removed the wrapper and moved the mb-4 to the frame content for both projects and groups in f039c402c4192177e1202278e122a8123f25ffa6

source: gharchive/pull-request

repo: phac-nml/irida-next

license_type: permissive

license_source: github-api


text:
Pokemon's Location Area Encounters issue

The property "location_area_encounters" at the Pokemon endpoint now returns a string pointing to an URL
Example, for Resource Jirachi: "location_area_encounters": "/api/v2/pokemon/385/encounters"
According to the docs, it should return an array:
"location_area_encounters": [],
Is this a mistake or a change in the API?

@fferegrino this is a known change made to improve the performance of the API. I completely forgot to update the docs to reflect this! I guess this is a good testament to how quickly changes affect end users. Sorry about that! I'll rename your ticket to reflect the bad docs.

Cool, thank you for your quick response. I'm creating a client (called Jirapi) and this issue arose during some tests. I'll modify accordingly.
A final question, querying that endpoint should return the same result as the property did?

Yep

Sorry, maybe it's me.
But here http://pokeapi.co/api/v1/pokemon/13/ I can't find any "location_area_encounter".
Was moved?

source: gharchive/issue

authors: Naramsim fferegrino phalt sargunster

repo: phalt/pokeapi

license_source: bigquery


text:
public/js/main.js is not created

Hello,
I'm trying to install koel v3.3.0 on my Raspberry PI, but I have some issues with asset compiling. Here is log:
http://pastebin.com/P2AyhXhi
pi@raspberrypi:/var/www/koel $ npm -v
3.10.6
pi@raspberrypi:/var/www/koel $ node -v
v6.4.0
Anyone experienced this issue?
Thank You!

How exactly did you fix this?

authors: JanGross klizas

repo: phanan/koel

license: mit


text:
Demonstrator notebooks

Running single physical model
Running single ML model
Combining ME and EBM models
Comparing ML and physical models
Realistic experiment: scientifically sound experimental setup
Prediction: combine new data with saved model

Closing as part of #200 #206

repo: phenology/springtime


text:
Discuss aria-labelledby api in mixin

@jessegreenberg and I just spoke, and we found that the setters for aria-labelledby and aria-describedby are confusing to outside devs. Let's spend some a11y dev meeting time to discuss. A reason for the confusion is because you set node you want to describe your node, but you also need to set the individual tag that you want. Since a single node can have a "label" "description" "parent" and itself (4 html elements total) we need a way to link the two nodes, and then link the specific tab. Current implementation does this in two methods.
Possible thoughts to improve:

turn this into one, well named (that's optimistic as naming is hard), function that takes in the node, and the tag that it wants the be describedby.

maybe we just need to rename the current existing function to make it a bit more clear. Again I have no good ideas, but brainstorming will be nice.

What kind of option support do we want with these. If we go with the 1 function 2 args approach, we won't be able to make it an option. Also how do you specify yourself as an argument default? That seems weird:
options = _.extend( { ariaLabelledByNode: this }, options);

I

@zepumph was wondering about options/setters in the Accessibility trait that would set aria-labelledby and aria-describedby relations between a Node and its own labels/descriptions. This would be more direct than the current API, but would not cover cases where the  association goes beyond a single node and its labels.

We discussed this even further today in the a11y dev meeting. At first I thought that it may be nice to be able to use an option (rather than a setter) to assign the aria-labelledby attribute to point to that node tagName's own label (label meaning the h3 or somthing set by accessibleLabel option).
We haven't made any decisions yet, but it would be nice if we could handle all aria-labelledby situations with an option if we wanted. We experimented with the following options (each has a parallel option for aria-describedby)

new Node( {

  // would by default assign the aria-labelledby attribute to the label of this node
  // this is no good because it isn't an option that could be used to assign labelledby another node
  useAriaLabelledBy: true

  // this signifies that I should be labeled by my own label.
  ariaLabelledBy: AccessiblePeer.LABEL

 });

I'm sure there were other ones too, but I don't remember all iterations. We found that it is important that you can not only specify a node, but what tag of the node you want to be able to be labelled by.
The goal is to be explicit here, without having an overly complicated api. We don't want clever.
As a wise man (@jessegreenberg) once said, and a less wise one (@zepumph) paraphrased:
"being clever is never smart"

We will keep discussing.

@jessegreenberg and I went at this today, discussing the best way to proceed.
One of our biggest complaints about the way it is now, is that in order to use aria-labelledby with dom elements other than the main Node's, you have to have two lines like so, with operations on both Nodes involved (yuck).
      // this node is labelledby its own label
      node1.setAriaLabelledByNode( node2 );
      node2.setAriaLabelContent( AccessiblePeer.LABEL );

Translation: We want node1 to be labelled by node two's label dom element (not node 2 itself).
This usage is annoying because we don't like that it requires a call on both nodes, so on idea on how to proceed is to change the second line to node1.ariaLabelledByThisParticularDOMElementOfNode2 = Accessibility.LABEL.
Another complaint is its general complexity. There are so many options with who can be aria labelledby whom. (see ariaLabelledContent vs ariaLabelContent).

We discovered that we will not be able to reference the DOM element directly because the PDOM creates/destroys dom elements too often (see invalidateAccessibleContent).

We discussed just setting aria labelled by on nodes, and not providing the support to specific related peer content like a Node's LABEL, DESCRIPTION, or PARENT_CONTAINER. This will require reworking of some classes in some cases. For example if we want to keep the same structure as a Node with a label that is prepended, we would have to wrap all of the content of this node in a containing node, and then make a label node ourselves that would be a sibling to this. You could also bump the logic up to the parent. Basically leveraging the scene graph to support this rather than the accessibility api.

We don't know what to do yet, but the last discussion point seems like it could be nice.

Another option - We have explicit functions for all combinations of aria-labelledby and aria-describedby on all peer elements for a Node?
nodeA.setAriaLabelledBy( nodeB )
nodeA.setParentContainerAriaLabelledByOtherNodeLabel( nodeB )
nodeA.setLabelAriaDescribedByOtherNodeDescription( nodeB )
... and so on

... an option, but I dislike it so much that I don't even want to keep typing examples.

Adding high priority, I am seeing aria-labelledby is showing up more frequently in design docs.

@mbarlow12  and I talked about this today. We springboarded off of the above static function for setting aria-labelledby.
in #795 we may very well go with an accessibleName setter, that knows how to set an accessible name for a node. This could potentially set html content on different html elements depending on what the node's HTML representation is. Thus, to have a similarly abstracted api for aria-labelledby we talked about having a method like whatSiblingProducesAccessibleName() that can, from a node, get what html element it is so that we can get the html ID from that specific element.
otherNode.accessibleName = 'hello I am name'; // need a way to get this.

/**
 * @param {Node} labelledNode - the node that will somehow be labelledby another node's AccessiblePeer DOM element
 * @param {string} labelledSibling - the sibling element of the labelledNode that will receive the aria-labelledby attribute
 * @param {Node} otherNode - another node whose accessible content will somehow label the labelledNode
 */
AccessibilityUtil.setAriaLabelledBy: function( labelledNode, labelledSibling,  otherNode ){

	// this way we don't need to be passed 'LABEL' or 'PRIMARY' because we can get it from the parallel method to accessibleName setter.
	otherNode.whatSiblingProducesAccessibleName(); // ---> 'PRIMARY'

	labelledNode._ariaLebelledByNode = node2;
	otherNode._ariaLabelsNode = labelledNode;
	labelledNode._setAriaLabelledContent = labelledSibling; // "use labelledNode's primary"
	otherNode._setAriaLabelContent = otherSiblingToBeLabel; //"use otherNode's label"

	otherNode.onchange = funciton(){
		// tell node1 to update the id accordingly.
	}

}

This is pretty tentative, but seems like it could work. The main bummer would be that places where accessibleName is overridden, and we want to use the aria-labelledby api, we would need to override this separate method to get the id of the proper html element.
A few notes from the discussion:
NOTE: accessibleName changed emitter emitter that the arialabelledby method
NOTE: accessibleName shouldn't be allowed to be set if you are setting arialabelledby on something
NOTE: we just need the id connection, maybe this is too complicated?
NOTE: this doesn't support dag.

We talked about this again, going over the discussion from last week and some alternatives.
One concern that we had with using whatSiblingProducesAccessibleName() is that it doesn't easily provide the flexibility to set which sibling on otherNode to set aria-labelledby.
We wondered if data attributes could be used for this. We weren't sure exactly how this would work, but it would allow us to have a way to create an identifier that can be used to associate two different elements in the DOM. It would add complexity because we would still need a way to set the data attribute on multiple siblings.
We reviewed the current API and  wanted to reconsider it. After much discussion in this issue, we have yet to come up with alternatives that seem much better. Perhaps with much better setter names it would easier to understand and use.

We also thought that it would be helpful to discuss this issue with @jonathanolson  and possibly others. It would be most helpful to have some dedicated call time to go over this problem in detail and what we have already considered. @ariel-phet can we have permission to get 30-60 minutes from @jonathanolson for this?

I don't believe this was mentioned yet, but as we further develop this solution, we need to be sure that that the API has the ability to set multiple other nodes in the aria-labelledby attribute. This would produce a space-separated list of ids the associated AccessiblePeer.

In dev meeting today we worked hard on this issue, and got it to a really good place!! I made a few more adjustments this evening and got things working pretty well.
There are only a few tests but basically here is how this works, you now add association objects to a node, and for each you are saying "add the aria-labelledby attribute to one of my peer elements, then get the id from another Node's specified peer Element (can be any of them), and add that id to the value of the aria-labelledby attribute.
This way we support any number of ids as the value of This Node's AccessiblePeer's HTMLElement's aria-labelledby attribute. Terminology is fun.
From here:

[ ] There aren't a ton of unit tests, so it would be good to add more
[ ] There are a few inefficiencies:

updateAriaLabelledbyAssociations has to totally clear the previous aria-labelled by values, before resetting things, the third unit test exemplifies the need for that.
Because of the above bullet, we couldn't use @mbarlow12's nice improvement of passing in an optional node, and only updating the aria-labelled by attribute for that Node. Since the aria-labelledby value on an HTMLElement is just a space separated list, there was no obvious way to clear an old id, and update it to a new id.

I hope to talk about this/review this more next week, but @jessegreenberg or @mbarlow12 get to this before then, that is great too!
NOTE: I merged this into master.

This is looking really good @zepumph, the only change I made so far is to use removeAttribute instead of setting attribute to '' in `updateAriaLabelledbyAssociations.

We discussed this today, it is working really well. We added a few more unit tests for aria-labelledby to make sure associations are correct between more than just the primary siblings, and after the scene graph changes.  I think we are ready to proceed with the same pattern for aria-describedby. We discussed that addAriaLabelledbyAssociationImplementation could be refactored and used for both labelledby and describedby.
This is as far as we got tonight. @zepumph mentioned that he could continue with this since he worked on aria-labelledby. Thanks, and let us know if we can assist.

In the above commits I:

Added a unit test that makes sure all is well when creating an association between two elements of a single node.
Added aria-describedby api
Consolidated and refactored the new api so that labelledby and describedby use the same code to create and update their associations.
Adapted the unit tests in the same way as 3 because they both support the same feature set.
Replaced all usages of the old api in the project with the new api.
Removed the old api.

This is all on master.
The ways I tested:

I tested by manually checking the PDOM in about 1/3rd of the places where I updated usages, to make sure that nothing changed.
I added errors to the top of all old api functions to make sure I got all usages.
I aqua fuzz tested all modes of our sim.
I made sure scenery unit tests were passing.

@jessegreenberg this is a lot of code to review, let me know if you want to sit down together and talk some of it out. Thanks!

@zepumph, I did a quick skim of this issue, and while I do not fully understand everything in this issue, I and wondering if are you still using "setAriaLabelledBy"? And was wondering if you considered something like:

hasAriaLabelledBy? True/False
hasMultipleAssociations or hasMultipleAssociatedElements? True/False
getIDRefsOfAssociatedElements and put them in a comma separated list on the element with aria-labelledby attribute?

Perhaps that is what the API does?

The api leans in the same direction you are thinking, we are no longer using setAriaLabelledBy, and instead have created a way that you can specify any number of associations between a Node and another Node you want to be aria-labelledby (or described by). I can explain more if you desire, but I think the most important thing for you to know is that the api will now support any number of items "aria-labelling" an item in the sim, and for the developers it just got much easier to add an one of these labelledby/describedby associations (yay!)

This issue is super old now and we missed the boat on catching anything in a review. But I still went through changes and things look great. I saw a couple of TODOs in the commits referenced here that have since been resolved.
The API has been serving us well for many years. Closing.

authors: jessegreenberg mbarlow12 terracoda zepumph

repo: phetsims/scenery


text:
Regression test new A11y api improvements

In https://github.com/phetsims/scenery/issues/748 we will change a lot of the api for phet a11y. I want to make sure that no bugs slip by. One strategy for this will be to create dev links of the accessible sims so far to make sure that the future pDOMs look the same.

[x] BASE
https://www.colorado.edu/physics/phet/dev/html/balloons-and-static-electricity/1.4.0-dev.14/phet/balloons-and-static-electricity_en_phet.html
https://www.colorado.edu/physics/phet/dev/html/balloons-and-static-electricity/1.4.0-dev.14/phet/balloons-and-static-electricity_a11y_view.html

[x] JT
https://www.colorado.edu/physics/phet/dev/html/john-travoltage/1.4.0-dev.4/phet/john-travoltage_en_phet.html
https://www.colorado.edu/physics/phet/dev/html/john-travoltage/1.4.0-dev.4/phet/john-travoltage_a11y_view.html

[x] CL
https://www.colorado.edu/physics/phet/dev/html/coulombs-law/1.0.0-dev.15/phet/coulombs-law_a11y_view.html
https://www.colorado.edu/physics/phet/dev/html/coulombs-law/1.0.0-dev.15/phet/coulombs-law_en_phet.html

[x] Friction (mk)
https://www.colorado.edu/physics/phet/dev/html/friction/1.5.0-dev.5/phet/friction_en_phet.html
https://www.colorado.edu/physics/phet/dev/html/friction/1.5.0-dev.5/phet/friction_a11y_view.html

[x] Ohms Law (mk)
https://www.colorado.edu/physics/phet/dev/html/ohms-law/1.4.0-dev.23/phet/ohms-law_en_phet.html
https://www.colorado.edu/physics/phet/dev/html/ohms-law/1.4.0-dev.23/phet/ohms-law_a11y_view.html

[x] GFLB
https://www.colorado.edu/physics/phet/dev/html/gravity-force-lab-basics/1.0.0-dev.21/phet/gravity-force-lab-basics_en_phet.html
https://www.colorado.edu/physics/phet/dev/html/gravity-force-lab-basics/1.0.0-dev.21/phet/gravity-force-lab-basics_a11y_view.html

I think that will be enough.
Here is the rest of the simulations from the perennial/data/accessibility list that we need to look at:

[x] area-model-introduction
[x] build-an-atom (didn't look at, a11y not in active development)
[x] molarity
[x] molecules-and-light
[x] plinko-probability
[x] reactants-products-and-leftovers
[x] resistance-in-a-wire (mk)
[x] rutherford-scattering

on hold until that issue is done, I just wanted to make sure we got dev versions  before beginning. Tagging @jessegreenberg because he is an amazing person that deserves to know everything.

@mbarlow12 @jessegreenberg please go through the sims listed in the first comment and mark your initial next to sims that you will go through, then we can split up any extras afterwards. Marking for dev meeting next week to discuss progress.

I went through everything except BASE, it seemed pretty formulaic to change these, especially since there were snapshot dev versions. Here are a few conventions/philosophies I implemented/followed:

Removed all prependLabels option
Added appendDescription/Label: true defaults to radiobutton/checkboxes across the project. This was implemented because it is nice to have the label after these form elements (mainly this effects MAL)
In almost all places, there will still be work done to the sim, so I didn't spend all of the time in the world thinking through the pDOM, instead I just made sure the code made sense, and hadn't changed to previous versions.

Notes moving forward with this issue:

@jessegreenberg please note that BASE is all yours to make sure things look good (I see many usages of append options already).
@mbarlow12 I am the most uncertain about MAL, because I didn't make a snapshot before starting the api work, please be advised.
Please spot check you sims, and the sim specific commits above to make sure that all looks well.
Assign back to be or close when completed.

Thanks all!

I went through BASE, the PDOM looks great. We will be on the lookout, but things are looking good and stable. This issue can be closed, thank you for taking the lead @zepumph.

authors: jessegreenberg zepumph


text:
alloc::allocator reexport of alloc::alloc removed; builds failing on latest nightlies

See https://github.com/rust-lang/rust/commit/26324d0abe1a8df228f8c758b870a38078549ddc. This is currently causing a build failure:
error[E0432]: unresolved import `alloc::allocator`
  --> /home/erin/.cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.2/src/lib.rs:15:12
   |
15 | use alloc::allocator::{Alloc, AllocErr, Layout};
   |            ^^^^^^^^^ Could not find `allocator` in `alloc`

error[E0432]: unresolved import `alloc::allocator`
 --> /home/erin/.cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.2/src/hole.rs:1:12
  |
1 | use alloc::allocator::{AllocErr, Layout};
  |            ^^^^^^^^^ Could not find `allocator` in `alloc`

error: aborting due to 2 previous errors

Thanks for reporting! Fixed in b2e5f75, released as version 0.6.3.

authors: barzamin phil-opp

repo: phil-opp/linked-list-allocator


text:
Completion error: "- Could not match expr node type"

Racer outputs this error:
PREFIX 46,46,
- Could not match expr node type: ExprMac(Spanned { node: MacInvocTT(path(vec), [TtToken(Span { lo: BytePos(34), hi: BytePos(45), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(45), hi: BytePos(47), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(47), hi: BytePos(50), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(50), hi: BytePos(68), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(50), hi: BytePos(51), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(51), hi: BytePos(67), expn_id: ExpnId(4294967295) }, Literal(Str_(              (64)), None))], close_span: Span { lo: BytePos(67), hi: BytePos(68), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(68), hi: BytePos(69), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(79), hi: BytePos(90), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(90), hi: BytePos(92), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(92), hi: BytePos(95), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(95), hi: BytePos(113), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(95), hi: BytePos(96), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(96), hi: BytePos(112), expn_id: ExpnId(4294967295) }, Literal(Str_(              (64)), None))], close_span: Span { lo: BytePos(112), hi: BytePos(113), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(113), hi: BytePos(114), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(124), hi: BytePos(135), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(135), hi: BytePos(137), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(137), hi: BytePos(140), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(140), hi: BytePos(153), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(140), hi: BytePos(141), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(141), hi: BytePos(152), expn_id: ExpnId(4294967295) }, Literal(Str_(         (65)), None))], close_span: Span { lo: BytePos(152), hi: BytePos(153), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(153), hi: BytePos(154), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(164), hi: BytePos(175), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(175), hi: BytePos(177), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(177), hi: BytePos(180), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(180), hi: BytePos(203), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(180), hi: BytePos(181), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(181), hi: BytePos(202), expn_id: ExpnId(4294967295) }, Literal(Str_(                   (66)), None))], close_span: Span { lo: BytePos(202), hi: BytePos(203), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(203), hi: BytePos(204), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(214), hi: BytePos(225), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(225), hi: BytePos(227), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(227), hi: BytePos(230), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(230), hi: BytePos(249), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(230), hi: BytePos(231), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(231), hi: BytePos(248), expn_id: ExpnId(4294967295) }, Literal(Str_(               (67)), None))], close_span: Span { lo: BytePos(248), hi: BytePos(249), expn_id: ExpnId(4294967295) } })], 0), span: Span { lo: BytePos(19), hi: BytePos(256), expn_id: ExpnId(4294967295) } }, Bracket)
END

With the following source:
use std::thread;
struct Philosopher { name : String }
impl Philosopher {
	fn new(name: &str) -> Philosopher {
		Philosopher { name: name.to_string() }
	}
	fn eat(&self) {
		println!("{} started eating.", self.name);
		thread::sleep_ms(1000);
		println!("{} is done eating.", self.name);
	}
}

fn main()
{
	let philosephers = vec![
	    Philosopher::new("Baruch Spinoza"),
	    Philosopher::new("Gilles Deleuze"),
	    Philosopher::new("Karl Marx"),
	    Philosopher::new("Friedrich Nietzsche"),
	    Philosopher::new("Michel Foucault")
	];

	let thread_handles: Vec<_> = philosephers.into_iter().

	for p in &philosephers {
		p.eat();
	}
}

When  racer complete-with-snippet 24 46 is invoked in such file (the point right after Vec<_> = philosephers.)

Hi Bruno, I'm afraid this is because racer isn't currently able to handle
macros.
On Mon, Aug 3, 2015 at 6:35 PM, Bruno Medeiros notifications@github.com
wrote:

Racer outputs this error:
PREFIX 46,46,

Could not match expr node type: ExprMac(Spanned { node: MacInvocTT(path(vec), [TtToken(Span { lo: BytePos(34), hi: BytePos(45), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(45), hi: BytePos(47), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(47), hi: BytePos(50), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(50), hi: BytePos(68), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(50), hi: BytePos(51), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(51), hi: BytePos(67), expn_id: ExpnId(4294967295) }, Literal(Str_(              (64)), None))], close_span: Span { lo: BytePos(67), hi: BytePos(68), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(68), hi: BytePos(69), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(79), hi: BytePos(90), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)
), TtTok
en(Span { lo: BytePos(90), hi: BytePos(92), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(92), hi: BytePos(95), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(95), hi: BytePos(113), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(95), hi: BytePos(96), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(96), hi: BytePos(112), expn_id: ExpnId(4294967295) }, Literal(Str_(              (64)), None))], close_span: Span { lo: BytePos(112), hi: BytePos(113), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(113), hi: BytePos(114), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(124), hi: BytePos(135), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(135), hi: BytePos(137), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(137), hi: BytePos(140), expn_id: ExpnId(4294967295) }, Ident(new#0,
Plain)),
TtDelimited(Span { lo: BytePos(140), hi: BytePos(153), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(140), hi: BytePos(141), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(141), hi: BytePos(152), expn_id: ExpnId(4294967295) }, Literal(Str_(         (65)), None))], close_span: Span { lo: BytePos(152), hi: BytePos(153), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(153), hi: BytePos(154), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(164), hi: BytePos(175), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(175), hi: BytePos(177), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(177), hi: BytePos(180), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(180), hi: BytePos(203), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(180), hi: BytePos(181), expn_id: Ex
pnId(429

}, tts: [TtToken(Span { lo: BytePos(181), hi: BytePos(202), expn_id: ExpnId(4294967295) }, Literal(Str_(                   (66)), None))], close_span: Span { lo: BytePos(202), hi: BytePos(203), expn_id: ExpnId(4294967295) } }), TtToken(Span { lo: BytePos(203), hi: BytePos(204), expn_id: ExpnId(4294967295) }, Comma), TtToken(Span { lo: BytePos(214), hi: BytePos(225), expn_id: ExpnId(4294967295) }, Ident(Philosopher#0, ModName)), TtToken(Span { lo: BytePos(225), hi: BytePos(227), expn_id: ExpnId(4294967295) }, ModSep), TtToken(Span { lo: BytePos(227), hi: BytePos(230), expn_id: ExpnId(4294967295) }, Ident(new#0, Plain)), TtDelimited(Span { lo: BytePos(230), hi: BytePos(249), expn_id: ExpnId(4294967295) }, Delimited { delim: Paren, open_span: Span { lo: BytePos(230), hi: BytePos(231), expn_id: ExpnId(4294967295) }, tts: [TtToken(Span { lo: BytePos(231), hi: BytePos(248), expn_id: ExpnId(4294967295) }, Literal(Str_(               (67)), None))], close_span: Span { lo: B
ytePos(2
48), hi: BytePos(249), expn_id: ExpnId(4294967295) } })], 0), span: Span { lo: BytePos(19), hi: BytePos(256), expn_id: ExpnId(4294967295) } }, Bracket)
END

With the following source:
use std::thread;struct Philosopher { name : String }impl Philosopher {
fn new(name: &str) -> Philosopher {
Philosopher { name: name.to_string() }
}
fn eat(&self) {
println!("{} started eating.", self.name);
thread::sleep_ms(1000);
println!("{} is done eating.", self.name);
}
}
fn main()
{
let philosephers = vec![
Philosopher::new("Baruch Spinoza"),
Philosopher::new("Gilles Deleuze"),
Philosopher::new("Karl Marx"),
Philosopher::new("Friedrich Nietzsche"),
Philosopher::new("Michel Foucault")
];
let thread_handles: Vec<_> = philosephers.into_iter().

for p in &philosephers {
    p.eat();
}

}
When racer complete-with-snippet 24 46 is invoked in such file (the point
right after Vec<_> = philosephers.)
—
Reply to this email directly or view it on GitHub
https://github.com/phildawes/racer/issues/323.

Fair enough, any chance Racer could get a cleaner error output syntax though? It would make it easier for the IDE to know if it is just a Racer limitation, or an actual bug.

authors: bruno-medeiros phildawes

repo: phildawes/racer


text:
Make crossword classes serializable as Python statements necessary to recreate them

Requirements
Rather than serializing objects as JSON, why not serialize them as the Python statements necessary to recreate them?
This would involve:

Adding a to_python_statements() method to Grid and Puzzle

These files use  the to_json method:
$ grep -rl to_json | grep -v venv
crossword/ui/uigrid.py
crossword/ui/puzzle_from_acrosslite.py
crossword/ui/uiword.py
crossword/ui/uipuzzle.py
crossword/ui/puzzle_import.py
crossword/cells/numbered_cell.py
crossword/grids/grid.py
crossword/puzzles/puzzle.py
tests/cells/test_numbered_cell.py
tests/grids/test_grid_rotate.py
tests/grids/test_grid.py
tests/puzzles/test_puzzle.py
tests/puzzles/test_puzzle_replace_grid.py
tests/puzzles/test_puzzle_undo.py
migration/restore_from_backup.py
$

These files use the from_json method:
$ grep -rl from_json | grep -v venv
create_test_data.py
crossword/ui/puzzle_export.py
crossword/ui/uigrid.py
crossword/ui/uiword.py
crossword/ui/uipuzzle.py
crossword/ui/puzzle_import.py
crossword/ui/uipublish.py
crossword/cells/numbered_cell.py
crossword/grids/grid.py
crossword/puzzles/puzzle.py
tests/cells/test_numbered_cell.py
tests/grids/test_grid.py
tests/puzzles/test_number_clues.py
tests/puzzles/test_puzzle.py
tests/puzzles/test_puzzle_replace_grid.py
migration/create_backup.py
$

repo: philhanna/crossword

license: MIT


text:
update doc link

old link is not reachable

thanks!

authors: philipmnel wtwver


text:
JSMpeg not playing audio when websocket stream is used

I am streaming RTSP stream to web browser using ffmpeg with help of a websocket relay in node js as per  the example given here https://github.com/phoboslab/jsmpeg
FFMPEG command used:
ffmpeg -rtsp_transport tcp -i rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 -f mpegts -c:a mp2  -c:v mpeg1video http://127.0.0.1:5100/stream_from_ffmpeg
The video is playing good, but no audio, if i open the same RTSP URL above in vlc, the video plays along with the audio

I have the same problem.
When I used the project node-rtsp-stream, JSMpeg don't play audio.
But When I used the project: rtsp2web, JSMpeg played audio.
They all used the command: ffmpeg -i rtsp://**** -f mpegts -c:v mpeg1video -ca: mp2
So I think maybe this problem isn't caused by JSMPeg.
And  I want to know if you solved this problem. If can, please tell me. Thank you.

I found the situation which caused this problem. Here are my ffmpeg options:

had problem: ffmpeg -i rtsp://**** -f mpegts -c:v mpeg1video -ca: mp2 -ar 16000
solved problem: ffmpeg -i rtsp://**** -f mpegts -c:v mpeg1video -ca: mp2 -ar 32000

I test the sampling rate: 16000、22050、32000、44100、48000。
My raw stream sampling rate is 16khz、and when I set the option -ar to 32000 and higher, I heard the audio sound.
I hope this can help you.

That's interesting. JSMpeg just uses the WebAudio createBuffer() function for audio, which should work with allmost all sample rates:

All browsers must support sample rates in at least the range 8,000 Hz to 96,000 Hz.

My assumption is that this issue is caused by a locked audio context. The test if WebAudio needs to be unlocked (testing only if we're running on iOS devices) is no longer true. All browsers start out with a locked context now. Proper unlocking is only handled by the VideoElement.
So, I'm not sure why the change in sample rate would fix that for you.

authors: Xbai-hang nikshay-psts phoboslab

repo: phoboslab/jsmpeg


text:
Sound Plays but no notification message

I am using this plugin and it has always been working fine but recently the push notifications seem to only be playing a sound and no message is coming through.
I am testing on an iOS 7 device and have checked the notification settings etc to ensure they are enabled for the app.
Every time I send, a noise plays no problem, just no text etc.
Thanks for your help!

I've exactly the same issue as you on iOS 7. I followed the example.
In foreground, it works perfectly but in Background, I only have the sound played.
The notification center seems to have registered my app since it's displayed in the list of allowed apps.
Is there a real solution or is it only random ?
Thanks !

+1 I am facing the same issue. Sound is playing but notification is not showing.

repo: phonegap-build/PushPlugin


text:
After Granting Access to camera, barcode scanner doesn't open.

Expected Behaviour

1st time to open the application
When I click my button to "Scan"
Grant Access pop up appears to grant access to Camera
It should continue to scanner (open camera to scan)

Actual Behaviour

After granting access
It doesn't continue to scanner (open camera to scan). It just stays on my page
When I clicked again my "Scan" button, there's an alert that pops stating "Scanning Failed: scanner is still open etc....."
I need to restart my application for me to use it like normal.

Reproduce Scenario (including but not limited to)
Steps to Reproduce

normal function of scanning.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

iOS 10, iOS 11

(Android) What device vendor (e.g. Samsung, HTC, Sony...)
-Apple
Cordova CLI version and cordova platform version
cordova --version
cordova platforms

Plugin version
cordova plugin version | grep phonegap-plugin-barcodescanner

Sample Code that illustrates the problem
Logs taken while reproducing problem

Please give a detailed reproduction scenario in #490

authors: giemiranda macdonst

repo: phonegap/phonegap-plugin-barcodescanner


text:
iOS Simulator behaviour

How does this plugin supposed to behave on the iOS Simulator?
I persist the contentsync folder with localStorage, currently, on the simulator, the contentsync folder is missing
/Users/me/Library/Developer/CoreSimulator/Devices/A7BE80E3-0BEF-48DD-81CA-F48A0FED3DB2/data/Containers/Data/Application/6E81D19F-2349-4D3E-9C4A-85831EF3EED3/Library/mlib/
is the folder
A7BE80E3-0BEF-48DD-81CA-F48A0FED3DB2 exists
6E81D19F-2349-4D3E-9C4A-85831EF3EED3 doesn't exist
an existence check routine might have been nice
I have no idea how to debug this issue, I'm also unsure whether the issue is unique to the simulator, would appreciate some advice at this point, thanks :)

After researching the issue, I'm guessing it might be because the simulator session wasn't saved and the simulator terminated before it did, as far as I read the simulator runs on memory and persists the storage periodically or on demand (?)

@kaansoral the reason is because Apple doesn't want you to store/rely on the UUID of your application. The best way in your case is to set options.type to local which would return the path to the local copy of your folder (by id) if it exists or would act as "replace" if it doesn't (which means download/extract/..).

Thanks, it's perfect :)
I didn't pay attention to the "local" option when I was reading the documentation, it's certainly a very well thought feature
I was caching the path myself, but now I'm just calling the ContentSync plugin with the "local" option if there is a cached flag in localStorage

@kaansoral can we consider this issue to be resolved? If so feel free to close it or leave a comment indicating it is resolved.

Sorry, it's resolved, thanks :)

authors: imhotep kaansoral macdonst

repo: phonegap/phonegap-plugin-contentsync


text:
version 1.2.3

Go to compile the latest version and I'm now getting:
Error: Plugin phonegap-plugin-push failed to install.
I just step back a version ( 1.2.2  and all worked ...)

@colonna-mike can you paste your compilation errors? Also, how are you adding the plugin to your app?

I'm using Intel XDK  and looks like for some reason I can't access the logs anymore. I'm really not liking this environment very much lately. let me see what I can do to get the logs for you..

@colonna-mike this is a duplicate of issue #130 then which was another user who was building with Intel XDK.

authors: colonna-mike macdonst

repo: phonegap/phonegap-plugin-push


text:
Remove deprecated things

Phaser.ArrayUtils.rotate → Phaser.ArrayUtils.rotateLeft
Phaser.Device.isConsoleOpen
Phaser.Loader#useXDomainRequest (IE9)
Phaser.Loader#xhrLoadWithXDR (IE9)
Phaser.Particles#update
Phaser.Polygon.points (set) → setTo
Phaser.Touch#addTouchLockCallback → Phaser.Input#addTouchLockCallback
Phaser.Touch#removeTouchLockCallback → Phaser.Input#removeTouchLockCallback
PIXI.BaseTexture#updateSourceImage → Phaser.Component.LoadTexture#loadTexture
RevoluteConstraint#motorIsEnabled → motorEnabled
Shape.RECTANGLE → Shape.BOX

If Phaser 3 supports IE9 perhaps we should keep the XDomainRequest?

I'm getting this warning ... not sure if this is covered in the above list but the method Phaser.Device._readyCheck is not named ...
bundle.js:81143 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/features/5287995770929152 for more details.
boot @ bundle.js:81143
boot @ bundle.js:40023
Phaser.Device._readyCheck @ bundle.js:64842

it's a shame, i just realized phaser 3 was out by seeing this warning message and visiting their repo. Apparently something won't work in just a few days time ..

See #385.

authors: maxp-edcast samme

repo: photonstorm/phaser-ce


text:
Container inside another contains never calls "preUpdate"

Version

Phaser Version: 3.55.2
Operating system: OSX
Browser: Chrome

Description
When you add a container inside another container, the child container never calls "preUpdate "
Test this code, then press T to add the container in the scene.
## Example Test Code

class ContainerTest extends Phaser.GameObjects.Container {
    constructor(scene, x, y) {
		super(scene, 166, 275);
        console.log("container:constructor");
	}

	addedToScene() {
		super.addedToScene()
		console.log("container:addedToScene");
	}
    preUpdate(t,dt) {
        console.log("container:preUpdate",t);
    }
    update() {
        console.log("container:update");
    }
}

var config = {
    type: Phaser.AUTO,
    width: 800,
    height: 600,
    backgroundColor: '#010101',
    parent: 'phaser-example',
    scene: {
        preload: preload,
        create: create
    }
};

var game = new Phaser.Game(config);

function preload ()
{

}

function create ()
{
    console.log("create");

    container = this.add.container(400, 300);

    container2 = new ContainerTest(this, 100, 100);
    container.add(container2);

    this.input.keyboard.on("keyup-T", () => {
        console.log("Input detected")
        const prefab = new ContainerTest(this, 0, 0,);
        this.add.existing(prefab);
    })
}

This is the correct behavior. A Container doesn't have a preUpdate method and doesn't add itself to the Update List. If you want to emulate this, you'll need to include the following in your ContainerTest class:
    //  Overrides Game Object method
    addedToScene: function ()
    {
        this.scene.sys.updateList.add(this);
    },

    //  Overrides Game Object method
    removedFromScene: function ()
    {
        this.scene.sys.updateList.remove(this);
    },

authors: BenoitFreslon photonstorm

repo: photonstorm/phaser


text:
Local AudioSprite JSON data object support

Tested with modified audio sprite phaser-examples example. If ok, modified example could be another PR

Thanks for this! I have implemented my own take on providing this feature which is now in dev, but thanks for the suggestion and example json.

authors: jounii photonstorm


text:
issue #4259 fix

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Adds a new feature

Describe the changes below:
Attempt to fix issue described here: https://github.com/photonstorm/phaser/issues/4259

Thanks for spending the time opening this PR. However, I'm going to close it without merging because I don't feel it fixes the relevant issue in depth. There are lots of places where colors are taken that need updating and it's quite a big and involved task, so it wouldn't be right to mark the issue as fixed when only implemented in a couple of places. There needs to be a more consistent way to define and extract color values.

authors: LoolzRules photonstorm


text:
Loosen the composer.json requirements a bit

This would help adding this test suite to https://github.com/symfony/symfony/pull/17408

Thank you for this PR.
I do believe that the dependency on PHPUnit should be in the requires since this a repository for tests. The sources (src/) depends on \PHPUnit_Framework_TestCase.
Or am I wrong?
Ping @samsonasik
Related to: https://github.com/php-cache/integration-tests/pull/31/files

If phpunit would ship a package with only the base test framework, I would agree, but here, this is what I get  (see below). Clearly, this is too broad.
  - Installing sebastian/environment (dev-master 6e71337)
    Loading from cache

  - Installing sebastian/version (1.0.6)
    Loading from cache

  - Installing phpunit/php-text-template (1.2.1)
    Loading from cache

  - Installing phpunit/php-token-stream (dev-master cab6c6f)
    Downloading: 100%

  - Installing phpunit/php-file-iterator (dev-master 6150bf2)
    Loading from cache

  - Installing phpunit/php-code-coverage (dev-master 64d40a5)
    Loading from cache

  - Installing doctrine/instantiator (dev-master 8e884e7)
    Loading from cache

  - Installing sebastian/recursion-context (dev-master 913401d)
    Loading from cache

  - Installing sebastian/exporter (dev-master f88f893)
    Downloading: 100%

  - Installing sebastian/diff (dev-master 13edfd8)
    Loading from cache

  - Installing sebastian/comparator (dev-master 937efb2)
    Loading from cache

  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Loading from cache

  - Installing phpspec/prophecy (dev-master e55e3e3)
    Downloading: 100%

  - Installing phpunit/phpunit-mock-objects (dev-master c4dd0c9)
    Downloading: 100%

  - Installing sebastian/resource-operations (dev-master ce990bb)
    Loading from cache

  - Installing myclabs/deep-copy (1.5.0)
    Loading from cache

  - Installing phpunit/php-timer (dev-master 3e82f4e)
    Loading from cache

  - Installing symfony/yaml (dev-master 82287b7)
    Downloading: 100%

  - Installing sebastian/global-state (1.1.1)
    Loading from cache

  - Installing phpunit/phpunit (dev-master 5065b22)
    Downloading: 100%

  - Removing psr/cache (dev-master 9e66031)
  - Installing psr/cache (1.0.0)
    Loading from cache

  - Installing cache/integration-tests (dev-master e001337)
    Downloading: 100%

Also, these base test classes are bunded inside the phpunit, which means you don't have to require them explicitely: if you test with phpunit, you have them already.

You are correct. Thank you.

authors: Nyholm nicolas-grekas

repo: php-cache/integration-tests


text:
Throttle plugin small fixes

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
partially #460

License
MIT

What's in this PR?
Did code more clearly

wrapped up in #465, thanks!

authors: Big-Shark dbu

repo: php-http/HttplugBundle


text:
Update guzzle6 adapater with httplug new contract

I update the guzzle6 adapter to work with the new contract of Httplug, all tests are green.
For the sendRequests method after viewing the guzzle implementation and discussing it with @sagikazarmark on Slack, we concluded there was no real benefits to wrap the Guzzle object as it does not store requests, responses or exceptions objects.

Thanks @joelwurtz

authors: joelwurtz sagikazarmark


text:
Use new doc block for documenting array values

Se this resource. Should we make doc blocks like this?
    /**
     * @param UriInterface $baseUri
     * @param array        $config {
     *     @var bool $replace True will replace all hosts, false will only add host when none is specified.
     * }
     */
    public function __construct(UriInterface $baseUri, array $config = [])
    {

if that is something understood by phpdocumentor, i am +1 on switching
for that.

Even if it is not a standard yet, it looks logical to me. :+1:

:+1:

It looks logical to me as well, my only gripe is that at least PHPStorm doesn't know how to handle the format and will cut off output in hints after the opening curly brace.

There is no format for that in PHPStorm or others IDE, but chance is by using this format, it will be extractable in future versions of PHPStorm and others IDE

authors: Nyholm dbu jeromegamez joelwurtz sagikazarmark

repo: php-http/plugins


text:
🛑 phpMyFAQ Homepage is down

In c7b20ef, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in 7e38bb6.


text:
🛑 phpMyFAQ Password Hash Generator Tool is down

In 6304c73, phpMyFAQ Password Hash Generator Tool (https://password.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Password Hash Generator Tool is back up in e19d5b0.


text:
🛑 phpMyFAQ Homepage is down

In 669c254, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in d6a86d6.


text:
🛑 phpMyFAQ Homepage is down

In 8f38c2d, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in 2c45d3d.


text:
🛑 phpMyFAQ Homepage is down

In 9ad20d5, phpMyFAQ Homepage (https://www.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Homepage is back up in 91d7543 after 14 minutes.


text:
🛑 phpMyFAQ Demo is down

In 3a6cdcb, phpMyFAQ Demo (https://demo.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Demo is back up in 0425ae3 after 4 minutes.


text:
refactor(SessionTokenStorage): improve variable name

It was too short.

Pull Request Test Coverage Report for Build 4271515005

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.951%

Totals

Change from base Build 4271491445:
0.0%

Covered Lines:
237

Relevant Lines:
247

💛  - Coveralls

authors: coveralls ericfortmeyer

repo: phpolar/csrf-protection


text:
🛑 YSF REF is down

In 9d83e6f, YSF REF (https://ysf.freedmr.it) was down:

HTTP code: 500
Response time: 1051 ms

Resolved: YSF REF is back up in 8592b24 after 14 minutes.

repo: picchiosat/HBLink-Uptime


text:
🛑 XLX965 is down

In 8e50d48, XLX965 (https://xlx965.hblink.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XLX965 is back up in 0d584d7.


text:
🛑 FreeDMR IT Bridge is down

In 097f1d3, FreeDMR IT Bridge (https://dashboard.freedmr.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FreeDMR IT Bridge is back up in c5d0072.


text:
When PicoTorrent is running and the .torrent file is opened from Explorer, nothing happens

When PicoTorrent is running and the .torrent file is opened from Explorer, nothing happens. Although a window should open in PicoTorrent to add a torrent with information about it. I have selected by default that all torrent files should open in PicoTorrent. And if PicoTorrent is closed, then when you open the .torrent file, the window for adding a torrent opens.

I can't seem to reproduce this - I've tried to provoke the error both when PicoTorrent is running and when it is not, as well as with UTF16 file names. The add torrent dialog shows as expected in all cases.

@vktr I was now able to reproduce the problem on another device. And apparently this is due to the fact that I was updating from version 0.15 (and I updated to all versions in a row - 0.16, 0.16.1 and 0.17). Because now I tried to uninstall the application and reinstall it, and there is no more problem.

I had the same issue (but updated from 0.16). I uninstalled Picotorrent and reinstalled it but it did not fix the issue. I downloaded http://defaultprogramseditor.com/ and manually deleted the .torrent file association with Picotorrent since I could only change it to a different program and not delete it in Windows. Now everything works again.

I have the same issue. I uninstalled Picotorrent and reinstalled it but it did not fix the issue. I tried to fix it manually with http://defaultprogramseditor.com/ and deleting the .torrent file association with Picotorrent but that also did not work.
Maybe it has something to do with the encrypt_config_file setting from version PicoTorrent-0.15.0 which is not available in PicoTorrent-0.17.0 anymore? I think so because no matter what I changed in the Proxy settings after the reinstall I was still connected to my Proxy even though it looked like as if PicoTorrent lost all my settings when starting 0.17.0 for the first time. For the time being I went back to 0.15.0

At the moment, on the computer, I again had this problem.

I am also facing the same issue, my solution is i drag the file from firefox download directly to picotorrent. But yes 25 days from @Rakleed's last comment and I am facing this issue.

Hey guys! I'll take a look at this.

Same issue, but with chrome. Trying to launch a downlaoded torrent file from explorer then also wont launch / hook to pico

The same issue on 0.18.0. Also the same problem with magnet links opened from web browser.

Closing this as I believe it is fixed in the latest version. Feel free to reopen or file another issue if I'm wrong :)

authors: Darth-Carrotpie Isharoth Rakleed Tall-Lobster moritz1000 vktr

repo: picotorrent/picotorrent


text:
Bootstrap not working on Windows after LLVM CL

Cloning the repo and running bootstrap-orbit.bat gives me:
CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:285 (_find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-config.cmake

Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)

can you check vcpkg output - was it successfully installed? It sometimes ask for some additional components to be installed in Visual Studio - like MFC/ALT.

I did install the MFC/ATL dependencies in through the Visual Studio installer.  I don't have access to my Windows machine now, but I'll look closer at the logs.
Have you tried cloning and building from scratch by the way?

Looking at CMakeError.log, I have:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/git/orbit_llvm/build_release_x64/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_5efa9.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=15.0 /v:m && Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27034 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
CheckIncludeFile.c
cl /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_5efa9.dir\Debug\" /Fd"cmTC_5efa9.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue C:\git\orbit_llvm\build_release_x64\CMakeFiles\CMakeTmp\CheckIncludeFile.c
C:\git\orbit_llvm\build_release_x64\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\git\orbit_llvm\build_release_x64\CMakeFiles\CMakeTmp\cmTC_5efa9.vcxproj]

This is really flaky - I have not seen this error on my windows workstation.
I am going to remove llvm from windows build for now.

authors: dimitry- pierricgimmig

repo: pierricgimmig/orbitprofiler


text:
Add .jenkins scripts

And use this for testing CI...

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please


text:
🛑 Stripe Webhook URL (Test and Live) is down

In 769467f, Stripe Webhook URL (Test and Live) ($STRIPEWEBHOOK) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stripe Webhook URL (Test and Live) is back up in 77e5108 after 1 hour, 2 minutes.

repo: pikfarm/PikfarmStatus


text:
🛑 Blog URL is down

In 80874c6, Blog URL (http://blog.pik.farm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog URL is back up in 27f1521 after 22 minutes.


text:
请问这个推流框架可不可以模仿微信发送小视频那样

微信的发送小视频功能是指录摄像头中内容的一部分，我们做视频直播也只需要一部分内容，但是上次问您这个框架目前还不能支持Crop截取一部分，虽然在推流端可以用其他控件覆盖一部分内容，但是播放端播放的时候会压缩，这样就没法看了。有没有好的解决办法？

不支持推制定区域的视频数据。
有没有好的解决办法？

因为不支持指定区域，最好是在播放端处理一下。

这个在播放端遮一下就可以吧，或者opengl裁剪一下

authors: jpxiong lzx1 pzhangleo

repo: pili-engineering/PLDroidCameraStreaming


text:
收到[PLPlayer getDelegateStatusChanged:]崩溃

堆栈如下
libobjc.A.dylib | objc_msgSend + 5
-- | --
1 PLPlayerKit | __37-[PLPlayer getDelegateStatusChanged:]_block_invoke + 132
2 libdispatch.dylib | __dispatch_call_block_and_release + 11
3 libdispatch.dylib | __dispatch_client_callout + 23
4 libdispatch.dylib | __dispatch_main_queue_callback_4CF$VARIANT$mp + 1525
5 CoreFoundation | ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
6 CoreFoundation | ___CFRunLoopRun + 1575
7 CoreFoundation | CFRunLoopRunSpecific + 520
8 CoreFoundation | CFRunLoopRunInMode + 108
9 GraphicsServices | GSEventRunModal + 160
10 UIKit | UIApplicationMain + 144

我也遇到了，有解决吗？

请问下是不是有主动设置播放器的delegate为nil?

v3.4.8 已修复

authors: RecheLi iossun lichanghong lowBeec

repo: pili-engineering/PLPlayerKit


text:
Fix reassignment of variable in pressure calculation algo

Found it! I'm not 100% sure what's going on here, but I think the problem is that you reassigned var1 but the last part of the calculation relied on its original value.
With this patch I get matching values from the C and the Python.

Nice job!

@gkluoe you are my favourite person right now.
You'll never believe it, but I was looking into this yesterday and was having a hard enough time finding a BME680 that even works. Apparently we've sold or hoarded them all somewhere.
@jorisvervuurt if you confirm this works, and the Python 2/3 issues are squashed then I'll push out a new release ASAP.

Before installing the fixed version, pressure was measured to be ~1018 hPa while it should measure ~1006 hPa. After installing the fixed version, it measures ~1004 hPa and it now also works in Python 3.
I think it's safe to say that @gkluoe has fixed the problem!

authors: Gadgetoid gkluoe jorisvervuurt


text:
Events being marked as Invalid, resulting in no processing of events

My events in the events table are all being marked as not valid, and therefore no events are being processed. Which means no notifications of any sort are being sent about anything, like invoice created, plans changed (from trial to subscription), etc. This critical problem doesn't seem to be reported by anyone else, so I'm suspicious about whether it's just me.
In looking at the objects in the table, I see that the webhook message['data'] appears to be slightly different than the Validated message['data']. Refer to this line in payments class Event, method validate (starting line 117 (in models.py):
if self.webhook_message["data"] == self.validated_message["data"]:
self.valid = True
else:
self.valid = False
I used this nifty tool tlrobinson.net/projects/javascript-fun/jsondiff/
to compare the json data, and the difference seems to be this:
The Validated message includes the key "previous_metadata" in the values for Validated_message['data']; whereas, "previous_metadata" does not appear in the webhook message json.
In looking at stripe .init.py, I see that line 582 contains this within the class StripeObject:
if 'metadata' in values:
self.previous_metadata = values['metadata']
I am using stripe version 1.9.8
Seems to be a simple fix. But before I do anything about it, anyone else see the same problem, or just me??

@surfer26th I wonder if this is still the case with all the changes just pushed to master. Please reopen if you can confirm it still is indeed a problem.

repo: pinax/pinax-stripe


text:
ProposalKind model is duplicated with another feature

Symposion has proposal kind  model in proposals app
class ProposalKind(models.Model):
    """
    e.g. talk vs panel vs tutorial vs poster
    Note that if you have different deadlines, reviewers, etc. you'll want
    to distinguish the section as well as the kind.
    """

It is not used in pinax-project-symposion sample project.
because it defined several *Proposal models such as TalkProposal, TutorialProposal and use its forms.
https://github.com/pinax/pinax-project-symposion/blob/master/project_name/proposals/forms.py
It is duplicated feature.
Symposion can drop proposal kind from its model.

Here is an example  diagram that deploy with TalkProposal model.

I recognized this issue was based on my misunderstandings.
I'd like to close as it is invalid.

repo: pinax/symposion


text:
[Explorer] Execution failed for question 5bb622a7-c81d-4949-a18f-1749c29bca45: Users with the most commits.

Hi, It's failed to execute the question 5bb622a7-c81d-4949-a18f-1749c29bca45 Users with the most commits. (errorType = error-query-execute):

executedAt: 2023-04-05T08:29:41.000+00:00
requestedAt: 2023-04-05T08:29:41.000+00:00

Error message
other error for mpp stream: From MPP<query:440581064189280260,task:1>: Code: 0, e.displayText() = DB::Exception: Memory limit (total) exceeded caused by 'RSS(Resident Set Size) much larger than limit' : process memory size would be 51.15 GiB for (attempt to allocate chunk of 2097152 bytes), limit of memory for data computing : 50.00 GiB: (while reading from DTFile: /data0/db/data/ks_3490_t_1506/stable/dmf_35122), e.what() = DB::Exception,

Generated SQL
SELECT
  `ge`.`actor_login` AS `user_login`,
  COUNT(*) AS `commits`
FROM
  `github_events` AS `ge`
WHERE
  `ge`.`type` = 'PushEvent'
GROUP BY
  `user_login`
ORDER BY
  `commits` DESC
LIMIT
  20

A new question link: https://ossinsight.io/explore/?id=f2b7a9a0-ba39-4751-ad79-30864eb4aad2

repo: pingcap/ossinsight


text:
save next tso time in etcd

Let's assume the TsoSaveInterval is 3s which means we will save last TSO in etcd every 3s.
Now we save last TSO (like t1) in etcd, and when the pd down, another pd starts, it will wait until to t1 + 2 * 3s to ensure we can generate TSO safely, but it may still be unsafe.
We can save next TSO in etcd instead, e.g, assuming now is t1, we will save t2( t1 + 3s) in etcd, so if another pd leader starts, it can wait only exceeding t2 and then generate TSO.
/cc @qiuyesuifeng @disksing

+1

Maybe I didn't get it clearly, but I think save t1 or t1+3s are basically equivalent (reader can easily infer one from the other).
The key point of safety should be that a pd-server can only generated ts <= lastSuccessSavedTS + SaveInterval, current implementation does not guarantee that because we have a 10s save timeout, which is far too long.

I think saving tnext (t1 + 3s) will make more sense, it seems that we pre-allocate some TSOs until tnext like ID allocator does.  So if another pd starts, it can ensure the next TSO must > tnext.
Btw, if we use another interval config when starting pd, saving tlast may be not ok here.

authors: disksing ngaut siddontang

repo: pingcap/pd


text:
Extract Network and Interface from utils

We would like to be able to use this code in benchmarks (#109) and other tests but currently there is no way to use Network or Interface from non-integration test code.
This introduces a harness feature which exposes harness::{Interface, Network}.
There is some rationale to how this was done:

We cannot have a module in tests/ that is built for benchmarking, so they were moved into a test harness module.
We cannot use #[cfg(test)] or #[cfg(debug_assertions)] to have this only build in test or development, since bench marking builds in release. So we have to make a feature flag.
We cannot control which features are used during cargo test or cargo bench by default without altering all defaults (such as what users get when they import Raft). So we must make this a default feature.

Benefits:

Opens the harness to users in their application code for exploring or testing.
Opens the harness to benchmarking and unit tests.
Allows Network and Interface to have their own modules as per #125 .

Detriments:

Users may get confused, but the documentation is quite explicit that it is simulator code.
It will slightly increase non cargo test compile time. The impact should be minimal.
Users may wish to disable the harness, which would require manual work on their end.

Make harness as a default feature is not very friendly for user. For example, TiKV needs to disable the feature when declar the raft dependency. So how about make harness as a sub crate?

@hicqu I think "need" is a very strong word, the only reason for TiKV to disable the feature is if we were worried a few milliseconds of compile time.
I think the idea of using a component is very interesting. I will explore this. :)

@hicqu Your idea was very good I think! PTAL again?

LGTM. Please fix the conflict. 👍

@hicqu Sorry for the delay. :)

@BusyJay PTAL! :) Resolved.

PTAL @hicqu @AndreMouche :)

Merging with 2 LGTM from @hicqu and @AndreMouche (they said LGTM but seems it not approve it in the Github UI)

authors: Hoverbear hicqu

repo: pingcap/raft-rs


text:
support row_number, rank, dense_rank in tiflash

What problem does this PR solve?
Issue Number: close #4200
What is changed and how it works?
support window function in TiFlash

Feature
support

ad hoc window specification.  eg.(count(col1) over (partition by col2 order by col3 desc))
supported

WINDOWclause (select ... from table window w as (partiton by col1))
supported

ROWS frame
supported

RANGE frame
Not supported

GROUPSframe
Not supported

INTERVALsyntax for DateTime RANGE OFFSETframe
Not supported

Calculating aggregate functions over a frame (sum(value) over (order by time))
not supported

rank(), dense_rank(), row_number()
supported

lag/lead(value, offset, default)
not supported

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

support row_number, rank, dense_rank in tiflash.

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

Will we support window functions in https://github.com/pingcap/tiflash/blob/master/dbms/src/Debug/astToExecutor.h?

/run-all-test

/run-all-test

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge

repo: pingcap/tiflash


text:
Pick getLockByKey to master

What problem does this PR solve?
Issue Number: close #8697
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/hold wait for proxy

/unhold

/run-all-tests


text:
processor: fix a bug that will cause processor Tick get stuck when downstream is Kafka

What problem does this PR solve?

Issue Number: close #11340
What is changed and how it works?
Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Deploy a cdc cluster, create two changefeeds and synchronize the same table to both Kafka and TiDB separately.
Every 20 minutes, inject CDC to network isolation:

First, isolate cdc to Kafka network for 10 minutes.
Then, 20 minutes later, isolate cdc to downstream TiDB network for 10 minutes.

Repeat this process six times.
Before this PR, the lag in the MySQL sink changefeed was influenced by the Kafka sink changefeed when network isolation was introduced between CDC and Kafka:

After this PR, only Kafka sink changefeed lag increasing during network isolation injection:

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Fix a bug that causes the processor tick to get stuck when the downstream is Kafka and becomes unreachable.```

/test all

/test all

/test all

/retest

/retest

/retest

repo: pingcap/tiflow


text:
dm: add retry for dm-worker to join dm-master

What problem does this PR solve?

ref https://github.com/pingcap/tiup/pull/2464#discussion_r1818605891
Issue Number: close https://github.com/pingcap/tiflow/issues/4287
What is changed and how it works?

add retry for dm-worker to join dm-master

Check List
Tests

Manual test (add detailed scripts or steps below)

./tiup-playground nightly --dm-master 1 --dm-worker 1 --dm-worker.binpath /home/gmhdbjd/code/tiflow/bin/dm-worker --without-monitor --db 0 --kv 0 --pd 0 --tiflash 0
Start dm-master instance: v8.4.0-alpha-nightly
Start dm-worker instance: /home/gmhdbjd/code/tiflow/bin/dm-worker

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/retest


text:
sink(ticdc): move codec into mq and remove interface.go

What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tiflow/issues/5138
What is changed and how it works?

Move codec into mq. Because it only for MQSink.
split interface.go
remove some dead code (encoder result)

Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
None

/run-all-tests

/merge

/run-dm-integration-test
/run-

/run-integration-test


text:
Use another connection to send snapshot

If snapshot is too large, it will block pending heartbeat, which may cause a new round of election. In the worst case, it will cause TiKV to stop responding for a long time, which may crash TiDB.

This is what we do for etcd :)

repo: pingcap/tikv


text:
raft: fix occasionally panic test case

@ngaut @siddontang PTAL

cc @xiang90 PTAL

Please check:
https://github.com/coreos/etcd/commit/5d431b47822a579dc9fb88342f3a1dfa7f160d11
and
https://github.com/coreos/etcd/commit/68db18667a1111e82fa4796629a2480bbbe366c1

LGTM

LGTM

This fix makes sense to me and looks good. But I still want to see the failure log to make sure we fix the right thing.

I can reproduce with etcd/raft and I also got a fix for etcd/raft. Thanks for finding this issue.

authors: BusyJay ngaut siddontang xiang90


text:
Cargo: update kvproto.

@ngaut @BusyJay @disksing @zhangjinpeng1987

LGTM

LGTM

LGTM

authors: disksing ngaut siddontang zhangjinpeng1987


text:
Ctsd 6135

This PR sets up building/testing this plugin in Jenkins:

Rearranges the directory structure to maven standard structure
Adds pom.xml to specify dependencies
Adds Jenkinsfile, makefile, and Dockerfile to build and facilitate versioning
Adds Doc Von Count as a submodule and configures it to version our master branch

Testing:  The building has been tested by verifying that Jenkins builds it successfully.  Versioning was not tested, because it will run only in the master branch.
Important Notes

You may need to change the URL in .gitsubmodules locally to ssh@github.com/coupa/cts_doc_von_count.git in order to bring in the submodule locally if you've configured 2FA for your github account.
I'm told by Adam that the first merge to master will not version as expected, due to a bug described here.  We can add another small commit afterward to test versioning.

So sorry, this was meant to be an internal PR to our fork!

repo: pingidentity/pf-pcv-rest