I don't know how we could prevent such errors but two jobs generated from two different local jobs had the same job id (a copy paste error).
Look at the guilty local job and notice the "before" in the generated job definition where we should read "after":
plugin: local
id: suspend/iperf_after_suspend_wifi_auto
estimated_duration: 30.0
requires:
device.category == 'WIRELESS'
command:
cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=WIRELESS" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
plugin: shell
id: suspend/iperf_before_suspend_wifi_auto_$2
depends: suspend/suspend_advanced
requires: device.path == "$1"
user: root
environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS
command: network test -i $2 -t iperf
_description:
This test executes iperf connection performance/stability against all the ethernet devices found on the system before suspend.
EOF
_description:
This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.
I don't know how we could prevent such errors but two jobs generated from two different local jobs had the same job id (a copy paste error).
Look at the guilty local job and notice the "before" in the generated job definition where we should read "after":
plugin: local iperf_after_ suspend_ wifi_auto iperf_before_ suspend_ wifi_auto_ $2 suspend_ advanced stability against all the ethernet devices found on the system before suspend.
id: suspend/
estimated_duration: 30.0
requires:
device.category == 'WIRELESS'
command:
cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=WIRELESS" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
plugin: shell
id: suspend/
depends: suspend/
requires: device.path == "$1"
user: root
environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS
command: network test -i $2 -t iperf
_description:
This test executes iperf connection performance/
EOF
_description:
This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.