]> git.arvados.org - arvados.git/log
arvados.git
4 months agoMerge branch '22697-gem-downgrades'
Brett Smith [Wed, 2 Apr 2025 17:30:18 +0000 (13:30 -0400)]
Merge branch '22697-gem-downgrades'

Refs #22697.

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

4 months ago22698: Bugfix incorrect shift
Brett Smith [Wed, 2 Apr 2025 15:57:08 +0000 (11:57 -0400)]
22698: Bugfix incorrect shift

If no argument was passed, there will be nothing to shift, and this will
cause an error exit. Arguments after mandatory ones need to be handled
by position. Closes #22698.

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

4 months ago22712: Pin securerandom dependency for Ruby 2.7 22697-gem-downgrades
Brett Smith [Wed, 2 Apr 2025 15:26:00 +0000 (11:26 -0400)]
22712: Pin securerandom dependency for Ruby 2.7

We're already doing the same in services/api/Gemfile.

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

4 months ago22697: Downgrade Rails to 7.1.3.4
Brett Smith [Wed, 2 Apr 2025 15:25:40 +0000 (11:25 -0400)]
22697: Downgrade Rails to 7.1.3.4

For compatibility with Ruby 2.7.0 in Ubuntu 20.04.

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

4 months agoAdd trailing slash to COPY destination
Brett Smith [Tue, 1 Apr 2025 13:26:17 +0000 (09:26 -0400)]
Add trailing slash to COPY destination

According to the Dockerfile reference and the `docker build` error
message I got, this is required to copy multiple files to a destination
directory. No issue #.

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

4 months ago22697: Fix Ubuntu CUDA URL
Brett Smith [Tue, 1 Apr 2025 13:11:10 +0000 (09:11 -0400)]
22697: Fix Ubuntu CUDA URL

For whatever reason Ansible reports the version number as "22.04" and
the major version as "22" but no minor version. Refs #22697.

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

4 months ago22697: Fix URL for AWS' Ubuntu security mirror
Brett Smith [Mon, 31 Mar 2025 20:50:43 +0000 (16:50 -0400)]
22697: Fix URL for AWS' Ubuntu security mirror

Refs #22697.

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

4 months agoMerge branch '22618-wrong-breadcrumbs'
Lisa Knox [Mon, 31 Mar 2025 13:16:11 +0000 (09:16 -0400)]
Merge branch '22618-wrong-breadcrumbs'

closes #22618

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

4 months ago22618: added e2e test 22618-wrong-breadcrumbs
Lisa Knox [Fri, 28 Mar 2025 15:38:49 +0000 (11:38 -0400)]
22618: added e2e test

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

4 months ago22618: Added collection panel reset on unmount
Lisa Knox [Fri, 28 Mar 2025 14:53:40 +0000 (10:53 -0400)]
22618: Added collection panel reset on unmount

* also told eslint not to lint cy.js files

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

4 months agoMerge branch '22321-webdav-write-repack'
Tom Clegg [Fri, 28 Mar 2025 14:36:04 +0000 (10:36 -0400)]
Merge branch '22321-webdav-write-repack'

closes #22321

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

4 months agoMerge branch '22666-test-checkcacheonly'
Tom Clegg [Thu, 27 Mar 2025 19:59:04 +0000 (15:59 -0400)]
Merge branch '22666-test-checkcacheonly'

fixes #22666

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

4 months ago22666: Clarify "currently" in comment.
Tom Clegg [Thu, 27 Mar 2025 19:58:37 +0000 (15:58 -0400)]
22666: Clarify "currently" in comment.

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

4 months ago22321: Dry up webdav requests in integration tests. 22321-webdav-write-repack
Tom Clegg [Thu, 27 Mar 2025 19:54:15 +0000 (15:54 -0400)]
22321: Dry up webdav requests in integration tests.

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

4 months ago22321: Add Marshal and RoundTrip tests for BlockSegment.
Tom Clegg [Thu, 27 Mar 2025 15:23:32 +0000 (11:23 -0400)]
22321: Add Marshal and RoundTrip tests for BlockSegment.

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

4 months ago22321: Repack collections after upload.
Tom Clegg [Tue, 25 Mar 2025 21:10:55 +0000 (17:10 -0400)]
22321: Repack collections after upload.

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

4 months agoMerge branch '22700-installer-arvados-formula'
Lucas Di Pentima [Tue, 25 Mar 2025 18:19:12 +0000 (15:19 -0300)]
Merge branch '22700-installer-arvados-formula'

closes #22700

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

4 months ago22700: Handle arvados-formula the same way as others. 22700-installer-arvados-formula
Lucas Di Pentima [Tue, 25 Mar 2025 17:25:27 +0000 (14:25 -0300)]
22700: Handle arvados-formula the same way as others.

We pin the arvados-formula version using the ARVADOS_TAG envvar, and the
provision script checks out that version on every run.
Previous behavior was kind of similar, but this way is more explicit and
less error-prone.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

4 months agoUpdate self-referential version references to 3.1.0, refs #22510
Peter Amstutz [Wed, 19 Mar 2025 19:50:34 +0000 (15:50 -0400)]
Update self-referential version references to 3.1.0, refs #22510

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

4 months ago22666: Test (*keepstore)Blockread() with CheckCacheOnly: true. 22666-test-checkcacheonly
Tom Clegg [Mon, 24 Mar 2025 14:47:33 +0000 (10:47 -0400)]
22666: Test (*keepstore)Blockread() with CheckCacheOnly: true.

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

4 months agoMerge branch '22693-docker-28'
Brett Smith [Thu, 20 Mar 2025 22:44:23 +0000 (18:44 -0400)]
Merge branch '22693-docker-28'

Closes #22693.

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

4 months ago22693: Update Docker pin to version 28 22693-docker-28
Brett Smith [Thu, 20 Mar 2025 15:49:50 +0000 (11:49 -0400)]
22693: Update Docker pin to version 28

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

4 months agoMerge branch '22652-axios-upgrade' into main. Closes #22652
Stephen Smith [Thu, 20 Mar 2025 13:38:11 +0000 (09:38 -0400)]
Merge branch '22652-axios-upgrade' into main. Closes #22652

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

4 months agoBuild Java SDK with jdk11, refs #22084
Peter Amstutz [Wed, 13 Nov 2024 23:22:50 +0000 (18:22 -0500)]
Build Java SDK with jdk11, refs #22084

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

4 months ago22652: Bump axios-mock-adapter to latest 22652-axios-upgrade
Stephen Smith [Wed, 19 Mar 2025 18:38:21 +0000 (14:38 -0400)]
22652: Bump axios-mock-adapter to latest

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

4 months ago22652: Bump axios to latest to address CVE-2025-27152
Stephen Smith [Wed, 19 Mar 2025 18:36:50 +0000 (14:36 -0400)]
22652: Bump axios to latest to address CVE-2025-27152

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

4 months ago22652: First upgrade axios depended on by wait-on to address CVE-2025-27152
Stephen Smith [Wed, 19 Mar 2025 18:35:17 +0000 (14:35 -0400)]
22652: First upgrade axios depended on by wait-on to address CVE-2025-27152

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

4 months agoMerge branch '22689-bump-babel-dependencies' into main. Closes #22689
Stephen Smith [Wed, 19 Mar 2025 18:03:16 +0000 (14:03 -0400)]
Merge branch '22689-bump-babel-dependencies' into main. Closes #22689

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

4 months ago22689: Bump @babel/runtime-corejs2 to address CVE-2025-27789 22689-bump-babel-dependencies
Stephen Smith [Wed, 19 Mar 2025 16:44:43 +0000 (12:44 -0400)]
22689: Bump @babel/runtime-corejs2 to address CVE-2025-27789

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

4 months ago22689: Bump @babel/helpers to address CVE-2025-27789
Stephen Smith [Wed, 19 Mar 2025 16:43:59 +0000 (12:43 -0400)]
22689: Bump @babel/helpers to address CVE-2025-27789

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

4 months ago22689: Bump @babel/runtime to address CVE-2025-27789
Stephen Smith [Wed, 19 Mar 2025 16:40:20 +0000 (12:40 -0400)]
22689: Bump @babel/runtime to address CVE-2025-27789

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

4 months ago21926: Add upgrade note about cuda→gpu API changes
Brett Smith [Tue, 18 Mar 2025 16:14:40 +0000 (12:14 -0400)]
21926: Add upgrade note about cuda→gpu API changes

Refs #21926.

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

4 months agoMerge branch '22621-upload-error-message' into main. Closes #22621
Stephen Smith [Mon, 17 Mar 2025 19:09:35 +0000 (15:09 -0400)]
Merge branch '22621-upload-error-message' into main. Closes #22621

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

4 months ago22621: Change collection file upload error to be generic 22621-upload-error-message
Stephen Smith [Mon, 17 Mar 2025 17:13:37 +0000 (13:13 -0400)]
22621: Change collection file upload error to be generic

Upload errors do not generate any reason in the exceptions so we are unable to
display specific error reasons.

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

4 months agoMerge branch '22320-cached-only'
Brett Smith [Mon, 17 Mar 2025 14:07:40 +0000 (10:07 -0400)]
Merge branch '22320-cached-only'

Refs #22320. Closes #22344.

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

4 months agoMerge branch '22228-separate-expire-and-refresh'
Tom Clegg [Sat, 15 Mar 2025 06:21:05 +0000 (02:21 -0400)]
Merge branch '22228-separate-expire-and-refresh'

fixes #22228

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

4 months agoMerge branch '22655-keepclient-test'
Tom Clegg [Fri, 14 Mar 2025 16:11:26 +0000 (12:11 -0400)]
Merge branch '22655-keepclient-test'

closes #22655

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

4 months ago22320: Add tests for CachedOnly. 22320-cached-only
Tom Clegg [Tue, 11 Mar 2025 15:20:27 +0000 (11:20 -0400)]
22320: Add tests for CachedOnly.

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

4 months ago22320: Add CheckCacheOnly option to BlockReadOptions.
Tom Clegg [Tue, 11 Mar 2025 14:23:02 +0000 (10:23 -0400)]
22320: Add CheckCacheOnly option to BlockReadOptions.

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

4 months agoMerge branch '22320-repack-small-blocks'
Tom Clegg [Fri, 14 Mar 2025 14:42:30 +0000 (10:42 -0400)]
Merge branch '22320-repack-small-blocks'

refs #22320

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

4 months ago22655: Fix Python 3 usage -- raise exceptions, not strings. 22655-keepclient-test
Tom Clegg [Fri, 14 Mar 2025 14:34:11 +0000 (10:34 -0400)]
22655: Fix Python 3 usage -- raise exceptions, not strings.

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

4 months ago22655: Fix func signature to force kwargs, remove unused arg.
Tom Clegg [Fri, 14 Mar 2025 14:30:10 +0000 (10:30 -0400)]
22655: Fix func signature to force kwargs, remove unused arg.

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

4 months agoMerge branch '22602-arv-copy' refs #22602
Peter Amstutz [Fri, 14 Mar 2025 13:53:57 +0000 (09:53 -0400)]
Merge branch '22602-arv-copy' refs #22602

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

4 months ago22320: Check final blocksInManifest. 22320-repack-small-blocks
Tom Clegg [Thu, 13 Mar 2025 21:33:36 +0000 (17:33 -0400)]
22320: Check final blocksInManifest.

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

4 months ago22320: Run slow tests and write chart data only if env var is set.
Tom Clegg [Thu, 13 Mar 2025 21:15:45 +0000 (17:15 -0400)]
22320: Run slow tests and write chart data only if env var is set.

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

4 months ago22602: DRY search() to use search_paths() and add test 22602-arv-copy
Peter Amstutz [Thu, 13 Mar 2025 21:01:21 +0000 (17:01 -0400)]
22602: DRY search() to use search_paths() and add test

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

4 months ago22320: Fix comment typo.
Tom Clegg [Thu, 13 Mar 2025 20:40:48 +0000 (16:40 -0400)]
22320: Fix comment typo.

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

4 months ago22228: Update comments. 22228-separate-expire-and-refresh
Tom Clegg [Thu, 13 Mar 2025 18:49:34 +0000 (14:49 -0400)]
22228: Update comments.

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

4 months ago22228: Test that remote expires_at is preserved in local cache.
Tom Clegg [Thu, 13 Mar 2025 18:47:14 +0000 (14:47 -0400)]
22228: Test that remote expires_at is preserved in local cache.

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

4 months agoMerge branch '22660-acr-cred-leak' refs #22660
Peter Amstutz [Thu, 13 Mar 2025 20:17:06 +0000 (16:17 -0400)]
Merge branch '22660-acr-cred-leak' refs #22660

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

4 months ago22228: Update tests to use refreshes_at to induce cache refresh.
Tom Clegg [Thu, 13 Mar 2025 18:46:25 +0000 (14:46 -0400)]
22228: Update tests to use refreshes_at to induce cache refresh.

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

4 months ago22228: Add refreshes_at field, preserve upstream expires_at.
Tom Clegg [Thu, 13 Mar 2025 16:27:52 +0000 (12:27 -0400)]
22228: Add refreshes_at field, preserve upstream expires_at.

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

4 months ago22660: Simpler sanitize implementation from brett 22660-acr-cred-leak
Peter Amstutz [Thu, 13 Mar 2025 15:03:42 +0000 (11:03 -0400)]
22660: Simpler sanitize implementation from brett

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

4 months ago22602: Further improve error reporting for getting cluster creds
Peter Amstutz [Thu, 13 Mar 2025 14:29:37 +0000 (10:29 -0400)]
22602: Further improve error reporting for getting cluster creds

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

4 months ago22602: Fix test
Peter Amstutz [Thu, 13 Mar 2025 00:33:01 +0000 (20:33 -0400)]
22602: Fix test

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

4 months ago22602: Improve error handling when instance info is wrong
Peter Amstutz [Thu, 13 Mar 2025 00:28:23 +0000 (20:28 -0400)]
22602: Improve error handling when instance info is wrong

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

4 months ago22660: Sanitize the git remote URL
Peter Amstutz [Wed, 12 Mar 2025 23:34:46 +0000 (19:34 -0400)]
22660: Sanitize the git remote URL

Remove the username/password section of the netloc part of the URL, if
present.  This was reported by a user that it was leaking github
tokens, as one way of providing a github token is write it as

https://x-access-token:blahblahblah@github.com/foo/bar.git

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

4 months ago22655: Propagate errors running run_test_servers.py from Go suites.
Tom Clegg [Wed, 12 Mar 2025 17:25:50 +0000 (13:25 -0400)]
22655: Propagate errors running run_test_servers.py from Go suites.

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

4 months ago22655: Don't keep waiting for a subprocess to listen after it exits.
Tom Clegg [Wed, 12 Mar 2025 17:25:46 +0000 (13:25 -0400)]
22655: Don't keep waiting for a subprocess to listen after it exits.

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

4 months ago22655: In test environment, retry in-use addr for 5 minutes.
Tom Clegg [Wed, 12 Mar 2025 17:11:19 +0000 (13:11 -0400)]
22655: In test environment, retry in-use addr for 5 minutes.

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

4 months agoBump rack from 3.1.10 to 3.1.12 in /services/api
dependabot[bot] [Mon, 10 Mar 2025 22:35:17 +0000 (22:35 +0000)]
Bump rack from 3.1.10 to 3.1.12 in /services/api

refs #22657

Bumps [rack](https://github.com/rack/rack) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.10...v3.1.12)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Arvados-DCO-1.1-Signed-off-by: dependabot[bot] <support@github.com>

4 months ago22655: Try a bit harder to detect port conflicts.
Tom Clegg [Tue, 11 Mar 2025 21:40:18 +0000 (17:40 -0400)]
22655: Try a bit harder to detect port conflicts.

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

4 months ago22655: Avoid needlessly changing global state in test suites.
Tom Clegg [Tue, 11 Mar 2025 21:31:40 +0000 (17:31 -0400)]
22655: Avoid needlessly changing global state in test suites.

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

4 months agoMerge branch '17209-http-forward'
Tom Clegg [Mon, 10 Mar 2025 15:43:11 +0000 (11:43 -0400)]
Merge branch '17209-http-forward'

closes #17209

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

4 months ago17209: Remove unused commented-out code.
Tom Clegg [Mon, 10 Mar 2025 15:31:20 +0000 (11:31 -0400)]
17209: Remove unused commented-out code.

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

4 months agoMerge branch '22644-arvados-server-install-singularity'
Brett Smith [Mon, 10 Mar 2025 15:31:12 +0000 (11:31 -0400)]
Merge branch '22644-arvados-server-install-singularity'

Refs #22644.

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

4 months ago22602: arv-copy checks config file first then falls back on default creds
Peter Amstutz [Mon, 10 Mar 2025 15:14:22 +0000 (11:14 -0400)]
22602: arv-copy checks config file first then falls back on default creds

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

5 months agoMerge branch '22647-postinst-ignores-gem-install-errors'
Brett Smith [Fri, 7 Mar 2025 23:25:35 +0000 (18:25 -0500)]
Merge branch '22647-postinst-ignores-gem-install-errors'

Closes #22647, #22648.

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

5 months ago22647: Wordsmith comment and status message
Brett Smith [Fri, 7 Mar 2025 23:24:52 +0000 (18:24 -0500)]
22647: Wordsmith comment and status message

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

5 months ago22320: Export Repack() method.
Tom Clegg [Fri, 7 Mar 2025 20:44:15 +0000 (15:44 -0500)]
22320: Export Repack() method.

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

5 months ago22320: Remove unimplemented Underutilized option.
Tom Clegg [Fri, 7 Mar 2025 20:33:14 +0000 (15:33 -0500)]
22320: Remove unimplemented Underutilized option.

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

5 months ago22320: Add test cases for 32MiB and 32MiB-1 sized blocks.
Tom Clegg [Fri, 7 Mar 2025 20:26:08 +0000 (15:26 -0500)]
22320: Add test cases for 32MiB and 32MiB-1 sized blocks.

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

5 months ago22320: Fix maxBlockSize restored to wrong value after tests.
Tom Clegg [Fri, 7 Mar 2025 20:25:11 +0000 (15:25 -0500)]
22320: Fix maxBlockSize restored to wrong value after tests.

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

5 months ago22647: Ignore `gem install` errors in RailsAPI postinst 22647-postinst-ignores-gem-install-errors
Brett Smith [Fri, 7 Mar 2025 19:36:52 +0000 (14:36 -0500)]
22647: Ignore `gem install` errors in RailsAPI postinst

See comments for rationale.

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

5 months ago22320: Fix test case cheating by repeating content.
Tom Clegg [Fri, 7 Mar 2025 16:17:42 +0000 (11:17 -0500)]
22320: Fix test case cheating by repeating content.

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

5 months ago22320: Implement full-repack, like old tests expected.
Tom Clegg [Fri, 14 Feb 2025 05:03:49 +0000 (00:03 -0500)]
22320: Implement full-repack, like old tests expected.

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

5 months ago22320: Parameterize RepackCost test.
Tom Clegg [Wed, 12 Feb 2025 16:26:58 +0000 (11:26 -0500)]
22320: Parameterize RepackCost test.

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

5 months ago22320: Improve stats output.
Tom Clegg [Tue, 11 Feb 2025 21:41:39 +0000 (16:41 -0500)]
22320: Improve stats output.

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

5 months ago22320: Fix mkdir in test.
Tom Clegg [Tue, 11 Feb 2025 21:09:42 +0000 (16:09 -0500)]
22320: Fix mkdir in test.

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

5 months ago22320: Fix test panic.
Tom Clegg [Tue, 11 Feb 2025 16:27:02 +0000 (11:27 -0500)]
22320: Fix test panic.

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

5 months ago22320: Write more stats for charting.
Tom Clegg [Tue, 11 Feb 2025 16:25:42 +0000 (11:25 -0500)]
22320: Write more stats for charting.

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

5 months ago22320: Refine repacking algorithm to handle a range of block sizes.
Tom Clegg [Fri, 7 Feb 2025 00:09:58 +0000 (19:09 -0500)]
22320: Refine repacking algorithm to handle a range of block sizes.

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

5 months ago22320: Fix Repack bug causing segment replacements to be skipped.
Tom Clegg [Thu, 6 Feb 2025 23:56:38 +0000 (18:56 -0500)]
22320: Fix Repack bug causing segment replacements to be skipped.

repackTree must call replaceSegments with the newly computed
replacements -- not the merged set of new replacements plus
previously-applied replacements.  If it passes the merged set to
replaceSegments, some of the new replacements will be skipped.

For example, if a previous repack applied A->B, and the current repack
applies B->D and C->D, then the merged set includes A->D, and A is no
longer referenced, so replaceSegments will skip any->D.

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

5 months ago22320: Refactor test case.
Tom Clegg [Thu, 19 Dec 2024 16:18:09 +0000 (11:18 -0500)]
22320: Refactor test case.

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

5 months ago22320: Add repack-after-write test.
Tom Clegg [Wed, 18 Dec 2024 15:25:38 +0000 (10:25 -0500)]
22320: Add repack-after-write test.

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

5 months ago22320: Track repack results.
Tom Clegg [Mon, 16 Dec 2024 22:38:32 +0000 (17:38 -0500)]
22320: Track repack results.

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

5 months ago22320: Naive Repack implementation.
Tom Clegg [Mon, 16 Dec 2024 21:11:54 +0000 (16:11 -0500)]
22320: Naive Repack implementation.

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

5 months ago22644: Install Singularity from archive instead of Git 22644-arvados-server-install-singularity
Brett Smith [Fri, 7 Mar 2025 15:19:05 +0000 (10:19 -0500)]
22644: Install Singularity from archive instead of Git

Ansible is already doing this, and it looks like something has maybe
happened with one of the submodules so it no longer gets cloned
correctly. Using the source archive is less error-prone.

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

5 months ago22608: Add PowerTools setup to the API install docs
Brett Smith [Fri, 7 Mar 2025 15:00:14 +0000 (10:00 -0500)]
22608: Add PowerTools setup to the API install docs

Mirroring the upgrade note. Refs #22608.

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

5 months agoMerge branch '22608-enable-powertools'
Brett Smith [Thu, 6 Mar 2025 21:27:15 +0000 (16:27 -0500)]
Merge branch '22608-enable-powertools'

Refs #22608.

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

5 months ago22608: Add upgrade note about libyaml/PowerTools dependency 22608-enable-powertools
Brett Smith [Thu, 6 Mar 2025 20:40:36 +0000 (15:40 -0500)]
22608: Add upgrade note about libyaml/PowerTools dependency

This is a consequence of the upgrade to Rails 7.1.

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

5 months ago22608: Enable powertools repo in rocky8 test image
Brett Smith [Thu, 6 Mar 2025 20:30:35 +0000 (15:30 -0500)]
22608: Enable powertools repo in rocky8 test image

This is necessary to get libyaml-devel to install arvados-api-server.

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

5 months ago17209: Allow admin access to all container ports. 17209-http-forward
Tom Clegg [Thu, 6 Mar 2025 19:22:28 +0000 (14:22 -0500)]
17209: Allow admin access to all container ports.

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

5 months ago17209: Merge branch 'main' into 17209-http-forward
Tom Clegg [Thu, 6 Mar 2025 19:17:51 +0000 (14:17 -0500)]
17209: Merge branch 'main' into 17209-http-forward

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

5 months ago17209: Restrict HTTP proxy access to the CR submitter.
Tom Clegg [Thu, 6 Mar 2025 19:15:59 +0000 (14:15 -0500)]
17209: Restrict HTTP proxy access to the CR submitter.

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

5 months agoMerge branch '22608-upgrade-rails'
Brett Smith [Thu, 6 Mar 2025 19:05:09 +0000 (14:05 -0500)]
Merge branch '22608-upgrade-rails'

Refs #22608, #22629.

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

5 months agoMerge branch '22624-left-panel-uncollapse-bug' into main. Closes #22624
Stephen Smith [Thu, 6 Mar 2025 14:25:35 +0000 (09:25 -0500)]
Merge branch '22624-left-panel-uncollapse-bug' into main. Closes #22624

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

5 months ago22608: Upgrade Passenger to 6.0.26 22608-upgrade-rails-passenger
Brett Smith [Wed, 5 Mar 2025 21:35:32 +0000 (16:35 -0500)]
22608: Upgrade Passenger to 6.0.26

To address CVE-2025-26803.

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

5 months ago22608: Guard against no uuid param in find_object_by_uuid
Brett Smith [Wed, 5 Mar 2025 21:29:53 +0000 (16:29 -0500)]
22608: Guard against no uuid param in find_object_by_uuid

See comments for rationale. The old code causes bad query construction
and crashes in Rails 7.2 because of
  <https://github.com/rails/rails/issues/52643>

While we can't upgrade to Rails 7.2 right now, the code is safe for
older versions. Since I spent the time to track this down, we might as
well make the change now and make a future upgrade easier.

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

5 months ago22608: Upgrade Rails to 7.1
Brett Smith [Wed, 5 Mar 2025 17:23:15 +0000 (12:23 -0500)]
22608: Upgrade Rails to 7.1

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