|
11 | 11 |
|
12 | 12 | runs-on: ubuntu-22.04 |
13 | 13 | timeout-minutes: 5 |
| 14 | + # Serialize across all workflows that exercise the hard-coded |
| 15 | + # "demoDevice" MQTT client ID against AWS IoT. Parallel runs from |
| 16 | + # different workflows (ubuntu-check, ubuntu-check-curl, this file's |
| 17 | + # aws-ca-regression) otherwise collide on the AWS side and produce |
| 18 | + # spurious "MQTT Connect/Subscribe: Error (Network) (-8)" failures. |
| 19 | + concurrency: |
| 20 | + group: wolfmqtt-awsiot-external |
| 21 | + cancel-in-progress: false |
14 | 22 |
|
15 | 23 | steps: |
16 | 24 | - name: Install dependencies |
@@ -130,13 +138,16 @@ jobs: |
130 | 138 | # the demo, so this job needs external network access (same as the |
131 | 139 | # `build` job's `make check`). |
132 | 140 | # |
133 | | - # `needs: build` serializes AWS IoT access: the `build` job already |
134 | | - # invokes scripts/awsiot.test via `make check`, and both jobs share |
135 | | - # the same hard-coded MQTT client ID "demoDevice". Running them in |
136 | | - # parallel causes AWS IoT to drop connections ("MQTT Connect: Error |
137 | | - # (Network) (-8)") from client-id collisions, which looks like a |
138 | | - # test failure but is unrelated to the CA changes this job checks. |
| 141 | + # `needs: build` serializes AWS IoT access within this workflow. |
| 142 | + # The repo-wide `concurrency:` group below serializes against other |
| 143 | + # workflows (e.g. ubuntu-check-curl) that also run awsiot.test |
| 144 | + # against the same hard-coded "demoDevice" client ID. Without both, |
| 145 | + # parallel jobs cause AWS IoT to drop connections with "MQTT |
| 146 | + # Connect/Subscribe: Error (Network) (-8)". |
139 | 147 | needs: build |
| 148 | + concurrency: |
| 149 | + group: wolfmqtt-awsiot-external |
| 150 | + cancel-in-progress: false |
140 | 151 | # |
141 | 152 | # case 1: default bundle (Amazon Root CA 1 + Starfield G2), wolfSSL |
142 | 153 | # built WITHOUT WOLFSSL_NO_ASN_STRICT. Strict ASN parsing |
|
0 commit comments