86 Commits

Author SHA1 Message Date
Eric
e8b2ad014b
feat: remove usage of PVC disks (#128)
* fix: delete PVCs after stopping containers

* Didn't work, instead try to delete all PVCs just before the namespace is deleted, after all pods destroyed.

* Didn't work, force kill pods, then delete pvcs

Force kill pods, wait for them to be killed. Then remove the pvc finaliser that protects the pvc from deletion. Finally, delete the pvc. The finaliser deletion step is there in case the force kill pod times out.

* try without waiting for pods to be killed

* prevent double delete race

* remove unneeded method, improve log output in pvc deletion

* Use emptyDir ephemeral volumes instead of PVCs

* fix dist tests workflow summary

After kubeconfig was replaced with an in-cluster service account, k8sClient was returning null and thus no test summaries were being written to ConfigMaps. This change returns a default Kubeconfig for the k8sClient when one is not passed in an environment variable.

* remove PVC volume deletion since PVCs are no longer created
2026-06-15 15:50:16 +10:00
E M
f3066ad504 fix compilation error 2026-05-28 11:46:36 -03:00
E M
4347711025 Write test result to K8s ConfigMap
Write test result for each test to a K8s ConfigMap so it can be read by the workflow after the tests have completed. This replaces attempts to capture stdout/stderr which for some reason fails to show all test status.
2026-05-28 11:46:36 -03:00
E M
c8f3421ee3 oops, amend to previous commit 2026-05-28 11:46:36 -03:00
E M
d31d07b2a7 write test results file contents to stdout on process exit
Attempts to fix NUnit logs not appearing in stdout/stderr
2026-05-28 11:46:36 -03:00
E M
77f0047c7d write NUnit logs to stderr, hoping to capture them more consistently 2026-05-28 11:46:36 -03:00
E M
3fd6aec18a log errors when there are test setup failures 2026-05-28 11:46:36 -03:00
E M
77e30a7632 Log tests status to stdout so it can be read into the workflow summary 2026-05-28 11:46:36 -03:00
E M
cd7cf67512 revert 2de4e77a
Waiting for cleanup is not needed, slows down tests
2026-05-28 11:46:36 -03:00
E M
600148b8d5 Auto-flush stdout in an attempt to get NUnit's output in the logs 2026-05-28 11:46:36 -03:00
E M
e9faf9bbfa Ensure test cleanup happens after each test 2026-05-28 11:46:36 -03:00
E M
8d83c7e66c add RUNID label to all containers to make log filtering easier 2026-05-28 11:46:36 -03:00
Eric
df99e5e681
chore: remove cdx namespace and update documentation (#125)
* Replace cdx with storage in namespaces

* Update k8s documentation for move from DO to GKE
2026-04-24 12:24:32 +10:00
Eric
13d453d5ed
chore: Docker updates to support release tests in logos-storage-nim, and remove Codex references (#124)
* ci(docker): build dist-tests images

* Update to .net 10, kubernetes client 18.0.13

Kubernetes client 18.0.13 is compatible with Kubernetes 1.34.x. The Kubernetes version is selected automatically by kubeadm in docker desktop (v1.34.1). See https://github.com/kubernetes-client/csharp#version-compatibility for a compatibility table.

* Updates to support Kubernetes upgrade

* bump openapi.yaml to match openapi.yaml in the logos-storage-nim docker image

* bump doc to .net 10

* bump docker to .net 10

* Build image with latest tag always

Always build an image with a latest tag (as well as a sha commit hash) when there's a push to master

* docker image tag as "latest" only when pushing to master

* Update docker image to install doctl

* Remove doctl install

kubeconfig is now created and uses a plain bearer token instead of using doctl as a credential mgr

* Rename and remove all instances of Codex

* Further remove CodexNetDeployer as it is no longer needed

---------

Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
2026-04-17 15:03:22 +10:00
Adam Uhlíř
ab49a58333
refactor: removing marketplace (#122) 2026-02-11 10:18:06 +01:00
Ben
4e093f12d7
wip 2025-08-15 12:02:33 +02:00
Ben
07c25142c1
Fixes issue where string params for testfixtures causes logfilenames to fail 2025-08-13 10:49:43 +02:00
thatben
d0530be323
Exception handling for mint function 2025-08-01 08:28:17 +02:00
ThatBen
90586dce5c
increases default timeset timeouts 2025-07-09 16:00:40 +02:00
ThatBen
c1fa309271
Applies long timesets for cluster runs 2025-06-20 08:40:48 +02:00
ThatBen
c98cf1ffc4
fixes naming for parameterised fixtures 2025-06-05 15:27:06 +02:00
Ben
6d02285d9a
Merge branch 'master' into feature/proofs-and-frees
# Conflicts:
#	Framework/KubernetesWorkflow/LogHandler.cs
#	Framework/Utils/EthAddress.cs
#	ProjectPlugins/CodexContractsPlugin/Marketplace/Marketplace.cs
#	Tests/CodexReleaseTests/MarketTests/FailTest.cs
#	Tests/CodexReleaseTests/MarketTests/FinishTest.cs
#	Tests/CodexReleaseTests/Utils/MarketplaceAutoBootstrapDistTest.cs
#	Tools/AutoClient/Modes/FolderStore/FileSaver.cs
2025-06-04 12:31:19 +02:00
ThatBen
9e9b147b68
wip log downloading 2025-05-20 14:16:33 +02:00
ThatBen
0e66e8e94a
Merge branch 'master' into feature/extended-marketplace-testing
# Conflicts:
#	Tests/CodexReleaseTests/Parallelism.cs
2025-05-20 09:00:33 +02:00
Ben
18b1f73025
Enables console output for test logs 2025-05-14 15:01:21 +02:00
ThatBen
7d75cb784a
Merge branch 'master' into feature/extended-marketplace-testing
# Conflicts:
#	Tests/CodexReleaseTests/MarketTests/MarketplaceAutoBootstrapDistTest.cs
#	Tests/CodexReleaseTests/Parallelism.cs
#	Tests/DistTestCore/DistTest.cs
2025-04-29 12:09:05 +02:00
ThatBen
dd888f30e3
excellent cleanup 2025-04-25 15:42:13 +02:00
ThatBen
ad1b756db9
Revert "while better the new plan is still a mess"
This reverts commit 2dfdfac2bb52e4ff919ee5f1b3986a839d71b0a2.

# Conflicts:
#	Tests/FrameworkTests/LifecycelyTest.cs
2025-04-25 11:08:38 +02:00
ThatBen
3bb9a29054
sets up multiple successfulcontract tests 2025-04-24 12:53:08 +02:00
ThatBen
2dfdfac2bb
while better the new plan is still a mess 2025-04-23 14:18:11 +02:00
Ben
7826059677
Merge branch 'master' into feature/proofs-and-frees 2025-04-22 13:44:14 +02:00
Ben
02ef655a40
Enables console output for release tests. 2025-04-22 12:25:37 +02:00
ThatBen
b239547dc6
Merge branch 'master' into feature/proofs-and-frees 2025-04-18 10:24:40 +02:00
ThatBen
147fc42e9b
Support for names of parameterized testfixtures 2025-04-18 10:02:52 +02:00
ThatBen
cec27b2cf7
wip 2025-03-11 15:00:27 +01:00
ThatBen
0784804fa4
workaround for downloading codex logs 2025-01-29 14:44:19 +01:00
ThatBen
9a227b3d0e
lots of using-statement fixes 2025-01-16 13:51:29 +01:00
ThatBen
ec644eed4a
Moving downloadedlog to logging module 2025-01-16 10:15:02 +01:00
Ben
a4ba1fbe2c
Restores parallel settings, fixes filename test-args formatting 2024-12-18 09:21:45 +01:00
Ben
3e2cad3c17
Fixes issue where occassionally a CID contains 'ERR' and fails the log assert. 2024-12-04 15:57:49 +01:00
benbierens
04f087efe4
Bump to dotnet 8 2024-10-03 14:02:28 +02:00
Ben
2d90349b7b
Updates autobootstrap fixture for parallel running. 2024-09-24 10:10:59 +02:00
Ben
9bdebb963b
Fixes printing of disttest status 2024-08-20 15:31:45 +02:00
benbierens
38b987144e
wip: rework identity map 2024-08-13 14:21:15 +02:00
benbierens
d16b8cb011
Fixes identity issue for runningpod/runningcontainer and log saving for stopped containers 2024-08-01 10:39:06 +02:00
benbierens
cfd635146b
Test attribute for creating transcripts 2024-07-31 09:50:02 +02:00
benbierens
1f72d4f37d
Fixes compile of continuous tests 2024-07-26 10:14:54 +02:00
benbierens
ecada92dc5
can generate transcript for two-client test 2024-07-26 10:11:29 +02:00
benbierens
d58d65b751
wip connecting to codex plugin 2024-07-25 16:00:51 +02:00
Ben
af7aeb2bba
update 2024-07-23 09:58:29 +02:00