-
Notifications
You must be signed in to change notification settings - Fork 40
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
add smoke test for omdb
#4101
Merged
Merged
add smoke test for omdb
#4101
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
47d9f63
add quick test for omdb
davepacheco 476eea8
more test
davepacheco 6c36a62
clippy
davepacheco 0588fbd
fix test: print relative path to command
davepacheco af97c37
fix CI test?
davepacheco dbe8704
Revert "fix CI test?"
davepacheco 98dc613
fix CI tests??
davepacheco ff7101f
Merge branch 'main' into dap/bgtask3
davepacheco 752cc3a
fix test again
davepacheco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../nexus/tests/config.test.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
EXECUTING COMMAND: omdb ["db", "--db-url", "postgresql://root@[::1]:REDACTED_PORT/omicron?sslmode=disable", "sleds"] | ||
termination: Exited(0) | ||
--------------------------------------------- | ||
stdout: | ||
SERIAL IP ROLE ID | ||
sim-b6d65341 [::1]:REDACTED_PORT - REDACTED_UUID_REDACTED_UUID_REDACTED | ||
--------------------------------------------- | ||
stderr: | ||
note: database schema version matches expected (4.0.0) | ||
============================================= | ||
EXECUTING COMMAND: omdb ["db", "--db-url", "junk", "sleds"] | ||
termination: Exited(2) | ||
--------------------------------------------- | ||
stdout: | ||
--------------------------------------------- | ||
stderr: | ||
error: invalid value 'junk' for '--db-url <DB_URL>': invalid connection string: unexpected EOF | ||
|
||
For more information, try '--help'. | ||
============================================= | ||
EXECUTING COMMAND: omdb ["nexus", "--nexus-internal-url", "http://127.0.0.1:REDACTED_PORT", "background-tasks", "doc"] | ||
termination: Exited(0) | ||
--------------------------------------------- | ||
stdout: | ||
task: "dns_config_external" | ||
watches external DNS data stored in CockroachDB | ||
|
||
|
||
task: "dns_config_internal" | ||
watches internal DNS data stored in CockroachDB | ||
|
||
|
||
task: "dns_propagation_external" | ||
propagates latest external DNS configuration (from "dns_config_external" | ||
background task) to the latest list of DNS servers (from | ||
"dns_servers_external" background task) | ||
|
||
|
||
task: "dns_propagation_internal" | ||
propagates latest internal DNS configuration (from "dns_config_internal" | ||
background task) to the latest list of DNS servers (from | ||
"dns_servers_internal" background task) | ||
|
||
|
||
task: "dns_servers_external" | ||
watches list of external DNS servers stored in CockroachDB | ||
|
||
|
||
task: "dns_servers_internal" | ||
watches list of internal DNS servers stored in CockroachDB | ||
|
||
|
||
task: "external_endpoints" | ||
reads config for silos and TLS certificates to determine the right set of | ||
HTTP endpoints, their HTTP server names, and which TLS certificates to use | ||
on each one | ||
|
||
|
||
--------------------------------------------- | ||
stderr: | ||
============================================= | ||
EXECUTING COMMAND: omdb ["nexus", "--nexus-internal-url", "junk", "background-tasks", "doc"] | ||
termination: Exited(1) | ||
--------------------------------------------- | ||
stdout: | ||
--------------------------------------------- | ||
stderr: | ||
Error: listing background tasks | ||
|
||
Caused by: | ||
0: Communication Error: builder error: relative URL without a base | ||
1: builder error: relative URL without a base | ||
2: relative URL without a base | ||
============================================= |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed the lack of plural was inconsistent with other subcommands.