close
Skip to content

Stabilize testBuildNetworkAccess.#1271

Merged
jglogan merged 1 commit intoapple:mainfrom
jglogan:ci-buildnetworkaccess
Feb 27, 2026
Merged

Stabilize testBuildNetworkAccess.#1271
jglogan merged 1 commit intoapple:mainfrom
jglogan:ci-buildnetworkaccess

Conversation

@jglogan
Copy link
Copy Markdown
Contributor

@jglogan jglogan commented Feb 26, 2026

  • Closes [Bug]: CI: testBuildNetworkAccess fails intermittently in CI #1270.
  • The current test is a bit baroque. It tries to run nc, either to 8.8.8.8:53 or a proxy server port if HTTP_PROXY is in the environment. It seems that for an alpine image, a proxy-aware Dockerfile and a RUN apk install curl directive is a more natural test of "network access".

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Attempt to improve CI stability.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

- Closes apple#1270.
- The current test is a bit baroque. It tries
  to run `nc`, either to `8.8.8.8:53` or a
  proxy server port if `HTTP_PROXY` is in the
  environment. It seems that for an alpine image,
  a proxy-aware `Dockerfile` and a
  `RUN apk install curl` directive is a more
  natural test of "network access".
@jglogan jglogan merged commit 616870b into apple:main Feb 27, 2026
6 of 7 checks passed
@jglogan jglogan deleted the ci-buildnetworkaccess branch February 27, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: CI: testBuildNetworkAccess fails intermittently in CI

2 participants