Skip to content

fix: remove linux-headers-generic as it was causing pkg not found errors#4217

Merged
QxBytes merged 2 commits intomasterfrom
alew/remove-linux-headers-official-build
Feb 8, 2026
Merged

fix: remove linux-headers-generic as it was causing pkg not found errors#4217
QxBytes merged 2 commits intomasterfrom
alew/remove-linux-headers-official-build

Conversation

@QxBytes
Copy link
Contributor

@QxBytes QxBytes commented Feb 5, 2026

Reason for Change:

linux-headers-generic recently bumped to -100 (previously -94) and now the package can't be found: https://dev.azure.com/msazure/One/_build/results?buildId=151906478&view=results . This removes those packages so the acn official/nonofficial build pipeline can be unblocked.

Azure iptables monitor and ipv6 build without it being installed:
azure iptables monitor: https://dev.azure.com/msazure/One/CCE%20Apps/_build/results?buildId=151929965&view=logs&j=d3a3756c-a55d-5820-67ec-8fc39ccdb431&t=94931ea8-4cd5-5621-2a4c-70bae38b9e5a&l=710
ipv6 bpf prog: https://dev.azure.com/msazure/One/CCE%20Apps/_build/results?buildId=151937724&view=logs&j=4e720d8a-b7a6-5390-d2aa-2d74f6cff204&t=b8b50c28-2f32-558b-9982-d0c444ebf20b&l=71

Issue Fixed:

See above

Requirements:

Notes:
ACN Unofficial: https://dev.azure.com/msazure/One/_build/results?buildId=151952637&view=results

it also doesn't seem to be necessary to build the binaries
@QxBytes QxBytes self-assigned this Feb 5, 2026
@QxBytes QxBytes added fix Fixes something. ci Infra or tooling. labels Feb 5, 2026
@QxBytes QxBytes marked this pull request as ready for review February 5, 2026 17:01
@QxBytes QxBytes requested a review from a team as a code owner February 5, 2026 17:01
@QxBytes QxBytes requested review from Copilot and jpayne3506 February 5, 2026 17:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the linux-headers-generic package from two build scripts to resolve package not found errors that occurred after the package version bumped from -94 to -100. The PR demonstrates that BPF programs can be built successfully without this package, as the required kernel API headers are provided by linux-libc-dev.

Changes:

  • Removed linux-headers-generic from the apt-get install command in ipv6-hp-bpf.sh
  • Removed linux-headers-generic from the apt-get install command in azure-iptables-monitor.sh

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.pipelines/build/scripts/ipv6-hp-bpf.sh Removes linux-headers-generic from package dependencies for building IPv6 HP BPF programs
.pipelines/build/scripts/azure-iptables-monitor.sh Removes linux-headers-generic from package dependencies for building Azure iptables monitor and block-iptables

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@QxBytes QxBytes enabled auto-merge February 5, 2026 17:09
camrynl
camrynl previously approved these changes Feb 5, 2026
jpayne3506
jpayne3506 previously approved these changes Feb 5, 2026
Copy link
Contributor

@jpayne3506 jpayne3506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a major difference from the existing dockerfile build. I would expect this to impact the normal build as well, but it could also get patched out.

I am good with merging this and addressing other errors later.

pre-emptively remove linux-headers-generic from the ipv6 bpf prog dockerfile--
if we update the golang image it could start failing similarly since
the golang image is based on ubuntu and the kernel may update
removes linux-headers-generic from makefile since github action failing with
same error
@QxBytes QxBytes dismissed stale reviews from jpayne3506 and camrynl via e49f063 February 5, 2026 18:23
@QxBytes
Copy link
Contributor Author

QxBytes commented Feb 5, 2026

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@QxBytes QxBytes added this pull request to the merge queue Feb 6, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 6, 2026
…ors (#4217)

* fix: remove linux-headers-generic as it was causing pkg not found errors

it also doesn't seem to be necessary to build the binaries

* remove linux-headers-generic for acn pr and linter

pre-emptively remove linux-headers-generic from the ipv6 bpf prog dockerfile--
if we update the golang image it could start failing similarly since
the golang image is based on ubuntu and the kernel may update
removes linux-headers-generic from makefile since github action failing with
same error
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 7, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 8, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 8, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 8, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 8, 2026
@QxBytes QxBytes added this pull request to the merge queue Feb 8, 2026
Merged via the queue into master with commit 1ae19da Feb 8, 2026
114 of 116 checks passed
@QxBytes QxBytes deleted the alew/remove-linux-headers-official-build branch February 8, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Infra or tooling. fix Fixes something.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants