Title: Parallel jobs seems to misuse tunnels · Issue #11 · browserstack/github-actions · GitHub
Open Graph Title: Parallel jobs seems to misuse tunnels · Issue #11 · browserstack/github-actions
X Title: Parallel jobs seems to misuse tunnels · Issue #11 · browserstack/github-actions
Description: I'm using karma-browserstack-launcher in GitHub Actions to run tests on several browsers. strategy: matrix: browser: ['bs_win_ie11', 'bs_win_edge', 'bs_mac_chrome', 'bs_mac_firefox', 'bs_mac_safari'] The YAML is creating 5 parallel jobs,...
Open Graph Description: I'm using karma-browserstack-launcher in GitHub Actions to run tests on several browsers. strategy: matrix: browser: ['bs_win_ie11', 'bs_win_edge', 'bs_mac_chrome', 'bs_mac_firefox', 'bs_mac_safari...
X Description: I'm using karma-browserstack-launcher in GitHub Actions to run tests on several browsers. strategy: matrix: browser: ['bs_win_ie11', 'bs_win_edge', 'bs_mac_chrome', '...
Opengraph URL: https://github.com/browserstack/github-actions/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parallel jobs seems to misuse tunnels","articleBody":"I'm using `karma-browserstack-launcher` in GitHub Actions to run tests on several browsers.\r\n\r\n```yaml\r\nstrategy:\r\n matrix:\r\n browser: ['bs_win_ie11', 'bs_win_edge', 'bs_mac_chrome', 'bs_mac_firefox', 'bs_mac_safari']\r\n```\r\n\r\nThe YAML is creating 5 parallel jobs, each running tests on corresponding browser. But the jobs' logs shows that the parallel jobs are receiving messages from each other's tunnel.\r\n\r\nThe `bs_win_ie11` job (the first to run):\r\n\r\n```\r\n29 05 2021 11:16:10.261:INFO [karma-server]: Karma v6.3.2 server started at http://localhost:9876/\r\n29 05 2021 11:16:10.264:INFO [launcher]: Launching browsers bs_win_ie11 with concurrency unlimited\r\n29 05 2021 11:16:10.328:INFO [launcher]: Starting browser IE 11.0 (Windows 10) on BrowserStack\r\n29 05 2021 11:16:14.694:INFO [launcher.browserstack]: IE 11.0 (Windows 10) session at https://automate.browserstack.com/builds/f04621633b17d4e093614166b355b0fd76eff56e/sessions/b1cff1ace638252d23c60c66317a879569443321\r\n29 05 2021 11:16:15.600:WARN [web-server]: 404: /bac.jpg\r\n29 05 2021 11:16:15.625:WARN [web-server]: 404: /elva-fairy-480w.jpg\r\n29 05 2021 11:16:16.500:INFO [Chrome 90.0.4430.72 (Mac OS 10.15.7)]: Connected on socket xoWxToYEtv0CKgzMAAAB with id 87431852\r\n```\r\n\r\nThe last line seems to indicate that `bs_win_ie11` is receiving messages from a Chrome session. And the test output that follows also came from Chrome instead of IE.\r\n\r\nThe `bs_mac_chrome` job:\r\n\r\n```\r\n29 05 2021 11:15:38.179:INFO [karma-server]: Karma v6.3.2 server started at http://localhost:9876/\r\n29 05 2021 11:15:38.183:INFO [launcher]: Launching browsers bs_mac_chrome with concurrency unlimited\r\n29 05 2021 11:15:38.246:INFO [launcher]: Starting browser Chrome latest (OS X Big Sur) on BrowserStack\r\n29 05 2021 11:15:42.538:INFO [launcher.browserstack]: Chrome latest (OS X Big Sur) session at https://automate.browserstack.com/builds/f04621633b17d4e093614166b355b0fd76eff56e/sessions/18b1facd3c4004febe69c1f941a1890c02f0f717\r\n29 05 2021 11:20:50.213:WARN [launcher.browserstack]: Chrome latest (OS X Big Sur) has not captured in 300000 ms, killing.\r\n```\r\n\r\nSeems that `bs_mac_chrome` session is occupied by the `bs_win_ie11` job thus the `bs_mac_chrome` failed due to timeout.\r\n\r\nMy workaround for now is to run these jobs sequentially to avoid this problem, but it's not a practical solution because it takes too long to finish all sequential jobs.\r\n\r\nFYI I'm using a sponsored plan on BrowserStack which have up to 5 parallel running threads.","author":{"url":"https://github.com/SevenOutman","@type":"Person","name":"SevenOutman"},"datePublished":"2021-05-29T12:25:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11/github-actions/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:082538da-1176-d90d-5671-0a409d01db22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D634:281FF8:356647:4863F7:6A52719B |
| html-safe-nonce | 2d9611097865bb999fb9bf5125517cec566ae9d125ec61ec74211cbed73643cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjM0OjI4MUZGODozNTY2NDc6NDg2M0Y3OjZBNTI3MTlCIiwidmlzaXRvcl9pZCI6IjM4MzAyNTI3MzgyOTk3MjAwOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | accaf3399f08f758c00aa6f9ced7c6709c0be2b828f5f5603c9cced8496eee74 |
| hovercard-subject-tag | issue:906459450 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/github-actions/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a30ead1956359a6a8dee756eaa40f72e8db7bb461c886a730e91173ed750a44/browserstack/github-actions/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a30ead1956359a6a8dee756eaa40f72e8db7bb461c886a730e91173ed750a44/browserstack/github-actions/issues/11 |
| og:image:alt | I'm using karma-browserstack-launcher in GitHub Actions to run tests on several browsers. strategy: matrix: browser: ['bs_win_ie11', 'bs_win_edge', 'bs_mac_chrome', 'bs_mac_firefox', 'bs_mac_safari... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SevenOutman |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/github-actions git https://github.com/browserstack/github-actions.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 287442169 |
| octolytics-dimension-repository_nwo | browserstack/github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 287442169 |
| octolytics-dimension-repository_network_root_nwo | browserstack/github-actions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width