Giter Site home page Giter Site logo

Comments (7)

awalsh128 avatar awalsh128 commented on August 11, 2024

lol, I just updated a ticket with this issue (closing this as a dupe of #79 ). A patch will be forthcoming.

#79 (comment)

from cache-apt-pkgs-action.

nikicat avatar nikicat commented on August 11, 2024

Nice, you are quick, thanks

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024

My bad @nikicat, going to re-open this instead.

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024

Post by @nikicat in the other issue (moving here since it looks separate).

I've tried this version in my workflow and it still fails but with a different error.
I'm using nektos/act to test locally.
Logs:

[Test Backend/test] ⭐ Run Main awalsh128/cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21
[Test Backend/test]   🐳  docker cp src=/home/nb/.cache/act/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/ dst=/var/run/act/actions/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/
[Test Backend/test] ⭐ Run Main ${GITHUB_ACTION_PATH}/pre_cache_action.sh \
  ~/cache-apt-pkgs \
  "1.0" \
  "true" \
  "false" \
  libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2

echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
[Test Backend/test]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/6-composite-pre-cache.sh] user= workdir=
| 02:46:21 Validating action arguments (version='1.0', packages='libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdrm2 libgbm1 libnspr4 libnss3 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2 ')...
| 02:46:21 done
| 
| 02:46:21 Verifying packages...
| 02:46:35 done
| 
| 02:46:35 Creating cache key...
| 02:46:35 - Normalized package list is 'libasound2=1.2.6.1-1ubuntu1 libatk-bridge2.0-0=2.38.0-3 libatk1.0-0=2.36.0-3build1 libatspi2.0-0=2.44.0-3 libcups2=2.4.1op1-1ubuntu4.1 libdrm2=2.4.110-1ubuntu1 libgbm1=22.0.5-0ubuntu0.1 libnspr4=2:4.32-3build1 libnss3=2:3.68.2-0ubuntu1.1 libxcomposite1=1:0.4.5-1build2 libxdamage1=1:1.1.5-2build2 libxfixes3=1:6.0.0-1 libxkbcommon0=1.4.0-1 libxrandr2=2:1.5.2-1build1 '.
| 02:46:35 - Value to hash is 'libasound2=1.2.6.1-1ubuntu1 libatk-bridge2.0-0=2.38.0-3 libatk1.0-0=2.36.0-3build1 libatspi2.0-0=2.44.0-3 libcups2=2.4.1op1-1ubuntu4.1 libdrm2=2.4.110-1ubuntu1 libgbm1=22.0.5-0ubuntu0.1 libnspr4=2:4.32-3build1 libnss3=2:3.68.2-0ubuntu1.1 libxcomposite1=1:0.4.5-1build2 libxdamage1=1:1.1.5-2build2 libxfixes3=1:6.0.0-1 libxkbcommon0=1.4.0-1 libxrandr2=2:1.5.2-1build1  @ 1.0'.
| 02:46:35 - Value hashed as '70b0392eebff38f6733a190b584cb6fe'.
| 02:46:35 done
| 02:46:35 Hash value written to /root/cache-apt-pkgs/cache_key.md5
[Test Backend/test]   ✅  Success - Main ${GITHUB_ACTION_PATH}/pre_cache_action.sh \
  ~/cache-apt-pkgs \
  "1.0" \
  "true" \
  "false" \
  libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2

echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
[Test Backend/test] ⭐ Run Main actions/cache@v3
[Test Backend/test]   🐳  docker cp src=/home/nb/.cache/act/actions-cache@v3/ dst=/var/run/act/actions/actions-cache@v3/
[Test Backend/test]   🐳  docker exec cmd=[node /var/run/act/actions/actions-cache@v3/dist/restore/index.js] user= workdir=
[Test Backend/test]   💾  ::save-state name=CACHE_KEY::cache-apt-pkgs_
[Test Backend/test]   💬  ::debug::Resolved Keys:
[Test Backend/test]   💬  ::debug::["cache-apt-pkgs_"]
[Test Backend/test]   💬  ::debug::Checking zstd --version
[Test Backend/test]   💬  ::debug::*** zstd command line interface 64-bits v1.4.8, by Yann Collet ***
[Test Backend/test]   💬  ::debug::Resource Url: http://localhost:8080/_apis/artifactcache/cache?keys=cache-apt-pkgs_&version=9b20c9814e5d39ed5fb2bca3e82b64cef01cbcd6d355d0711cce04946822a7bd
[Test Backend/test]   💬  ::debug::Failed to delete archive: Error: ENOENT: no such file or directory, unlink ''
| Cache not found for input keys: cache-apt-pkgs_
[Test Backend/test]   ✅  Success - Main actions/cache@v3
[Test Backend/test] ⭐ Run Main ${GITHUB_ACTION_PATH}/post_cache_action.sh \
  ~/cache-apt-pkgs \
  / \
  "" \
  "true" \
  "false" \
  libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2

function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
echo "package-version-list=$(create_list main)" >> $GITHUB_OUTPUT
echo "all-package-version-list=$(create_list all)" >> $GITHUB_OUTPUT
[Test Backend/test]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/6-composite-post-cache.sh] user= workdir=
| 02:46:37 Clean installing and caching 14 package(s).
| 
| 02:46:37 Package list:
| 02:46:38 - libasound2:1.2.6.1-1ubuntu1
| 02:46:39 - libatk-bridge2.0-0:2.38.0-3
| 02:46:39 - libatk1.0-0:2.36.0-3build1
| 02:46:40 - libatspi2.0-0:2.44.0-3
| 02:46:40 - libcups2:2.4.1op1-1ubuntu4.1
| 02:46:41 - libdrm2:2.4.110-1ubuntu1
| 02:46:41 - libgbm1:22.0.5-0ubuntu0.1
| 02:46:42 - libnspr4:2:4.32-3build1
| 02:46:43 - libnss3:2:3.68.2-0ubuntu1.1
| 02:46:43 - libxcomposite1:1:0.4.5-1build2
| 02:46:44 - libxdamage1:1:1.1.5-2build2
| 02:46:44 - libxfixes3:1:6.0.0-1
| 02:46:45 - libxkbcommon0:1.4.0-1
| 02:46:46 - libxrandr2:2:1.5.2-1build1
| 02:46:46 Writing main packages manifest to /root/cache-apt-pkgs/manifest_main.log...
| 02:46:46 done
| 
| 02:46:46 Installing apt-fast for optimized installs...
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                 
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease               
Hit:5 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease     
Hit:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease         
Hit:7 https://packagecloud.io/github/git-lfs/ubuntu jammy InRelease     
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
| The following additional packages will be installed:
|   libaria2-0 libc-ares2 libssh2-1
| The following NEW packages will be installed:
|   aria2 libaria2-0 libc-ares2 libssh2-1
| 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
| Need to get 1622 kB of archives.
| After this operation, 5817 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libc-ares2 amd64 1.18.1-1build1 [44.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libssh2-1 amd64 1.10.0-3 [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libaria2-0 amd64 1.36.0-1 [1086 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 aria2 amd64 1.36.0-1 [381 kB]
Fetched 1622 kB in 1s (1375 kB/s)
| debconf: delaying package configuration, since apt-utils is not installed
| Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 25504 files and directories currently installed.)
| Preparing to unpack .../libc-ares2_1.18.1-1build1_amd64.deb ...
| Unpacking libc-ares2:amd64 (1.18.1-1build1) ...
| Selecting previously unselected package libssh2-1:amd64.
| Preparing to unpack .../libssh2-1_1.10.0-3_amd64.deb ...
| Unpacking libssh2-1:amd64 (1.10.0-3) ...
| Selecting previously unselected package libaria2-0:amd64.
| Preparing to unpack .../libaria2-0_1.36.0-1_amd64.deb ...
| Unpacking libaria2-0:amd64 (1.36.0-1) ...
| Selecting previously unselected package aria2.
| Preparing to unpack .../aria2_1.36.0-1_amd64.deb ...
| Unpacking aria2 (1.36.0-1) ...
| Setting up libc-ares2:amd64 (1.18.1-1build1) ...
| Setting up libssh2-1:amd64 (1.10.0-3) ...
| Setting up libaria2-0:amd64 (1.36.0-1) ...
| Setting up aria2 (1.36.0-1) ...
| Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
| --2023-01-03 02:46:52--  https://raw.githubusercontent.com/ilikenwf/apt-fast/master/apt-fast
| Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
| Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
| HTTP request sent, awaiting response... 200 OK
| Length: 22293 (22K) [text/plain]
| Saving to: '/usr/local/sbin/apt-fast'
| 
/usr/local/sbin/apt 100%[===================>]  21.77K  --.-KB/s    in 0.003s  
| 
| 2023-01-03 02:46:53 (6.80 MB/s) - '/usr/local/sbin/apt-fast' saved [22293/22293]
| 
| --2023-01-03 02:46:53--  https://raw.githubusercontent.com/ilikenwf/apt-fast/master/apt-fast.conf
| Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
| Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
| HTTP request sent, awaiting response... 200 OK
| Length: 4900 (4.8K) [text/plain]
| Saving to: '/etc/apt-fast.conf'
| 
/etc/apt-fast.conf  100%[===================>]   4.79K  --.-KB/s    in 0.001s  
| 
| 2023-01-03 02:46:53 (4.94 MB/s) - '/etc/apt-fast.conf' saved [4900/4900]
| 
| 02:46:53 done
| 
| 02:46:53 Updating APT package list...
| date: /var/cache/apt/pkgcache.bin: No such file or directory
| /run/act/actions/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/install_and_cache_pkgs.sh: line 48: 1672714013 - : syntax error: operand expected (error token is "- ")
| /run/act/actions/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/install_and_cache_pkgs.sh: line 49: test: -gt: unary operator expected
| 02:46:53 skipped (fresh by  seconds)
| 
| 02:46:53 Clean installing 14 packages...
| debconf: delaying package configuration, since apt-utils is not installed
| 02:46:59 done
| 02:46:59 Installation log written to /root/cache-apt-pkgs/install.log
| 
| 02:46:59 Installed package list:
| 02:46:59 - xkb-data:2.33-1
| 02:46:59 - libdrm-common:2.4.110-1ubuntu1
| 02:46:59 - libdrm2:2.4.110-1ubuntu1
| 02:46:59 - alsa-topology-conf:1.2.5.1-2
| 02:46:59 - libasound2-data:1.2.6.1-1ubuntu1
| 02:46:59 - libasound2:1.2.6.1-1ubuntu1
| 02:46:59 - alsa-ucm-conf:1.2.6.3-1ubuntu1.1
| 02:46:59 - libxi6:2:1.8-1build1
| 02:46:59 - libatspi2.0-0:2.44.0-3
| 02:46:59 - libxtst6:2:1.2.3-1build4
| 02:46:59 - dbus-user-session:1.12.20-2ubuntu4.1
| 02:46:59 - libdconf1:0.40.0-3
| 02:46:59 - dconf-service:0.40.0-3
| 02:46:59 - dconf-gsettings-backend:0.40.0-3
| 02:46:59 - session-migration:0.3.6
| 02:46:59 - gsettings-desktop-schemas:42.0-1ubuntu1
| 02:46:59 - at-spi2-core:2.44.0-3
| 02:46:59 - libatk1.0-data:2.36.0-3build1
| 02:46:59 - libatk1.0-0:2.36.0-3build1
| 02:46:59 - libatk-bridge2.0-0:2.38.0-3
| 02:46:59 - libavahi-common-data:0.8-5ubuntu5
| 02:46:59 - libavahi-common3:0.8-5ubuntu5
| 02:46:59 - libavahi-client3:0.8-5ubuntu5
| 02:46:59 - libcups2:2.4.1op1-1ubuntu4.1
| 02:46:59 - libwayland-server0:1.20.0-1ubuntu0.1
| 02:46:59 - libgbm1:22.0.5-0ubuntu0.1
| 02:46:59 - libnspr4:2:4.32-3build1
| 02:46:59 - libnss3:2:3.68.2-0ubuntu1.1
| 02:46:59 - libxcomposite1:1:0.4.5-1build2
| 02:46:59 - libxdamage1:1:1.1.5-2build2
| 02:46:59 - libxfixes3:1:6.0.0-1
| 02:46:59 - libxkbcommon0:1.4.0-1
| 02:46:59 - libxrandr2:2:1.5.2-1build1
| 
| 02:46:59 Caching 33 installed packages...
| 02:46:59   * Caching xkb-data to /root/cache-apt-pkgs/xkb-data:2.33-1.tar...
| 02:46:59     done (compressed size 3.6M).
| 02:46:59   * Caching libdrm-common to /root/cache-apt-pkgs/libdrm-common:2.4.110-1ubuntu1.tar...
| 02:46:59     done (compressed size 32K).
| 02:46:59   * Caching libdrm2 to /root/cache-apt-pkgs/libdrm2:2.4.110-1ubuntu1.tar...
| 02:46:59     done (compressed size 112K).
| 02:46:59   * Caching alsa-topology-conf to /root/cache-apt-pkgs/alsa-topology-conf:1.2.5.1-2.tar...
| 02:46:59     done (compressed size 412K).
| 02:46:59   * Caching libasound2-data to /root/cache-apt-pkgs/libasound2-data:1.2.6.1-1ubuntu1.tar...
| 02:46:59     done (compressed size 220K).
| 02:46:59   * Caching libasound2 to /root/cache-apt-pkgs/libasound2:1.2.6.1-1ubuntu1.tar...
| 02:46:59     done (compressed size 1.1M).
| 02:46:59   * Caching alsa-ucm-conf to /root/cache-apt-pkgs/alsa-ucm-conf:1.2.6.3-1ubuntu1.1.tar...
| 02:47:00     done (compressed size 452K).
| 02:47:00   * Caching libxi6 to /root/cache-apt-pkgs/libxi6:2:1.8-1build1.tar...
| 02:47:00     done (compressed size 92K).
| 02:47:00   * Caching libatspi2.0-0 to /root/cache-apt-pkgs/libatspi2.0-0:2.44.0-3.tar...
| 02:47:00     done (compressed size 240K).
| 02:47:00   * Caching libxtst6 to /root/cache-apt-pkgs/libxtst6:2:1.2.3-1build4.tar...
| 02:47:00     done (compressed size 40K).
| 02:47:00   * Caching dbus-user-session to /root/cache-apt-pkgs/dbus-user-session:1.12.20-2ubuntu4.1.tar...
| 02:47:00     done (compressed size 32K).
| 02:47:00   * Caching libdconf1 to /root/cache-apt-pkgs/libdconf1:0.40.0-3.tar...
| 02:47:00     done (compressed size 80K).
| 02:47:00   * Caching dconf-service to /root/cache-apt-pkgs/dconf-service:0.40.0-3.tar...
| 02:47:00     done (compressed size 92K).
| 02:47:00   * Caching dconf-gsettings-backend to /root/cache-apt-pkgs/dconf-gsettings-backend:0.40.0-3.tar...
| 02:47:00     done (compressed size 72K).
| 02:47:00   * Caching session-migration to /root/cache-apt-pkgs/session-migration:0.3.6.tar...
| 02:47:00     done (compressed size 40K).
| 02:47:00   * Caching gsettings-desktop-schemas to /root/cache-apt-pkgs/gsettings-desktop-schemas:42.0-1ubuntu1.tar...
| 02:47:00     done (compressed size 172K).
| 02:47:00   * Caching at-spi2-core to /root/cache-apt-pkgs/at-spi2-core:2.44.0-3.tar...
| 02:47:00     done (compressed size 132K).
| 02:47:00   * Caching libatk1.0-data to /root/cache-apt-pkgs/libatk1.0-data:2.36.0-3build1.tar...
| 02:47:00     done (compressed size 12K).
| 02:47:00   * Caching libatk1.0-0 to /root/cache-apt-pkgs/libatk1.0-0:2.36.0-3build1.tar...
| 02:47:00     done (compressed size 172K).
| 02:47:00   * Caching libatk-bridge2.0-0 to /root/cache-apt-pkgs/libatk-bridge2.0-0:2.38.0-3.tar...
| 02:47:00     done (compressed size 232K).
| 02:47:00   * Caching libavahi-common-data to /root/cache-apt-pkgs/libavahi-common-data:0.8-5ubuntu5.tar...
| 02:47:00     done (compressed size 32K).
| 02:47:00   * Caching libavahi-common3 to /root/cache-apt-pkgs/libavahi-common3:0.8-5ubuntu5.tar...
| 02:47:00     done (compressed size 60K).
| 02:47:00   * Caching libavahi-client3 to /root/cache-apt-pkgs/libavahi-client3:0.8-5ubuntu5.tar...
| 02:47:00     done (compressed size 92K).
| 02:47:00   * Caching libcups2 to /root/cache-apt-pkgs/libcups2:2.4.1op1-1ubuntu4.1.tar...
| 02:47:00     done (compressed size 640K).
| 02:47:00   * Caching libwayland-server0 to /root/cache-apt-pkgs/libwayland-server0:1.20.0-1ubuntu0.1.tar...
| 02:47:00     done (compressed size 92K).
| 02:47:00   * Caching libgbm1 to /root/cache-apt-pkgs/libgbm1:22.0.5-0ubuntu0.1.tar...
| 02:47:01     done (compressed size 92K).
| 02:47:01   * Caching libnspr4 to /root/cache-apt-pkgs/libnspr4:2:4.32-3build1.tar...
| 02:47:01     done (compressed size 292K).
| 02:47:01   * Caching libnss3 to /root/cache-apt-pkgs/libnss3:2:3.68.2-0ubuntu1.1.tar...
| 02:47:01     done (compressed size 3.7M).
| 02:47:01   * Caching libxcomposite1 to /root/cache-apt-pkgs/libxcomposite1:1:0.4.5-1build2.tar...
| 02:47:01     done (compressed size 32K).
| 02:47:01   * Caching libxdamage1 to /root/cache-apt-pkgs/libxdamage1:1:1.1.5-2build2.tar...
| 02:47:01     done (compressed size 32K).
| 02:47:01   * Caching libxfixes3 to /root/cache-apt-pkgs/libxfixes3:1:6.0.0-1.tar...
| 02:47:01     done (compressed size 40K).
| 02:47:01   * Caching libxkbcommon0 to /root/cache-apt-pkgs/libxkbcommon0:1.4.0-1.tar...
| 02:47:01     done (compressed size 292K).
| 02:47:01   * Caching libxrandr2 to /root/cache-apt-pkgs/libxrandr2:2:1.5.2-1build1.tar...
| 02:47:01     done (compressed size 60K).
| 02:47:01 done (total cache size 13M)
| 
| 02:47:01 Writing all packages manifest to /root/cache-apt-pkgs/manifest_all.log...
| 02:47:01 done
| 
[Test Backend/test]   ✅  Success - Main ${GITHUB_ACTION_PATH}/post_cache_action.sh \
  ~/cache-apt-pkgs \
  / \
  "" \
  "true" \
  "false" \
  libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libasound2

function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
echo "package-version-list=$(create_list main)" >> $GITHUB_OUTPUT
echo "all-package-version-list=$(create_list all)" >> $GITHUB_OUTPUT
[Test Backend/test]   ⚙  ::set-output:: package-version-list=libasound2:1.2.6.1-1ubuntu1,libatk-bridge2.0-0:2.38.0-3,libatk1.0-0:2.36.0-3build1,libatspi2.0-0:2.44.0-3,libcups2:2.4.1op1-1ubuntu4.1,libdrm2:2.4.110-1ubuntu1,libgbm1:22.0.5-0ubuntu0.1,libnspr4:2:4.32-3build1,libnss3:2:3.68.2-0ubuntu1.1,libxcomposite1:1:0.4.5-1build2,libxdamage1:1:1.1.5-2build2,libxfixes3:1:6.0.0-1,libxkbcommon0:1.4.0-1,libxrandr2:2:1.5.2-1build1
[Test Backend/test]   ⚙  ::set-output:: all-package-version-list=alsa-topology-conf:1.2.5.1-2,alsa-ucm-conf:1.2.6.3-1ubuntu1.1,at-spi2-core:2.44.0-3,dbus-user-session:1.12.20-2ubuntu4.1,dconf-gsettings-backend:0.40.0-3,dconf-service:0.40.0-3,gsettings-desktop-schemas:42.0-1ubuntu1,libasound2-data:1.2.6.1-1ubuntu1,libasound2:1.2.6.1-1ubuntu1,libatk-bridge2.0-0:2.38.0-3,libatk1.0-0:2.36.0-3build1,libatk1.0-data:2.36.0-3build1,libatspi2.0-0:2.44.0-3,libavahi-client3:0.8-5ubuntu5,libavahi-common-data:0.8-5ubuntu5,libavahi-common3:0.8-5ubuntu5,libcups2:2.4.1op1-1ubuntu4.1,libdconf1:0.40.0-3,libdrm-common:2.4.110-1ubuntu1,libdrm2:2.4.110-1ubuntu1,libgbm1:22.0.5-0ubuntu0.1,libnspr4:2:4.32-3build1,libnss3:2:3.68.2-0ubuntu1.1,libwayland-server0:1.20.0-1ubuntu0.1,libxcomposite1:1:0.4.5-1build2,libxdamage1:1:1.1.5-2build2,libxfixes3:1:6.0.0-1,libxi6:2:1.8-1build1,libxkbcommon0:1.4.0-1,libxrandr2:2:1.5.2-1build1,libxtst6:2:1.2.3-1build4,session-migration:0.3.6,xkb-data:2.33-1
[Test Backend/test] ⭐ Run Main actions/upload-artifact@v3
[Test Backend/test]   🐳  docker cp src=/home/nb/.cache/act/actions-upload-artifact@v3/ dst=/var/run/act/actions/actions-upload-artifact@v3/
[Test Backend/test]   🐳  docker exec cmd=[node /var/run/act/actions/actions-upload-artifact@v3/dist/index.js] user= workdir=
[Test Backend/test]   💬  ::debug::followSymbolicLinks 'true'
[Test Backend/test]   💬  ::debug::implicitDescendants 'true'
[Test Backend/test]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Test Backend/test]   💬  ::debug::followSymbolicLinks 'true'
[Test Backend/test]   💬  ::debug::implicitDescendants 'true'
[Test Backend/test]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Test Backend/test]   💬  ::debug::Search path '/root/cache-apt-pkgs'
[Test Backend/test]   💬  ::debug::File:/root/cache-apt-pkgs/install.log was found using the provided searchPath
[Test Backend/test]   💬  ::debug::File:/root/cache-apt-pkgs/manifest_all.log was found using the provided searchPath
[Test Backend/test]   💬  ::debug::File:/root/cache-apt-pkgs/manifest_main.log was found using the provided searchPath
| With the provided path, there will be 3 files uploaded
[Test Backend/test]   💬  ::debug::Root artifact directory is /root/cache-apt-pkgs
| Starting artifact upload
| For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
[Test Backend/test]   ❗  ::error::Artifact name is not valid: cache-apt-pkgs-logs%25libnss3 \%0Alibnspr4 \%0Alibatk1.0-0 \%0Alibatk-bridge2.0-0 \%0Alibcups2 \%0Alibdrm2 \%0Alibatspi2.0-0 \%0Alibxcomposite1 \%0Alibxdamage1 \%0Alibxfixes3 \%0Alibxrandr2 \%0Alibgbm1 \%0Alibxkbcommon0 \%0Alibasound2%0A%251.0. Contains the following character:  Line feed \n%0A          %0AInvalid characters include:  Double quote ", Colon :, Less than <, Greater than >, Vertical bar |, Asterisk *, Question mark ?, Carriage return \r, Line feed \n, Backslash \, Forward slash /%0A          %0AThese characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.
[Test Backend/test]   ❌  Failure - Main actions/upload-artifact@v3
[Test Backend/test] exitcode '1': failure
[Test Backend/test]   ⚙  ::set-output:: cache-hit=false
[Test Backend/test]   ⚙  ::set-output:: package-version-list=libasound2:1.2.6.1-1ubuntu1,libatk-bridge2.0-0:2.38.0-3,libatk1.0-0:2.36.0-3build1,libatspi2.0-0:2.44.0-3,libcups2:2.4.1op1-1ubuntu4.1,libdrm2:2.4.110-1ubuntu1,libgbm1:22.0.5-0ubuntu0.1,libnspr4:2:4.32-3build1,libnss3:2:3.68.2-0ubuntu1.1,libxcomposite1:1:0.4.5-1build2,libxdamage1:1:1.1.5-2build2,libxfixes3:1:6.0.0-1,libxkbcommon0:1.4.0-1,libxrandr2:2:1.5.2-1build1
[Test Backend/test]   ⚙  ::set-output:: all-package-version-list=alsa-topology-conf:1.2.5.1-2,alsa-ucm-conf:1.2.6.3-1ubuntu1.1,at-spi2-core:2.44.0-3,dbus-user-session:1.12.20-2ubuntu4.1,dconf-gsettings-backend:0.40.0-3,dconf-service:0.40.0-3,gsettings-desktop-schemas:42.0-1ubuntu1,libasound2-data:1.2.6.1-1ubuntu1,libasound2:1.2.6.1-1ubuntu1,libatk-bridge2.0-0:2.38.0-3,libatk1.0-0:2.36.0-3build1,libatk1.0-data:2.36.0-3build1,libatspi2.0-0:2.44.0-3,libavahi-client3:0.8-5ubuntu5,libavahi-common-data:0.8-5ubuntu5,libavahi-common3:0.8-5ubuntu5,libcups2:2.4.1op1-1ubuntu4.1,libdconf1:0.40.0-3,libdrm-common:2.4.110-1ubuntu1,libdrm2:2.4.110-1ubuntu1,libgbm1:22.0.5-0ubuntu0.1,libnspr4:2:4.32-3build1,libnss3:2:3.68.2-0ubuntu1.1,libwayland-server0:1.20.0-1ubuntu0.1,libxcomposite1:1:0.4.5-1build2,libxdamage1:1:1.1.5-2build2,libxfixes3:1:6.0.0-1,libxi6:2:1.8-1build1,libxkbcommon0:1.4.0-1,libxrandr2:2:1.5.2-1build1,libxtst6:2:1.2.3-1build4,session-migration:0.3.6,xkb-data:2.33-1
[Test Backend/test]   ❌  Failure - Main awalsh128/cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21
[Test Backend/test] exitcode '1': failure
[Test Backend/test] ⭐ Run Post awalsh128/cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21
[Test Backend/test]   🐳  docker cp src=/home/nb/.cache/act/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/ dst=/var/run/act/actions/awalsh128-cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21/
[Test Backend/test]   ✅  Success - Post awalsh128/cache-apt-pkgs-action@9b3b2b590c20bc969b78d74ec349254d1f24ee21
[Test Backend/test] 🏁  Job failed

from cache-apt-pkgs-action.

nikicat avatar nikicat commented on August 11, 2024

It was my bad too: ::error::Artifact name is not valid: was fixed by placing package names in a single line, but another error took place. I think it's an act-related error this time.

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024

Okay cool, because I was having trouble replicating it. :)

https://github.com/awalsh128/cache-apt-pkgs-action-ci/actions/runs/3826559182/jobs/6510451636

I'll leave this open for a few days. Let me know if you find that the issue is still related.

from cache-apt-pkgs-action.

nikicat avatar nikicat commented on August 11, 2024

In a GitHub Actions environment it works fine, thanks again!

from cache-apt-pkgs-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.