Skip to content

Comments

Improving test_manifests_collection test output when waiting on data#1216

Merged
gantrior merged 1 commit intomasterfrom
bugfix/stabilising-build
Nov 28, 2025
Merged

Improving test_manifests_collection test output when waiting on data#1216
gantrior merged 1 commit intomasterfrom
bugfix/stabilising-build

Conversation

@gantrior
Copy link
Contributor

There were errors like:

[integration-test-manual-4b4m8] test_manifests_collection.py kubectl run dummy-pod --labels "test-label=test-value" --overrides="{ \"apiVersion\": \"v1\", \"metadata\": {\"annotations\": { \"test-annotation\":\"test-value\" } } }" --image bash:alpine3.19 -n default -- -ec "while :; do sleep 5 ; done"
[integration-test-manual-4b4m8] pod/dummy-pod created
[integration-test-manual-4b4m8] 
[integration-test-manual-4b4m8] 
[integration-test-manual-4b4m8] Error during ClickHouse test: Expecting value: line 1 column 1 (char 0)
[integration-test-manual-4b4m8] Traceback (most recent call last):
[integration-test-manual-4b4m8]   File "/app/test_utils.py", line 23, in retry_until_ok_clickhouse
[integration-test-manual-4b4m8]     result = assert_func(data)
[integration-test-manual-4b4m8]   File "/app/test_manifests_collection.py", line 53, in assert_test_manifest_found
[integration-test-manual-4b4m8]     if is_correct_manifest(manifest, 'Pod', pod_name, namespace_name):
[integration-test-manual-4b4m8]        ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[integration-test-manual-4b4m8]   File "/app/test_manifests_collection.py", line 122, in is_correct_manifest
[integration-test-manual-4b4m8]     parsed_manifest = json.loads(raw_manifest)
[integration-test-manual-4b4m8]   File "/usr/local/lib/python3.13/json/__init__.py", line 346, in loads
[integration-test-manual-4b4m8]     return _default_decoder.decode(s)
[integration-test-manual-4b4m8]            ~~~~~~~~~~~~~~~~~~~~~~~^^^
[integration-test-manual-4b4m8]   File "/usr/local/lib/python3.13/json/decoder.py", line 345, in decode
[integration-test-manual-4b4m8]     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[integration-test-manual-4b4m8]                ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
[integration-test-manual-4b4m8]   File "/usr/local/lib/python3.13/json/decoder.py", line 363, in raw_decode
[integration-test-manual-4b4m8]     raise JSONDecodeError("Expecting value", s, err.value) from None
[integration-test-manual-4b4m8] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[integration-test-manual-4b4m8] 

it should be fixed now

@gantrior gantrior requested a review from a team as a code owner November 28, 2025 12:43
@gantrior gantrior merged commit 64da94c into master Nov 28, 2025
18 checks passed
@gantrior gantrior deleted the bugfix/stabilising-build branch November 28, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants