DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions
@ 2021-02-01 14:30 David Marchand
  2021-02-01 14:41 ` Ilya Maximets
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Marchand @ 2021-02-01 14:30 UTC (permalink / raw)
  To: dev; +Cc: aconole, i.maximets, Michael Santana

Ubuntu 18.04 GHA virtual machine images point at an invalid APT
repository.
We have no control over this, simply ignore the failure.

This was caught by Ilya for OVS and the robot just hit the same issue
for DPDK:

"""
Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted
Translation-en [29.9 kB]
Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64
Packages [1104 kB]
Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe
Translation-en [247 kB]
Reading package lists...
E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg
Release' no longer has a Release file.
Error: Process completed with exit code 100.
"""

Fixes: 9d620630ea30 ("ci: fix package installation in GitHub Actions")

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a5b579adda..2fd1dde86f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -88,7 +88,7 @@ jobs:
         path: reference
         key: ${{ steps.get_ref_keys.outputs.abi }}
     - name: Update APT cache
-      run: sudo apt update
+      run: sudo apt update || true
     - name: Install packages
       run: sudo apt install -y ccache libnuma-dev python3-setuptools
         python3-wheel python3-pip python3-pyelftools ninja-build libbsd-dev
-- 
2.23.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions
  2021-02-01 14:30 [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions David Marchand
@ 2021-02-01 14:41 ` Ilya Maximets
  2021-02-01 16:17 ` Aaron Conole
  2021-02-02  8:24 ` David Marchand
  2 siblings, 0 replies; 4+ messages in thread
From: Ilya Maximets @ 2021-02-01 14:41 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: aconole, i.maximets, Michael Santana

On 2/1/21 3:30 PM, David Marchand wrote:
> Ubuntu 18.04 GHA virtual machine images point at an invalid APT
> repository.
> We have no control over this, simply ignore the failure.
> 
> This was caught by Ilya for OVS and the robot just hit the same issue
> for DPDK:
> 
> """
> Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted
> Translation-en [29.9 kB]
> Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64
> Packages [1104 kB]
> Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe
> Translation-en [247 kB]
> Reading package lists...
> E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg
> Release' no longer has a Release file.
> Error: Process completed with exit code 100.
> """
> 
> Fixes: 9d620630ea30 ("ci: fix package installation in GitHub Actions")
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>  .github/workflows/build.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
> index a5b579adda..2fd1dde86f 100644
> --- a/.github/workflows/build.yml
> +++ b/.github/workflows/build.yml
> @@ -88,7 +88,7 @@ jobs:
>          path: reference
>          key: ${{ steps.get_ref_keys.outputs.abi }}
>      - name: Update APT cache
> -      run: sudo apt update
> +      run: sudo apt update || true
>      - name: Install packages
>        run: sudo apt install -y ccache libnuma-dev python3-setuptools
>          python3-wheel python3-pip python3-pyelftools ninja-build libbsd-dev
> 

LGTM,
Acked-by: Ilya Maximets <i.maximets@ovn.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions
  2021-02-01 14:30 [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions David Marchand
  2021-02-01 14:41 ` Ilya Maximets
@ 2021-02-01 16:17 ` Aaron Conole
  2021-02-02  8:24 ` David Marchand
  2 siblings, 0 replies; 4+ messages in thread
From: Aaron Conole @ 2021-02-01 16:17 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, i.maximets, Michael Santana

David Marchand <david.marchand@redhat.com> writes:

> Ubuntu 18.04 GHA virtual machine images point at an invalid APT
> repository.
> We have no control over this, simply ignore the failure.
>
> This was caught by Ilya for OVS and the robot just hit the same issue
> for DPDK:
>
> """
> Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted
> Translation-en [29.9 kB]
> Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64
> Packages [1104 kB]
> Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe
> Translation-en [247 kB]
> Reading package lists...
> E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg
> Release' no longer has a Release file.
> Error: Process completed with exit code 100.
> """
>
> Fixes: 9d620630ea30 ("ci: fix package installation in GitHub Actions")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---

Acked-by: Aaron Conole <aconole@redhat.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions
  2021-02-01 14:30 [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions David Marchand
  2021-02-01 14:41 ` Ilya Maximets
  2021-02-01 16:17 ` Aaron Conole
@ 2021-02-02  8:24 ` David Marchand
  2 siblings, 0 replies; 4+ messages in thread
From: David Marchand @ 2021-02-02  8:24 UTC (permalink / raw)
  To: dev; +Cc: Aaron Conole, Ilya Maximets, Michael Santana

On Mon, Feb 1, 2021 at 3:31 PM David Marchand <david.marchand@redhat.com> wrote:
>
> Ubuntu 18.04 GHA virtual machine images point at an invalid APT
> repository.
> We have no control over this, simply ignore the failure.
>
> This was caught by Ilya for OVS and the robot just hit the same issue
> for DPDK:
>
> """
> Get:46 http://security.ubuntu.com/ubuntu bionic-security/restricted
> Translation-en [29.9 kB]
> Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64
> Packages [1104 kB]
> Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe
> Translation-en [247 kB]
> Reading package lists...
> E: The repository 'https://apt.postgresql.org/pub/repos/apt bionic-pgdg
> Release' no longer has a Release file.
> Error: Process completed with exit code 100.
> """
>
> Fixes: 9d620630ea30 ("ci: fix package installation in GitHub Actions")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>


Applied, thanks.

-- 
David Marchand


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-02  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 14:30 [dpdk-dev] [PATCH] ci: ignore APT update failure in GitHub Actions David Marchand
2021-02-01 14:41 ` Ilya Maximets
2021-02-01 16:17 ` Aaron Conole
2021-02-02  8:24 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).