Pull Request #292 [TBT-84] Enterprise merge (#291)

* Update OS for enterprise ship:docker

* security updates (#247)

* docker fix+trivy

* trivy fix

* Gem update 280721 (#250)

* security updates

* update to use latest docker

* nokogiri 1.12.5

* Upgrade gems (#256)

* Upgrade gems

Author: Maciej Kempin <maciej.kempin@coreservices.pl>

* rails 5.2.6.3

Co-authored-by: Maciej <maciej.kempin@coreservices.pl>

* gem updates (#257)

* rack update -> 2.2.3.1

* up trivy cmd

* job query optimization ship:docker (#260)

* activerecord bump

* BSFY-141 merge - add restarted by (#268)

* w/a (#272)

* master merge 25.10.22 (#276)

* rails-html-sanitizer 1.4.4

* up to pg12

* focal ship:docker

* check ship:docker

* .travis.yml partial revert

---------

Co-authored-by: Damian Szymanski <damian@assembla.com>
Co-authored-by: gabriel-arc <57348209+GbArc@users.noreply.github.com>
Co-authored-by: gabriel-arc <gabriel@travis-ci.org>
Co-authored-by: Maciej Kempin <makemp@users.noreply.github.com>
Co-authored-by: Maciej <maciej.kempin@coreservices.pl>
Co-authored-by: Sebastian Karpeta <sebastian@assmebla.com>
Co-authored-by: GbArc <gabriel.arczynski@devtactics.net>

Dominik avatar Dominik

Pull request event #3624.2 passed

  • Ran for
AMD64
no language set
Git
Raw log
Scroll to End of Log
0.00s0.21s0.13s0.06s
worker_info
1Worker information
2hostname: 43dcef25-5423-4eb2-94ab-da04eea42891@1.worker-n2-com-696d86f5d9-29v6h.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-63aefab6-fd8e-4c47-9c30-f6cc7871dff2 travis-ci-ubuntu-2004-1720782402-a5a6a9fa (via amqp)
5startup: 6.302544801s
60.36s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: focal
10Build id: 271558356
11Job id: 624365878
12Runtime kernel version: 5.15.0-1062-gcp
13travis-build version: 0a9dd66e
14Build image provisioning date and time
15Fri 12 Jul 2024 11:32:15 AM UTC
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 20.04.6 LTS
19Release: 20.04
20Codename: focal
21Systemd Version
22systemd 245 (245.4-4ubuntu3.23)
23Cookbooks Version
2488b04db https://github.com/travis-ci/travis-cookbooks/tree/88b04db
25git version
26git version 2.45.2
27bash version
28GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
31docker version
32Client:
33 Version: 24.0.7
34 API version: 1.43
35 Go version: go1.21.1
36 Git commit: 24.0.7-0ubuntu2~20.04.1
37 Built: Wed Mar 13 20:29:24 2024
38 OS/Arch: linux/amd64
39 Context: default
41Server:
42 Engine:
43 Version: 24.0.7
44 API version: 1.43 (minimum version 1.12)
45 Go version: go1.21.1
46 Git commit: 24.0.7-0ubuntu2~20.04.1
47 Built: Wed Mar 13 20:29:24 2024
48 OS/Arch: linux/amd64
49 Experimental: false
50 containerd:
51 Version: 1.7.12
52 GitCommit:
53 runc:
54 Version: 1.1.12-0ubuntu2~20.04.1
55 GitCommit:
56 docker-init:
57 Version: 0.19.0
58 GitCommit:
59clang version
60clang version 16.0.0
61jq version
62jq-1.7.1
63bats version
64Bats 1.11.0
65shellcheck version
660.10.0
67shfmt version
68v3.8.0
69ccache version
703.7.7
71cmake version
72cmake version 3.29.0
73heroku version
74heroku/8.11.5 linux-x64 node-v16.20.2
75imagemagick version
76Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
77md5deep version
784.4
79mercurial version
80version 6.5.2
81mysql version
82mysql Ver 8.0.37-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu))
83openssl version
84OpenSSL 1.1.1f 31 Mar 2020
85packer version
86Packer v1.11.1
87postgresql client version
88psql (PostgreSQL) 13.15 (Ubuntu 13.15-1.pgdg20.04+1)
89ragel version
90Ragel State Machine Compiler version 6.10 March 2017
91sudo version
921.8.31
93gzip version
94gzip 1.10
95zip version
96Zip 3.0
97vim version
98VIM - Vi IMproved 8.1 (2018 May 18, compiled May 03 2024 02:36:35)
99iptables version
100iptables v1.8.4 (legacy)
101curl version
102curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
103wget version
104GNU Wget 1.20.3 built on linux-gnu.
105rsync version
106rsync version 3.1.3 protocol version 31
107gimme version
108v1.5.4
109nvm version
1100.39.7
111perlbrew version
112/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
113phpenv version
114rbenv 1.3.0
115rvm version
116rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
117default ruby version
118ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux]
119default python version
120Python 3.7.17
121ElasticSearch version
1227.16.3
123Installed Firefox version
124firefox 99.0
125MongoDB version
126MongoDB 4.4.29
127PhantomJS version
1282.1.1
129Redis version
130redis-server 7.2.5
131Pre-installed Go versions
1321.11.1
133mvn version
134Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
135gradle version
136Gradle 8.3!
137lein version
138Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM
139Pre-installed Node.js versions
140v10.24.1
141v12.22.12
142v14.21.3
143v16.15
144v16.20.2
145v18.20.3
146v18.20.4
147v20.15.1
148v4.9.1
149v6.17.1
150v8.17.0
151phpenv versions
152 system
153 7.4
154* 7.4.6 (set by /home/travis/.phpenv/version)
155 hhvm-stable
156 hhvm
157composer --version
158Composer version 1.10.6 2020-05-06 10:28:10
159Pre-installed Ruby versions
160ruby-2.7.6
161ruby-3.3.1
1630.03s0.01s31.72sTimeout waiting for network availability.
1640.20scp: cannot create regular file '/etc/apt/trusted.gpg.d/apt.llvm.org.asc~': Permission denied
1650.07s0.01s0.04s0.00s0.03s0.01s0.03s0.01s0.01s0.00s0.33sOK
1660.00s0.05s0.00s0.02s0.17s0.00s0.00s0.00s0.01s0.00s0.14s0.00s1.01s0.00s0.12s6.04s0.00s4.06s0.00s2.20s
docker_mtu_and_registry_mirrors
resolvconf
snap
167Installing 1 Snaps
1689.64s$ sudo snap install core
169core 16-2.61.4-20240607 from Canonical** installed
1708.12s$ sudo snap install docker --channel=latest/beta
171docker (beta) 24.0.5 from Canonical** installed
1720.10s$ sudo snap list
173Name Version Rev Tracking Publisher Notes
174core 16-2.61.4-20240607 17200 latest/stable canonical** core
175core20 20240416 2318 latest/stable canonical** base
176core22 20240408 1380 latest/stable canonical** base
177docker 24.0.5 2932 latest/beta canonical** -
178google-cloud-cli 480.0.0 247 latest/stable/… google-cloud-sdk** classic
179lxd 4.0.9-a29c6f1 24061 4.0/stable/… canonical** -
180snapcraft 8.3.1 12136 latest/stable/… canonical** classic
181snapd 2.63 21759 latest/stable canonical** snapd
services
1846.09s$ travis_setup_postgresql
185Starting PostgreSQL v13
186sudo systemctl start postgresql@13-main
git.checkout
1870.01s0.55s$ git clone --depth=50 https://github.com/travis-ci/travis-migrations.git travis-ci/travis-migrations
188Cloning into 'travis-ci/travis-migrations'...
189$ cd travis-ci/travis-migrations
1900.29s$ git fetch origin +refs/pull/292/merge: --depth=50
191From https://github.com/travis-ci/travis-migrations
192 * branch refs/pull/292/merge -> FETCH_HEAD
193$ git checkout -qf FETCH_HEAD
1950.00s
196Setting environment variables from repository settings
197$ export QUAY_ROBOT_HANDLE=[secure]
198$ export QUAY_ROBOT_TOKEN=[secure]
199$ export ARTIFACTS_BUCKET=travis-migrations-structure-dumps
200$ export ARTIFACTS_SECRET=[secure]
201$ export ARTIFACTS_KEY=[secure]
rvm
2033.03s$ rvm get head
204Downloading https://get.rvm.io
205Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
206Verifying /home/travis/.rvm/archives/rvm-installer.asc
207gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
208gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
209gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
210gpg: WARNING: This key is not certified with a trusted signature!
211gpg: There is no indication that the signature belongs to the owner.
212Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
213GPG verified '/home/travis/.rvm/archives/rvm-installer'
214Downloading https://github.com/rvm/rvm/archive/master.tar.gz
215Upgrading the RVM installation in /home/travis/.rvm/
216 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
217 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
218 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
219Upgrade of RVM in /home/travis/.rvm/ is complete.
221<warn>Thanks for installing RVM 🙏</warn>
222Please consider donating to our open collective to help us maintain RVM.
224👉 Donate: <code>https://opencollective.com/rvm/donate</code>
227RVM reloaded!
22821.29s$ rvm use 3.2.2 --install --binary --fuzzy
229curl: (22) The requested URL returned error: 404
230Required ruby-3.2.2 is not installed - installing.
231curl: (22) The requested URL returned error: 404
232Searching for binary rubies, this might take some time.
233Found remote file https://rubies.travis-ci.org/ubuntu/20.04/x86_64/ruby-3.2.2.tar.bz2
234Checking requirements for ubuntu.
235requirements_ubuntu_define_libncurses: command not found
236Requirements installation successful.
237ruby-3.2.2 - #configure
238ruby-3.2.2 - #download
239 % Total % Received % Xferd Average Speed Time Time Time Current
240 Dload Upload Total Spent Left Speed
241 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
242100 32.0M 100 32.0M 0 0 38.5M 0 --:--:-- --:--:-- --:--:-- 90.9M
243No checksum for downloaded archive, recording checksum in user configuration.
244ruby-3.2.2 - #validate archive
245ruby-3.2.2 - #extract
246ruby-3.2.2 - #validate binary
247ruby-3.2.2 - #setup
248ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
249ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
250ruby-3.2.2 - #generating global wrappers........
251ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
252ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
253ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
254ruby-3.2.2 - #generating default wrappers........
255Using /home/travis/.rvm/gems/ruby-3.2.2
257$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
258Setting up build cache
259$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2600.19s$ Installing caching utilities
2610.00s1.62sattempting to download cache archive
262fetching PR.292/cache--linux-focal-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-3.2.2--gemfile-Gemfile.tgz
263fetching PR.292/cache-linux-focal-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-3.2.2--gemfile-Gemfile.tgz
264fetching PR.292/cache--rvm-3.2.2--gemfile-Gemfile.tgz
265fetching master/cache--linux-focal-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-3.2.2--gemfile-Gemfile.tgz
266fetching master/cache-linux-focal-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-3.2.2--gemfile-Gemfile.tgz
267fetching master/cache--rvm-3.2.2--gemfile-Gemfile.tgz
268could not download cache
2690.00s1.25sadding /home/travis/build/travis-ci/travis-migrations/vendor/bundle to cache
270creating directory /home/travis/build/travis-ci/travis-migrations/vendor/bundle
ruby.versions
273$ ruby --version
274ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
275$ rvm --version
276rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
277$ bundle --version
278Bundler version 2.4.10
279$ gem --version
2803.4.10
before_install
2820.66s$ gem install rubygems-update -v 3.3.27
283Successfully installed rubygems-update-3.3.27
2841 gem installed
install.bundler
28521.87s$ bundle install --jobs=3 --retry=3 --deployment
286[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
287Bundler 2.4.10 is running, but your lockfile was generated with 2.4.14. Installing Bundler 2.4.14 and restarting using that version.
288Fetching gem metadata from https://rubygems.org/.
289Fetching bundler 2.4.14
290Installing bundler 2.4.14
291[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
292Fetching gem metadata from https://rubygems.org/.........
293Fetching rake 13.0.6
294Installing rake 13.0.6
295Fetching concurrent-ruby 1.2.2
296Fetching minitest 5.18.1
297Fetching builder 3.2.4
298Installing builder 3.2.4
299Fetching erubi 1.12.0
300Installing minitest 5.18.1
301Fetching racc 1.7.1
302Installing erubi 1.12.0
303Fetching crass 1.0.6
304Installing concurrent-ruby 1.2.2
305Installing racc 1.7.1 with native extensions
306Fetching rack 2.2.7
307Installing crass 1.0.6
308Fetching nio4r 2.5.9
309Installing rack 2.2.7
310Installing nio4r 2.5.9 with native extensions
311Fetching websocket-extensions 0.1.5
312Installing websocket-extensions 0.1.5
313Fetching marcel 1.0.2
314Installing marcel 1.0.2
315Fetching mini_mime 1.1.2
316Installing mini_mime 1.1.2
317Using date 3.3.3
318Fetching timeout 0.4.0
319Installing timeout 0.4.0
320Fetching ansi 1.5.0
321Installing ansi 1.5.0
322Fetching ast 2.4.2
323Installing ast 2.4.2
324Fetching aws-eventstream 1.2.0
325Installing aws-eventstream 1.2.0
326Fetching aws-partitions 1.783.0
327Installing aws-partitions 1.783.0
328Fetching jmespath 1.6.2
329Installing jmespath 1.6.2
330Using bundler 2.4.14
331Fetching colored 1.2
332Installing colored 1.2
333Fetching diff-lcs 1.5.0
334Installing diff-lcs 1.5.0
335Fetching docile 1.4.0
336Installing docile 1.4.0
337Using json 2.6.3
338Fetching language_server-protocol 3.17.0.3
339Installing language_server-protocol 3.17.0.3
340Fetching method_source 1.0.0
341Installing method_source 1.0.0
342Fetching parallel 1.23.0
343Installing parallel 1.23.0
344Fetching pg 1.5.3
345Installing pg 1.5.3 with native extensions
346Fetching thor 1.2.2
347Installing thor 1.2.2
348Fetching zeitwerk 2.6.8
349Installing zeitwerk 2.6.8
350Fetching rainbow 3.1.1
351Installing rainbow 3.1.1
352Fetching regexp_parser 2.8.1
353Installing regexp_parser 2.8.1
354Fetching rexml 3.2.5
355Installing rexml 3.2.5
356Fetching routes 0.2.0
357Installing routes 0.2.0
358Fetching rspec-support 3.12.1
359Installing rspec-support 3.12.1
360Fetching ruby-progressbar 1.13.0
361Installing ruby-progressbar 1.13.0
362Fetching unicode-display_width 2.4.2
363Installing unicode-display_width 2.4.2
364Fetching simplecov-html 0.12.3
365Installing simplecov-html 0.12.3
366Fetching simplecov_json_formatter 0.1.4
367Installing simplecov_json_formatter 0.1.4
368Fetching i18n 1.14.1
369Installing i18n 1.14.1
370Fetching tzinfo 2.0.6
371Installing tzinfo 2.0.6
372Fetching rack-test 2.1.0
373Installing rack-test 2.1.0
374Fetching websocket-driver 0.7.5
375Installing websocket-driver 0.7.5 with native extensions
376Using net-protocol 0.2.1
377Fetching aws-sigv4 1.6.0
378Installing aws-sigv4 1.6.0
379Fetching rake-notes 0.2.2
380Installing rake-notes 0.2.2
381Fetching nokogiri 1.15.2 (x86_64-linux)
382Installing nokogiri 1.15.2 (x86_64-linux)
383Fetching parser 3.2.2.3
384Installing parser 3.2.2.3
385Fetching rspec-core 3.12.2
386Installing rspec-core 3.12.2
387Fetching rspec-expectations 3.12.3
388Installing rspec-expectations 3.12.3
389Fetching rspec-mocks 3.12.5
390Installing rspec-mocks 3.12.5
391Fetching terminal-table 3.0.2
392Installing terminal-table 3.0.2
393Fetching simplecov 0.22.0
394Installing simplecov 0.22.0
395Fetching activesupport 7.0.6
396Installing activesupport 7.0.6
397Fetching net-imap 0.3.6
398Installing net-imap 0.3.6
399Fetching net-pop 0.1.2
400Installing net-pop 0.1.2
401Fetching net-smtp 0.3.3
402Fetching aws-sdk-core 3.176.1
403Installing net-smtp 0.3.3
404Fetching loofah 2.21.3
405Installing aws-sdk-core 3.176.1
406Fetching rubocop-ast 1.29.0
407Installing loofah 2.21.3
408Installing rubocop-ast 1.29.0
409Fetching rspec 3.12.0
410Fetching simplecov-console 0.9.1
411Installing rspec 3.12.0
412Installing simplecov-console 0.9.1
413Fetching rails-dom-testing 2.1.1
414Fetching globalid 1.1.0
415Installing rails-dom-testing 2.1.1
416Installing globalid 1.1.0
417Fetching mail 2.8.1
418Fetching activemodel 7.0.6
419Installing activemodel 7.0.6
420Fetching aws-sdk-kms 1.68.0
421Installing mail 2.8.1
422Installing aws-sdk-kms 1.68.0
423Fetching rails-html-sanitizer 1.6.0
424Fetching rubocop 1.54.1
425Installing rails-html-sanitizer 1.6.0
426Fetching activejob 7.0.6
427Installing activejob 7.0.6
428Installing rubocop 1.54.1
429Fetching activerecord 7.0.6
430Installing activerecord 7.0.6
431Fetching aws-sdk-s3 1.127.0
432Fetching actionview 7.0.6
433Installing actionview 7.0.6
434Installing aws-sdk-s3 1.127.0
435Fetching rubocop-capybara 2.18.0
436Fetching rubocop-factory_bot 2.23.1
437Installing rubocop-capybara 2.18.0
438Installing rubocop-factory_bot 2.23.1
439Fetching rubocop-performance 1.18.0
440Fetching actionpack 7.0.6
441Installing rubocop-performance 1.18.0
442Fetching rubocop-rspec 2.22.0
443Installing actionpack 7.0.6
444Installing rubocop-rspec 2.22.0
445Fetching actioncable 7.0.6
446Fetching activestorage 7.0.6
447Installing actioncable 7.0.6
448Fetching actionmailer 7.0.6
449Installing activestorage 7.0.6
450Fetching railties 7.0.6
451Installing actionmailer 7.0.6
452Fetching actionmailbox 7.0.6
453Installing actionmailbox 7.0.6
454Installing railties 7.0.6
455Fetching actiontext 7.0.6
456Installing actiontext 7.0.6
457Fetching rails 7.0.6
458Installing rails 7.0.6
459Bundle complete! 12 Gemfile dependencies, 85 gems now installed.
460Bundled gems are installed into `./vendor/bundle`
before_script
4620.00s$ echo skip
463skip
4640.01s$ make ship
465make: Nothing to be done for 'ship'.
466The command "make ship" exited with 0.
cache.2
467store build cache
4680.00s2.92schanges detected, packing new archive
469gzip: warning: GZIP environment variable is deprecated; use an alias or script
470uploading PR.292/cache--linux-focal-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-3.2.2--gemfile-Gemfile.tgz
471cache uploaded
after_success
4730.00s$ echo skip
474skip
476Done. Your build exited with 0.
Top