]> git.arvados.org - arvados.git/log
arvados.git
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 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 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 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 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 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 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 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 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 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 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>

5 months agoMerge branch '22433-rails-postinst-exit-code'
Brett Smith [Tue, 28 Jan 2025 21:28:48 +0000 (16:28 -0500)]
Merge branch '22433-rails-postinst-exit-code'

Refs #22433. Closes #22448.

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

5 months agoMerge branch '22051-integrate-resource-to-menu-kind'
Lisa Knox [Tue, 28 Jan 2025 21:07:44 +0000 (16:07 -0500)]
Merge branch '22051-integrate-resource-to-menu-kind'

refs #22051

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

5 months ago22473: added a few checks to prevent creation of malformed links
Lisa Knox [Tue, 28 Jan 2025 21:03:54 +0000 (16:03 -0500)]
22473: added a few checks to prevent creation of malformed links

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

5 months ago22420: rename the --poll-time option to --refresh-time 22420-file-update
Peter Amstutz [Tue, 28 Jan 2025 20:37:22 +0000 (15:37 -0500)]
22420: rename the --poll-time option to --refresh-time

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

5 months ago22051: changed isRoleGroupResource to use isUserGroup 22051-integrate-resource-to-menu-kind
Lisa Knox [Tue, 28 Jan 2025 20:19:08 +0000 (15:19 -0500)]
22051: changed isRoleGroupResource to use isUserGroup

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

5 months ago22473: added test for malformed node
Lisa Knox [Tue, 28 Jan 2025 20:06:57 +0000 (15:06 -0500)]
22473: added test for malformed node

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

5 months agoMerge branch '22437-ansible-dir'
Brett Smith [Tue, 28 Jan 2025 19:34:10 +0000 (14:34 -0500)]
Merge branch '22437-ansible-dir'

Refs #22437. Closes #22447.

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

5 months ago22473: prevent nameless links from making it into the treePicker
Lisa Knox [Tue, 28 Jan 2025 19:10:49 +0000 (14:10 -0500)]
22473: prevent nameless links from making it into the treePicker

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

5 months ago20605: Refactor singularity image cache.
Tom Clegg [Tue, 28 Jan 2025 19:04:21 +0000 (14:04 -0500)]
20605: Refactor singularity image cache.

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

6 months agoMerge branch '21547-retryable-db-error' refs #21547
Peter Amstutz [Tue, 28 Jan 2025 14:40:58 +0000 (09:40 -0500)]
Merge branch '21547-retryable-db-error' refs #21547

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

6 months ago22473: sidePanelTree now persists in redux store when malformed link is present
Lisa Knox [Tue, 28 Jan 2025 14:16:50 +0000 (09:16 -0500)]
22473: sidePanelTree now persists in redux store when malformed link is present

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

6 months ago21547: Fix reference to db connection 21547-retryable-db-error
Peter Amstutz [Mon, 27 Jan 2025 16:56:33 +0000 (11:56 -0500)]
21547: Fix reference to db connection

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

6 months ago21547: Fix ruby syntax and add tests.
Tom Clegg [Mon, 27 Jan 2025 15:50:07 +0000 (10:50 -0500)]
21547: Fix ruby syntax and add tests.

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

6 months agoMerge branch '22467-extra-fulltext-index'
Tom Clegg [Mon, 27 Jan 2025 15:25:21 +0000 (10:25 -0500)]
Merge branch '22467-extra-fulltext-index'

fixes #22467

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

6 months ago21547: Don't retry row_lock_for_priority_update deadlocks
Peter Amstutz [Sun, 26 Jan 2025 03:25:23 +0000 (22:25 -0500)]
21547: Don't retry row_lock_for_priority_update deadlocks

It seems like retrying a deadlock is counter productive -- it ties up
a request slot and holds a transaction open.  I believe returning a
500 error and having the client retry will be more robust.

This also adjusts the locking query to select and order by the primary
key (id).  This is speculative and based on a stack overflow comment
suggesting that the doing lock ordering on a field other than the
primary key causes rows to be first acquired with share locks (out of
order) and then subsequently converted to exclusive locks (in order),
and this can be avoided by using the primary key.

Since I haven't been able to determine any other reason the ordered
locking, which is specifically implemented to prevent deadlocks but
deadlocks anyway, it's worth a shot.

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

6 months ago21547: Return certain database errors as 500 for retry
Peter Amstutz [Sun, 26 Jan 2025 03:17:39 +0000 (22:17 -0500)]
21547: Return certain database errors as 500 for retry

ActiveRecord errors which are related to locking or communicating with
the database should be returned as code 500 so the client knows to
retry.

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

6 months ago22160: If error committing a container request, re-check it
Peter Amstutz [Sat, 25 Jan 2025 20:18:05 +0000 (15:18 -0500)]
22160: If error committing a container request, re-check it

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

6 months ago22051: added canManage and canWrite defaults because they are possibly undefined
Lisa Knox [Fri, 24 Jan 2025 18:29:15 +0000 (13:29 -0500)]
22051: added canManage and canWrite defaults because they are possibly undefined

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

6 months ago22051: added missing user group filter
Lisa Knox [Fri, 24 Jan 2025 15:56:43 +0000 (10:56 -0500)]
22051: added missing user group filter

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

6 months ago22051: changed groups-panel to use resourceToMenuKind
Lisa Knox [Fri, 24 Jan 2025 15:28:04 +0000 (10:28 -0500)]
22051: changed groups-panel to use resourceToMenuKind

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

6 months ago22051: smoothed out type predicates
Lisa Knox [Fri, 24 Jan 2025 14:47:43 +0000 (09:47 -0500)]
22051: smoothed out type predicates

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

6 months ago22466: Handle case where we get the 2ndary filename from the expression
Peter Amstutz [Wed, 22 Jan 2025 19:54:10 +0000 (14:54 -0500)]
22466: Handle case where we get the 2ndary filename from the expression

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

6 months ago22466: Additional improvements identifying secondary files
Peter Amstutz [Wed, 22 Jan 2025 18:14:55 +0000 (13:14 -0500)]
22466: Additional improvements identifying secondary files

In circumstances where we can safely identify the primary and
secondary file (the filenames are sufficiently well characterized in
advance) then we can use output_glob.  If not, capture everything, and
make sure we don't throw any spurious errors.

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

6 months ago22466: compute output_glob for secondary files after expression eval
Peter Amstutz [Thu, 16 Jan 2025 17:46:49 +0000 (12:46 -0500)]
22466: compute output_glob for secondary files after expression eval

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

6 months ago22466: Test for bug 22466
Peter Amstutz [Thu, 16 Jan 2025 18:15:52 +0000 (13:15 -0500)]
22466: Test for bug 22466

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

6 months ago22437: Fix markup typo 22437-ansible-dir
Brett Smith [Wed, 22 Jan 2025 19:38:43 +0000 (14:38 -0500)]
22437: Fix markup typo

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