Skip to content

Commit

Permalink
Rebased code and resolved conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: VinashakAnkitAman <ankit.aman@radisys.com>
  • Loading branch information
VinashakAnkitAman committed Apr 5, 2022
2 parents 63fc88d + 62bb419 commit caf9727
Show file tree
Hide file tree
Showing 106 changed files with 1,937 additions and 2,165 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/agw-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,17 @@ jobs:
name: C/C++ unit tests with Bazel
runs-on: ubuntu-latest
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- name: Check Out Repo
# This is necessary for overlays into the Docker container below.
uses: actions/checkout@v2
Expand Down Expand Up @@ -213,6 +224,11 @@ jobs:
with:
name: Unit Test Results
path: c-cpp-test-results/
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
li_agent_test:
needs: path_filter
Expand Down Expand Up @@ -326,6 +342,17 @@ jobs:
BRANCH: "${{ github.base_ref }}"
REVISION: "${{ github.sha }}"
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- uses: actions/checkout@v2
- name: Bazel Cache
uses: actions/cache@v2
Expand Down Expand Up @@ -399,6 +426,11 @@ jobs:
SLACK_ICON_EMOJI: ":boom:"
SLACK_COLOR: "#FF0000"
SLACK_FOOTER: ' '
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
lint-clang-format:
needs: path_filter
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/bazel-cache-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,17 @@ jobs:
bazel-build-devcontainer-and-push-cache:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down Expand Up @@ -117,3 +128,8 @@ jobs:
aws s3 cp ${{ env.BAZEL_CACHE_DEVCONTAINER_TAR }} ${{ env.S3_BUCKET_PATH }}/${{ env.BAZEL_CACHE_DEVCONTAINER_TAR}}
aws s3 cp ${{ env.BAZEL_CACHE_REPO_DEVCONTAINER_TAR }} ${{ env.S3_BUCKET_PATH }}/${{ env.BAZEL_CACHE_REPO_DEVCONTAINER_TAR}}
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
32 changes: 32 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ jobs:
name: Bazel Build Job `bazel build //...`
runs-on: ubuntu-latest
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- name: Check Out Repo
# This is necessary for overlays into the Docker container below.
uses: actions/checkout@v2
Expand Down Expand Up @@ -121,6 +132,11 @@ jobs:
run: |
cd /workspaces/magma
bazel build //...
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
bazel_test:
needs: path_filter
Expand All @@ -132,6 +148,17 @@ jobs:
name: Bazel Test Job `bazel test //...`
runs-on: ubuntu-latest
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- name: Check Out Repo
# This is necessary for overlays into the Docker container below.
uses: actions/checkout@v2
Expand Down Expand Up @@ -194,3 +221,8 @@ jobs:
run: |
cd /workspaces/magma
bazel run //:check_starlark_format
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
16 changes: 16 additions & 0 deletions .github/workflows/gcc-problems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ jobs:
name: Build all Bazelified C/C++ targets
runs-on: ubuntu-latest
steps:
- name: Maximize build space
shell: bash
run: |
echo "Available storage before:"
df -h
echo "Removing /usr/share/dotnet, /usr/local/lib/android, /opt/ghc"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
echo "Available storage after:"
df -h
- name: Check Out Repo
# This is necessary for overlays into the Docker container below.
uses: actions/checkout@v2
Expand Down Expand Up @@ -133,3 +144,8 @@ jobs:
with:
name: build_logs_c_filtered_log
path: ${{ github.workspace }}/filtered-compile.log
- name: Build space left after run
shell: bash
run: |
echo "Available storage:"
df -h
11 changes: 7 additions & 4 deletions ci-scripts/firebase_publish_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ def lte_integ_test(args):
report = url_to_html_redirect(args.run_id, args.url)
# Possible args.verdict values are success, failure, or canceled
verdict = 'inconclusive'
if args.verdict.lower() == 'success':
verdict = 'pass'
elif args.verdict.lower() == 'failure':
verdict = 'fail'

# As per the recent change, CI process runs all integ tests ignoring the
# failing test cases, because of which CI report always shows lte integ
# test as success. Here we read the CI status from file for more accurate
# lte integ test execution status
with open('test_status.txt', 'r') as file:
verdict = file.read().rstrip()
publish_report('lte_integ_test', args.build_id, verdict, report)


Expand Down

0 comments on commit caf9727

Please sign in to comment.