snapcore / action-build

A Github action for building Snapcraft projects
MIT License
42 stars 21 forks source link

Could not connect to security.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) #55

Closed mubin986 closed 1 year ago

mubin986 commented 1 year ago

I'm getting this error message when I run snapcore/action-build@v1.0.9

2023-05-23T16:31:43.1293510Z Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service → /lib/systemd/system/systemd-networkd.service.
2023-05-23T16:31:43.4325355Z Waiting for network to be ready...
2023-05-23T16:33:45.7548007Z Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
2023-05-23T16:33:45.7551478Z   Could not connect to security.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.39), connection timed out
2023-05-23T16:33:45.7886823Z Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
2023-05-23T16:33:45.7890302Z   Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out
2023-05-23T16:35:46.8977107Z Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
2023-05-23T16:35:46.8978444Z   Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out
2023-05-23T16:35:46.9064632Z Reading package lists...
2023-05-23T16:35:46.9067637Z W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Could not connect to security.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.39), connection timed out
2023-05-23T16:35:46.9072472Z W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out
2023-05-23T16:35:46.9075130Z W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out
2023-05-23T16:35:46.9076365Z W: Some index files failed to download. They have been ignored, or old ones used instead.
2023-05-23T16:35:47.0246259Z Reading package lists...
2023-05-23T16:35:47.0256908Z Building dependency tree...
2023-05-23T16:35:47.0257411Z Reading state information...
2023-05-23T16:35:47.0275267Z Package udev is not available, but is referred to by another package.
2023-05-23T16:35:47.0275940Z This may mean that the package is missing, has been obsoleted, or
2023-05-23T16:35:47.0276512Z is only available from another source
2023-05-23T16:35:47.0277012Z However the following packages replace it:
2023-05-23T16:35:47.0277493Z   systemd
2023-05-23T16:35:47.0277723Z 
2023-05-23T16:35:47.0285601Z E: Unable to locate package dirmngr
2023-05-23T16:35:47.0286382Z E: Package 'udev' has no installation candidate
2023-05-23T16:35:47.0286898Z E: Unable to locate package fuse
2023-05-23T16:35:47.9335565Z Starting Snapcraft 7.4.0
2023-05-23T16:35:47.9336576Z Logging execution to '/home/runner/.local/state/snapcraft/log/snapcraft-20230523-163126.325645.log'
2023-05-23T16:35:47.9337551Z An error occurred when trying to execute 'apt-get install dirmngr udev fuse --yes' with 'LXD': returned exit code 100.
2023-05-23T16:35:48.1337929Z ##[error]The process '/usr/bin/sg' failed with exit code 2
2023-05-23T16:35:48.1437115Z Post job cleanup.
2023-05-23T16:35:48.2018889Z SSH key in /home/runner/.ssh has been removed successfully.
2023-05-23T16:35:48.2144114Z Post job cleanup.
2023-05-23T16:35:48.2755056Z Post job cleanup.
2023-05-23T16:35:48.3818665Z [command]/usr/bin/git version
2023-05-23T16:35:48.3873890Z git version 2.40.1

Here is the screenshot

Screenshot 2023-05-23 at 10 36 33 PM

sergiusens commented 1 year ago

What are you building, as in, for what base? This could be a general network outage not strictly related to the action too