Comments (2)
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.
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)
- inspec : Cannot process the XML from the 'Error' stream of 'C:\opscode\inspec\bin\inspec.bat': Data at the root level is invalid. Line 1, position 1. HOT 1
- failed to check ssh -V command output HOT 2
- Inspec SSH fails to connect to server with KEX error HOT 1
- Issues connecting to remote Windows Host HOT 2
- `windows_task` is not portable on different locales
- Missing Dictionary of Valid Values for the `platform-family` and the `platform-name` `inspec.yml` Entries HOT 2
- License Check issue on 6.6.0 HOT 12
- inspec `check` on 6.6.0 having issues, v5.22.36 has no issues HOT 11
- Possible Addition To Enhanced Reporting HOT 7
- only_applicable_if incorrectly records failures when triggered HOT 3
- inspec reports static systemd services as enabled
- Unexpected Behavior When Controls in an overlay Profile are Created as Multiple Files
- Having issue running inspec exec with packer shell-local HOT 2
- Apple M1 Clang targeting x86
- [Collection for Review] InSpec AST Parser
- I am trying to run an Inspec profile locally and running into the AWS resource pack deprecation error. HOT 2
- inspec check does not run correctly with overlays in 6.6.0
- Replication rules for s3
- inspec 5.22.36 uses wrong tests from github HOT 1
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 inspec.