Running with gitlab-runner 14.5.2 (e91107dd)
  on runner2.archlinux.org pdzw3Afg
  feature flags: FF_USE_FASTZIP:true
section_start:1642197571:resolve_secrets
Resolving secrets
section_end:1642197571:resolve_secrets
section_start:1642197571:prepare_executor
Preparing the "docker" executor
Using Docker executor with image archlinux:latest ...
Pulling docker image archlinux:latest ...
Using docker image sha256:08cb19171ab6f169176d854097084b0fd83a3b71aba75a8b0509e86613886c65 for archlinux:latest with digest archlinux@sha256:a2ffaa734fd155e9528562f468eb6d754e2068324372f2f975af188fdd792816 ...
section_end:1642197595:prepare_executor
section_start:1642197595:prepare_script
Preparing environment
Running on runner-pdzw3afg-project-19765-concurrent-1 via runner2.archlinux.org...
section_end:1642197596:prepare_script
section_start:1642197596:get_sources
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/maximbaz/infrastructure/.git/
Created fresh repository.
Checking out 928befd9 as maximbaz-new-ssh-key...

Skipping Git submodules setup
section_end:1642197597:get_sources
section_start:1642197597:step_script
Executing "step_script" stage of the job script
Using docker image sha256:08cb19171ab6f169176d854097084b0fd83a3b71aba75a8b0509e86613886c65 for archlinux:latest with digest archlinux@sha256:a2ffaa734fd155e9528562f468eb6d754e2068324372f2f975af188fdd792816 ...
$ pacman -Syu --needed --noconfirm ansible-lint ansible yamllint terraform
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
:: Replace hwids with core/hwdata? [Y/n] 
resolving dependencies...
looking for conflicting packages...

Package (57)                        Old Version  New Version  Net Change  Download Size

community/ansible-core                           2.12.1-1      14.85 MiB       2.39 MiB
core/archlinux-keyring              20211028-1   20220114-1     0.07 MiB       1.00 MiB
core/bash                           5.1.012-1    5.1.016-1      0.00 MiB       1.63 MiB
core/cryptsetup                     2.4.2-3      2.4.3-1        0.02 MiB       0.57 MiB
core/gdbm                                        1.22-1         0.76 MiB       0.25 MiB
core/glib2                          2.70.2-1     2.70.2-2       0.07 MiB       2.77 MiB
core/hwdata                                      0.355-1        1.98 MiB       0.46 MiB
hwids                               20210613-1                 -1.94 MiB               
core/iana-etc                       20211203-1   20220110-1     0.00 MiB       0.38 MiB
core/iproute2                       5.15.0-2     5.16.0-1       0.03 MiB       1.05 MiB
core/libnsl                                      2.0.0-1        0.07 MiB       0.02 MiB
extra/libsodium                                  1.0.18-2       0.49 MiB       0.17 MiB
extra/libsysprof-capture                         3.42.1-2       0.23 MiB       0.04 MiB
extra/libyaml                                    0.2.5-1        0.18 MiB       0.06 MiB
core/pacman                         6.0.1-2      6.0.1-3       -0.05 MiB       0.89 MiB
core/pciutils                       3.7.0-1      3.7.0-2        0.00 MiB       0.10 MiB
core/python                                      3.10.1-2      53.60 MiB      11.30 MiB
extra/python-appdirs                             1.4.4-6        0.07 MiB       0.01 MiB
community/python-bcrypt                          3.2.0-5        0.06 MiB       0.03 MiB
community/python-bracex                          2.2.1-3        0.07 MiB       0.02 MiB
extra/python-cffi                                1.15.0-3       1.02 MiB       0.22 MiB
community/python-colorama                        0.4.4-6        0.08 MiB       0.02 MiB
community/python-commonmark                      0.9.1-5        0.62 MiB       0.11 MiB
extra/python-cryptography                        36.0.1-1       4.14 MiB       0.93 MiB
community/python-docutils                        1:0.16-2       4.30 MiB       0.75 MiB
community/python-enrich                          1.2.7-1        0.04 MiB       0.02 MiB
community/python-future                          0.18.2-7       3.86 MiB       0.70 MiB
community/python-jinja                           3.0.3-3        1.30 MiB       0.23 MiB
extra/python-markupsafe                          2.0.1-3        0.06 MiB       0.02 MiB
community/python-more-itertools                  8.10.0-4       0.32 MiB       0.07 MiB
extra/python-ordered-set                         4.0.2-6        0.06 MiB       0.01 MiB
extra/python-packaging                           20.9-7         0.18 MiB       0.05 MiB
community/python-paramiko                        2.9.2-1        1.77 MiB       0.27 MiB
community/python-pathspec                        0.9.0-3        0.21 MiB       0.04 MiB
extra/python-ply                                 3.11-10        0.31 MiB       0.08 MiB
community/python-pyaml                           21.8.3-3       0.09 MiB       0.03 MiB
extra/python-pycparser                           2.21-3         1.39 MiB       0.19 MiB
community/python-pygments                        2.11.2-1      11.22 MiB       2.04 MiB
community/python-pynacl                          1.4.0-5        0.65 MiB       0.09 MiB
extra/python-pyparsing                           2.4.7-6        0.72 MiB       0.12 MiB
extra/python-resolvelib                          0.5.5-4        0.10 MiB       0.02 MiB
community/python-rich                            10.16.2-1      1.69 MiB       0.35 MiB
community/python-ruamel-yaml                     0.17.18-1      1.13 MiB       0.19 MiB
community/python-ruamel.yaml.clib                0.2.6-3        0.34 MiB       0.12 MiB
extra/python-setuptools                          1:59.1.0-1     2.95 MiB       0.55 MiB
extra/python-six                                 1.16.0-5       0.09 MiB       0.02 MiB
community/python-tenacity                        8.0.1-3        0.14 MiB       0.03 MiB
community/python-typing_extensions               4.0.1-1        0.16 MiB       0.04 MiB
community/python-wcmatch                         8.3-3          0.33 MiB       0.07 MiB
community/python-yaml                            5.4.1.1-4      0.74 MiB       0.17 MiB
core/systemd                        250.1-1      250.2-2        0.01 MiB       7.17 MiB
core/systemd-libs                   250.1-1      250.2-2        0.00 MiB       0.63 MiB
core/systemd-sysvcompat             250.1-1      250.2-2        0.00 MiB       0.01 MiB
community/ansible                                5.2.0-1      454.52 MiB      33.59 MiB
community/ansible-lint                           5.3.2-1        0.49 MiB       0.13 MiB
community/terraform                              1.1.3-1       74.38 MiB      15.48 MiB
community/yamllint                               1.26.2-2       0.30 MiB       0.05 MiB

Total Download Size:    87.73 MiB
Total Installed Size:  711.43 MiB
Net Upgrade Size:      640.26 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 ansible-5.2.0-1-any downloading...
 terraform-1.1.3-1-x86_64 downloading...
 python-3.10.1-2-x86_64 downloading...
 systemd-250.2-2-x86_64 downloading...
 glib2-2.70.2-2-x86_64 downloading...
 ansible-core-2.12.1-1-any downloading...
 python-pygments-2.11.2-1-any downloading...
 bash-5.1.016-1-x86_64 downloading...
 iproute2-5.16.0-1-x86_64 downloading...
 archlinux-keyring-20220114-1-any downloading...
 python-cryptography-36.0.1-1-x86_64 downloading...
 pacman-6.0.1-3-x86_64 downloading...
 python-docutils-1:0.16-2-any downloading...
 python-future-0.18.2-7-any downloading...
 systemd-libs-250.2-2-x86_64 downloading...
 cryptsetup-2.4.3-1-x86_64 downloading...
 python-setuptools-1:59.1.0-1-any downloading...
 hwdata-0.355-1-any downloading...
 iana-etc-20220110-1-any downloading...
 python-rich-10.16.2-1-any downloading...
 python-paramiko-2.9.2-1-any downloading...
 gdbm-1.22-1-x86_64 downloading...
 python-jinja-3.0.3-3-any downloading...
 python-cffi-1.15.0-3-x86_64 downloading...
 python-pycparser-2.21-3-any downloading...
 python-ruamel-yaml-0.17.18-1-any downloading...
 libsodium-1.0.18-2-x86_64 downloading...
 python-yaml-5.4.1.1-4-x86_64 downloading...
 ansible-lint-5.3.2-1-any downloading...
 python-ruamel.yaml.clib-0.2.6-3-x86_64 downloading...
 python-pyparsing-2.4.7-6-any downloading...
 python-commonmark-0.9.1-5-any downloading...
 pciutils-3.7.0-2-x86_64 downloading...
 python-pynacl-1.4.0-5-x86_64 downloading...
 python-ply-3.11-10-any downloading...
 python-wcmatch-8.3-3-any downloading...
 python-more-itertools-8.10.0-4-any downloading...
 libyaml-0.2.5-1-x86_64 downloading...
 python-packaging-20.9-7-any downloading...
 yamllint-1.26.2-2-any downloading...
 libsysprof-capture-3.42.1-2-x86_64 downloading...
 python-pathspec-0.9.0-3-any downloading...
 python-typing_extensions-4.0.1-1-any downloading...
 python-tenacity-8.0.1-3-any downloading...
 python-bcrypt-3.2.0-5-x86_64 downloading...
 python-pyaml-21.8.3-3-any downloading...
 python-colorama-0.4.4-6-any downloading...
 python-resolvelib-0.5.5-4-any downloading...
 python-six-1.16.0-5-any downloading...
 libnsl-2.0.0-1-x86_64 downloading...
 python-markupsafe-2.0.1-3-x86_64 downloading...
 python-bracex-2.2.1-3-any downloading...
 python-enrich-1.2.7-1-any downloading...
 python-appdirs-1.4.4-6-any downloading...
 python-ordered-set-4.0.2-6-any downloading...
 systemd-sysvcompat-250.2-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
removing hwids...
upgrading iana-etc...
upgrading bash...
installing gdbm...
installing libnsl...
installing python...
Optional dependencies for python
    python-setuptools [pending]
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
installing libyaml...
installing python-yaml...
installing python-ply...
installing python-pycparser...
installing python-cffi...
installing python-six...
installing python-bcrypt...
installing python-cryptography...
installing libsodium...
installing python-pynacl...
installing python-paramiko...
installing python-appdirs...
installing python-more-itertools...
installing python-ordered-set...
installing python-pyparsing...
installing python-packaging...
installing python-setuptools...
installing python-markupsafe...
installing python-jinja...
Optional dependencies for python-jinja
    python-babel: for i18n support
installing python-resolvelib...
installing ansible-core...
Optional dependencies for ansible-core
    sshpass: for ssh connections with password
    python-passlib: crypt values for vars_prompt
    python-netaddr: for the ipaddr filter
    python-systemd: log to journal
    python-pywinrm: connect to Windows machines
    python-dnspython: for dig lookup
    python-jmespath: json_query support
installing python-ruamel.yaml.clib...
installing python-ruamel-yaml...
installing python-pyaml...
Optional dependencies for python-pyaml
    python-unidecode: Needed if same-id objects or recursion is used within serialized data
installing python-colorama...
installing python-pygments...
installing python-typing_extensions...
installing python-docutils...
installing python-future...
Optional dependencies for python-future
    python-setuptools: futurize and pasteurize scripts [installed]
installing python-commonmark...
installing python-rich...
installing python-bracex...
installing python-wcmatch...
installing python-enrich...
installing python-tenacity...
Optional dependencies for python-tenacity
    python-tornado: for Tornado coroutines support
installing ansible-lint...
Optional dependencies for ansible-lint
    yamllint: check for yaml syntax mistakes [pending]
    ansible: check official ansible collections [pending]
installing ansible...
Optional dependencies for ansible
    python-argcomplete: shell completions
    python-pyopenssl: openssl modules
    python-dnspython: for dig lookup
    python-ovirt-engine-sdk: ovirt support
    python-boto3: aws_s3 module
    python-ldap: ldap support
    python-proxmoxer: proxmos modules
    python-openstacksdk: OpenStack module
    python-pynetbox: NetBox module
    python-ldap: LDAP modules
    python-keyring: Keyring module
    acme-tiny: openssl_certificate module
installing python-pathspec...
installing yamllint...
installing terraform...
upgrading archlinux-keyring...
==> ERROR: There is no secret key available to sign with.
==> Use 'pacman-key --init' to generate a default secret key.
==> Updating trust database...
gpg: next trustdb check due at 2022-01-20
upgrading systemd-libs...
upgrading cryptsetup...
installing libsysprof-capture...
upgrading glib2...
installing hwdata...
upgrading iproute2...
upgrading pacman...
upgrading pciutils...
upgrading systemd...
upgrading systemd-sysvcompat...
:: Running post-transaction hooks...
(1/9) Creating system user accounts...
(2/9) Updating journal message catalog...
(3/9) Reloading system manager configuration...
  Skipped: Current root is not booted.
(4/9) Updating udev hardware database...
(5/9) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
(6/9) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc detected, skipping
All rules containing unresolvable specifiers will be skipped.
Failed to adjust quota for subvolume "/var/lib/portables": Operation not permitted
Failed to adjust quota for subvolume "/var/lib/machines": Operation not permitted
(7/9) Reloading device manager configuration...
error: command failed to execute correctly
  Skipped: Device manager is not running.
(8/9) Arming ConditionNeedsUpdate...
(9/9) Reloading system bus configuration...
  Skipped: Current root is not booted.
$ cd tf-stage1
$ terraform init -backend=false

Initializing provider plugins...
- Reusing previous version of hetznercloud/hcloud from the dependency lock file
- Reusing previous version of timohirt/hetznerdns from the dependency lock file
- Reusing previous version of hashicorp/external from the dependency lock file
- Installing timohirt/hetznerdns v1.1.1...
- Installed timohirt/hetznerdns v1.1.1 (self-signed, key ID 5218E983F21C1625)
- Installing hashicorp/external v2.0.0...
- Installed hashicorp/external v2.0.0 (signed by HashiCorp)
- Installing hetznercloud/hcloud v1.23.0...
- Installed hetznercloud/hcloud v1.23.0 (signed by a HashiCorp partner, key ID 5219EACB3A77198B)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
$ terraform validate
Success! The configuration is valid.

$ terraform fmt --check
$ cd ../tf-stage2
$ terraform init -backend=false

Initializing provider plugins...
- Reusing previous version of louy/uptimerobot from the dependency lock file
- Reusing previous version of hashicorp/external from the dependency lock file
- Reusing previous version of mrparkers/keycloak from the dependency lock file
- Installing louy/uptimerobot v0.5.1...
- Installed louy/uptimerobot v0.5.1 (self-signed, key ID 2CC2FD55D1C66DF3)
- Installing hashicorp/external v2.0.0...
- Installed hashicorp/external v2.0.0 (signed by HashiCorp)
- Installing mrparkers/keycloak v2.0.0...
- Installed mrparkers/keycloak v2.0.0 (self-signed, key ID C50867915E116CD2)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
$ terraform validate
Success! The configuration is valid.

$ terraform fmt --check --diff
section_end:1642197623:step_script
section_start:1642197623:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1642197623:cleanup_file_variables
Job succeeded