Skip to content

chore: Build the Python services with Bazel for the FEG Docker images#15103

Merged
LKreutzer merged 1 commit intomasterfrom
python_feg_docker_bazel
Mar 3, 2023
Merged

chore: Build the Python services with Bazel for the FEG Docker images#15103
LKreutzer merged 1 commit intomasterfrom
python_feg_docker_bazel

Conversation

@LKreutzer
Copy link
Copy Markdown
Contributor

@LKreutzer LKreutzer commented Feb 28, 2023

@LKreutzer LKreutzer added component: ci All updates on CI (Jenkins/CircleCi/Github Action) component: feg FEG-gateway related issues bazel changes for the Bazelification effort labels Feb 28, 2023
@LKreutzer LKreutzer self-assigned this Feb 28, 2023
@pull-request-size pull-request-size bot added the size/L Denotes a Pull Request that changes 100-499 lines. label Feb 28, 2023
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: orc8r Orchestrator-related issue label Feb 28, 2023

RUN apt-get -y update && apt-get -y install python3.8
# Install the build deps with apt.
RUN apt-get -y update && apt-get -y install \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [hadolint] <DL3008> reported by reviewdog 🐶
Pin versions in apt get install. Instead of apt-get install <package> use apt-get install <package>=<version>

RUN apt-get -y update && apt-get -y install python3.8
# Install the build deps with apt.
RUN apt-get -y update && apt-get -y install \
apt-transport-https \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📝 [hadolint] <DL3015> reported by reviewdog 🐶
Avoid additional packages by specifying --no-install-recommends

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

Bazel unit-test results --config=asan

1 files  ±    0  0 suites   - 129   0s ⏱️ - 3m 13s
0 tests  - 598  0 ✔️  - 598  0 💤 ±0  0 ±0 
0 runs   - 599  0 ✔️  - 599  0 💤 ±0  0 ±0 

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

Bazel unit-test results --config=production

1 files  ±    0  0 suites   - 129   0s ⏱️ - 3m 14s
0 tests  - 598  0 ✔️  - 598  0 💤 ±0  0 ±0 
0 runs   - 599  0 ✔️  - 599  0 💤 ±0  0 ±0 

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

Bazel unit-test results

1 files  ±    0  3 suites   - 229   1s ⏱️ - 3m 13s
3 tests  - 716  3 ✔️  - 716  0 💤 ±0  0 ±0 
3 runs   - 717  3 ✔️  - 717  0 💤 ±0  0 ±0 

Results for commit fd23fc7. ± Comparison against base commit f70b351.

This pull request removes 716 tests.
AMFAppProcedureTest ‑ GnbInitiatedNGReset
AMFAppProcedureTest ‑ ImplicitDeregDuplicateSuciReg
AMFAppProcedureTest ‑ PeriodicRegistraionNoTmsi
AMFAppProcedureTest ‑ ReRegistraion
AMFAppProcedureTest ‑ RegistrationAfterFourRegAcceptMsgs
AMFAppProcedureTest ‑ SctpShutWithServiceRequest
AMFAppProcedureTest ‑ ServiceRequestHighPriority
AMFAppProcedureTest ‑ ServiceRequestMTWithPDU
AMFAppProcedureTest ‑ ServiceRequestMTWithoutUplinkDataStatus
AMFAppProcedureTest ‑ ServiceRequestSignalWithPDU
…

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

LTE containerizes integ test results - extended_tests

46 tests  ±0   45 ✔️  - 1   1h 33m 22s ⏱️ + 24m 8s
46 suites ±0     0 💤 ±0 
46 files   ±0     1 +1 

For more details on these failures, see this check.

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

FEG integration test results

32 tests  ±0   32 ✔️ +1   19m 1s ⏱️ - 10m 58s
32 suites ±0     0 💤 ±0 
32 files   ±0     0  - 1 

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

LTE containerizes integ test results - extended_tests_long

6 tests  +6   6 ✔️ +6   46m 7s ⏱️ + 46m 7s
6 suites +6   0 💤 ±0 
6 files   +6   0 ±0 

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 28, 2023

LTE containerizes integ test results - precommit

121 tests  ±0   118 ✔️  - 1   2h 37m 27s ⏱️ + 30m 30s
121 suites ±0       1 💤 ±0 
121 files   ±0       2 +1 

For more details on these failures, see this check.

Results for commit fd23fc7. ± Comparison against base commit f70b351.

♻️ This comment has been updated with latest results.

@LKreutzer LKreutzer marked this pull request as ready for review March 1, 2023 07:26
@LKreutzer LKreutzer requested review from a team as code owners March 1, 2023 07:26
@LKreutzer LKreutzer requested review from mpfirrmann, vktng and voisey and removed request for vktng March 1, 2023 07:26
@LKreutzer LKreutzer force-pushed the python_feg_docker_bazel branch from 047e60e to cf458b2 Compare March 1, 2023 08:04
Comment thread feg/gateway/docker/python/Dockerfile
Comment thread feg/gateway/docker/python/Dockerfile Outdated
@LKreutzer LKreutzer force-pushed the python_feg_docker_bazel branch 2 times, most recently from 45b2075 to 4d01467 Compare March 2, 2023 12:31
"./orc8r/cloud/deploy"
"./orc8r/cloud/docker"
# is not relevant for AGW
"./orc8r/gateway/python/magma/magmad/upgrade/docker_upgrader.py"
Copy link
Copy Markdown
Contributor Author

@LKreutzer LKreutzer Mar 2, 2023

Choose a reason for hiding this comment

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

I added this change, since this file is actually bazelified in this PR.

Copy link
Copy Markdown
Contributor

@mpfirrmann mpfirrmann left a comment

Choose a reason for hiding this comment

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

LGTM

@LKreutzer LKreutzer force-pushed the python_feg_docker_bazel branch from 4d01467 to 2fadc46 Compare March 2, 2023 14:27
@LKreutzer
Copy link
Copy Markdown
Contributor Author

Rebased

@LKreutzer LKreutzer force-pushed the python_feg_docker_bazel branch from 2fadc46 to fd23fc7 Compare March 2, 2023 15:33
@LKreutzer LKreutzer merged commit 7ae3e9a into master Mar 3, 2023
@LKreutzer LKreutzer deleted the python_feg_docker_bazel branch March 3, 2023 08:26
lucasgonze pushed a commit to lucasgonze/magma that referenced this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel changes for the Bazelification effort component: ci All updates on CI (Jenkins/CircleCi/Github Action) component: feg FEG-gateway related issues component: orc8r Orchestrator-related issue size/L Denotes a Pull Request that changes 100-499 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use bazel-built services in feg/gateway/docker/python/Dockerfile

3 participants