Skip to content

Make rpm package for x86_64 - #4459

Merged
Daiki AMINAKA (ami-GS) merged 4 commits into
mainfrom
dev/daiki/packaging_fix
Aug 15, 2024
Merged

Make rpm package for x86_64#4459
Daiki AMINAKA (ami-GS) merged 4 commits into
mainfrom
dev/daiki/packaging_fix

Conversation

@ami-GS

@ami-GS Daiki AMINAKA (ami-GS) commented Aug 14, 2024

Copy link
Copy Markdown
Contributor

Description

rpm package generation is skipped when (!xdp && x86_64). remove the check.
#4450

Testing

running internal CI

Documentation

N/A

@ami-GS
Daiki AMINAKA (ami-GS) requested a review from a team as a code owner August 14, 2024 21:44
Comment thread scripts/make-packages.sh Outdated
@codecov

codecov Bot commented Aug 14, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.67%. Comparing base (e58b384) to head (ceb69b6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4459      +/-   ##
==========================================
+ Coverage   84.87%   85.67%   +0.79%     
==========================================
  Files          56       56              
  Lines       15521    15521              
==========================================
+ Hits        13174    13298     +124     
+ Misses       2347     2223     -124     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread .azure/OneBranch.Publish.yml
Comment thread scripts/make-packages.sh
--depends "libcrypto.so.${TLSVERSION}()(${BITS})" \
--depends "libnuma.so.1()(${BITS})" \
--depends "libxdp >= 1.4.0" \
--depends "libnl3 >= 3.0" \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we need libnl or is that dependency libxdp will drag in? I would put here as little as really needed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

libnl is needed when using xdp (raw socket). to resolve route to next hop.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah, MsQuic itself resolves the route when using XDP. It's not an XDP dependency.

@nibanks Nick Banks (nibanks) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If it works, ship it!

Comment thread scripts/make-packages.sh
--log error \
${FILES}
fi
if [ "$XDP" == "True" ] && [[ "$ARCH" == x* ]]; then

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we need the arch check? XDP is off by default so I would think we should package it when we are told to. e.g. the distro/arch choices should not be here IMHO.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is okey (for me) to deliver, but we have never tried build and run for arm.
Nick Banks (@nibanks) ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

arm build doesn't enable xdp at build time. so this if else is needed

@ami-GS

Copy link
Copy Markdown
Contributor Author

I just realized that Publish pipeline for kernel 6.8 for rpm package only publish arm packages

kernel 6.8
image

kernel 5.15
image

@ami-GS

Daiki AMINAKA (ami-GS) commented Aug 15, 2024

Copy link
Copy Markdown
Contributor Author

I just realized that Publish pipeline for kernel 6.8 for rpm package only publish arm packages

kernel 6.8 image

kernel 5.15 image

oops, this PR itself aims to resolve this problem (after merging)🤦‍♂️

@ami-GS
Daiki AMINAKA (ami-GS) enabled auto-merge (squash) August 15, 2024 16:50
@ami-GS
Daiki AMINAKA (ami-GS) merged commit 512ed02 into main Aug 15, 2024
@ami-GS
Daiki AMINAKA (ami-GS) deleted the dev/daiki/packaging_fix branch August 15, 2024 16:58
Daiki AMINAKA (ami-GS) added a commit that referenced this pull request Aug 15, 2024
* Make rpm package for x86_64

* Accidentally deleted debug flag

* fix syntax

* add azure linux3 arm
Daiki AMINAKA (ami-GS) added a commit that referenced this pull request Aug 15, 2024
* Delete Prepare Machine and Checkout from Linux Package Testing (#4456)

* Prepare Machine and msquic checkout should not be necessary for testing linux packages

* Install dependencies with package

* Try to fix dependencies

* Fix validated set

* Publish package to more distros and refactoring (#4455)

* Publish package to more distros and refactoring

* fix?

* fix

* fix

* fix file dependencies

* fix

* fix

* fix

* fix

* Make rpm package for x86_64 (#4459)

* Make rpm package for x86_64

* Accidentally deleted debug flag

* fix syntax

* add azure linux3 arm

* increment patch 2.4.4

---------

Co-authored-by: Ahmet Ibrahim Aksoy <aaksoy@microsoft.com>
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.

4 participants