Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main builds, but tests don't pass; k3s problem? #111

Closed
squillace opened this issue Jul 5, 2023 · 4 comments
Closed

main builds, but tests don't pass; k3s problem? #111

squillace opened this issue Jul 5, 2023 · 4 comments
Assignees

Comments

@squillace
Copy link
Contributor

Building from main from commit 5ca163a fails with the following on Ubuntu 22.04:

running 3 tests

curl http://localhost:8082/wws/hello
404 page not found

curl http://localhost:8082/spin/hello
curl http://localhost:8082/slight/hello
404 page not found

test wws_test ... ok
test spin_test ... ok
404 page not found

curl -X PUT http://localhost:8082/slight/set -d
404 page not found

thread 'slight_test' panicked at 'assertion failed: (left == right)
left: "404 page not found\n",
right: "wyyauejuBVjpz34MYmSnjpMNmbczsJ"', tests/integration_test.rs:48:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
test slight_test ... FAILED

failures:

failures:
slight_test

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s

error: test failed, to rerun pass --test integration_test
make: *** [Makefile:23: integration-tests] Error 101

@Mossaka
Copy link
Member

Mossaka commented Jul 7, 2023

@squillace just want to clarify: did you run the integration tests with the command make integration_test?

make integration_test command not only invokes the cargo test command, but also sets up a k3s cluster and then tears it down after the tests finished.

@0xE282B0
Copy link
Contributor

Same here, CI test pipeline fails in tests/integration_test.rs with 404.

@0xE282B0
Copy link
Contributor

In my case, the pods weren't scheduled because there was almost no disk space left on the GitHub runner:

Warning  FailedScheduling  25s   default-scheduler  0/3 nodes are available: 3 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.

@Mossaka
Copy link
Member

Mossaka commented Sep 19, 2023

Should be fixed by now.

@Mossaka Mossaka closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants