Skip to contentSkip to conversation

ci: remove aarch64 from Travis jobs

PATCH In review Thomas Monjalon 6 participants 16 messages Apr 16, 2020 – Mar 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci: remove aarch64 from Travis jobs

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

---
 .travis.yml | 30 ------------------------------
 1 file changed, 30 deletions(-)
.travis.yml +0 -30
index 2d2292ff64..b681aaccc4 100644
@@ -101,33 +101,3 @@ jobs:
       apt:
         packages:
           - *aarch64_packages
-  # aarch64 gcc jobs
-  - env: DEF_LIB="static"
-    arch: arm64
-    compiler: gcc
-  - env: DEF_LIB="shared" RUN_TESTS=1
-    arch: arm64
-    compiler: gcc
-  - env: DEF_LIB="shared" BUILD_DOCS=1
-    arch: arm64
-    compiler: gcc
-    addons:
-      apt:
-        packages:
-          - *required_packages
-          - *doc_packages
-  - env: DEF_LIB="shared" ABI_CHECKS=1
-    arch: arm64
-    compiler: gcc
-    addons:
-      apt:
-        packages:
-          - *required_packages
-          - *libabigail_build_packages
-  # aarch64 clang jobs
-  - env: DEF_LIB="static"
-    arch: arm64
-    compiler: clang
-  - env: DEF_LIB="shared" RUN_TESTS=1
-    arch: arm64
-    compiler: clang
Signature · 1 line
2.26.0
#2 lore raw
Quoted 9 lines · Aaron Conole
Quoted 6 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

Quoted 6 lines
Quoted 2 lines

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

+1

Quoted 1 line
#3 lore raw
In reply to Aaron Conole
Quoted 9 lines · Aaron Conole
Quoted 6 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

Quoted 6 lines
Quoted 2 lines

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

I don't see them removed by this patch, the two jobs are still present ?

  # x86_64 cross-compiling aarch64 jobs
  - env: DEF_LIB="static" AARCH64=1
    arch: amd64
    compiler: gcc
    addons:
      apt:
        packages:
          - *aarch64_packages
  - env: DEF_LIB="shared" AARCH64=1
    arch: amd64
    compiler: gcc
    addons:
      apt:
        packages:
          - *aarch64_packages
Signature · 1 line
David Marchand
#4 lore raw
Quoted 10 lines · David Marchand
Quoted 9 lines · Aaron Conole
Quoted 6 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

Quoted 15 lines
  # x86_64 cross-compiling aarch64 jobs
  - env: DEF_LIB="static" AARCH64=1
    arch: amd64
    compiler: gcc
    addons:
      apt:
        packages:
          - *aarch64_packages
  - env: DEF_LIB="shared" AARCH64=1
    arch: amd64
    compiler: gcc
    addons:
      apt:
        packages:
          - *aarch64_packages
#5 lore raw

16/04/2020 15:45, Aaron Conole:

Quoted 13 lines
Quoted 12 lines · David Marchand
Quoted 11 lines · Aaron Conole
Quoted 8 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

---

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

#6 lore raw

<snip>

Quoted 10 lines

Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

16/04/2020 15:45, Aaron Conole:

Quoted 2 lines
Quoted 1 line · David Marchand

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

Thanks David for creating the ticket. Will escalate this through our contacts at Travis CI, hopefully it can be resolved soon.

Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

In order to get reliable Travis reports, the use of Arm machines is removed until Travis fixes it.

---

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

#7 lore raw
Quoted 6 lines · Honnappa Nagarahalli

<snip>

Quoted 4 lines

Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

16/04/2020 15:45, Aaron Conole:

Quoted 1 line

David Marchand <[email protected]> writes:

Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

Thanks David for creating the ticket. Will escalate this through our contacts at Travis CI, hopefully it can be resolved soon.

I did get an email from someone at travis support acknowledging the issue and saying that they are working on it.

Quoted 19 lines
Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

In order to get reliable Travis reports, the use of Arm machines is removed until Travis fixes it.

---

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

#8 lore raw
In reply to Honnappa Nagarahalli

Honnappa, Ruifeng,

Quoted 6 lines · Honnappa Nagarahalli

<snip>

Quoted 3 lines

Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

16/04/2020 15:45, Aaron Conole:

Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Quoted 1 line · David Marchand

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

Thanks David for creating the ticket. Will escalate this through our contacts at Travis CI, hopefully it can be resolved soon.

There were failures that were obviously because of Travis, like this quota exceeded error.
But we have other failures on the unit tests that I reported earlier that are not clear: it might be because of Travis or running in containers.

Example on last master build:
https://travis-ci.com/github/DPDK/dpdk/builds/160799081

- cycles_autotest failing:
https://travis-ci.com/github/DPDK/dpdk/jobs/320630402#L3460
- some random test ending up in timeout, this time table_autotest, I also saw eal_fs_autotest:
https://travis-ci.com/github/DPDK/dpdk/jobs/320630406#L7140

Signature · 1 line
David Marchand
#9 lore raw
Quoted 30 lines

-----Original Message-----
From: David Marchand <[email protected]>
Sent: Sunday, April 19, 2020 4:01 PM
To: Honnappa Nagarahalli <[email protected]>; Ruifeng Wang <[email protected]>
Cc: [email protected]; Aaron Conole <[email protected]>; dev <[email protected]>; Gavin Hu <[email protected]>; Michael Santana <[email protected]>; nd <[email protected]>
Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

Honnappa, Ruifeng,

Quoted 15 lines · Honnappa Nagarahalli

<snip>

Quoted 12 lines

Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

16/04/2020 15:45, Aaron Conole:

Quoted 3 lines
Quoted 2 lines · David Marchand

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole
<[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/76
19/6

Quoted 8 lines
Quoted 1 line

Thanks David for creating the ticket. Will escalate this through our contacts

at Travis CI, hopefully it can be resolved soon.

There were failures that were obviously because of Travis, like this quota exceeded error.
But we have other failures on the unit tests that I reported earlier that are not clear: it might be because of Travis or running in containers.

Yes. Unit test failures are observed more frequently recently in robot's results.

Quoted 9 lines

Example on last master build:
https://travis-ci.com/github/DPDK/dpdk/builds/160799081

- cycles_autotest failing:
https://travis-ci.com/github/DPDK/dpdk/jobs/320630402#L3460
- some random test ending up in timeout, this time table_autotest, I also saw eal_fs_autotest:
https://travis-ci.com/github/DPDK/dpdk/jobs/320630406#L7140

My ideas here:
1. Modify the test cases to relax criteria for AArch64.
2. Pick test cases to run for AArch64 on Travis.

Option 2 should be better. It only adapts for CI platform and doesn't change code.

/Ruifeng

Quoted 3 lines

--
David Marchand

Acked-by
#10 lore raw
In reply to Thomas Monjalon
Quoted 18 lines · Thomas Monjalon

16/04/2020 15:45, Aaron Conole:

Quoted 17 lines
Quoted 16 lines · David Marchand
Quoted 14 lines · Aaron Conole
Quoted 8 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

Yes,

#11 lore raw
In reply to Thomas Monjalon
Quoted 30 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Thursday, April 16, 2020 10:40 PM
To: Aaron Conole <[email protected]>
Cc: David Marchand <[email protected]>; dev <[email protected]>; Ruifeng Wang <[email protected]>; Gavin Hu <[email protected]>; Honnappa Nagarahalli <[email protected]>; Michael Santana <[email protected]>
Subject: Re: [PATCH] ci: remove aarch64 from Travis jobs

16/04/2020 15:45, Aaron Conole:

Quoted 2 lines
Quoted 1 line · David Marchand

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole <[email protected]>

Quoted 15 lines · wrote:
Quoted 15 lines
Quoted 14 lines
Quoted 8 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports, the use of Arm machines is removed until Travis fixes it.

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

Can we achieve this by allowing failures on AArch64 jobs?
https://docs.travis-ci.com/user/build-matrix/#rows-that-are-allowed-to-fail

Add following setting:
jobs:
allow_failures:
- arch: arm64

So we can keep the jobs while not suffering from unstable infrastructure.
Results of these jobs will still observable. This gives us a chance to know when jobs are stable.

Thanks.
/Ruifeng

Quoted 2 lines
#12 lore raw

17/04/2020 10:49, Ruifeng Wang:

Quoted 29 lines

From: Thomas Monjalon <[email protected]>

Quoted 19 lines

16/04/2020 15:45, Aaron Conole:

Quoted 2 lines
Quoted 1 line · David Marchand

On Thu, Apr 16, 2020 at 2:44 PM Aaron Conole <[email protected]>

Quoted 15 lines · wrote:
Quoted 15 lines
Quoted 14 lines
Quoted 8 lines · Thomas Monjalon

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports, the use of Arm machines is removed until Travis fixes it.

---

We should add back the cross-build if we do this - at least then we
could have a reliable compilation test of Arm64 code. Does it make
sense?

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I don't see them removed by this patch, the two jobs are still present ?

Whoops - for some reason I missed them. Nevermind :)

So? Acked?

Can we achieve this by allowing failures on AArch64 jobs?
https://docs.travis-ci.com/user/build-matrix/#rows-that-are-allowed-to-fail

Quoted 7 lines

Add following setting:
jobs:
allow_failures:
- arch: arm64

So we can keep the jobs while not suffering from unstable infrastructure.
Results of these jobs will still observable. This gives us a chance to know when jobs are stable.

I don't see the benefit. It will just make Travis reports unclear.

I wait at least one more week to give Travis a chance to fix Arm support. Please work with them.
If no result shortly, I will apply this patch to improve DPDK CI reliability.

#13 lore raw
In reply to Thomas Monjalon

16/04/2020 13:00, Thomas Monjalon:

Quoted 7 lines

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

We managed without applying this patch.

After one year passed, what is the situation today regarding Travis? Can we rely on Travis service?
For which workload? Which architecture?

Aaron, what do you recommend?

#14 lore raw
Quoted 7 lines · Thomas Monjalon

16/04/2020 13:00, Thomas Monjalon:

Quoted 6 lines

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

Quoted 6 lines
Quoted 1 line

We managed without applying this patch.

After one year passed, what is the situation today regarding Travis? Can we rely on Travis service?

So far, yes.

Quoted 1 line

For which workload? Which architecture?

I think for all of them. Looking at even the failures which pop up for the latest patches, they seem like real failures.

ex:
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493722400
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493688879
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493624012
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493611597

These are ABI, and doc failures - different arches, etc.

Seems like it's quite usable.

Quoted 1 line

Aaron, what do you recommend?

I think we should drop this patch - Travis continues to be useful even for individual developers checking their own results. It seems the service works quite a bit better now for the project as well, thanks to Honnappa and other ARM folks for working with them.

#15 lore raw

25/03/2021 17:40, Aaron Conole:

Quoted 29 lines
Quoted 6 lines · Thomas Monjalon
Quoted 6 lines

Travis is not reliable for native Arm and PPC:
https://travis-ci.community/t/disk-quota-exceeded-on-arm64/7619/6

In order to get reliable Travis reports,
the use of Arm machines is removed until Travis fixes it.

Quoted 6 lines
Quoted 1 line

We managed without applying this patch.

After one year passed, what is the situation today regarding Travis? Can we rely on Travis service?

So far, yes.

Quoted 1 line

For which workload? Which architecture?

I think for all of them. Looking at even the failures which pop up for the latest patches, they seem like real failures.

ex:
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493722400
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493688879
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493624012
https://travis-ci.com/github/ovsrobot/dpdk/jobs/493611597

These are ABI, and doc failures - different arches, etc.

Quoted 8 lines

Seems like it's quite usable.

Quoted 1 line

Aaron, what do you recommend?

I think we should drop this patch - Travis continues to be useful even for individual developers checking their own results. It seems the service works quite a bit better now for the project as well, thanks to Honnappa and other ARM folks for working with them.

Thanks all, patch classified as "Rejected".