Skip to content

setup hangs, seems some interactive action in script leak #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
filonenko-mikhail opened this issue Dec 9, 2022 · 4 comments
Open
Assignees

Comments

@filonenko-mikhail
Copy link

There is job in docker ubuntu:22 with sudo

Run tarantool/setup-tarantool@v2
(https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:8)
/usr/bin/docker exec  7001ce4e963ca1083c9bfe0417d087554e57fac9f4a94589bbb65a95fafc2750 sh -c "cat /etc/*release | grep ^ID"
[8](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:9)
Checking latest tarantool 2.10 version
[9](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:10)
  HTTP GET https://download.tarantool.org/tarantool/release/series-2/ubuntu/dists/jammy/main/binary-amd64/Packages
[10](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:11)
  2.10.4.g816000e10-1
[11](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:13)
Cache not found for input key: tarantool-setup-jammy-2.10.4.g816000e10-1
[12](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:14)
Adding gpg key
[13](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:15)
  HTTP GET https://download.tarantool.org/tarantool/release/series-2/gpgkey
[14](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:16)
  /usr/bin/sudo apt-key add -
[15](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:17)
  Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
[16](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:18)
  OK
[17](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:20)
Setting up repository
[18](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:21)
  /usr/bin/sudo tee /etc/apt/sources.list.d/tarantool.list
[19](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:22)
  deb https://download.tarantool.org/tarantool/release/series-2/ubuntu/ jammy main
[20](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:24)
Running apt-get update
[21](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:25)
  /usr/bin/sudo apt-get update
[22](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:26)
  Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
[23](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:27)
  Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
[24](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:28)
  Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
[25](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:29)
  Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
[26](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:30)
  Get:1 https://hb.bizmrg.com/tarantool_repo/release/series-2/ubuntu jammy InRelease [3618 B]
[27](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:31)
  Get:6 https://hb.bizmrg.com/tarantool_repo/release/series-2/ubuntu jammy/main amd64 Packages [1935 B]
[28](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:32)
  Get:7 https://hb.bizmrg.com/tarantool_repo/release/series-2/ubuntu jammy/main all Packages [1041 B]
[29](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:33)
  Fetched 6594 B in 1s (9483 B/s)
[30](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:34)
  Reading package lists...
[31](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:35)
  W: https://download.tarantool.org/tarantool/release/series-2/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
[32](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:37)
Installing tarantool
[33](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:38)
  /usr/bin/sudo apt-get install -y tarantool=2.10.4.g816000e10-1* tarantool-dev=2.10.4.g816000e10-1*
[34](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:39)
  Reading package lists...
[35](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:40)
  Building dependency tree...
[36](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:41)
  Reading state information...
[37](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:42)
  The following additional packages will be installed:
[38](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:43)
    cmake cmake-data dh-elpa-helper emacsen-common libarchive13 libcurl4
[39](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:44)
    libjsoncpp25 librhash0 libuv1 tarantool-common tzdata
[40](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:45)
  Suggested packages:
[41](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:46)
    cmake-doc ninja-build cmake-format lrzip
[42](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:47)
  The following NEW packages will be installed:
[43](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:48)
    cmake cmake-data dh-elpa-helper emacsen-common libarchive13 libcurl4
[44](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:49)
    libjsoncpp25 librhash0 libuv1 tarantool tarantool-common tarantool-dev
[45](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:50)
    tzdata
[96](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:101)
  Preparing to unpack .../03-libcurl4_7.81.0-1ubuntu1.6_amd64.deb ...
[97](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:102)
  Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.6) ...
[98](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:103)
  Selecting previously unselected package libjsoncpp25:amd64.
[99](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:104)
  Preparing to unpack .../04-libjsoncpp25_1.9.5-3_amd64.deb ...
[100](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:105)
  Unpacking libjsoncpp25:amd64 (1.9.5-3) ...
[101](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:106)
  Selecting previously unselected package librhash0:amd64.
[102](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:107)
  Preparing to unpack .../05-librhash0_1.4.2-1ubuntu1_amd64.deb ...
[103](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:108)
  Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ...
[104](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:109)
  Selecting previously unselected package dh-elpa-helper.
[105](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:110)
  Preparing to unpack .../06-dh-elpa-helper_2.0.9ubuntu1_all.deb ...
[106](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:111)
  Unpacking dh-elpa-helper (2.0.9ubuntu1) ...
[107](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:112)
  Selecting previously unselected package emacsen-common.
[108](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:113)
  Preparing to unpack .../07-emacsen-common_3.0.4_all.deb ...
[109](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:114)
  Unpacking emacsen-common (3.0.4) ...
[110](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:115)
  Selecting previously unselected package cmake-data.
[111](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:116)
  Preparing to unpack .../08-cmake-data_3.22.1-1ubuntu1.22.04.1_all.deb ...
[112](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:117)
  Unpacking cmake-data (3.22.1-1ubuntu1.22.04.1) ...
[113](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:118)
  Selecting previously unselected package cmake.
[114](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:119)
  Preparing to unpack .../09-cmake_3.22.1-1ubuntu1.22.04.1_amd64.deb ...
[115](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:120)
  Unpacking cmake (3.22.1-1ubuntu1.22.04.1) ...
[116](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:121)
  Selecting previously unselected package tarantool-common.
[117](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:122)
  Preparing to unpack .../10-tarantool-common_2.10.4.g816000e10-1_all.deb ...
[118](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:123)
  Unpacking tarantool-common (2.10.4.g816000e10-1) ...
[119](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:124)
  Selecting previously unselected package tarantool.
[120](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:125)
  Preparing to unpack .../11-tarantool_2.10.4.g816000e10-1_amd64.deb ...
[121](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:126)
  Unpacking tarantool (2.10.4.g816000e10-1) ...
[122](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:127)
  Selecting previously unselected package tarantool-dev.
[123](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:128)
  Preparing to unpack .../12-tarantool-dev_2.10.4.g816000e10-1_amd64.deb ...
[124](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:129)
  Unpacking tarantool-dev (2.10.4.g816000e10-1) ...
[125](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:130)
  Setting up libarchive13:amd64 (3.6.0-1ubuntu1) ...
[126](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:131)
  Setting up tzdata (2022f-0ubuntu0.22.04.1) ...
[127](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:132)
  debconf: unable to initialize frontend: Dialog
[128](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:133)
  debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
[129](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:134)
  debconf: falling back to frontend: Readline
[130](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:135)
  Configuring tzdata
[131](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:136)
  ------------------
[132](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:137)
  
[133](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:138)
  Please select the geographic area in which you live. Subsequent configuration
[134](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:139)
  questions will narrow this down by presenting a list of cities, representing
[135](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:140)
  the time zones in which they are located.
[136](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:141)
  
[137](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:142)
    1. Africa   3. Antarctica  5. Arctic  7. Atlantic  9. Indian    11. US
[138](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:143)
    2. America  4. Australia   6. Asia    8. Europe    10. Pacific  12. Etc
[139](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:144)
  Geographic area: 
[140](https://github.com/tarantool/tarantool-cluster-manager/actions/runs/3658127364/jobs/6182523689#step:6:145)
  Error: The operation was canceled.
@filonenko-mikhail
Copy link
Author

solution is DEBIAN_FRONTEND=noninteractive

@filonenko-mikhail
Copy link
Author

env not pass through sudo(((

@Totktonada
Copy link
Member

I agree that it should be solved on the action side. However I think I can propose a workaround. The output suggests that the problematic package is tzdata1. Just install it before running the action:

DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata

Footnotes

  1. It is tzdata 95% of times. Remaining 5% is postfix.

@filonenko-mikhail
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants