# os-autoinst/os-autoinst-distri-opensuse architecture

> Architecture diagram of the GitHub repository os-autoinst/os-autoinst-distri-opensuse, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/os-autoinst/os-autoinst-distri-opensuse
- Repository: https://github.com/os-autoinst/os-autoinst-distri-opensuse

## Overview

osado is the openQA test distribution for openSUSE and SUSE Linux Enterprise. Its user-facing workflow is that openQA executes distribution tests and reports their results; the supplied tree shows a varied collection of test programs and data-side helpers, not the harness or a shared in-repository execution pipeline. The graph groups sampled examples by domain and includes the indexed core modules. Relationships between individual programs are omitted because the excerpts show no calls between them; the execution link is documented by the README.

Main entry points: [`data`](https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data) (Test distribution)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_security["Security tests"]
  node_secureboot["Secure Boot parsing<br/>[parsesign.go]"]
  node_elliptic["Elliptic curve tests"]
  node_postquantum["Post-quantum TLS<br/>[main.go]"]
  node_fips["FIPS checks"]
  node_gpg["GPG helpers<br/>[gpg_common.py]"]
end

subgraph group_network["Networking tests"]
  node_bridge["Host bridge setup"]
  node_macvtap["macvtap packet test<br/>[check_macvtap.c]"]
  node_arp["ARP tool<br/>[arp-tool.py]"]
  node_registry["Registry proxy<br/>[regproxy.py]"]
end

subgraph group_runtime["Runtime tests"]
  node_websocket["WebSocket server<br/>[server.py]"]
  node_websocketclient["WebSocket client test<br/>[client-test.py]"]
  node_opencode["OpenAI API stub<br/>[stub_server.py]"]
  node_image["TFLite image labeling"]
end

subgraph group_system["System tests"]
  node_junit["JUnit result patcher<br/>[patch_junit.py]"]
  node_perfexport["NFV metrics export<br/>[push2db.py]"]
  node_valgrind["Memory diagnostics<br/>[valgrind-test.c]"]
  node_kerneltrace["Kernel trace sample"]
end

node_openqa(("openQA"))
node_testdata["Test distribution"]

node_openqa -->|"executes tests"| node_testdata

click node_testdata "https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data"
click node_secureboot "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/secureboot/parsesign.go"
click node_elliptic "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/openqa_agnostic/java/java_elliptic/EllipticCurveCoreTest.java"
click node_postquantum "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/openqa_agnostic/go/goPostQuantum/main.go"
click node_fips "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/libgcrypt-fips-check.c"
click node_gpg "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/console/openqa_agnostic/python/testGpg/gpg_common.py"
click node_bridge "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/virt_autotest/create_host_bridge.py"
click node_macvtap "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/wicked/check_macvtap.c"
click node_arp "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/wicked/arp-tool.py"
click node_registry "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/regproxy/regproxy.py"
click node_websocket "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/python/websockets/server.py"
click node_websocketclient "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/python/websockets/client-test.py"
click node_opencode "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/opencode/stub_server.py"
click node_image "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/ai_ml/label_image_tflite.py"
click node_junit "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/containers/patch_junit.py"
click node_perfexport "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/nfv/push2db.py"
click node_valgrind "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/valgrind/valgrind-test.c"
click node_kerneltrace "https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/kernel/trace_output_user.c"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_secureboot,node_elliptic,node_postquantum,node_fips,node_gpg toneBlue
class node_bridge,node_macvtap,node_arp,node_registry toneAmber
class node_websocket,node_websocketclient,node_opencode,node_image toneMint
class node_junit,node_perfexport,node_valgrind,node_kerneltrace toneRose
class node_openqa toneIndigo
class node_testdata toneTeal
```

## Components

### Security tests

- [Secure Boot parsing](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/secureboot/parsesign.go): `data/security/secureboot/parsesign.go`
- [Elliptic curve tests](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/openqa_agnostic/java/java_elliptic/EllipticCurveCoreTest.java): `data/security/openqa_agnostic/java/java_elliptic/EllipticCurveCoreTest.java`
- [Post-quantum TLS](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/openqa_agnostic/go/goPostQuantum/main.go): `data/security/openqa_agnostic/go/goPostQuantum/main.go`
- [FIPS checks](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/security/libgcrypt-fips-check.c): `data/security/libgcrypt-fips-check.c`
- [GPG helpers](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/console/openqa_agnostic/python/testGpg/gpg_common.py): `data/console/openqa_agnostic/python/testGpg/gpg_common.py`

### Networking tests

- [Host bridge setup](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/virt_autotest/create_host_bridge.py): `data/virt_autotest/create_host_bridge.py`
- [macvtap packet test](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/wicked/check_macvtap.c): `data/wicked/check_macvtap.c`
- [ARP tool](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/wicked/arp-tool.py): `data/wicked/arp-tool.py`
- [Registry proxy](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/regproxy/regproxy.py): `data/regproxy/regproxy.py`

### Runtime tests

- [WebSocket server](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/python/websockets/server.py): `data/python/websockets/server.py`
- [WebSocket client test](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/python/websockets/client-test.py): `data/python/websockets/client-test.py`
- [OpenAI API stub](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/opencode/stub_server.py): `data/opencode/stub_server.py`
- [TFLite image labeling](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/ai_ml/label_image_tflite.py): `data/ai_ml/label_image_tflite.py`

### System tests

- [JUnit result patcher](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/containers/patch_junit.py): `data/containers/patch_junit.py`
- [NFV metrics export](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/nfv/push2db.py): `data/nfv/push2db.py`
- [Memory diagnostics](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/valgrind/valgrind-test.c): `data/valgrind/valgrind-test.c`
- [Kernel trace sample](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/kernel/trace_output_user.c): `data/kernel/trace_output_user.c`

### Other components

- **openQA**
- [Test distribution](https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data): `data`

## Connections

- openQA → Test distribution: executes tests (evidence: `README.md`)
