Comments (4)
@duggelz can you give me your yaml for the license tests you're running? I assume you're running with the Docker driver here?
from container-structure-test.
I'm way behind on versions (0.1.1 vs 0.2.1), I'll try with a newer version of the tool and let you know.
from container-structure-test.
Downloaded binary from here, I assume it's 0.2.1: https://storage.googleapis.com/container-structure-test/latest/container-structure-test
~/Downloads/container-structure-test -test.v -image gcr.io/cloud-python-runtime-qa/python:2018-03-08-143259 tests/license-test/license-test.yaml
Contents of license-test.yaml
schemaVersion: "1.0.0"
# See https://github.com/GoogleCloudPlatform/container-structure-test/blob/master/README.md
licenseTests:
- debian: true
files: []
Error message
Using driver docker
=== RUN TestAll
2018/03/08 17:27:58 Running tests for file tests/license-test/license-test.yaml
=== RUN TestAll/License_Test_#0
--- FAIL: TestAll (61.31s)
--- FAIL: TestAll/License_Test_#0 (61.31s)
licenses.go:69: adduser
licenses.go:69: apt
licenses.go:69: base-files
licenses.go:69: base-passwd
licenses.go:69: bash
licenses.go:69: binutils
licenses.go:69: bsdutils
licenses.go:69: build-essential
licenses.go:69: bzip2
licenses.go:69: ca-certificates
licenses.go:69: coreutils
licenses.go:69: cpp
licenses.go:69: curl
licenses.go:69: dash
licenses.go:69: db-util
licenses.go:69: debconf
licenses.go:69: debianutils
licenses.go:69: diffutils
licenses.go:69: dpkg
licenses.go:69: dpkg-dev
licenses.go:69: e2fslibs
licenses.go:69: e2fsprogs
licenses.go:69: findutils
licenses.go:69: gcc-5-base
licenses.go:69: gcc-6-base
licenses.go:69: git
licenses.go:69: git-man
licenses.go:69: gnupg
licenses.go:69: gpgv
licenses.go:69: grep
licenses.go:69: gzip
licenses.go:69: hostname
licenses.go:69: icu-devtools
licenses.go:69: init
licenses.go:69: init-system-helpers
licenses.go:69: initscripts
licenses.go:69: insserv
licenses.go:69: krb5-multidev
licenses.go:69: libacl1
licenses.go:69: libapparmor1
licenses.go:69: libapt-pkg5.0
licenses.go:69: libasn1-8-heimdal
licenses.go:69: libatlas-dev
licenses.go:69: libattr1
licenses.go:69: libaudit-common
licenses.go:69: libaudit1
licenses.go:69: libblas-common
licenses.go:69: libblas-dev
licenses.go:69: libblas3
licenses.go:69: libblkid1
licenses.go:69: libbz2-1.0
licenses.go:69: libc-bin
licenses.go:69: libc-dev-bin
licenses.go:69: libc6
licenses.go:69: libc6-dev
licenses.go:69: libcap2
licenses.go:69: libcap2-bin
licenses.go:69: libcomerr2
licenses.go:69: libcryptsetup4
licenses.go:69: libcurl3
licenses.go:69: libcurl3-gnutls
licenses.go:69: libcurl4-openssl-dev
licenses.go:69: libdb5.3
licenses.go:69: libdebconfclient0
licenses.go:69: libdevmapper1.02.1
licenses.go:69: libdpkg-perl
licenses.go:69: liberror-perl
licenses.go:69: libexpat1
licenses.go:69: libexpat1-dev
licenses.go:69: libfdisk1
licenses.go:69: libffi6
licenses.go:69: libfreetype6
licenses.go:69: libgcrypt20
licenses.go:69: libgdbm3
licenses.go:69: libglib2.0-0
licenses.go:69: libgmp10
licenses.go:69: libgnutls30
licenses.go:69: libgpg-error0
licenses.go:69: libgssapi-krb5-2
licenses.go:69: libgssapi3-heimdal
licenses.go:69: libgssrpc4
licenses.go:69: libhashkit-dev
licenses.go:69: libhashkit2
licenses.go:69: libhcrypto4-heimdal
licenses.go:69: libheimbase1-heimdal
licenses.go:69: libheimntlm0-heimdal
licenses.go:69: libhx509-5-heimdal
licenses.go:69: libicu-dev
licenses.go:69: libicu55
licenses.go:69: libidn11
licenses.go:69: libisl15
licenses.go:69: libjpeg-dev
licenses.go:69: libjpeg-turbo8
licenses.go:69: libjpeg-turbo8-dev
licenses.go:69: libjpeg8
licenses.go:69: libjpeg8-dev
licenses.go:69: libjs-excanvas
licenses.go:69: libk5crypto3
licenses.go:69: libkadm5clnt-mit9
licenses.go:69: libkadm5srv-mit9
licenses.go:69: libkdb5-8
licenses.go:69: libkeyutils1
licenses.go:69: libkmod2
licenses.go:69: libkrb5-26-heimdal
licenses.go:69: libkrb5-3
licenses.go:69: libkrb5support0
licenses.go:69: liblapack-dev
licenses.go:69: liblapack3
licenses.go:69: libldap-2.4-2
licenses.go:69: liblz4-1
licenses.go:69: liblzma5
licenses.go:69: libmemcached-dev
licenses.go:69: libmemcached11
licenses.go:69: libmemcachedutil2
licenses.go:69: libmount1
licenses.go:69: libmpc3
licenses.go:69: libmpfr4
licenses.go:69: libmysqlclient-dev
licenses.go:69: libmysqlclient20
licenses.go:69: libnettle6
licenses.go:69: libp11-kit0
licenses.go:69: libpam-modules
licenses.go:69: libpam-modules-bin
licenses.go:69: libpam-runtime
licenses.go:69: libpam0g
licenses.go:69: libpcre3
licenses.go:69: libperl5.22
licenses.go:69: libpng12-0
licenses.go:69: libpng12-dev
licenses.go:69: libpq-dev
licenses.go:69: libpq5
licenses.go:69: libprocps4
licenses.go:69: libpython-stdlib
licenses.go:69: libpython2.7-minimal
licenses.go:69: libreadline6
licenses.go:69: libroken18-heimdal
licenses.go:69: librtmp1
licenses.go:69: libsasl2-2
licenses.go:69: libsasl2-dev
licenses.go:69: libsasl2-modules
licenses.go:69: libsasl2-modules-db
licenses.go:69: libseccomp2
licenses.go:69: libselinux1
licenses.go:69: libsemanage-common
licenses.go:69: libsemanage1
licenses.go:69: libsepol1
licenses.go:69: libsmartcols1
licenses.go:69: libsqlite3-0
licenses.go:69: libss2
licenses.go:69: libssl-dev
licenses.go:45: Error reading license file for /usr/share/doc/libssl-dev/copyright: API error (404): {"message":"Could not find the file ../libssl1.0.0/copyright in container 6e50db98d93fe33f7dfbe6be436ff08c59f135a92184bbb0c7f0af53c7460216"}
licenses.go:69: libssl1.0.0
licenses.go:69: libsystemd0
licenses.go:69: libtasn1-6
licenses.go:69: libtinfo5
licenses.go:69: libudev1
licenses.go:69: libusb-0.1-4
licenses.go:69: libustr-1.0-1
licenses.go:69: libuuid1
licenses.go:69: libwind0-heimdal
licenses.go:69: libxml2
licenses.go:69: libxml2-dev
licenses.go:69: libxslt1-dev
licenses.go:69: libxslt1.1
licenses.go:69: linux-libc-dev
licenses.go:69: login
licenses.go:69: lsb-base
licenses.go:69: make
licenses.go:69: makedev
licenses.go:69: mawk
licenses.go:69: mercurial
licenses.go:69: mercurial-common
licenses.go:69: mime-support
licenses.go:69: mount
licenses.go:69: multiarch-support
licenses.go:69: mysql-common
licenses.go:69: ncurses-base
licenses.go:69: ncurses-bin
licenses.go:69: netbase
licenses.go:69: openssl
licenses.go:45: Error reading license file for /usr/share/doc/openssl/copyright: API error (404): {"message":"Could not find the file ../libssl1.0.0/copyright in container 3fa4dd819c3270b9d1cd767564ebdbf84181277e024f60039ff1a763dd1131a8"}
licenses.go:69: passwd
licenses.go:69: patch
licenses.go:69: perl
licenses.go:69: perl-modules-5.22
licenses.go:69: pkg-config
licenses.go:69: procps
licenses.go:69: python
licenses.go:69: python-minimal
licenses.go:69: python-pip
licenses.go:69: python-pip-whl
licenses.go:69: python2.7
licenses.go:69: python2.7-minimal
licenses.go:69: readline-common
licenses.go:69: sasl2-bin
licenses.go:69: sed
licenses.go:69: sensible-utils
licenses.go:69: swig
licenses.go:69: swig3.0
licenses.go:69: systemd
licenses.go:69: systemd-sysv
licenses.go:69: sysv-rc
licenses.go:69: sysvinit-utils
licenses.go:69: tar
licenses.go:69: ubuntu-keyring
licenses.go:69: ucf
licenses.go:69: util-linux
licenses.go:69: wget
licenses.go:69: xz-utils
licenses.go:69: zlib1g
licenses.go:69: zlib1g-dev
structure_test.go:49: Total tests run: 1
FAIL
from container-structure-test.
I don't know Go, but it looks like this line only handles absolute symbolic links ("/foo"), and needs to be updated to resolve relative symbolic links ("../foo") based on the target parameter:
from container-structure-test.
Related Issues (20)
- Testing the existence of a directory is very slow
- Release process: use github actions and release to bazel central registry HOT 1
- container-structure-test behaves differently on two identical machines HOT 2
- Add Expected Log validation HOT 3
- How to use container_structure_test with oci_image on MacOS
- No Release asset checksums (sha256) since Release v1.11.0
- Add platform parameter to support testing multi-platform images
- Multiple outputs (i.e. `text` and `json`) HOT 1
- New Testcontainers driver HOT 3
- Env var expansion feature in commandTests output assertions
- Add support to containerRunOptions for --cap-drop
- Security Policy violation SECURITY.md HOT 139
- Update documentation regarding Bazel and Docker TCP connections
- Binaries for v1.16.1? HOT 2
- Unable use v1.16.1 with bzlmod
- How to mount a config file? HOT 1
- Hash for linux_i386 is missing
- Add Darwin ARM64 package type HOT 7
- Add ability to document container in markdown HOT 1
- Add a metadata test to test the base image used in the image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-structure-test.