]> git.arvados.org - arvados.git/log
arvados.git
5 months agoMerge branch '22455-crunch-run-retry' refs #22455
Peter Amstutz [Mon, 17 Feb 2025 16:13:14 +0000 (11:13 -0500)]
Merge branch '22455-crunch-run-retry' refs #22455

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '21926-rocm' refs #21926
Peter Amstutz [Sat, 15 Feb 2025 15:22:17 +0000 (10:22 -0500)]
Merge branch '21926-rocm' refs #21926

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Revert "skipped fields changes" in test
Peter Amstutz [Sat, 15 Feb 2025 15:18:28 +0000 (10:18 -0500)]
21926: Revert "skipped fields changes" in test

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '20909-keep-disk-cache-test-mtime'
Brett Smith [Fri, 14 Feb 2025 17:35:05 +0000 (12:35 -0500)]
Merge branch '20909-keep-disk-cache-test-mtime'

Refs #20909.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoMerge branch 'main' into 21926-rocm refs #21926 21926-rocm
Peter Amstutz [Fri, 14 Feb 2025 16:59:32 +0000 (11:59 -0500)]
Merge branch 'main' into 21926-rocm refs #21926

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Integration test for legacy CUDA API & related fixes
Peter Amstutz [Fri, 14 Feb 2025 16:57:53 +0000 (11:57 -0500)]
21926: Integration test for legacy CUDA API & related fixes

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago20909: Explicitly set mtime of "old" test cache file 20909-keep-disk-cache-test-mtime
Brett Smith [Fri, 14 Feb 2025 16:46:37 +0000 (11:46 -0500)]
20909: Explicitly set mtime of "old" test cache file

Without this, the two cache files created by the test could appear to
have the same mtime depending on filesystem settings, which could cause
KeepBlockCache to consider them equally old, decide to delete the
"newer" one, and cause a test failure.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoMerge branch '22509-go1224'
Tom Clegg [Fri, 14 Feb 2025 16:27:16 +0000 (11:27 -0500)]
Merge branch '22509-go1224'

refs #22509

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22455: Retry API and Keep operations 10 times in crunch-run. 22455-crunch-run-retry
Tom Clegg [Fri, 14 Feb 2025 01:29:53 +0000 (20:29 -0500)]
22455: Retry API and Keep operations 10 times in crunch-run.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22509: Update to go 1.22.4. 22509-go1224
Tom Clegg [Tue, 11 Feb 2025 19:28:33 +0000 (14:28 -0500)]
22509: Update to go 1.22.4.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months agoMerge branch '22567-test-env-fixes'
Tom Clegg [Thu, 13 Feb 2025 18:50:32 +0000 (13:50 -0500)]
Merge branch '22567-test-env-fixes'

fixes #22567

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago21926: Fix typo in container_request.rb
Peter Amstutz [Thu, 13 Feb 2025 16:28:45 +0000 (11:28 -0500)]
21926: Fix typo in container_request.rb

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22489: Update top comment on install-test-env.yml
Brett Smith [Thu, 13 Feb 2025 15:19:34 +0000 (10:19 -0500)]
22489: Update top comment on install-test-env.yml

Now that this playbook builds Jenkins images, it's no longer a
prototype. Revise these comments with up-to-date information.
Refs #22489.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoMerge branch '22489-install-test-env'
Brett Smith [Wed, 12 Feb 2025 20:22:28 +0000 (15:22 -0500)]
Merge branch '22489-install-test-env'

Refs #22489.
Closes #22504, #22556.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago21926: Fix node_size.go
Peter Amstutz [Wed, 12 Feb 2025 16:55:08 +0000 (11:55 -0500)]
21926: Fix node_size.go

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22567: Use --mount instead of -v/--volume for docker bind mounts. 22567-test-env-fixes
Tom Clegg [Mon, 27 May 2024 14:44:54 +0000 (10:44 -0400)]
22567: Use --mount instead of -v/--volume for docker bind mounts.

If the source path does not exist, -v/--volume assumes the source path
is the name of a volume and creates an empty one.  We would rather get
a "source path does not exist" error.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22567: Skip ipv6 test if not supported by test host.
Tom Clegg [Wed, 12 Feb 2025 16:28:52 +0000 (11:28 -0500)]
22567: Skip ipv6 test if not supported by test host.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago21926: Singularity support, more validation, doc updates
Peter Amstutz [Tue, 11 Feb 2025 22:40:32 +0000 (17:40 -0500)]
21926: Singularity support, more validation, doc updates

* Singularity support for rocm turns out to be easy as adding --rocm,
so that is done

* Add some validation for gpu 'stack' to API server and node_size

* Some documentation and testing cleanups

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '20605-refactor-image-cache'
Tom Clegg [Tue, 11 Feb 2025 19:15:59 +0000 (14:15 -0500)]
Merge branch '20605-refactor-image-cache'

fixes #20605

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22489: Use the bundler installed by run-tests.sh 22489-install-test-env
Brett Smith [Mon, 10 Feb 2025 16:55:34 +0000 (11:55 -0500)]
22489: Use the bundler installed by run-tests.sh

Since we install a specific version, we want to use it for consistency.
This mirrors code in the Rails postinst script.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489/22556: Do not reinstall dependencies for login-sync
Brett Smith [Mon, 10 Feb 2025 16:33:12 +0000 (11:33 -0500)]
22489/22556: Do not reinstall dependencies for login-sync

This is a weird exception to our usual rule that the `install` recipes
in run-tests.sh assume you've already installed the dependencies. Even
`install_sdk/cli`, which has the exact same gem dependencies, does not
do this. So do not do it here either, for consistency and less work.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489/22556: Do not uninstall gems in run-tests.sh
Brett Smith [Mon, 10 Feb 2025 16:30:44 +0000 (11:30 -0500)]
22489/22556: Do not uninstall gems in run-tests.sh

Just overwrite them instead. I have manually confirmed that, at least as
of Ruby 2.7.4/Gems 3.2.5, running `gem install PATH.gem` when the gem is
already installed will reinstall it, incorporating any changes. This
makes less work and avoids situations where we have broken gems because
we uninstalled dependencies out from underneath them.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Fix name of compute_fuse tasks file
Brett Smith [Mon, 10 Feb 2025 01:51:09 +0000 (20:51 -0500)]
22489: Fix name of compute_fuse tasks file

The old name meant that the role was a noop when used.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Bugfix incorrect username in default test config
Brett Smith [Sun, 9 Feb 2025 23:16:37 +0000 (18:16 -0500)]
22489: Bugfix incorrect username in default test config

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Add default test cluster configuration to Ansible
Brett Smith [Sun, 9 Feb 2025 15:16:59 +0000 (10:16 -0500)]
22489: Add default test cluster configuration to Ansible

Since these settings are already documented, writing them in a sample
configuration file makes it easy for build tools to reference.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Conditionally set fs.inotify.max_user_watches in install-test-env
Brett Smith [Sun, 9 Feb 2025 15:05:58 +0000 (10:05 -0500)]
22489: Conditionally set fs.inotify.max_user_watches in install-test-env

This matches the current behavior of `arvados-server install` to avoid
setting sysctls in unprivileged containers. I looked at using Ansible's
built-in virtualization facts to see if that could let us know whether
we could/should set these, but it's not as simple as "is this
virtualized" since that covers everything from KVM/Xen to tightly
restricted cgroups.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Add package build tools to install-test-env
Brett Smith [Fri, 7 Feb 2025 15:51:05 +0000 (10:51 -0500)]
22489: Add package build tools to install-test-env

In principle this could be considered a separate thing but this is the
best place for it for now.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22489: Add Workbench sysctls to install-test-env
Brett Smith [Fri, 7 Feb 2025 15:49:10 +0000 (10:49 -0500)]
22489: Add Workbench sysctls to install-test-env

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406/22489/22544: Remove arvados_test hardcoding from install-test-env
Brett Smith [Thu, 6 Feb 2025 14:49:33 +0000 (09:49 -0500)]
22406/22489/22544: Remove arvados_test hardcoding from install-test-env

The hardcoding referenced in the comment no longer exists.
See b23567171b16e4d6718dd78ea57bb25bc4b06a76.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoMerge branch '22008-python-storage-options'
Brett Smith [Thu, 6 Feb 2025 21:14:42 +0000 (16:14 -0500)]
Merge branch '22008-python-storage-options'

Closes #22008.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago21926: strings.Split returns array of one item even on empty string
Peter Amstutz [Thu, 6 Feb 2025 16:51:11 +0000 (11:51 -0500)]
21926: strings.Split returns array of one item even on empty string

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: More logging when insufficient resources to run container
Peter Amstutz [Thu, 6 Feb 2025 16:43:11 +0000 (11:43 -0500)]
21926: More logging when insufficient resources to run container

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Fix log message and make rocmVram required
Peter Amstutz [Thu, 6 Feb 2025 16:11:36 +0000 (11:11 -0500)]
21926: Fix log message and make rocmVram required

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '22406-ldap-docker-network'
Brett Smith [Wed, 5 Feb 2025 22:51:51 +0000 (17:51 -0500)]
Merge branch '22406-ldap-docker-network'

Refs #22406. Closes #22445.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago20605: Clean up tests. 20605-refactor-image-cache
Tom Clegg [Wed, 5 Feb 2025 21:39:53 +0000 (16:39 -0500)]
20605: Clean up tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months agoMerge branch '22473-favorites-crash'
Lisa Knox [Wed, 5 Feb 2025 16:51:05 +0000 (11:51 -0500)]
Merge branch '22473-favorites-crash'

closes #22473

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

5 months agoMerge branch '22336-resize-details-panel' into main. Closes #22336
Stephen Smith [Wed, 5 Feb 2025 16:42:55 +0000 (11:42 -0500)]
Merge branch '22336-resize-details-panel' into main. Closes #22336

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

5 months ago21926: Add upgrade note about BsubCUDAArguments
Peter Amstutz [Wed, 5 Feb 2025 14:23:58 +0000 (09:23 -0500)]
21926: Add upgrade note about BsubCUDAArguments

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22336: Add gray divider under details panel tabs 22336-resize-details-panel
Stephen Smith [Tue, 4 Feb 2025 12:33:29 +0000 (07:33 -0500)]
22336: Add gray divider under details panel tabs

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

5 months ago22336: Make MPVPanel mutuallyexclusive tabs symmetric
Stephen Smith [Mon, 3 Feb 2025 20:49:08 +0000 (15:49 -0500)]
22336: Make MPVPanel mutuallyexclusive tabs symmetric

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

5 months ago22336: Fix title overflow / icon spacing in details panel
Stephen Smith [Mon, 3 Feb 2025 14:44:57 +0000 (09:44 -0500)]
22336: Fix title overflow / icon spacing in details panel

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

5 months ago22008: Improve storage classes query API 22008-python-storage-options
Brett Smith [Tue, 4 Feb 2025 21:28:04 +0000 (16:28 -0500)]
22008: Improve storage classes query API

Make it more generalized so it's useful in more contexts.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22008: Improve csv_to_list API
Brett Smith [Tue, 4 Feb 2025 20:56:24 +0000 (15:56 -0500)]
22008: Improve csv_to_list API

Instead of having a single hardcoded function in util, have two
functions parse_seq and uniq in _internal. Add a UniqueSplit class to
commands._util for use as an argparse argument type to improve error
reporting.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22008: Make type declarations compatible with Python 3.8
Brett Smith [Tue, 28 Jan 2025 18:12:28 +0000 (13:12 -0500)]
22008: Make type declarations compatible with Python 3.8

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoCWL SDK: Do not hard-code default storage class in command-line tool
Zoë Ma [Mon, 1 Jul 2024 07:34:33 +0000 (15:34 +0800)]
CWL SDK: Do not hard-code default storage class in command-line tool

For arvados-cwl-runner, the options --storage-classes and
--intermediate-storage-classes used the hard-coded string `"default"`
internally as the stand-in for the storage class when none was given
when the tool was invoked.

This works when the storage class named "default" is the only default
storage class configured (i.e. with `Default: True` property). However,
this could be confusing, because, for example, there can be more than
one default storage classes in addition to the one _named_ "default".
Furthermore, the it's possible that the class named "default" may not
have the `Default: True` property (although the latter is certainly not
recommended).

By using the empty string, instead of the hard-coded "default", to
indicate that "no valid storage class is explicitly specified", testing
for the condition "we should use default storage classes" is actually
simplified, because the empty string is not ambiguous.

With this change, the decision about default intermediate storage
classes is made when container is requested. This can be beneficial, for
example, when the stages are run on different clusters with different
storage class configurations.

In addition, like in 8cb5ef17 (for Python SDK), the input option value
(comma-separated list of storage classes) is subjected to more robust
validation, to filter out any duplicate or empty values.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>

5 months agoPython SDK: more validation for options taking comma-separated values
Zoë Ma [Mon, 1 Jul 2024 07:17:49 +0000 (15:17 +0800)]
Python SDK: more validation for options taking comma-separated values

For command-line tools such as arv-put and arv-copy, options like
--storage-classes and --varying-url-params take a string of
comma-separated values. The current implementation may provide
insufficient validation for such input when, for example,

  - input contains duplicates values
  - input is empty or does not contain any valid value after removing
    leading and trailing space characters, e.g. --storage-class=", ,,,"

This is fixed by filtering the input string through a clean-up and
deduplication function. A test is added for the arv-put command to
illustrate the updated behavior.

For convenience, the filter function is added as
arvados.util.csv_to_list().

The minor changes to arvados/keep.py and arvados/http_to_keep.py are
for reusing the same code in certain internal string processing.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>

5 months ago22008: Add RangedValue argparse type
Brett Smith [Tue, 28 Jan 2025 16:50:30 +0000 (11:50 -0500)]
22008: Add RangedValue argparse type

This provides a generic way to check that an argument is within a range
of values and cause argparse to report an error if not.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoSupport setting replication level at destination in arv-copy options
Zoë Ma [Wed, 19 Jun 2024 03:01:11 +0000 (11:01 +0800)]
Support setting replication level at destination in arv-copy options

arv-copy effectively used a hard-coded replication level 2 for the
copied collections at the destination, bypassing the default replication
level set in the destination cluster's configuration file. There was no
command-line option to override this behavior.

A new command-line option, --replication, is added to the arv-copy
command, following the arv-put command's semantics. If left unspecified,
the destination's default replication setting is used. If that setting
cannot be found, use the fallback value of 2.

Arvados-DCO-1.1-Signed-off-by: Zoë Ma <zoe.ma@curii.com>

5 months ago22406: Update LDAP config comments 22406-ldap-docker-network
Brett Smith [Tue, 4 Feb 2025 19:54:08 +0000 (14:54 -0500)]
22406: Update LDAP config comments

Mostly to correct the name of the test suite and Docker image.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Remove hardcoding of arvados_test database name
Brett Smith [Tue, 4 Feb 2025 19:19:55 +0000 (14:19 -0500)]
22406: Remove hardcoding of arvados_test database name

Users should be allowed to use a different database if they
want. Testing that this actually works is outside the scope of this
branch, but we would like to remove obstacles to it happening, rather
than adding more.

zzzzz is assumed to always be a cluster running automated tests. If you
want a development cluster in your config.yml using a development
database, you need to give it a different cluster ID.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Set libpq environment variables unconditionally
Brett Smith [Tue, 4 Feb 2025 19:19:09 +0000 (14:19 -0500)]
22406: Set libpq environment variables unconditionally

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Separate test cases with whitespace
Brett Smith [Tue, 4 Feb 2025 19:13:06 +0000 (14:13 -0500)]
22406: Separate test cases with whitespace

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Improve error for non-JSON responses
Brett Smith [Tue, 4 Feb 2025 19:12:35 +0000 (14:12 -0500)]
22406: Improve error for non-JSON responses

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago21926: LSF tests pass
Peter Amstutz [Tue, 4 Feb 2025 19:12:18 +0000 (14:12 -0500)]
21926: LSF tests pass

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22406: Remove needless map pointers
Brett Smith [Tue, 4 Feb 2025 19:12:13 +0000 (14:12 -0500)]
22406: Remove needless map pointers

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months agoMerge branch 'main' into 21926-rocm refs #21926
Peter Amstutz [Tue, 4 Feb 2025 16:06:59 +0000 (11:06 -0500)]
Merge branch 'main' into 21926-rocm refs #21926

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22336: Add flex container to fix details panel overflowing
Stephen Smith [Wed, 15 Jan 2025 14:38:43 +0000 (09:38 -0500)]
22336: Add flex container to fix details panel overflowing

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

5 months agoMerge branch '22466-output-glob-fix' refs #22466
Peter Amstutz [Tue, 4 Feb 2025 14:59:05 +0000 (09:59 -0500)]
Merge branch '22466-output-glob-fix' refs #22466

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago20605: Ensure keep backend is available for cache tests.
Tom Clegg [Tue, 4 Feb 2025 00:53:36 +0000 (19:53 -0500)]
20605: Ensure keep backend is available for cache tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago20605: Route arv-mount stderr to console instead of devnull.
Tom Clegg [Mon, 3 Feb 2025 23:44:01 +0000 (18:44 -0500)]
20605: Route arv-mount stderr to console instead of devnull.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22466: A few more exception handling tweaks 22466-output-glob-fix
Peter Amstutz [Mon, 3 Feb 2025 22:05:34 +0000 (17:05 -0500)]
22466: A few more exception handling tweaks

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Fix tests and migrate BsubCUDAArguments to BsubGPUArguments
Peter Amstutz [Mon, 3 Feb 2025 21:41:30 +0000 (16:41 -0500)]
21926: Fix tests and migrate BsubCUDAArguments to BsubGPUArguments

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22473: changed mapTree to return empty tree with type <R> 22473-favorites-crash
Lisa Knox [Mon, 3 Feb 2025 20:14:38 +0000 (15:14 -0500)]
22473: changed mapTree to return empty tree with type <R>

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

5 months ago22466: Check if pattern is falsy instead of checking len()
Peter Amstutz [Mon, 3 Feb 2025 20:05:28 +0000 (15:05 -0500)]
22466: Check if pattern is falsy instead of checking len()

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22466: use a distinct OutputGlobError when setting output_glob
Peter Amstutz [Mon, 3 Feb 2025 20:03:55 +0000 (15:03 -0500)]
22466: use a distinct OutputGlobError when setting output_glob

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22473: moved hasCreateLinkProperties to linkservice.create
Lisa Knox [Mon, 3 Feb 2025 19:37:44 +0000 (14:37 -0500)]
22473: moved hasCreateLinkProperties to linkservice.create

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>

5 months agoMerge branch '22506-workspace-arg'
Tom Clegg [Mon, 3 Feb 2025 15:55:36 +0000 (10:55 -0500)]
Merge branch '22506-workspace-arg'

closes #22506

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago21926: Documentation updates
Peter Amstutz [Mon, 3 Feb 2025 14:53:33 +0000 (09:53 -0500)]
21926: Documentation updates

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22406: Use super.RunProgram for pg_isready
Brett Smith [Mon, 3 Feb 2025 01:09:57 +0000 (20:09 -0500)]
22406: Use super.RunProgram for pg_isready

Mainly this ensures we run `pg_isready` as postgres if we're root. It
also just removes a quirky special case from the code.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Reset libpq environment in arvados-server boot
Brett Smith [Mon, 3 Feb 2025 00:16:37 +0000 (19:16 -0500)]
22406: Reset libpq environment in arvados-server boot

This provides better isolation and more consistent spinup if the user or
run-tests set these variables.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Add port to run_test_server's default pgconnection
Brett Smith [Sat, 1 Feb 2025 21:11:29 +0000 (16:11 -0500)]
22406: Add port to run_test_server's default pgconnection

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22506: Don't support setting arbitrary env vars on command line. 22506-workspace-arg
Tom Clegg [Sat, 1 Feb 2025 00:46:12 +0000 (19:46 -0500)]
22506: Don't support setting arbitrary env vars on command line.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22406: Reorganize localdb login tests
Brett Smith [Fri, 31 Jan 2025 21:45:44 +0000 (16:45 -0500)]
22406: Reorganize localdb login tests

* Rename login_ldap_docker_test→login_docker_test, following the suite
  rename for the same reason (it tests both LDAP and PAM).

* Remove individual test suites for these login methods. They're not
  testing anything the Docker suite can't test better thanks to
  controlling more of the authentication stack.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Use bitnami/openldap for testing
Brett Smith [Fri, 31 Jan 2025 21:40:21 +0000 (16:40 -0500)]
22406: Use bitnami/openldap for testing

This seems to be the only OpenLDAP Docker image that's actually
maintained.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Unmarshal error responses directly in parseResponse
Brett Smith [Fri, 31 Jan 2025 20:26:38 +0000 (15:26 -0500)]
22406: Unmarshal error responses directly in parseResponse

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Make "file not found" check more robust
Brett Smith [Fri, 31 Jan 2025 20:26:07 +0000 (15:26 -0500)]
22406: Make "file not found" check more robust

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Remove redundant map pointer in updateConfig
Brett Smith [Fri, 31 Jan 2025 20:25:48 +0000 (15:25 -0500)]
22406: Remove redundant map pointer in updateConfig

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Check Close error in setUpConfig
Brett Smith [Fri, 31 Jan 2025 20:25:02 +0000 (15:25 -0500)]
22406: Check Close error in setUpConfig

Since this might mean we did not successfully write the new
configuration.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Move test description to suite
Brett Smith [Fri, 31 Jan 2025 20:24:32 +0000 (15:24 -0500)]
22406: Move test description to suite

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Use cmd.Output() in ipFromCmd()
Brett Smith [Fri, 31 Jan 2025 20:24:12 +0000 (15:24 -0500)]
22406: Use cmd.Output() in ipFromCmd()

Simpler implementation.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22406: Set psql configuration from test config in run-tests.sh
Brett Smith [Fri, 31 Jan 2025 19:57:01 +0000 (14:57 -0500)]
22406: Set psql configuration from test config in run-tests.sh

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago21926: Add GPU note to upgrading notes and API docs
Peter Amstutz [Fri, 31 Jan 2025 19:43:10 +0000 (14:43 -0500)]
21926: Add GPU note to upgrading notes and API docs

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Expand CWL testing for CUDA and ROCm
Peter Amstutz [Fri, 31 Jan 2025 18:54:21 +0000 (13:54 -0500)]
21926: Expand CWL testing for CUDA and ROCm

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Handle backwards compatability CUDA->GPU in config
Peter Amstutz [Fri, 31 Jan 2025 18:14:15 +0000 (13:14 -0500)]
21926: Handle backwards compatability CUDA->GPU in config

Migrate CUDA section in config to GPU section.

If VRAM is unspecified for an instance type, it can't be used to
reject the instance.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: Add test for reusing legacy cuda requests
Peter Amstutz [Fri, 31 Jan 2025 15:09:29 +0000 (10:09 -0500)]
21926: Add test for reusing legacy cuda requests

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago21926: New GPU API WIP
Peter Amstutz [Thu, 30 Jan 2025 18:41:16 +0000 (13:41 -0500)]
21926: New GPU API WIP

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '22433-test-fixes'
Tom Clegg [Thu, 30 Jan 2025 15:36:17 +0000 (10:36 -0500)]
Merge branch '22433-test-fixes'

refs #22433

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

5 months ago22466: Use better exception types
Peter Amstutz [Wed, 29 Jan 2025 20:58:22 +0000 (15:58 -0500)]
22466: Use better exception types

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22466: Reorganize block processing patterns to use exceptions
Peter Amstutz [Wed, 29 Jan 2025 20:48:28 +0000 (15:48 -0500)]
22466: Reorganize block processing patterns to use exceptions

Now uses exceptions to indicate any condition where it cannot
determine a correct value for output_glob, which should make the logic
a bit easier to follow.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '22420-file-update' refs #22420
Peter Amstutz [Wed, 29 Jan 2025 20:21:13 +0000 (15:21 -0500)]
Merge branch '22420-file-update' refs #22420

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22420: Added "on next access" to "--refresh-time" help string.
Peter Amstutz [Wed, 29 Jan 2025 20:20:02 +0000 (15:20 -0500)]
22420: Added "on next access" to "--refresh-time" help string.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months agoMerge branch '22160-retry-container-req' refs #22160
Peter Amstutz [Wed, 29 Jan 2025 20:08:12 +0000 (15:08 -0500)]
Merge branch '22160-retry-container-req' refs #22160

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22160: Check all three possible return states 22160-retry-container-req
Peter Amstutz [Wed, 29 Jan 2025 20:05:26 +0000 (15:05 -0500)]
22160: Check all three possible return states

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22160: Add test
Peter Amstutz [Wed, 29 Jan 2025 19:49:52 +0000 (14:49 -0500)]
22160: Add test

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

5 months ago22433: DRY up download recipes 22433-test-fixes
Brett Smith [Wed, 29 Jan 2025 16:27:13 +0000 (11:27 -0500)]
22433: DRY up download recipes

Use Make's built-in variables to avoid duplicating paths.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22433: Update package build to Node 14.21.3
Brett Smith [Wed, 29 Jan 2025 16:13:33 +0000 (11:13 -0500)]
22433: Update package build to Node 14.21.3

This matches lib/install/deps.go and tools/ansible/install-test-env.yml.
I don't want to parse it out of deps.go a la goversion because we're
looking to get rid of that soon-ish.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22433: Switch from wget to curl for package-build-dockerfiles
Brett Smith [Wed, 29 Jan 2025 15:59:19 +0000 (10:59 -0500)]
22433: Switch from wget to curl for package-build-dockerfiles

This is the only place in our build process where we depend on wget, so
removing it in favor of curl simplifies things.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22433: Update package test scripts to accommodate Rails postinst failing
Brett Smith [Wed, 29 Jan 2025 15:58:13 +0000 (10:58 -0500)]
22433: Update package test scripts to accommodate Rails postinst failing

These scripts were relying on the previous behavior of the postinst
reporting success even if the package wasn't fully installed.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22433: Remove stray local statements from Rails postinst
Brett Smith [Wed, 29 Jan 2025 15:57:16 +0000 (10:57 -0500)]
22433: Remove stray local statements from Rails postinst

These should've been removed in 4bdf19541cf8775f3c60042f511f63827c5a9f34.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

5 months ago22473: fixed favorite-service test
Lisa Knox [Wed, 29 Jan 2025 14:21:12 +0000 (09:21 -0500)]
22473: fixed favorite-service test

Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>