Giter Club home page Giter Club logo

Comments (2)

clintoncwolfe avatar clintoncwolfe commented on June 9, 2024

You're saying that you have a container, whose version number is 23.0.6+azure-2? And when InSpec encounters it, it throws this error?

Could you paste the backtrace (add --debug if needed)?

from inspec.

mietzen avatar mietzen commented on June 9, 2024

No its the docker executable version:

$ docker --version
Docker version 23.0.6+azure-2, build ef23cbc

Here is a example GitHub Action Workflow:

name: "Docker Version"

on:
  push:
  workflow_dispatch:

jobs:
  docker-version:
    runs-on: ubuntu-latest
    steps:
      - run: docker --version

Edit: I'll post the debug log later.

For reference this is the project I encountered the problem:
https://github.com/mietzen/mautrix-signal/blob/f4a66e1e28814dab86ebf7a34539ab0070b12fa4/test/system/host/controls/mautrix-signal.rb#L3

Debug logs:

[2023-08-16T09:20:27+00:00] DEBUG: Option backend_cache is enabled
[2023-08-16T09:20:27+00:00] DEBUG: Resolve ./system/host into cache /home/runner/.inspec/cache
[2023-08-16T09:20:27+00:00] DEBUG: Dependency does not exist in the cache ./system/host
[2023-08-16T09:20:27+00:00] DEBUG: Starting run with targets: ["Inspec::Profile<system-test>"]
[2023-08-16T09:20:27+00:00] DEBUG: Using existing lockfile ./system/host/inspec.lock
[2023-08-16T09:20:27+00:00] DEBUG: Loading ./system/host/controls/mautrix-signal.rb into #<Inspec::ProfileContext:0x00007f75cf34cd98>
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:3 672067778b50f6dcc6b3421dcc2e84b6)
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:8 0da431e85d70ebca3c1f54ae66e40c86)
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:13 eaf6e302775f45b42e5eab78db5ad1df)
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:19 0b953ab0c19b8674f8e21ab87fe5023f)
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:25 72e57853d4da6306c3a4a6465e71d182)
[2023-08-16T09:20:28+00:00] DEBUG: Registering rule (generated from mautrix-signal.rb:31 14f9a781aacb80715d68266026178449)

Profile:   Host System Test (system-test)
Version:   0.1.0
Target:    local://
Target ID: bcda4ae7-5a24-510d-815e-80eb6cf8a49c

  Docker Container mautrix-signal
     ×  is expected to exist
     Malformed version number string 23.0.6+azure-2
     ×  is expected to be running
     Malformed version number string 23.0.6+azure-2
  Docker Container synapse
     ×  is expected to exist
     Malformed version number string 23.0.6+azure-2
     ×  is expected to be running
     Malformed version number string 23.0.6+azure-2

from inspec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.