Brett Smith [Thu, 30 May 2024 18:16:32 +0000 (14:16 -0400)]
21020: Expand Python SDK configuration documentation
Update to describe the recent addition of searching systemd and XDG
directories.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 30 May 2024 16:33:01 +0000 (12:33 -0400)]
21020: Streamline settings.conf reference instructions
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 30 May 2024 16:19:57 +0000 (12:19 -0400)]
21020: Expound documentation for setting up arv-copy
Explain the process in more detail. Update it for Workbench 2.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 30 May 2024 15:43:15 +0000 (11:43 -0400)]
21020: Copyedit arv-copy documentation
For more consistent typography and capitalization.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 30 May 2024 14:55:46 +0000 (10:55 -0400)]
21020: Warn user if a file can't be found under a custom $XDG_*_HOME
This is primarily meant to be a transitional aid on the off-chance that
someone had a program working under the 2.7 SDK with, e.g.,
~/.config/arvados/settings.conf but a custom $XDG_CONFIG_HOME.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 30 May 2024 13:34:48 +0000 (09:34 -0400)]
21020: Remove arvados.commands._util.make_home_conf_dir
Obsoleted by, and unused after, arvados.util._BaseDirectories.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 21:22:41 +0000 (17:22 -0400)]
21020: Update web documentation for CLI tools
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 21:19:05 +0000 (17:19 -0400)]
21020: Refine arv-copy --src and --dst help
Try to be more explicit about possible values and defaults.
Use Markdown-inspired backticks for literal quotes.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 20:39:29 +0000 (16:39 -0400)]
21020: Remove the make_block_cache test utility function
Clearing the user's cache is pretty rude for the tests to do, even if
it's "safe."
This causes the CollectionWriter tests around replication to
fail. They're not worth fixing since there's already a branch for #15397
to remove them wholesale.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 19:54:15 +0000 (15:54 -0400)]
21020: Sort imports to follow PEP 8
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 18:55:45 +0000 (14:55 -0400)]
21020: Update arv-put to use cache directories from environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 18:19:20 +0000 (14:19 -0400)]
21020: Generalize arv-put's arvados.util import
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 16:38:42 +0000 (12:38 -0400)]
21020: Add subdirectory argument to storage_path
A lot of users want this anyway so this is an easy way to DRY things
up.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 15:30:36 +0000 (11:30 -0400)]
21020: Get default Keep cache directory from environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 15:14:57 +0000 (11:14 -0400)]
21020: Sort imports to follow PEP 8
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 15:12:50 +0000 (11:12 -0400)]
21020: Adjust spacing to follow PEP 8
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 24 May 2024 15:04:03 +0000 (11:04 -0400)]
21020: Make arv-keepdocker use a cache from the environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 May 2024 21:12:33 +0000 (17:12 -0400)]
21020: Make arvados.api.http_cache get a path from the environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 May 2024 20:26:21 +0000 (16:26 -0400)]
21020: Make arv-copy search from environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 20 May 2024 20:06:12 +0000 (16:06 -0400)]
21020: Make arvados.config search from environment
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 16 May 2024 20:04:39 +0000 (16:04 -0400)]
21020: Introduce BaseDirectory classes to arvados.util
This is common functionality that will be used throughout the Python
tools to support base directory searching.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Fri, 24 May 2024 19:03:55 +0000 (15:03 -0400)]
Merge branch '21640-max-nofile'
fixes #21640
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Fri, 24 May 2024 19:01:53 +0000 (15:01 -0400)]
Merge branch '12917-group-contents-include-container'
closes #12917
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 23 May 2024 20:13:04 +0000 (16:13 -0400)]
Merge branch '21705-go-deps'
refs #21705
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Thu, 23 May 2024 15:21:05 +0000 (11:21 -0400)]
Arvbox want openssh-server, no issue #
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Tom Clegg [Thu, 23 May 2024 14:34:49 +0000 (10:34 -0400)]
21640: Stop accidentally reducing NOFILE limit.
LimitNOFILE=65536 used to increase softlimit from 1024 to 65536. But
Go >= 1.19 automatically raises softlimit to hardlimit, so now
LimitNOFILE=65536 only serves to reduce hardlimit from 524288 to
65536, which we don't want.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 22 May 2024 20:22:55 +0000 (16:22 -0400)]
12917: Update documentation for "include" parameter.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 22 May 2024 19:42:56 +0000 (15:42 -0400)]
12917: Support include=container_uuid at groups#contents endpoint.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Peter Amstutz [Wed, 22 May 2024 18:16:00 +0000 (14:16 -0400)]
Merge branch '21718-memoryview-decode' refs #21718
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Wed, 22 May 2024 18:15:46 +0000 (14:15 -0400)]
Merge branch '21718-memoryview-readfrom-v2' refs #21718
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Lisa Knox [Wed, 22 May 2024 13:42:41 +0000 (09:42 -0400)]
Merge branch '21712-favorites-overwrite-bug'
closes #21712
Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Peter Amstutz [Tue, 21 May 2024 17:56:41 +0000 (13:56 -0400)]
21718: Review comments
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Mon, 20 May 2024 20:24:41 +0000 (16:24 -0400)]
21718: Add "return_memoryview" flag to read() and readfrom()
If return_memoryview is true, always return memoryview. This makes
for more consistent read() and readfrom() behavior.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Mon, 13 May 2024 15:13:43 +0000 (11:13 -0400)]
21718: Update cwltool dependency
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Tue, 7 May 2024 13:11:14 +0000 (09:11 -0400)]
21718: Remove unused import
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Peter Amstutz [Fri, 3 May 2024 14:38:19 +0000 (10:38 -0400)]
21718: Replace .decode method with str(bytes, "utf-8")
This is because some bytes-like objects (such as memoryview) don't
have a "decode()" method. It appears that the preferred way to get a
decoded string is to simply call the constructor with the bytes-like
object and the desired encoding.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Lisa Knox [Fri, 17 May 2024 16:07:02 +0000 (12:07 -0400)]
21712: added category param in link verification function
Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Thu, 16 May 2024 13:41:37 +0000 (09:41 -0400)]
Merge branch '21535-multi-wf-delete'
closes #21535
Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lucas Di Pentima [Wed, 15 May 2024 18:47:15 +0000 (15:47 -0300)]
Merge branch '21666-provision-test-improvement'
closes #21666
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Brett Smith [Wed, 15 May 2024 18:42:04 +0000 (14:42 -0400)]
21666: Update --test help message
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Lisa Knox [Wed, 15 May 2024 18:21:02 +0000 (14:21 -0400)]
21535: fixed deletion verify assertion Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Wed, 15 May 2024 18:15:11 +0000 (14:15 -0400)]
21535: added test for individual wf not existinf in dom Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Wed, 15 May 2024 17:48:28 +0000 (13:48 -0400)]
21535: changed test spec from select all to select each individually Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Brett Smith [Wed, 15 May 2024 16:52:06 +0000 (12:52 -0400)]
Merge branch '21774-package-dependencies'
Closes #21774.
Refs #21663, #21664.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Wed, 15 May 2024 14:53:27 +0000 (10:53 -0400)]
21774: Add libfuse2 dependency to FUSE package
Otherwise the `fuse` dependency can be satisfied entirely by
libfuse3. arv-mount doesn't work if you happen to install this way.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Lisa Knox [Wed, 15 May 2024 14:13:51 +0000 (10:13 -0400)]
21535: removed hover assertion Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Wed, 15 May 2024 14:07:44 +0000 (10:07 -0400)]
Merge branch '21611-log-chunk-delay'
fixes #21611
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 15 May 2024 14:07:06 +0000 (10:07 -0400)]
21611: Fix formatting of config keys.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Wed, 15 May 2024 14:03:48 +0000 (10:03 -0400)]
Log more politely via test logger.
No issue #
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Lisa Knox [Wed, 15 May 2024 13:37:10 +0000 (09:37 -0400)]
21535: test spec tweaks Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Wed, 15 May 2024 13:25:16 +0000 (09:25 -0400)]
21535: removed .only and added more assertions Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Wed, 15 May 2024 13:08:31 +0000 (09:08 -0400)]
21535: added .only for testing Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Tue, 14 May 2024 20:30:17 +0000 (16:30 -0400)]
Merge branch '21766-disk-cache-size'
fixes #21766
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Lisa Knox [Tue, 14 May 2024 18:47:20 +0000 (14:47 -0400)]
21535: moved MultiSelectMenuActionNames to its own file Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Tue, 14 May 2024 17:38:36 +0000 (13:38 -0400)]
21535: added timeouts to test spec Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Tue, 14 May 2024 17:12:01 +0000 (13:12 -0400)]
21535: added timeouts to test spec Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Tue, 14 May 2024 15:58:45 +0000 (11:58 -0400)]
21535: replaced deleteWorkflow with removeWorkflowPermanently for consistency Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Tue, 14 May 2024 15:15:30 +0000 (11:15 -0400)]
21705: Pass static credentials explicitly instead of using env vars.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Lisa Knox [Tue, 14 May 2024 15:07:02 +0000 (11:07 -0400)]
21535: added multi wf delete test Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Tue, 14 May 2024 15:01:30 +0000 (11:01 -0400)]
21705: Go mod tidy.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 14 May 2024 14:11:44 +0000 (10:11 -0400)]
21705: Update adal to unretracted version.
go: warning: github.com/Azure/go-autorest/autorest/adal@v0.9.17: retracted by module author: retracted due to token refresh errors
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 13 May 2024 22:29:07 +0000 (18:29 -0400)]
21705: Migrate keep-web s3 tests to aws-sdk-go-v2.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Tue, 14 May 2024 13:36:33 +0000 (09:36 -0400)]
21766: Enable keepclient debug logging in keep-web.
Clients can now specify where to send logs by setting the Logger field
on an arvados.Client or arvadosclient.ArvadosClient.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 13 May 2024 21:27:20 +0000 (17:27 -0400)]
21705: Migrate keepstore s3 driver to latest aws-sdk-go-v2.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Fri, 10 May 2024 19:25:36 +0000 (15:25 -0400)]
21705: Upgrade go-retryablehttp and remove workaround.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 2 May 2024 20:45:28 +0000 (16:45 -0400)]
21705: Migrate lib/cloud/ec2 from aws-sdk-go to aws-sdk-go-v2.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Thu, 2 May 2024 18:25:29 +0000 (14:25 -0400)]
21705: Update go runtime to 1.22.2.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Lucas Di Pentima [Mon, 13 May 2024 19:48:05 +0000 (16:48 -0300)]
Merge branch '21678-installer-diagnostics-internal'. Closes #21678
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Mon, 13 May 2024 19:40:48 +0000 (16:40 -0300)]
21678: Removes unused variables and trailing whitespaces.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lisa Knox [Mon, 13 May 2024 19:25:12 +0000 (15:25 -0400)]
21535: added wf delete dialog Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lucas Di Pentima [Mon, 13 May 2024 19:12:43 +0000 (16:12 -0300)]
21678: Improves credentials passing even further.
By using a here-doc, the token doesn't get leaked on any of the process lists.
This also has the advantage of not needing any config file management.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Mon, 13 May 2024 18:00:46 +0000 (15:00 -0300)]
21678: Passes credentials through conf file instead of env vars.
To avoid leaking the token to the remote host process list, and also
minimize the exposure on the local host, instead of passing the credentials
through environment variables, we build a conf file that get piped to ssh
via stdout/stdin.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lisa Knox [Mon, 13 May 2024 17:56:49 +0000 (13:56 -0400)]
21535: changed wf and process to use new delete icon Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Lisa Knox [Mon, 13 May 2024 16:27:32 +0000 (12:27 -0400)]
21535: made ownerUuid param optional and removed it for multiselect Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Brett Smith [Sun, 12 May 2024 21:15:35 +0000 (17:15 -0400)]
21678: Copyedit installer diagnostics documentation
Small wording and punctuation changes that I hope make things a little
clearer.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Tom Clegg [Fri, 10 May 2024 18:34:57 +0000 (14:34 -0400)]
21766: Fix WebDAVCache.DiskCacheSize config being ignored.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Fri, 10 May 2024 17:15:28 +0000 (13:15 -0400)]
Merge branch '21207-pytest'
Closes #21207, #21733.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Stephen Smith [Fri, 10 May 2024 13:23:43 +0000 (09:23 -0400)]
Merge branch '21635-banner-test-fix' into main. Closes #21635
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Tom Clegg [Thu, 9 May 2024 21:29:39 +0000 (17:29 -0400)]
21766: Fix disk cache size percentage calculation.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Thu, 9 May 2024 18:29:15 +0000 (14:29 -0400)]
21207: Move FUSE test abort logs into pytest exit message
Since pytest doesn't display live logs, they're no longer helpful. We
could configure pytest to display live logs, but overall just moving the
information to the exit message seems like a cleaner solution.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Thu, 9 May 2024 18:25:41 +0000 (14:25 -0400)]
21207: Abort FUSE tests with exit status 2
See comments for rationale.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Stephen Smith [Wed, 8 May 2024 16:01:51 +0000 (12:01 -0400)]
21635: Add checks to wait for banner to close in tooltip test
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
Lucas Di Pentima [Mon, 6 May 2024 19:16:08 +0000 (16:16 -0300)]
21678: Updates documentation
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Mon, 6 May 2024 18:37:43 +0000 (15:37 -0300)]
21678: Adds 'diagnostics-internal' subcommand to installer.sh
It checks if there's a node with the 'shell' role, and runs diagnostics
on it as root (to be able to use docker)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Brett Smith [Mon, 6 May 2024 22:19:48 +0000 (18:19 -0400)]
21207: Abort test runs with pytest.exit
This lets pytest better report the problem versus an un-handle-able
SIGKILL.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Mon, 6 May 2024 22:02:24 +0000 (18:02 -0400)]
21207: Update example test selection for pytest
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Lisa Knox [Mon, 6 May 2024 18:20:59 +0000 (14:20 -0400)]
21535: changed delete method to handle multiple workflows Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
Tom Clegg [Mon, 6 May 2024 15:07:47 +0000 (11:07 -0400)]
21611: Fix test race by waiting for dblocks to be released.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 6 May 2024 14:45:39 +0000 (10:45 -0400)]
21611: Log "disabled by config" log message only once.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Tom Clegg [Mon, 6 May 2024 14:02:14 +0000 (10:02 -0400)]
21611: Remove configs for periodic container log sweep.
Now that there are no new container logs being written to the logs
table, we can just delete the remaining entries and stop checking.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Lucas Di Pentima [Tue, 16 Apr 2024 17:37:15 +0000 (14:37 -0300)]
21666: Adds logging and status check to exit prematurely when failing.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Mon, 15 Apr 2024 19:02:58 +0000 (16:02 -0300)]
21666: Adds 'arvados-client diagnostics' to run-tests.sh
In addition and prior to running the hasher wf test, run the arvados-client
diagnostics test.
This assumes that docker and arvados-client are installed on the local
system, making the shell node a good candidate on multi-node (production)
installations.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Mon, 6 May 2024 13:22:16 +0000 (10:22 -0300)]
Merge branch '21383-misc-fixes'. Refs #21383
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Lucas Di Pentima [Fri, 26 Apr 2024 19:45:42 +0000 (16:45 -0300)]
21383: Adds http_endpoint="enabled" to Terraform's ec2 instances code.
Although the documentation states that it's enabled by default, I was getting
an error like this:
Error: creating EC2 Instance: InvalidParameterValue: A value of '' is not valid for HttpEndpoint. Specify either 'enabled' or 'disabled' and try again.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
Tom Clegg [Mon, 6 May 2024 13:19:07 +0000 (09:19 -0400)]
21611: Add upgrade note about removed configs.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
Brett Smith [Fri, 3 May 2024 20:27:32 +0000 (16:27 -0400)]
21207: Run Python tests with pytest
This gets us away from a deprecated setup.py invocation, and provides
richer test authoring and result reporting facilities.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 3 May 2024 20:34:38 +0000 (16:34 -0400)]
21207: Remove Python slow/short tests support
After the previous commit there are no more users of this, and this
interface will no longer be supported after our migration to pytest. If
we want this functionality in the future we should set up a custom
"slow" mark in pytest and use pytest's built-in mark filtering.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 3 May 2024 20:13:36 +0000 (16:13 -0400)]
21207: Remove FUSE performance tests
None of these tests have been running as intended. The `slow_test`
decorator is written incorrectly such that the return value of
`unittest.skipIf` *replaces* the test method rather than *wrapping* it.
We just did a round of serious performance improvement on FUSE and
literally nobody looked at this code or tried to track down the
profiling results it produces.
I'm not opposed to performance tests on principle. But these tests
aren't that, they just generate some profiling results and then spend a
bunch of time running various checks on the manifest that arv-mount
generated.
Remove them to save runtime and make it easier to run tests under
pytest. We can always write better performance tests later if we want.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 3 May 2024 16:02:56 +0000 (12:02 -0400)]
21207: Rename CWL standalone test functions
These functions are not picked up by the unittest runner (since they're
not TestCase methods) but are picked up by pytest (since they start with
test_*). Rename them to retain existing behavior across test runners.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
Brett Smith [Fri, 3 May 2024 13:55:15 +0000 (09:55 -0400)]
21207: Set up MockedPut._state with a deepcopy
Otherwise its internal state could get into EMPTY_STATE and contaminate
other tests.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>