Skip to content
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

Portable imports and fix for apt sources.list regarding osarch. #216

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

remichristiaan
Copy link

This time a version that works. Yesterday was too much of a rush job, apologies for that.

I've tested it several times with salt ssh on a clean machine, removed the thin cache this time ;)

Did not test:

  • using it normally (not salt-ssh)
  • using a target machine other then osarch amd64.

Setup:

top.sls

base:
   '*':
      - docker 

cmd line:

salt-ssh --roster=scan 10.10.0.10 state.apply

Result -> succeeded

Commit msg:

Use tpldir to make imports work from e.g. salt-ssh without having to resort to --extra-filerefs=salt://docker/map.jinja,... on the cmd line.

Also added the os architecture to the apt sources.list line: deb [arch=] http://...

…resort to --extra-filerefs=salt://docker/map.jinja,... on the cmd line.

Also added the os architecture to the apt sources.list line: deb [arch=<osarch>] http://...
@remichristiaan
Copy link
Author

Regarding Travis, I've checked the setup of the ufw-formula and tried out something. The formula now gets executed okay, no jinja error ... however some testinfra asserts are wrong. I do not have the time to delve into that now, but probably it can be made to work with a few tweaks.

travis.yml:

sudo: required
cache: bundler
language: python

services:
  - docker

before_install:
  - bundle install

env:
  matrix:
    - INSTANCE: default-ubuntu-1804-2019-2-py3
#    - INSTANCE: default-ubuntu-1804
#    - INSTANCE: default-debian-jessie
#    - INSTANCE: default-debian-stretch
#    - INSTANCE: version-1131-debian-jessie
#    - INSTANCE: version-1131-debian-stretch

script:
  - bundle exec kitchen verify ${INSTANCE}

kitchen.yml:

# -*- coding: utf-8 -*-
# vim: ft=yaml
---
# For help on this file's format, see https://kitchen.ci/
driver:
  name: docker
  use_sudo: false
  privileged: true
  run_command: /lib/systemd/systemd

provisioner:
  name: salt_solo
  log_level: warning
  require_chef: false
  formula: docker
  state_top:
    base:
      '*':
        - docker.remove
        - docker
  pillars:
    top.sls:
      base:
        '*':
          - docker

platforms:
  - name: ubuntu-1804-2019-2-py3
    driver:
      image: netmanagers/salt-2019.2-py3:ubuntu-18.04
  - name: ubuntu-18.04
    driver_config:
      provision_command:
        - apt-get update && apt-get install -y locales ifupdown
        - locale-gen en_US.UTF-8
        - update-locale LANG=en_US.UTF-8
        - mkdir -p /run/sshd
      run_command: /lib/systemd/systemd
  - name: debian-stretch
    driver_config:
      provision_command:
        - apt-get update && apt-get install -y locales ifupdown
        - locale-gen en_US.UTF-8
      run_command: /lib/systemd/systemd
  - name: debian-jessie
    driver_config:
      provision_command:
        - apt-get update && apt-get install -y locales ifupdown
        - locale-gen en_US.UTF-8
      run_command: /lib/systemd/systemd
#   - name: centos-7
#     driver_config:
#       run_command: /lib/systemd/systemd

suites:
  - name: default
    provisioner:
      pillars:
        docker.sls:
          docker:
            use_upstream_repo: true
  - name: version-1.13.1
    provisioner:
      pillars:
        docker.sls:
          docker:
            version: '1.13.1*'
            use_old_repo: true
    excludes:
      - ubuntu-18.04
  - name: version-18
    provisioner:
      pillars:
        docker.sls:
          docker:
            version: '18.*'
            use_old_repo: true
    excludes:
      - debian-stretch
      - debian-jessie

verifier:
  name: shell
  remote_exec: false
  command: testinfra -vvv --connection=docker --hosts=root@$KITCHEN_CONTAINER_ID --junit-xml junit-$KITCHEN_INSTANCE.xml test/integration/$KITCHEN_SUITE

This is the travis log:

travis_fold:start:worker_info
�[0K�[33;1mWorker information�[0m
hostname: f75a20dd-a1dd-4bf9-a4ee-4295c701ce58@1.production-2-worker-com-gce-4lb6
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: travis-job-5b6f10d7-cbab-4de0-8e7f-1b13bea2e111 travis-ci-garnet-trusty-1512502259-986baf0 (via amqp)
startup: 6.162735334s
travis_fold:end:worker_info
�[0Ktravis_fold:start:system_info
�[0K�[33;1mBuild system information�[0m
Build language: python
Build group: stable
Build dist: trusty
Build id: 118055043
Job id: 213469890
Runtime kernel version: 4.4.0-101-generic
travis-build version: 7b7f39e22
�[34m�[1mBuild image provisioning date and time�[0m
Tue Dec  5 19:58:13 UTC 2017
�[34m�[1mOperating System Details�[0m
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty
�[34m�[1mCookbooks Version�[0m
7c2c6a6 https://github.com/travis-ci/travis-cookbooks/tree/7c2c6a6
�[34m�[1mgit version�[0m
git version 2.15.1
�[34m�[1mbash version�[0m
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
�[34m�[1mgcc version�[0m
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

�[34m�[1mdocker version�[0m
Client:
 Version:      17.09.0-ce
 API version:  1.32
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:42:38 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:41:20 2017
 OS/Arch:      linux/amd64
 Experimental: false
�[34m�[1mclang version�[0m
clang version 5.0.0 (tags/RELEASE_500/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/clang-5.0.0/bin
�[34m�[1mjq version�[0m
jq-1.5
�[34m�[1mbats version�[0m
Bats 0.4.0
�[34m�[1mshellcheck version�[0m
0.4.6
�[34m�[1mshfmt version�[0m
v2.0.0
�[34m�[1mccache version�[0m
ccache version 3.1.9

Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2011 Joel Rosdahl

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
�[34m�[1mcmake version�[0m
cmake version 3.9.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
�[34m�[1mheroku version�[0m
heroku-cli/6.14.39-addc925 (linux-x64) node-v9.2.0
�[34m�[1mimagemagick version�[0m
Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org
�[34m�[1mmd5deep version�[0m
4.2
�[34m�[1mmercurial version�[0m
Mercurial Distributed SCM (version 4.2.2)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2017 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
�[34m�[1mmysql version�[0m
mysql  Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using  EditLine wrapper
�[34m�[1mopenssl version�[0m
OpenSSL 1.0.1f 6 Jan 2014
�[34m�[1mpacker version�[0m
Packer v1.0.2

Your version of Packer is out of date! The latest version
is 1.1.2. You can update by downloading from www.packer.io
�[34m�[1mpostgresql client version�[0m
psql (PostgreSQL) 9.6.6
�[34m�[1mragel version�[0m
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
�[34m�[1msubversion version�[0m
svn, version 1.8.8 (r1568071)
   compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.3
  - handles 'http' scheme
  - handles 'https' scheme

�[34m�[1msudo version�[0m
Sudo version 1.8.9p5
Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p:  --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux
Sudoers policy plugin version 1.8.9p5
Sudoers file grammar version 43

Sudoers path: /etc/sudoers
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Root may run sudo
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 15.0 minutes
Password prompt timeout: 0.0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/lib/sudo
Default password prompt: [sudo] password for %p: 
Default user to run commands as: root
Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Path to the editor for use by visudo: /usr/bin/editor
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File descriptors >= 3 will be closed before executing a command
Environment variables to check for sanity:
	TZ
	TERM
	LINGUAS
	LC_*
	LANGUAGE
	LANG
	COLORTERM
Environment variables to remove:
	RUBYOPT
	RUBYLIB
	PYTHONUSERBASE
	PYTHONINSPECT
	PYTHONPATH
	PYTHONHOME
	TMPPREFIX
	ZDOTDIR
	READNULLCMD
	NULLCMD
	FPATH
	PERL5DB
	PERL5OPT
	PERL5LIB
	PERLLIB
	PERLIO_DEBUG 
	JAVA_TOOL_OPTIONS
	SHELLOPTS
	GLOBIGNORE
	PS4
	BASH_ENV
	ENV
	TERMCAP
	TERMPATH
	TERMINFO_DIRS
	TERMINFO
	_RLD*
	LD_*
	PATH_LOCALE
	NLSPATH
	HOSTALIASES
	RES_OPTIONS
	LOCALDOMAIN
	CDPATH
	IFS
Environment variables to preserve:
	JAVA_HOME
	TRAVIS
	CI
	DEBIAN_FRONTEND
	XAUTHORIZATION
	XAUTHORITY
	PS2
	PS1
	PATH
	LS_COLORS
	KRB5CCNAME
	HOSTNAME
	HOME
	DISPLAY
	COLORS
Locale to use while parsing sudoers: C
Directory in which to store input/output logs: /var/log/sudo-io
File in which to store the input/output log: %{seq}
Add an entry to the utmp/utmpx file when allocating a pty
PAM service name to use
PAM service name to use for login shells
Create a new PAM session for the command to run in
Maximum I/O log sequence number: 0

Local IP address and netmask pairs:
	10.240.0.28/255.255.255.255
	172.17.0.1/255.255.0.0

Sudoers I/O plugin version 1.8.9p5
�[34m�[1mgzip version�[0m
gzip 1.6
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.
�[34m�[1mzip version�[0m
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013.

Zip special compilation options:
	USE_EF_UT_TIME       (store Universal Time)
	BZIP2_SUPPORT        (bzip2 library version 1.0.6, 6-Sept-2010)
	    bzip2 code and library copyright (c) Julian R Seward
	    (See the bzip2 license for terms of use)
	SYMLINK_SUPPORT      (symbolic links supported)
	LARGE_FILE_SUPPORT   (can read and write large files on file system)
	ZIP64_SUPPORT        (use Zip64 to store large files in archives)
	UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
	STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
	UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
	[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
	The encryption code of this program is not copyrighted and is
	put in the public domain.  It was originally written in Europe
	and, to the best of our knowledge, can be freely distributed
	in both source and object forms from any country, including
	the USA under License Exception TSU of the U.S. Export
	Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
�[34m�[1mvim version�[0m
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18)
Included patches: 1-52
Extra patches: 8.0.0056
Modified by [email protected]
Compiled by buildd@
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         +gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
-clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            -ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        +mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl    -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions      
�[34m�[1miptables version�[0m
iptables v1.4.21
�[34m�[1mcurl version�[0m
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
�[34m�[1mwget version�[0m
GNU Wget 1.15 built on linux-gnu.
�[34m�[1mrsync version�[0m
rsync  version 3.1.0  protocol version 31
�[34m�[1mgimme version�[0m
v1.2.0
�[34m�[1mnvm version�[0m
0.33.6
�[34m�[1mperlbrew version�[0m
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.80
�[34m�[1mphpenv version�[0m
rbenv 1.1.1-25-g6aa70b6
�[34m�[1mrvm version�[0m
rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
�[34m�[1mdefault ruby version�[0m
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
�[34m�[1mCouchDB version�[0m
couchdb 1.6.1
�[34m�[1mElasticSearch version�[0m
5.5.0
�[34m�[1mInstalled Firefox version�[0m
firefox 56.0.2
�[34m�[1mMongoDB version�[0m
MongoDB 3.4.10
�[34m�[1mPhantomJS version�[0m
2.1.1
�[34m�[1mPre-installed PostgreSQL versions�[0m
9.2.24
9.3.20
9.4.15
9.5.10
9.6.6
�[34m�[1mRabbitMQ Version�[0m
3.6.14
�[34m�[1mRedis version�[0m
redis-server 4.0.6
�[34m�[1mriak version�[0m
2.2.3
�[34m�[1mPre-installed Go versions�[0m
1.7.4
�[34m�[1mant version�[0m
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
�[34m�[1mmvn version�[0m
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: /usr/local/maven-3.5.2
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-98-generic", arch: "amd64", family: "unix"
�[34m�[1mgradle version�[0m

------------------------------------------------------------
Gradle 4.0.1
------------------------------------------------------------

Build time:   2017-07-07 14:02:41 UTC
Revision:     38e5dc0f772daecca1d2681885d3d85414eb6826

Groovy:       2.4.11
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_151 (Oracle Corporation 25.151-b12)
OS:           Linux 4.4.0-98-generic amd64

�[34m�[1mlein version�[0m
Leiningen 2.8.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM
�[34m�[1mPre-installed Node.js versions�[0m
v4.8.6
v6.12.0
v6.12.1
v8.9
v8.9.1
�[34m�[1mphpenv versions�[0m
  system
  5.6
* 5.6.32 (set by /home/travis/.phpenv/version)
  7.0
  7.0.25
  7.1
  7.1.11
  hhvm
  hhvm-stable
�[34m�[1mcomposer --version�[0m
Composer version 1.5.2 2017-09-11 16:59:25
�[34m�[1mPre-installed Ruby versions�[0m
ruby-2.2.7
ruby-2.3.4
ruby-2.4.1
travis_fold:end:system_info
�[0K
travis_fold:start:docker_mtu
�[0Kdocker stop/waiting
docker start/running, process 3624
travis_fold:end:docker_mtu
�[0Ktravis_fold:start:resolvconf
�[0Kresolvconf stop/waiting
resolvconf start/running
travis_fold:end:resolvconf
�[0Ktravis_fold:start:services
�[0Ktravis_time:start:26b8eee4
�[0K$ sudo service docker start
start: Job is already running: docker
travis_time:end:26b8eee4:start=1562314626553408114,finish=1562314626566338504,duration=12930390
�[0Ktravis_fold:end:services
�[0K
travis_fold:start:git.checkout
�[0Ktravis_time:start:09ce1634
�[0K$ git clone --depth=50 --branch=Travis_problem https://github.com/remichristiaan/docker-formula.git remichristiaan/docker-formula
Cloning into 'remichristiaan/docker-formula'...
remote: Enumerating objects: 684, done.�[K
remote: Counting objects:   0% (1/684)   �[K
remote: Counting objects:   1% (7/684)   �[K
remote: Counting objects:   2% (14/684)   �[K
remote: Counting objects:   3% (21/684)   �[K
remote: Counting objects:   4% (28/684)   �[K
remote: Counting objects:   5% (35/684)   �[K
remote: Counting objects:   6% (42/684)   �[K
remote: Counting objects:   7% (48/684)   �[K
remote: Counting objects:   8% (55/684)   �[K
remote: Counting objects:   9% (62/684)   �[K
remote: Counting objects:  10% (69/684)   �[K
remote: Counting objects:  11% (76/684)   �[K
remote: Counting objects:  12% (83/684)   �[K
remote: Counting objects:  13% (89/684)   �[K
remote: Counting objects:  14% (96/684)   �[K
remote: Counting objects:  15% (103/684)   �[K
remote: Counting objects:  16% (110/684)   �[K
remote: Counting objects:  17% (117/684)   �[K
remote: Counting objects:  18% (124/684)   �[K
remote: Counting objects:  19% (130/684)   �[K
remote: Counting objects:  20% (137/684)   �[K
remote: Counting objects:  21% (144/684)   �[K
remote: Counting objects:  22% (151/684)   �[K
remote: Counting objects:  23% (158/684)   �[K
remote: Counting objects:  24% (165/684)   �[K
remote: Counting objects:  25% (171/684)   �[K
remote: Counting objects:  26% (178/684)   �[K
remote: Counting objects:  27% (185/684)   �[K
remote: Counting objects:  28% (192/684)   �[K
remote: Counting objects:  29% (199/684)   �[K
remote: Counting objects:  30% (206/684)   �[K
remote: Counting objects:  31% (213/684)   �[K
remote: Counting objects:  32% (219/684)   �[K
remote: Counting objects:  33% (226/684)   �[K
remote: Counting objects:  34% (233/684)   �[K
remote: Counting objects:  35% (240/684)   �[K
remote: Counting objects:  36% (247/684)   �[K
remote: Counting objects:  37% (254/684)   �[K
remote: Counting objects:  38% (260/684)   �[K
remote: Counting objects:  39% (267/684)   �[K
remote: Counting objects:  40% (274/684)   �[K
remote: Counting objects:  41% (281/684)   �[K
remote: Counting objects:  42% (288/684)   �[K
remote: Counting objects:  43% (295/684)   �[K
remote: Counting objects:  44% (301/684)   �[K
remote: Counting objects:  45% (308/684)   �[K
remote: Counting objects:  46% (315/684)   �[K
remote: Counting objects:  47% (322/684)   �[K
remote: Counting objects:  48% (329/684)   �[K
remote: Counting objects:  49% (336/684)   �[K
remote: Counting objects:  50% (342/684)   �[K
remote: Counting objects:  51% (349/684)   �[K
remote: Counting objects:  52% (356/684)   �[K
remote: Counting objects:  53% (363/684)   �[K
remote: Counting objects:  54% (370/684)   �[K
remote: Counting objects:  55% (377/684)   �[K
remote: Counting objects:  56% (384/684)   �[K
remote: Counting objects:  57% (390/684)   �[K
remote: Counting objects:  58% (397/684)   �[K
remote: Counting objects:  59% (404/684)   �[K
remote: Counting objects:  60% (411/684)   �[K
remote: Counting objects:  61% (418/684)   �[K
remote: Counting objects:  62% (425/684)   �[K
remote: Counting objects:  63% (431/684)   �[K
remote: Counting objects:  64% (438/684)   �[K
remote: Counting objects:  65% (445/684)   �[K
remote: Counting objects:  66% (452/684)   �[K
remote: Counting objects:  67% (459/684)   �[K
remote: Counting objects:  68% (466/684)   �[K
remote: Counting objects:  69% (472/684)   �[K
remote: Counting objects:  70% (479/684)   �[K
remote: Counting objects:  71% (486/684)   �[K
remote: Counting objects:  72% (493/684)   �[K
remote: Counting objects:  73% (500/684)   �[K
remote: Counting objects:  74% (507/684)   �[K
remote: Counting objects:  75% (513/684)   �[K
remote: Counting objects:  76% (520/684)   �[K
remote: Counting objects:  77% (527/684)   �[K
remote: Counting objects:  78% (534/684)   �[K
remote: Counting objects:  79% (541/684)   �[K
remote: Counting objects:  80% (548/684)   �[K
remote: Counting objects:  81% (555/684)   �[K
remote: Counting objects:  82% (561/684)   �[K
remote: Counting objects:  83% (568/684)   �[K
remote: Counting objects:  84% (575/684)   �[K
remote: Counting objects:  85% (582/684)   �[K
remote: Counting objects:  86% (589/684)   �[K
remote: Counting objects:  87% (596/684)   �[K
remote: Counting objects:  88% (602/684)   �[K
remote: Counting objects:  89% (609/684)   �[K
remote: Counting objects:  90% (616/684)   �[K
remote: Counting objects:  91% (623/684)   �[K
remote: Counting objects:  92% (630/684)   �[K
remote: Counting objects:  93% (637/684)   �[K
remote: Counting objects:  94% (643/684)   �[K
remote: Counting objects:  95% (650/684)   �[K
remote: Counting objects:  96% (657/684)   �[K
remote: Counting objects:  97% (664/684)   �[K
remote: Counting objects:  98% (671/684)   �[K
remote: Counting objects:  99% (678/684)   �[K
remote: Counting objects: 100% (684/684)   �[K
remote: Counting objects: 100% (684/684), done.�[K
remote: Compressing objects:   0% (1/258)   �[K
remote: Compressing objects:   1% (3/258)   �[K
remote: Compressing objects:   2% (6/258)   �[K
remote: Compressing objects:   3% (8/258)   �[K
remote: Compressing objects:   4% (11/258)   �[K
remote: Compressing objects:   5% (13/258)   �[K
remote: Compressing objects:   6% (16/258)   �[K
remote: Compressing objects:   7% (19/258)   �[K
remote: Compressing objects:   8% (21/258)   �[K
remote: Compressing objects:   9% (24/258)   �[K
remote: Compressing objects:  10% (26/258)   �[K
remote: Compressing objects:  11% (29/258)   �[K
remote: Compressing objects:  12% (31/258)   �[K
remote: Compressing objects:  13% (34/258)   �[K
remote: Compressing objects:  14% (37/258)   �[K
remote: Compressing objects:  15% (39/258)   �[K
remote: Compressing objects:  16% (42/258)   �[K
remote: Compressing objects:  17% (44/258)   �[K
remote: Compressing objects:  18% (47/258)   �[K
remote: Compressing objects:  19% (50/258)   �[K
remote: Compressing objects:  20% (52/258)   �[K
remote: Compressing objects:  21% (55/258)   �[K
remote: Compressing objects:  22% (57/258)   �[K
remote: Compressing objects:  23% (60/258)   �[K
remote: Compressing objects:  24% (62/258)   �[K
remote: Compressing objects:  25% (65/258)   �[K
remote: Compressing objects:  26% (68/258)   �[K
remote: Compressing objects:  27% (70/258)   �[K
remote: Compressing objects:  28% (73/258)   �[K
remote: Compressing objects:  29% (75/258)   �[K
remote: Compressing objects:  30% (78/258)   �[K
remote: Compressing objects:  31% (80/258)   �[K
remote: Compressing objects:  32% (83/258)   �[K
remote: Compressing objects:  33% (86/258)   �[K
remote: Compressing objects:  34% (88/258)   �[K
remote: Compressing objects:  35% (91/258)   �[K
remote: Compressing objects:  36% (93/258)   �[K
remote: Compressing objects:  37% (96/258)   �[K
remote: Compressing objects:  38% (99/258)   �[K
remote: Compressing objects:  39% (101/258)   �[K
remote: Compressing objects:  40% (104/258)   �[K
remote: Compressing objects:  41% (106/258)   �[K
remote: Compressing objects:  42% (109/258)   �[K
remote: Compressing objects:  43% (111/258)   �[K
remote: Compressing objects:  44% (114/258)   �[K
remote: Compressing objects:  45% (117/258)   �[K
remote: Compressing objects:  46% (119/258)   �[K
remote: Compressing objects:  47% (122/258)   �[K
remote: Compressing objects:  48% (124/258)   �[K
remote: Compressing objects:  49% (127/258)   �[K
remote: Compressing objects:  50% (129/258)   �[K
remote: Compressing objects:  51% (132/258)   �[K
remote: Compressing objects:  52% (135/258)   �[K
remote: Compressing objects:  53% (137/258)   �[K
remote: Compressing objects:  54% (140/258)   �[K
remote: Compressing objects:  55% (142/258)   �[K
remote: Compressing objects:  56% (145/258)   �[K
remote: Compressing objects:  57% (148/258)   �[K
remote: Compressing objects:  58% (150/258)   �[K
remote: Compressing objects:  59% (153/258)   �[K
remote: Compressing objects:  60% (155/258)   �[K
remote: Compressing objects:  61% (158/258)   �[K
remote: Compressing objects:  62% (160/258)   �[K
remote: Compressing objects:  63% (163/258)   �[K
remote: Compressing objects:  64% (166/258)   �[K
remote: Compressing objects:  65% (168/258)   �[K
remote: Compressing objects:  66% (171/258)   �[K
remote: Compressing objects:  67% (173/258)   �[K
remote: Compressing objects:  68% (176/258)   �[K
remote: Compressing objects:  69% (179/258)   �[K
remote: Compressing objects:  70% (181/258)   �[K
remote: Compressing objects:  71% (184/258)   �[K
remote: Compressing objects:  72% (186/258)   �[K
remote: Compressing objects:  73% (189/258)   �[K
remote: Compressing objects:  74% (191/258)   �[K
remote: Compressing objects:  75% (194/258)   �[K
remote: Compressing objects:  76% (197/258)   �[K
remote: Compressing objects:  77% (199/258)   �[K
remote: Compressing objects:  78% (202/258)   �[K
remote: Compressing objects:  79% (204/258)   �[K
remote: Compressing objects:  80% (207/258)   �[K
remote: Compressing objects:  81% (209/258)   �[K
remote: Compressing objects:  82% (212/258)   �[K
remote: Compressing objects:  83% (215/258)   �[K
remote: Compressing objects:  84% (217/258)   �[K
remote: Compressing objects:  85% (220/258)   �[K
remote: Compressing objects:  86% (222/258)   �[K
remote: Compressing objects:  87% (225/258)   �[K
remote: Compressing objects:  88% (228/258)   �[K
remote: Compressing objects:  89% (230/258)   �[K
remote: Compressing objects:  90% (233/258)   �[K
remote: Compressing objects:  91% (235/258)   �[K
remote: Compressing objects:  92% (238/258)   �[K
remote: Compressing objects:  93% (240/258)   �[K
remote: Compressing objects:  94% (243/258)   �[K
remote: Compressing objects:  95% (246/258)   �[K
remote: Compressing objects:  96% (248/258)   �[K
remote: Compressing objects:  97% (251/258)   �[K
remote: Compressing objects:  98% (253/258)   �[K
remote: Compressing objects:  99% (256/258)   �[K
remote: Compressing objects: 100% (258/258)   �[K
remote: Compressing objects: 100% (258/258), done.�[K
Receiving objects:   0% (1/684)   
Receiving objects:   1% (7/684)   
Receiving objects:   2% (14/684)   
Receiving objects:   3% (21/684)   
Receiving objects:   4% (28/684)   
Receiving objects:   5% (35/684)   
Receiving objects:   6% (42/684)   
Receiving objects:   7% (48/684)   
Receiving objects:   8% (55/684)   
Receiving objects:   9% (62/684)   
Receiving objects:  10% (69/684)   
Receiving objects:  11% (76/684)   
Receiving objects:  12% (83/684)   
Receiving objects:  13% (89/684)   
Receiving objects:  14% (96/684)   
Receiving objects:  15% (103/684)   
Receiving objects:  16% (110/684)   
Receiving objects:  17% (117/684)   
Receiving objects:  18% (124/684)   
Receiving objects:  19% (130/684)   
Receiving objects:  20% (137/684)   
Receiving objects:  21% (144/684)   
Receiving objects:  22% (151/684)   
Receiving objects:  23% (158/684)   
Receiving objects:  24% (165/684)   
Receiving objects:  25% (171/684)   
Receiving objects:  26% (178/684)   
Receiving objects:  27% (185/684)   
Receiving objects:  28% (192/684)   
Receiving objects:  29% (199/684)   
Receiving objects:  30% (206/684)   
Receiving objects:  31% (213/684)   
Receiving objects:  32% (219/684)   
Receiving objects:  33% (226/684)   
Receiving objects:  34% (233/684)   
Receiving objects:  35% (240/684)   
Receiving objects:  36% (247/684)   
Receiving objects:  37% (254/684)   
Receiving objects:  38% (260/684)   
Receiving objects:  39% (267/684)   
Receiving objects:  40% (274/684)   
Receiving objects:  41% (281/684)   
Receiving objects:  42% (288/684)   
Receiving objects:  43% (295/684)   
Receiving objects:  44% (301/684)   
Receiving objects:  45% (308/684)   
Receiving objects:  46% (315/684)   
Receiving objects:  47% (322/684)   
Receiving objects:  48% (329/684)   
Receiving objects:  49% (336/684)   
Receiving objects:  50% (342/684)   
Receiving objects:  51% (349/684)   
Receiving objects:  52% (356/684)   
Receiving objects:  53% (363/684)   
Receiving objects:  54% (370/684)   
Receiving objects:  55% (377/684)   
Receiving objects:  56% (384/684)   
Receiving objects:  57% (390/684)   
Receiving objects:  58% (397/684)   
Receiving objects:  59% (404/684)   
Receiving objects:  60% (411/684)   
Receiving objects:  61% (418/684)   
Receiving objects:  62% (425/684)   
Receiving objects:  63% (431/684)   
Receiving objects:  64% (438/684)   
Receiving objects:  65% (445/684)   
Receiving objects:  66% (452/684)   
remote: Total 684 (delta 437), reused 632 (delta 400), pack-reused 0�[K
Receiving objects:  67% (459/684)   
Receiving objects:  68% (466/684)   
Receiving objects:  69% (472/684)   
Receiving objects:  70% (479/684)   
Receiving objects:  71% (486/684)   
Receiving objects:  72% (493/684)   
Receiving objects:  73% (500/684)   
Receiving objects:  74% (507/684)   
Receiving objects:  75% (513/684)   
Receiving objects:  76% (520/684)   
Receiving objects:  77% (527/684)   
Receiving objects:  78% (534/684)   
Receiving objects:  79% (541/684)   
Receiving objects:  80% (548/684)   
Receiving objects:  81% (555/684)   
Receiving objects:  82% (561/684)   
Receiving objects:  83% (568/684)   
Receiving objects:  84% (575/684)   
Receiving objects:  85% (582/684)   
Receiving objects:  86% (589/684)   
Receiving objects:  87% (596/684)   
Receiving objects:  88% (602/684)   
Receiving objects:  89% (609/684)   
Receiving objects:  90% (616/684)   
Receiving objects:  91% (623/684)   
Receiving objects:  92% (630/684)   
Receiving objects:  93% (637/684)   
Receiving objects:  94% (643/684)   
Receiving objects:  95% (650/684)   
Receiving objects:  96% (657/684)   
Receiving objects:  97% (664/684)   
Receiving objects:  98% (671/684)   
Receiving objects:  99% (678/684)   
Receiving objects: 100% (684/684)   
Receiving objects: 100% (684/684), 128.68 KiB | 4.15 MiB/s, done.
Resolving deltas:   0% (0/437)   
Resolving deltas:   1% (5/437)   
Resolving deltas:   2% (9/437)   
Resolving deltas:   4% (19/437)   
Resolving deltas:   8% (37/437)   
Resolving deltas:   9% (40/437)   
Resolving deltas:  11% (49/437)   
Resolving deltas:  14% (63/437)   
Resolving deltas:  16% (73/437)   
Resolving deltas:  18% (82/437)   
Resolving deltas:  19% (84/437)   
Resolving deltas:  20% (89/437)   
Resolving deltas:  21% (95/437)   
Resolving deltas:  23% (103/437)   
Resolving deltas:  24% (108/437)   
Resolving deltas:  25% (113/437)   
Resolving deltas:  26% (114/437)   
Resolving deltas:  27% (119/437)   
Resolving deltas:  29% (128/437)   
Resolving deltas:  30% (134/437)   
Resolving deltas:  41% (181/437)   
Resolving deltas:  45% (200/437)   
Resolving deltas:  47% (206/437)   
Resolving deltas:  52% (229/437)   
Resolving deltas:  56% (249/437)   
Resolving deltas:  57% (251/437)   
Resolving deltas:  61% (269/437)   
Resolving deltas:  70% (306/437)   
Resolving deltas:  71% (311/437)   
Resolving deltas:  73% (322/437)   
Resolving deltas:  74% (327/437)   
Resolving deltas:  79% (347/437)   
Resolving deltas:  84% (369/437)   
Resolving deltas:  95% (417/437)   
Resolving deltas:  96% (420/437)   
Resolving deltas:  97% (426/437)   
Resolving deltas:  98% (432/437)   
Resolving deltas:  99% (434/437)   
Resolving deltas: 100% (437/437)   
Resolving deltas: 100% (437/437), done.
travis_time:end:09ce1634:start=1562314629572218760,finish=1562314630302001388,duration=729782628
�[0K$ cd remichristiaan/docker-formula
$ git checkout -qf d55ba64856e34d16687926ea1f40b73c339e615e
travis_fold:end:git.checkout
�[0K

�[33;1mSetting environment variables from .travis.yml�[0m
$ export INSTANCE=default-ubuntu-1804-2019-2-py3

travis_time:start:0337c258
�[0K$ source ~/virtualenv/python3.6/bin/activate
travis_time:end:0337c258:start=1562314630313293259,finish=1562314630318723232,duration=5429973
�[0K$ python --version
Python 3.6.3
$ pip --version
pip 9.0.1 from /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages (python 3.6)
travis_fold:start:before_install
�[0Ktravis_time:start:060c5763
�[0K$ bundle install
Fetching gem metadata from https://rubygems.org/.........
�[32mFetching artifactory 2.5.0�[0m
�[32mInstalling artifactory 2.5.0�[0m
Using bundler 1.16.0
�[32mFetching mixlib-shellout 2.2.7�[0m
�[32mInstalling mixlib-shellout 2.2.7�[0m
�[32mFetching mixlib-versioning 1.1.0�[0m
�[32mInstalling mixlib-versioning 1.1.0�[0m
�[32mFetching thor 0.19.1�[0m
�[32mInstalling thor 0.19.1�[0m
�[32mFetching mixlib-install 2.1.4�[0m
�[32mInstalling mixlib-install 2.1.4�[0m
�[32mFetching net-ssh 3.2.0�[0m
�[32mInstalling net-ssh 3.2.0�[0m
�[32mFetching net-scp 1.2.1�[0m
�[32mInstalling net-scp 1.2.1�[0m
�[32mFetching net-ssh-gateway 1.2.0�[0m
�[32mInstalling net-ssh-gateway 1.2.0�[0m
�[32mFetching safe_yaml 1.0.4�[0m
�[32mInstalling safe_yaml 1.0.4�[0m
�[32mFetching test-kitchen 1.13.2�[0m
�[32mInstalling test-kitchen 1.13.2�[0m
�[32mFetching kitchen-docker 2.6.0�[0m
�[32mInstalling kitchen-docker 2.6.0�[0m
�[32mFetching kitchen-salt 0.0.24�[0m
�[32mInstalling kitchen-salt 0.0.24�[0m
�[32mBundle complete! 3 Gemfile dependencies, 13 gems now installed.�[0m
�[32mUse `bundle info [gemname]` to see where a bundled gem is installed.�[0m
travis_time:end:060c5763:start=1562314631081689282,finish=1562314636462496115,duration=5380806833
�[0Ktravis_fold:end:before_install
�[0Ktravis_fold:start:install
�[0Ktravis_time:start:2c70e503
�[0K$ pip install -r requirements.txt
Collecting py==1.4.31 (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/19/f2/4b71181a49a4673a12c8f5075b8744c5feb0ed9eba352dd22512d2c04d47/py-1.4.31-py2.py3-none-any.whl (81kB)
�[?25l
�[K    12% |████                            | 10kB 27.5MB/s eta 0:00:01
�[K    24% |████████                        | 20kB 2.2MB/s eta 0:00:01
�[K    37% |████████████                    | 30kB 3.2MB/s eta 0:00:01
�[K    49% |████████████████                | 40kB 2.1MB/s eta 0:00:01
�[K    62% |████████████████████            | 51kB 2.6MB/s eta 0:00:01
�[K    74% |████████████████████████        | 61kB 3.1MB/s eta 0:00:01
�[K    87% |████████████████████████████    | 71kB 3.5MB/s eta 0:00:01
�[K    99% |████████████████████████████████| 81kB 4.0MB/s eta 0:00:01
�[K    100% |████████████████████████████████| 92kB 3.4MB/s 
�[?25hCollecting pytest==3.0.3 (from -r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/a4/e9/bf75a9a91c4a545bad262937d1defa90d95ac912118a706406e21aef889a/pytest-3.0.3-py2.py3-none-any.whl (169kB)
�[?25l
�[K    6% |██                              | 10kB 26.1MB/s eta 0:00:01
�[K    12% |███▉                            | 20kB 29.2MB/s eta 0:00:01
�[K    18% |█████▉                          | 30kB 30.2MB/s eta 0:00:01
�[K    24% |███████▊                        | 40kB 32.3MB/s eta 0:00:01
�[K    30% |█████████▋                      | 51kB 33.2MB/s eta 0:00:01
�[K    36% |███████████▋                    | 61kB 33.8MB/s eta 0:00:01
�[K    42% |█████████████▌                  | 71kB 33.9MB/s eta 0:00:01
�[K    48% |███████████████�                | 81kB 8.8MB/s eta 0:00:01
�[K    54% |█████████████████�              | 92kB 9.7MB/s eta 0:00:01
�[K    60% |███████████████████▎            | 102kB 10.5MB/s eta 0:00:01
�[K    66% |█████████████████████�          | 112kB 10.6MB/s eta 0:00:01
�[K    72% |███████████████████████�        | 122kB 10.7MB/s eta 0:00:01
�[K    78% |█████████████████████████       | 133kB 10.7MB/s eta 0:00:01
�[K    84% |███████████████████████████     | 143kB 10.7MB/s eta 0:00:01
�[K    90% |██████████████���██████████████   | 153kB 10.7MB/s eta 0:00:01
�[K    96% |██████████████████████████████▉ | 163kB 10.7MB/s eta 0:00:01
�[K    100% |████████████████████████████████| 174kB 4.8MB/s 
�[?25hCollecting six==1.10.0 (from -r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting testinfra==1.4.2 (from -r requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/9e/84/08b648219851438f0be3463adaa8b9b64ebd6da1c8baf72190568be0375b/testinfra-1.4.2-py2.py3-none-any.whl (56kB)
�[?25l
�[K    18% |█████▊                          | 10kB 32.6MB/s eta 0:00:01
�[K    36% |███████████▌                    | 20kB 34.5MB/s eta 0:00:01
�[K    54% |█████████████████▎              | 30kB 36.7MB/s eta 0:00:01
�[K    72% |███████████████████████         | 40kB 37.8MB/s eta 0:00:01
�[K    90% |████████████████████████████▉   | 51kB 38.2MB/s eta 0:00:01
�[K    100% |████████████████████████████████| 61kB 10.6MB/s 
�[?25hInstalling collected packages: py, pytest, six, testinfra
  Found existing installation: py 1.5.2
    Uninstalling py-1.5.2:
      Successfully uninstalled py-1.5.2
  Found existing installation: pytest 3.3.0
    Uninstalling pytest-3.3.0:
      Successfully uninstalled pytest-3.3.0
  Found existing installation: six 1.11.0
    Uninstalling six-1.11.0:
      Successfully uninstalled six-1.11.0
Successfully installed py-1.4.31 pytest-3.0.3 six-1.10.0 testinfra-1.4.2
travis_time:end:2c70e503:start=1562314636466667697,finish=1562314638044104096,duration=1577436399
�[0Ktravis_fold:end:install
�[0Ktravis_time:start:371136b8
�[0K$ bundle exec kitchen verify ${INSTANCE}
-----> Starting Kitchen (v1.13.2)
�[36m-----> Creating <default-ubuntu-1804-2019-2-py3>...�[0m
�[36m       Sending build context to Docker daemon  281.6kB
�[0m
�[36m       Step 1/17 : FROM netmanagers/salt-2019.2-py3:ubuntu-18.04�[0m
�[36m       ubuntu-18.04: Pulling from netmanagers/salt-2019.2-py3�[0m
�[36m       5b7339215d1d: Pulling fs layer�[0m
�[36m       14ca88e9f672: Pulling fs layer�[0m
�[36m       a31c3b1caad4: Pulling fs layer�[0m
�[36m       b054a26005b7: Pulling fs layer�[0m
�[36m       0944244b28d6: Pulling fs layer�[0m
�[36m       b054a26005b7: Waiting�[0m
�[36m       0944244b28d6: Waiting�[0m
�[36m       14ca88e9f672: Verifying Checksum�[0m
�[36m       14ca88e9f672: Download complete�[0m
�[36m       a31c3b1caad4: Verifying Checksum�[0m
�[36m       a31c3b1caad4: Download complete�[0m
�[36m       5b7339215d1d: Verifying Checksum�[0m
�[36m       5b7339215d1d: Download complete�[0m
�[36m       b054a26005b7: Verifying Checksum�[0m
�[36m       b054a26005b7: Download complete�[0m
�[36m       5b7339215d1d: Pull complete�[0m
�[36m       14ca88e9f672: Pull complete�[0m
�[36m       a31c3b1caad4: Pull complete�[0m
�[36m       b054a26005b7: Pull complete�[0m
�[36m       0944244b28d6: Verifying Checksum�[0m
�[36m       0944244b28d6: Download complete�[0m
�[36m       0944244b28d6: Pull complete�[0m
�[36m       Digest: sha256:ca491a8776ece7159fc3036e0d5ab1f08283ffe530548439ea7957c7c187907f�[0m
�[36m       Status: Downloaded newer image for netmanagers/salt-2019.2-py3:ubuntu-18.04�[0m
�[36m        ---> 453abdd12cde�[0m
�[36m       Step 2/17 : RUN dpkg-divert --local --rename --add /sbin/initctl�[0m
�[36m        ---> Running in 9af96cff0701�[0m
�[36m       Leaving 'local diversion of /sbin/initctl to /sbin/initctl.distrib'�[0m
�[36m        ---> b2c637e9438f�[0m
�[36m       Removing intermediate container 9af96cff0701�[0m
�[36m       Step 3/17 : RUN ln -sf /bin/true /sbin/initctl�[0m
�[36m        ---> Running in ddd44ba21fd0�[0m
�[36m        ---> f46cffa12a2c�[0m
�[36m       Removing intermediate container ddd44ba21fd0�[0m
�[36m       Step 4/17 : ENV DEBIAN_FRONTEND noninteractive�[0m
�[36m        ---> Running in bb5fff27b61d�[0m
�[36m        ---> 4a1122f28273�[0m
�[36m       Removing intermediate container bb5fff27b61d�[0m
�[36m       Step 5/17 : ENV container docker�[0m
�[36m        ---> Running in 1276ef8591f5�[0m
�[36m        ---> ce3fa0c93ca4�[0m
�[36m       Removing intermediate container 1276ef8591f5�[0m
�[36m       Step 6/17 : RUN apt-get update�[0m
�[36m        ---> Running in daa0b1c49af5�[0m
�[36m       
0% [Working]
            
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]�[0m
�[36m       
0% [Connecting to archive.ubuntu.com (91.189.88.24)] [1 InRelease 2269 B/88.7 k
                                                                               
0% [Waiting for headers] [Waiting for headers]
0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] [Waiting for headers]
                                                                         
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease�[0m
�[36m       
0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] [Waiting for headers]
                                                                         
Hit:3 https://repo.saltstack.com/py3/ubuntu/18.04/amd64/2019.2 bionic InRelease�[0m
�[36m       
                                                                         
0% [1 InRelease gpgv 88.7 kB] [Waiting for headers]
                                                   
0% [Waiting for headers]
0% [2 InRelease gpgv 242 kB] [Waiting for headers] [Waiting for headers]
                                                                        
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]�[0m
�[36m       
0% [2 InRelease gpgv 242 kB] [4 InRelease 2284 B/88.7 kB 3%] [Waiting for heade
                                                                               
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [576 kB]�[0m
�[36m       
0% [2 InRelease gpgv 242 kB] [4 InRelease 2284 B/88.7 kB 3%] [5 Packages 2367 B
                                                                               
0% [4 InRelease 13.9 kB/88.7 kB 16%] [5 Packages 84.8 kB/576 kB 15%]
0% [3 InRelease gpgv 2126 B] [4 InRelease 13.9 kB/88.7 kB 16%] [5 Packages 87.4
                                                                               
0% [4 InRelease 21.6 kB/88.7 kB 24%] [5 Packages 282 kB/576 kB 49%]
                                                                   
0% [4 InRelease 21.6 kB/88.7 kB 24%]
0% [5 Packages store 0 B] [4 InRelease 21.6 kB/88.7 kB 24%]
                                                           
0% [4 InRelease 21.6 kB/88.7 kB 24%]
                                    
0% [Working]
0% [4 InRelease gpgv 88.7 kB] [Waiting for headers]
                                                   
0% [Waiting for headers]
                        
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]�[0m
�[36m       
0% [6 InRelease 2284 B/74.6 kB 3%]
                                  
0% [Working]
0% [6 InRelease gpgv 74.6 kB] [Waiting for headers]
                                                   
41% [Waiting for headers]
                         
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1238 kB]�[0m
�[36m       
41% [7 Packages 1077 B/1238 kB 0%]
44% [7 Packages 103 kB/1238 kB 8%]
48% [7 Packages 226 kB/1238 kB 18%]
51% [7 Packages 346 kB/1238 kB 28%]
54% [7 Packages 451 kB/1238 kB 36%]
57% [7 Packages 569 kB/1238 kB 46%]
60% [7 Packages 690 kB/1238 kB 56%]
62% [7 Packages 769 kB/1238 kB 62%]
66% [7 Packages 899 kB/1238 kB 73%]
69% [7 Packages 1030 kB/1238 kB 83%]
72% [7 Packages 1119 kB/1238 kB 90%]                                302 kB/s 3s
74% [7 Packages 1203 kB/1238 kB 97%]                                302 kB/s 3s
75% [Waiting for headers]                                           302 kB/s 2s
                                                                               
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [882 kB]�[0m
�[36m       
75% [8 Packages 5488 B/882 kB 1%]                                   302 kB/s 2s
75% [7 Packages store 0 B] [8 Packages 5488 B/882 kB 1%]            302 kB/s 2s
77% [8 Packages 35.1 kB/882 kB 4%]                                  302 kB/s 2s
79% [8 Packages 121 kB/882 kB 14%]                                  302 kB/s 2s
81% [8 Packages 188 kB/882 kB 21%]                                  302 kB/s 2s
85% [8 Packages 333 kB/882 kB 38%]                                  302 kB/s 1s
89% [8 Packages 488 kB/882 kB 55%]                                  302 kB/s 1s
93% [8 Packages 640 kB/882 kB 73%]                                  302 kB/s 0s
95% [8 Packages 731 kB/882 kB 83%]                                  302 kB/s 0s
98% [8 Packages 831 kB/882 kB 94%]                                  302 kB/s 0s
99% [Working]                                                       302 kB/s 0s
99% [8 Packages store 0 B]                                          302 kB/s 0s
100% [Working]                                                      302 kB/s 0s
                                                                               
Fetched 2948 kB in 11s (269 kB/s)�[0m
�[36m       
Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 8%

Reading package lists... 8%

Reading package lists... 73%

Reading package lists... 73%

Reading package lists... 74%

Reading package lists... 74%

Reading package lists... 75%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... Done
�[0m
�[36m        ---> dfdb46658bdd�[0m
�[36m       Removing intermediate container daa0b1c49af5�[0m
�[36m       Step 7/17 : RUN apt-get install -y sudo openssh-server curl lsb-release�[0m
�[36m        ---> Running in b113baed950b�[0m
�[36m       
Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 8%

Reading package lists... 8%

Reading package lists... 73%

Reading package lists... 73%

Reading package lists... 74%

Reading package lists... 74%

Reading package lists... 75%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 80%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... Done
�[0m
�[36m       
Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       
�[0m
�[36m       
Reading state information... 0%

Reading state information... 0%

Reading state information... Done
�[0m
�[36m       lsb-release is already the newest version (9.20170808ubuntu1).�[0m
�[36m       sudo is already the newest version (1.8.21p2-3ubuntu1).�[0m
�[36m       curl is already the newest version (7.58.0-2ubuntu3.7).�[0m
�[36m       openssh-server is already the newest version (1:7.6p1-4ubuntu0.3).�[0m
�[36m       0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.�[0m
�[36m        ---> ce4d78974fc2�[0m
�[36m       Removing intermediate container b113baed950b�[0m
�[36m       Step 8/17 : RUN if ! getent passwd kitchen; then                 useradd -d /home/kitchen -m -s /bin/bash -p '*' kitchen;               fi�[0m
�[36m        ---> Running in eb199d0a95bb�[0m
�[36m        ---> fa9713a50ae8�[0m
�[36m       Removing intermediate container eb199d0a95bb�[0m
�[36m       Step 9/17 : RUN echo "kitchen ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers�[0m
�[36m        ---> Running in 40a764271e63�[0m
�[36m        ---> 08c7f98c4be4�[0m
�[36m       Removing intermediate container 40a764271e63�[0m
�[36m       Step 10/17 : RUN echo "Defaults !requiretty" >> /etc/sudoers�[0m
�[36m        ---> Running in 386f3b62b006�[0m
�[36m        ---> 864e6aa3aa1e�[0m
�[36m       Removing intermediate container 386f3b62b006�[0m
�[36m       Step 11/17 : RUN mkdir -p /home/kitchen/.ssh�[0m
�[36m        ---> Running in 4e706bff8a3b�[0m
�[36m        ---> 8ff1c250c7f3�[0m
�[36m       Removing intermediate container 4e706bff8a3b�[0m
�[36m       Step 12/17 : RUN chown -R kitchen /home/kitchen/.ssh�[0m
�[36m        ---> Running in ccded57634f5�[0m
�[36m        ---> dbb5985877aa�[0m
�[36m       Removing intermediate container ccded57634f5�[0m
�[36m       Step 13/17 : RUN chmod 0700 /home/kitchen/.ssh�[0m
�[36m        ---> Running in a26abd655121�[0m
�[36m        ---> 1d96b2c3af59�[0m
�[36m       Removing intermediate container a26abd655121�[0m
�[36m       Step 14/17 : RUN touch /home/kitchen/.ssh/authorized_keys�[0m
�[36m        ---> Running in ade8a995e609�[0m
�[36m        ---> 51b8f58ea246�[0m
�[36m       Removing intermediate container ade8a995e609�[0m
�[36m       Step 15/17 : RUN chown kitchen /home/kitchen/.ssh/authorized_keys�[0m
�[36m        ---> Running in e7eb169215fd�[0m
�[36m        ---> 85c612d3c31d�[0m
�[36m       Removing intermediate container e7eb169215fd�[0m
�[36m       Step 16/17 : RUN chmod 0600 /home/kitchen/.ssh/authorized_keys�[0m
�[36m        ---> Running in 13e0785dba53�[0m
�[36m        ---> 7d84cded808e�[0m
�[36m       Removing intermediate container 13e0785dba53�[0m
�[36m       Step 17/17 : RUN echo ssh-rsa\ AAAAB3NzaC1yc2EAAAADAQABAAABAQCUzkvDPopA1aGc9ksH\+BJ/Iph/NQKIe5tqIZ21kx/Zgq5CW/uSya2GIMrDLEmsl3G6eEOa2UD4aaKB0BP8x3K1eulKRjM9Nz2T8H3HhD8yO7CKDb6kt9CvuqKItp6w/IOYar2XRg0ACj6Huwmtr1R5I6xVOi6V\+0eQTiFiW6XPPry8iTemZ7Cbvmi8VIX\+YvJZSKZXWGMwxC/ebs\+MQAS\+EqPeq32iMlXFwvZ9Zr0cX\+Mdjsektey09OCaEnnyduzK0\+XdPY\+5/KoplZgabOhBOFiLMOflnX0QViM43eUyk7anaDn23Ki57T\+dEfHlQYbyYHoIIoNgWwZ8ArC8syar\ kitchen_docker_key >> /home/kitchen/.ssh/authorized_keys�[0m
�[36m        ---> Running in 7bcea8fcad63�[0m
�[36m        ---> 66059d651d69�[0m
�[36m       Removing intermediate container 7bcea8fcad63�[0m
�[36m       Successfully built 66059d651d69�[0m
�[36m       e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4�[0m
�[36m       0.0.0.0:32768�[0m
�[36m       Waiting for SSH service on localhost:32768, retrying in 3 seconds�[0m
/home/travis/.rvm/gems/ruby-2.4.1/gems/net-ssh-3.2.0/lib/net/ssh/transport/cipher_factory.rb:97: warning: constant OpenSSL::Cipher::Cipher is deprecated
/home/travis/.rvm/gems/ruby-2.4.1/gems/net-ssh-3.2.0/lib/net/ssh/transport/cipher_factory.rb:72: warning: constant OpenSSL::Cipher::Cipher is deprecated
�[36m       [SSH] Established�[0m
�[36m       Finished creating <default-ubuntu-1804-2019-2-py3> (0m42.85s).�[0m
�[36m-----> Converging <default-ubuntu-1804-2019-2-py3>...�[0m
�[36m       Preparing files for transfer�[0m
�[36m       Preparing salt-minion�[0m
�[36m       Preparing pillars into /srv/pillar�[0m
�[36m       Preparing formula: docker from /home/travis/build/remichristiaan/docker-formula�[0m
�[36m       Preparing state_top�[0m
�[36m       You asked for latest and you have 2019.2.0 installed, sweet!�[0m
�[36m       Transferring files to <default-ubuntu-1804-2019-2-py3>�[0m
�[36m       [ERROR   ] The named service docker is not available�[0m
�[36m       �[0;32mlocal:�[0;0m�[0m
�[36m       �[0;32m----------�[0;0m�[0m
�[36m           �[0;32m      ID: docker-packages-cleaned-service-dead�[0;0m�[0m
�[36m           �[0;32mFunction: service.dead�[0;0m�[0m
�[36m           �[0;32m    Name: docker�[0;0m�[0m
�[36m           �[0;32m  Result: True�[0;0m�[0m
�[36m           �[0;32m Comment: The named service docker is not available�[0;0m�[0m
�[36m           �[0;32m Started: 08:18:07.234264�[0;0m�[0m
�[36m           �[0;32mDuration: 3712.407 ms�[0;0m�[0m
�[36m       �[0;32m     Changes:   �[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-packages-cleaned�[0;0m�[0m
�[36m           �[0;36mFunction: pkg.removed�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: The following packages were not installed: docker, docker-ce, docker-client, docker-client-latest, docker-common, docker-engine, docker-engine-selinux, docker-latest, docker-latest-logrotate, docker-logrotate, docker-selinux, docker.io, python-pip The following packages were removed: apt-transport-https, python-apt.�[0;0m�[0m
�[36m           �[0;36m Started: 08:18:10.955981�[0;0m�[0m
�[36m           �[0;36mDuration: 1760.889 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mapt-transport-https�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m                      �[0;32m1.6.11�[0;0m�[0m
�[36m              �[0;36mpython-apt�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m                      �[0;32m1.6.4�[0;0m�[0;0m�[0m
�[36m       �[0;32m----------�[0;0m�[0m
�[36m           �[0;32m      ID: docker-pips-removed�[0;0m�[0m
�[36m           �[0;32mFunction: pip.removed�[0;0m�[0m
�[36m           �[0;32m    Name: docker-compose�[0;0m�[0m
�[36m           �[0;32m  Result: True�[0;0m�[0m
�[36m           �[0;32m Comment: onlyif condition is false�[0;0m�[0m
�[36m           �[0;32m Started: 08:18:17.738123�[0;0m�[0m
�[36m           �[0;32mDuration: 563.429 ms�[0;0m�[0m
�[36m       �[0;32m     Changes:   �[0;0m�[0m
�[36m       �[0;32m----------�[0;0m�[0m
�[36m           �[0;32m      ID: docker-pips-removed�[0;0m�[0m
�[36m           �[0;32mFunction: pip.removed�[0;0m�[0m
�[36m           �[0;32m    Name: docker�[0;0m�[0m
�[36m           �[0;32m  Result: True�[0;0m�[0m
�[36m           �[0;32m Comment: onlyif condition is false�[0;0m�[0m
�[36m           �[0;32m Started: 08:18:18.301806�[0;0m�[0m
�[36m           �[0;32mDuration: 20.243 ms�[0;0m�[0m
�[36m       �[0;32m     Changes:   �[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: pkgrepo-dependencies�[0;0m�[0m
�[36m           �[0;36mFunction: pkg.installed�[0;0m�[0m
�[36m           �[0;36m    Name: python-apt�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: The following packages were installed/updated: python-apt�[0;0m�[0m
�[36m           �[0;36m Started: 08:18:18.331378�[0;0m�[0m
�[36m           �[0;36mDuration: 4635.752 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mpython-apt�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.4�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0;0m�[0m
�[36m       �[0;32m----------�[0;0m�[0m
�[36m           �[0;32m      ID: docker-dependencies-kernel�[0;0m�[0m
�[36m           �[0;32mFunction: pkg.installed�[0;0m�[0m
�[36m           �[0;32m  Result: True�[0;0m�[0m
�[36m           �[0;32m Comment: onlyif condition is false�[0;0m�[0m
�[36m           �[0;32m Started: 08:18:22.975581�[0;0m�[0m
�[36m           �[0;32mDuration: 5589.102 ms�[0;0m�[0m
�[36m       �[0;32m     Changes:   �[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-package-dependencies�[0;0m�[0m
�[36m           �[0;36mFunction: pkg.installed�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: 2 targeted packages were installed/updated.�[0m
�[36m              The following packages were already installed: python-apt�[0;0m�[0m
�[36m           �[0;36m Started: 08:18:28.565452�[0;0m�[0m
�[36m           �[0;36mDuration: 11105.895 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mapt-transport-https�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.11�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibpython-all-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15~rc1-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibpython-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15~rc1-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibpython2.7�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15-4ubuntu4~18.04�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibpython2.7-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15-4ubuntu4~18.04�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-all�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15~rc1-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-all-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15~rc1-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-crypto�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.6.1-8ubuntu2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-dbus�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.2.6-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15~rc1-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-gi�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m3.26.1-2ubuntu1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-keyring�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m10.6.0-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-keyrings.alt�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m3.0-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-pip�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m9.0.1-2.3~ubuntu1.18.04.1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-secretstorage�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.3.1-2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-setuptools�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m39.0.1-2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-wheel�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m0.30.0-0.2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython-xdg�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m0.25-4ubuntu1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpython2.7-dev�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.7.15-4ubuntu4~18.04�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-package-repository�[0;0m�[0m
�[36m           �[0;36mFunction: pkgrepo.managed�[0;0m�[0m
�[36m           �[0;36m    Name: deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: Configured package repo 'deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable'�[0;0m�[0m
�[36m           �[0;36m Started: 08:18:39.679548�[0;0m�[0m
�[36m           �[0;36mDuration: 2073.332 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mrepo�[0;0m:�[0m
�[36m                  �[0;32mdeb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable�[0;0m�[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-package�[0;0m�[0m
�[36m           �[0;36mFunction: pkg.installed�[0;0m�[0m
�[36m           �[0;36m    Name: docker-ce�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: 1 targeted package was installed/updated.�[0m
�[36m              Package docker-ce is already set not to be held.�[0;0m�[0m
�[36m           �[0;36m Started: 08:18:41.754679�[0;0m�[0m
�[36m           �[0;36mDuration: 20326.831 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mapparmor�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.12-4ubuntu5.1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36maufs-tools�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1:4.9+20170918-1ubuntu1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mcgroupfs-mount�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.4�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mcontainerd.io�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.2.6-3�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mdocker-ce�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m5:18.09.7~3-0~ubuntu-bionic�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mdocker-ce-cli�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m5:18.09.7~3-0~ubuntu-bionic�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36miptables�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.1-2ubuntu2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibip6tc0�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.1-2ubuntu2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibiptc0�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.1-2ubuntu2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibltdl7�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.4.6-2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibmnl0�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.0.4-2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibnetfilter-conntrack3�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.0.6-2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibnfnetlink0�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.0.1-3�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mlibxtables12�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m1.6.1-2ubuntu2�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0m
�[36m              �[0;36mpigz�[0;0m:�[0m
�[36m                  �[0;36m----------�[0;0m�[0m
�[36m                  �[0;36mnew�[0;0m:�[0m
�[36m                      �[0;32m2.4-1�[0;0m�[0m
�[36m                  �[0;36mold�[0;0m:�[0;0m�[0m
�[36m       �[0;32m----------�[0;0m�[0m
�[36m           �[0;32m      ID: docker-package�[0;0m�[0m
�[36m           �[0;32mFunction: pip.installed�[0;0m�[0m
�[36m           �[0;32m    Name: pip�[0;0m�[0m
�[36m           �[0;32m  Result: True�[0;0m�[0m
�[36m           �[0;32m Comment: Python package pip was already installed�[0m
�[36m              All specified packages are already installed�[0;0m�[0m
�[36m           �[0;32m Started: 08:19:07.229986�[0;0m�[0m
�[36m           �[0;32mDuration: 2691.198 ms�[0;0m�[0m
�[36m       �[0;32m     Changes:   �[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-config�[0;0m�[0m
�[36m           �[0;36mFunction: file.managed�[0;0m�[0m
�[36m           �[0;36m    Name: /etc/default/docker�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: File /etc/default/docker updated�[0;0m�[0m
�[36m           �[0;36m Started: 08:19:09.921934�[0;0m�[0m
�[36m           �[0;36mDuration: 24.093 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mdiff�[0;0m:�[0m
�[36m                  �[0;32m--- �[0;0m�[0m
�[36m                  �[0;32m+++ �[0;0m�[0m
�[36m                  �[0;32m@@ -4,7 +4,7 @@�[0;0m�[0m
�[36m                  �[0;32m # THIS FILE DOES NOT APPLY TO SYSTEMD�[0;0m�[0m
�[36m                  �[0;32m #�[0;0m�[0m
�[36m                  �[0;32m #   Please see the documentation for "systemd drop-ins":�[0;0m�[0m
�[36m                  �[0;32m-#   https://docs.docker.com/engine/admin/systemd/�[0;0m�[0m
�[36m                  �[0;32m+#   https://docs.docker.com/engine/articles/systemd/�[0;0m�[0m
�[36m                  �[0;32m #�[0;0m�[0m
�[36m                  �[0;32m �[0;0m�[0m
�[36m                  �[0;32m # Customize location of Docker binary (especially for development testing).�[0;0m�[0m
�[36m                  �[0;32m@@ -17,4 +17,6 @@�[0;0m�[0m
�[36m                  �[0;32m #export http_proxy="http://127.0.0.1:3128/"�[0;0m�[0m
�[36m                  �[0;32m �[0;0m�[0m
�[36m                  �[0;32m # This is also a handy place to tweak where Docker's temporary files go.�[0;0m�[0m
�[36m                  �[0;32m-#export DOCKER_TMPDIR="/mnt/bigdrive/docker-tmp"�[0;0m�[0m
�[36m                  �[0;32m+#export TMPDIR="/mnt/bigdrive/docker-tmp"�[0;0m�[0m
�[36m                  �[0;32m+�[0;0m�[0m
�[36m                  �[0;32m+�[0;0m�[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-service�[0;0m�[0m
�[36m           �[0;36mFunction: service.running�[0;0m�[0m
�[36m           �[0;36m    Name: docker�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: Service started�[0;0m�[0m
�[36m           �[0;36m Started: 08:19:09.947237�[0;0m�[0m
�[36m           �[0;36mDuration: 277.155 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mdocker�[0;0m:�[0m
�[36m                  �[0;1;33mTrue�[0;0m�[0;0m�[0m
�[36m       �[0;36m----------�[0;0m�[0m
�[36m           �[0;36m      ID: docker-py�[0;0m�[0m
�[36m           �[0;36mFunction: pip.installed�[0;0m�[0m
�[36m           �[0;36m    Name: docker�[0;0m�[0m
�[36m           �[0;36m  Result: True�[0;0m�[0m
�[36m           �[0;36m Comment: All packages were successfully installed�[0;0m�[0m
�[36m           �[0;36m Started: 08:19:10.224860�[0;0m�[0m
�[36m           �[0;36mDuration: 4845.56 ms�[0;0m�[0m
�[36m       �[0;36m     Changes:   �[0m
�[36m              �[0;36m----------�[0;0m�[0m
�[36m              �[0;36mdocker==4.0.2�[0;0m:�[0m
�[36m                  �[0;32mInstalled�[0;0m�[0;0m�[0m
�[36m       �[0;36m�[0m
�[36m       Summary for local�[0m
�[36m       -------------�[0;0m�[0m
�[36m       �[0;32mSucceeded: 13�[0;0m (�[0;32mchanged=8�[0;0m)�[0m
�[36m       �[0;36mFailed:     0�[0;0m�[0m
�[36m       �[0;36m-------------�[0m
�[36m       Total states run:     13�[0;0m�[0m
�[36m       �[0;36mTotal run time:   57.626 s�[0;0m�[0m
�[36m       Finished converging <default-ubuntu-1804-2019-2-py3> (1m13.83s).�[0m
�[36m-----> Setting up <default-ubuntu-1804-2019-2-py3>...�[0m
�[36m       Finished setting up <default-ubuntu-1804-2019-2-py3> (0m0.00s).�[0m
�[36m-----> Verifying <default-ubuntu-1804-2019-2-py3>...�[0m
�[36m       [Shell] Verify on instance=#<Kitchen::Instance:0x00000001ef31b0> with state={:username=>"kitchen", :ssh_key=>"/home/travis/build/remichristiaan/docker-formula/.kitchen/docker_id_rsa", :image_id=>"66059d651d69", :container_id=>"e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4", :hostname=>"localhost", :port=>32768, :last_action=>"setup"}�[0m
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.0.3, py-1.4.31, pluggy-0.4.0 -- /home/travis/virtualenv/python3.6.3/bin/python
cachedir: .cache
rootdir: /home/travis/build/remichristiaan/docker-formula, inifile: 
plugins: testinfra-1.4.2
collecting ... collected 2 items

test/integration/default/testinfra/test_docker.py::test_package_is_installed[docker://e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4] FAILED
test/integration/default/testinfra/test_docker.py::test_service_is_running_and_enabled[docker://e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4] PASSED

 generated xml file: /home/travis/build/remichristiaan/docker-formula/junit-default-ubuntu-1804-2019-2-py3.xml 
=================================== FAILURES ===================================
 test_package_is_installed[docker://e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4] 

Package = <class 'testinfra.modules.base.DebianPackage'>

    def test_package_is_installed(Package):
        docker = Package('docker-ce')
        assert docker.is_installed
>       assert docker.version.startswith('18.')
E       assert False
E        +  where False = <built-in method startswith of str object at 0x7f2b5cc8aad0>('18.')
E        +    where <built-in method startswith of str object at 0x7f2b5cc8aad0> = '5:18.09.7~3-0~ubuntu-bionic'.startswith
E        +      where '5:18.09.7~3-0~ubuntu-bionic' = <package docker-ce>.version

test/integration/default/testinfra/test_docker.py:7: AssertionError
---------------------------- Captured stderr setup -----------------------------
INFO:testinfra:RUN CommandResult(command=b"docker exec -u root e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4 /bin/sh -c 'uname -s'", exit_status=0, stdout=b'Linux\n', stderr=b'')
INFO:testinfra:RUN CommandResult(command=b"docker exec -u root e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4 /bin/sh -c 'lsb_release -a'", exit_status=0, stdout=b'Distributor ID:\tUbuntu\nDescription:\tUbuntu 18.04.2 LTS\nRelease:\t18.04\nCodename:\tbionic\n', stderr=b'No LSB modules are available.\n')
INFO:testinfra:RUN CommandResult(command=b"docker exec -u root e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4 /bin/sh -c 'which dpkg-query'", exit_status=0, stdout=b'/usr/bin/dpkg-query\n', stderr=b'')
----------------------------- Captured stderr call -----------------------------
INFO:testinfra:RUN CommandResult(command=b'docker exec -u root e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4 /bin/sh -c \'dpkg-query -f \'"\'"\'${Status}\'"\'"\' -W docker-ce\'', exit_status=0, stdout=b'install ok installed', stderr=b'')
INFO:testinfra:RUN CommandResult(command=b'docker exec -u root e6cf80c4e51fbdeafedaec49249f2c0c7ca8baff5cd5f1a7786485dfbb99a4e4 /bin/sh -c \'dpkg-query -f \'"\'"\'${Status} ${Version}\'"\'"\' -W docker-ce\'', exit_status=0, stdout=b'install ok installed 5:18.09.7~3-0~ubuntu-bionic', stderr=b'')
============================ pytest-warning summary ============================
WP1 None Modules are already imported so can not be re-written: testinfra
============ 1 failed, 1 passed, 1 pytest-warnings in 0.63 seconds =============
�[31m>>>>>> ------Exception-------�[0m
�[31m>>>>>> Class: Kitchen::ActionFailed�[0m
�[31m>>>>>> Message: 1 actions failed.
>>>>>>     Verify failed on instance <default-ubuntu-1804-2019-2-py3>.  Please see .kitchen/logs/default-ubuntu-1804-2019-2-py3.log for more details�[0m
�[31m>>>>>> ----------------------�[0m
�[31m>>>>>> Please see .kitchen/logs/kitchen.log for more details�[0m
�[31m>>>>>> Also try running `kitchen diagnose --all` for configuration
�[0m
travis_time:end:371136b8:start=1562314638048082240,finish=1562314756278712620,duration=118230630380
�[0K�[31;1mThe command "bundle exec kitchen verify ${INSTANCE}" exited with 20.�[0m



Done. Your build exited with 1.

@noelmcloughlin
Copy link
Member

I don't see any implementation problem. Does this PR resolve #74 and #202 ?

Copy link
Member

@noelmcloughlin noelmcloughlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks @remichristiaan If you have time please review #212 for me ;-)

docker/init.sls Outdated
@@ -61,6 +63,8 @@ docker-config:
- pkg: docker-package
- watch_in:
- service: docker-service
- context:
config: {{ docker.config }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe config: {{ docker.config|json }} or config: {{ docker.config|yaml }} is safer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll check it with my Py3 system and will add this for py3 uses. Good catch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although docs recommend |tojson the community seems to prefer |json for backwards compatibility. If you expect complicated configuration, including comments, then |yaml may be appropriate. But in this PR I believe |json is sufficient.

docker/repo.sls Show resolved Hide resolved
@noelmcloughlin
Copy link
Member

@remichristiaan this is open 11 days, so I fixed conflicts and merged to avoid this becoming stale.
The |json filter can be added in follow up PR. thanks.

@noelmcloughlin noelmcloughlin merged commit 89c07be into saltstack-formulas:master Jul 19, 2019
@remichristiaan
Copy link
Author

remichristiaan commented Jul 22, 2019 via email

@myii
Copy link
Member

myii commented Jul 22, 2019

@remichristiaan @noelmcloughlin This appears to have triggered a regression, as mentioned in #224 (comment). Probably this line here needs a default value (of []):

Meaning, the following should resolve that problem:

        config: {{ docker.config | d([]) }}

As you've already discussed, you may still need to append | json to that as well.

@noelmcloughlin
Copy link
Member

This appears to have triggered a regression
It is unhelpful that CI is broken. @remichristiaan please commit a PR.

@remichristiaan
Copy link
Author

remichristiaan commented Jul 24, 2019 via email

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

Successfully merging this pull request may close these issues.

4 participants