[arvados] updated: 2.7.0-5672-gc5380a9ea9

git repository hosting git at public.arvados.org
Thu Jan 4 22:57:53 UTC 2024


Summary of changes:
 build/package-build-dockerfiles/centos7/Dockerfile |   4 +-
 .../package-build-dockerfiles/debian10/Dockerfile  |   4 +-
 .../package-build-dockerfiles/debian11/Dockerfile  |   4 +-
 .../package-build-dockerfiles/debian12/Dockerfile  |  16 +-
 build/package-build-dockerfiles/rocky8/Dockerfile  |   4 +-
 .../ubuntu1804/Dockerfile                          |   4 +-
 .../ubuntu2004/Dockerfile                          |   4 +-
 .../ubuntu2204/Dockerfile                          |  16 +-
 build/run-build-packages-one-target.sh             |   2 +-
 build/run-library.sh                               |   2 +-
 build/run-tests.sh                                 |   1 +
 doc/_config.yml                                    |   4 +
 doc/_includes/_google_analytics.liquid             |  21 +
 doc/_includes/_matomo_analytics.liquid             |  16 +
 doc/_layouts/default.html.liquid                   |  17 +-
 doc/admin/keep-faster-gc-s3.html.textile.liquid    |   6 +-
 doc/admin/scoped-tokens.html.textile.liquid        |  17 +-
 doc/admin/upgrading.html.textile.liquid            |   4 +
 doc/api/keep-webdav.html.textile.liquid            |   6 +
 doc/api/methods/groups.html.textile.liquid         |   2 +-
 go.mod                                             |   2 +-
 go.sum                                             |   4 +-
 lib/boot/supervisor.go                             |  23 +-
 lib/controller/handler_test.go                     |   1 +
 lib/controller/localdb/container_test.go           |   1 +
 lib/dispatchcloud/dispatcher_test.go               |  17 +-
 lib/dispatchcloud/scheduler/run_queue.go           |   4 +-
 sdk/go/arvados/client.go                           |  43 +-
 sdk/go/arvados/fs_base.go                          |  93 +++-
 sdk/go/arvados/fs_collection.go                    |   2 +-
 sdk/go/arvados/fs_lookup.go                        |  14 +-
 sdk/go/arvados/fs_project.go                       |   5 +-
 sdk/go/arvados/fs_project_test.go                  | 111 +++--
 sdk/go/arvados/fs_site.go                          |   8 +
 sdk/go/arvados/fs_site_test.go                     |  10 +
 sdk/go/arvadostest/fixtures.go                     |   5 +-
 sdk/go/arvadostest/proxy.go                        |  14 +
 sdk/go/keepclient/keepclient.go                    |  21 +
 .../client/api/client/CountingFileRequestBody.java |  43 +-
 .../client/api/client/CountingRequestBody.java     |  52 +++
 .../api/client/CountingStreamRequestBody.java      |  47 ++
 .../client/api/client/KeepServerApiClient.java     |   2 +-
 .../client/api/client/KeepWebApiClient.java        |  11 +
 sdk/python/arvados/__init__.py                     |  19 +-
 sdk/python/arvados/events.py                       | 487 +++++++++++++++------
 sdk/python/setup.py                                |  10 +-
 sdk/python/tests/test_events.py                    | 214 ++++++---
 services/api/app/models/user.rb                    |  93 +++-
 .../admin_notifier/new_inactive_user.text.erb      |   9 +-
 .../api/app/views/admin_notifier/new_user.text.erb |  16 +-
 .../views/user_notifier/account_is_setup.text.erb  |   2 +-
 services/api/test/integration/remote_user_test.rb  |  25 +-
 services/api/test/unit/user_test.rb                |  10 +-
 services/fuse/arvados_fuse/command.py              |  31 +-
 services/fuse/tests/test_command_args.py           |  45 ++
 services/keep-balance/balance_run_test.go          |  78 +++-
 services/keep-balance/server.go                    |   9 +-
 services/keep-web/handler_test.go                  |  45 +-
 services/keep-web/server_test.go                   |   2 +-
 services/keepproxy/keepproxy.go                    |  50 ++-
 services/keepstore/proxy_remote.go                 |   4 +-
 services/keepstore/pull_worker.go                  |   4 +-
 services/workbench2/Makefile                       |   3 +
 .../workbench2/cypress/integration/process.spec.js |  47 ++
 .../cypress/integration/side-panel.spec.js         |  37 ++
 services/workbench2/package.json                   |   9 +-
 services/workbench2/public/arrow-to-left.png       | Bin 10416 -> 0 bytes
 services/workbench2/public/arrow-to-right.png      | Bin 10484 -> 0 bytes
 services/workbench2/public/collapseLHS-New.svg     |  25 --
 services/workbench2/public/mui-start-icon.svg      |   1 +
 services/workbench2/src/common/config.ts           |  22 +
 services/workbench2/src/common/formatters.test.ts  |  68 ++-
 services/workbench2/src/common/formatters.ts       |  17 +-
 .../src/components/code-snippet/code-snippet.tsx   |  22 +-
 .../src/components/data-explorer/data-explorer.tsx |  67 +--
 services/workbench2/src/components/icon/icon.tsx   |   9 +-
 .../multiselect-toolbar/MultiselectToolbar.tsx     |   1 +
 .../subprocess-progress-bar.test.tsx               | 165 +++++++
 .../subprocess-progress-bar.tsx                    | 105 +++++
 services/workbench2/src/components/tree/tree.tsx   |  41 +-
 services/workbench2/src/index.tsx                  |   3 +
 .../workbench2/src/routes/route-change-handlers.ts |   3 +
 services/workbench2/src/routes/routes.ts           |   6 +-
 .../src/store/breadcrumbs/breadcrumbs-actions.ts   |  38 +-
 .../src/store/favorites/favorites-actions.ts       |   2 +
 .../src/store/navigation/navigation-action.ts      |  19 +-
 .../process-logs-panel-actions.ts                  |  59 ++-
 .../public-favorites/public-favorites-actions.ts   |   2 +
 .../side-panel-tree/side-panel-tree-actions.ts     | 116 +++--
 .../subprocess-panel/subprocess-panel-actions.ts   |  81 ++++
 .../store/tree-picker/tree-picker-actions.test.ts  |   5 +-
 .../src/store/workbench/workbench-actions.ts       |  20 +-
 .../views-components/data-explorer/renderers.tsx   |  24 +
 .../views-components/main-app-bar/account-menu.tsx |   2 +-
 .../side-panel-toggle/side-panel-toggle.tsx        |  15 +-
 .../side-panel-tree/side-panel-tree.tsx            |   8 +-
 .../side-panel/side-panel-collapsed.tsx            | 165 +++++++
 .../src/views-components/side-panel/side-panel.tsx |   8 +-
 .../instance-types-panel.test.tsx                  | 112 +++++
 .../instance-types-panel/instance-types-panel.tsx  | 148 +++++++
 .../process-panel/process-details-attributes.tsx   |   4 +-
 .../src/views/process-panel/process-panel-root.tsx |   2 +-
 .../views/process-panel/process-resource-card.tsx  |   4 +-
 .../shared-with-me-panel/shared-with-me-panel.tsx  | 198 +++++++++
 .../subprocess-panel/subprocess-panel-root.tsx     |   6 +-
 .../views/subprocess-panel/subprocess-panel.tsx    |   2 +-
 .../workbench2/src/views/workbench/workbench.tsx   |   9 +-
 services/workbench2/yarn.lock                      | 116 +++--
 services/ws/session_v0.go                          |   1 +
 services/ws/session_v0_test.go                     |  35 ++
 tools/arvbox/bin/arvbox                            |   2 +
 tools/arvbox/lib/arvbox/docker/common.sh           |  32 +-
 tools/arvbox/lib/arvbox/docker/go-setup.sh         |   1 +
 tools/arvbox/lib/arvbox/docker/service/nginx/run   |  12 +-
 .../lib/arvbox/docker/service/sdk/run-service      |   6 +-
 .../lib/arvbox/docker/service/vm/run-service       |   3 +-
 116 files changed, 3057 insertions(+), 691 deletions(-)
 create mode 100644 doc/_includes/_google_analytics.liquid
 create mode 100644 doc/_includes/_matomo_analytics.liquid
 create mode 100644 sdk/java-v2/src/main/java/org/arvados/client/api/client/CountingRequestBody.java
 create mode 100644 sdk/java-v2/src/main/java/org/arvados/client/api/client/CountingStreamRequestBody.java
 delete mode 100644 services/workbench2/public/arrow-to-left.png
 delete mode 100644 services/workbench2/public/arrow-to-right.png
 delete mode 100644 services/workbench2/public/collapseLHS-New.svg
 create mode 100644 services/workbench2/public/mui-start-icon.svg
 create mode 100644 services/workbench2/src/components/subprocess-progress-bar/subprocess-progress-bar.test.tsx
 create mode 100644 services/workbench2/src/components/subprocess-progress-bar/subprocess-progress-bar.tsx
 create mode 100644 services/workbench2/src/views-components/side-panel/side-panel-collapsed.tsx
 create mode 100644 services/workbench2/src/views/instance-types-panel/instance-types-panel.test.tsx
 create mode 100644 services/workbench2/src/views/instance-types-panel/instance-types-panel.tsx

       via  c5380a9ea994f5727ffe0e45dfe7c46a20673db0 (commit)
       via  529bee0099e69f33ab11e01a511542b07419a479 (commit)
       via  8092484ad328a502b3928da22d60e9a3c1c5b1cd (commit)
       via  fc57acf16ce38bcf8c73d1a2492e5680fb045e60 (commit)
       via  a6b9fb8166440eef3144150024a875c858db9bb6 (commit)
       via  c821bfc6028b78d5272d7721541dae64c828bdbc (commit)
       via  e508443dd138027cecdf654fb515df910cdeeed8 (commit)
       via  e905737532244ab6f0fc8839733b7ef906b73e74 (commit)
       via  7fdaebf3e915e70403c40a1ce901ca767394a7a2 (commit)
       via  7737cf94d7f912f469a1ae7e808dbd2fb1eb6c8a (commit)
       via  1facbe1b9a0f41f7a86e9cae8a78926364ed69f6 (commit)
       via  3e1365188d8f27e150c8de7d1ae2834f6d1b90d2 (commit)
       via  f91ea2cc7567d8c0c741a1122d63725c449d0271 (commit)
       via  0c995c12dc8a440a9ae8f4dfa8e173f2cf3d70c4 (commit)
       via  1f63df555d466b17e4f7c59b44ef00a2df975f59 (commit)
       via  c656b0b18c31e14e3313391d1608eb6fe2ab7819 (commit)
       via  1ce5e9e86f6387a77fe90b8ccd2f87d17b0288de (commit)
       via  05094973696294e4d9effe87b9e9e45b06d89835 (commit)
       via  1567b25b4245b2f0fa626413e9a42eaef7ca4be5 (commit)
       via  2fb40dec667f6f2c750b08d07e7f575a3289bdee (commit)
       via  0d85dd75361bfab5e90479aa85fb4782860e636e (commit)
       via  f650ebb8d9f7c55efc147b6c23143e9f6a30fee5 (commit)
       via  434ef5225b3d505ddeceb81815c6e8d454555772 (commit)
       via  fba452e1092543f9bbc1fd6b2c87ae9288134b15 (commit)
       via  e8b99010926e0d7bd1ebcbb17189f2d00df2ba67 (commit)
       via  14a2e78ff5cd055216a9f6edc40dfb3f79122fa8 (commit)
       via  78b846cb6298644512fe711b4ef5bcebd657412c (commit)
       via  5b8cf7d21b16a859c7d7429e5e7dfd17d50f93ed (commit)
       via  33185e9e58d5e492eaff61eea64d5d2e6eeb71a3 (commit)
       via  6f15deea24d3544e08ba6c5681d2a2a11de40971 (commit)
       via  afc02fe04d5591d6b24d20d69a11960fb44464ae (commit)
       via  26955439f42946b90550ffca2b0da7d155f42c6e (commit)
       via  9d79c796788c259b759adb16d5c87f18c52380b3 (commit)
       via  f8207f94af84bfab4f506a8fa4229f8bcb926ae8 (commit)
       via  ea87e9c1154efb3ac7ea35f2c9e92b0262f3ba20 (commit)
       via  7b0378196c01cd6ab9209faea7ffeb13348c9f54 (commit)
       via  aa29646b94556f244a2a8ef5f422d9e91b95ffe0 (commit)
       via  0c9db5b63420bab25e970c75dfd9169b9c7db139 (commit)
       via  af083bfbaae0d542a25d663e28e66cefa765f501 (commit)
       via  f3c3c707c91a3a5add3b7719c1ea4d3604264c90 (commit)
       via  d98b34eaf9d26acee8891e51f96a5bfbb152d200 (commit)
       via  eabce45fdc050e9b322cf5e21f788f4641821d20 (commit)
       via  55f5776c23afcf47f7229e6547e6d5bae6f6c570 (commit)
       via  d940d88f991c14785110855ba0ee79ea5f401276 (commit)
       via  83814b2517c29e97e94892d7ebb42bdd813f255b (commit)
       via  485488b8f975fb75daf77a4fad72d3d9d05cd611 (commit)
       via  e7ffa5492684992e4f08f793e6dbb526bcb6b6a1 (commit)
       via  17f3f80dda9d09c68ef5642a3ff9f7ef67de69f9 (commit)
       via  3a9ad31ae91ff7de3ba1e4eddebea98ef4b7a672 (commit)
       via  c20ff7f14dbfc2011e4351215f24e4927aa2ff5f (commit)
       via  8209e167b7c32f7f233f54429390a7470a8127d9 (commit)
       via  1ab8d6123704e915f86ce37c6d425669f4cce90c (commit)
       via  98cfc0a3924a16654150899afbb7fd255439cec3 (commit)
       via  3d5a798ef6f4bd3b1a771bacdf0acf70edf6c1f5 (commit)
       via  b9c536f72871b980194fa54d783bfe09ef76cdd5 (commit)
       via  cb73538f0851cea402a0544861966c2515a24b5b (commit)
       via  9955d212e725d59450aada734c898594f1c11fd2 (commit)
       via  095e176632bbf81d28a239742a1ecce12404bd2d (commit)
       via  6c7c27f15f02cac915023590b4dfde6c4fd0af0b (commit)
       via  b774da617da87999f68863b90542dd41d9ba0bd3 (commit)
       via  66897bc5cef798a8bfc2a3426568914dcaf15759 (commit)
       via  1372710a7f3b33d822c52455ed613c1063ad4b16 (commit)
       via  6fc40dd09630b712b5030dbed51e6e47e25b294c (commit)
       via  e9f7d73dc0d84ee7127b8f83a4955521e8091708 (commit)
       via  78f785dabc247454726845de9cdf48eb4d5b7a0d (commit)
       via  ee9d1e39b5d469a827be5a719c9c0860914ab2a8 (commit)
       via  2c7f44ed77a3df21088ec608f6a5d58dd7f65518 (commit)
       via  9251549928dd5206d4a14e5f9811caa66aa64c65 (commit)
       via  e06a65d3deb59887fed473e27c3eebd8aefa5090 (commit)
       via  19c37b6272043711e64fa30b02d82dfa9aab3f19 (commit)
       via  73cc3ce5feb6d22c40742c499db9c799aa5ff874 (commit)
       via  3d5a1c29aad86476f2e789e1e54cabf8b4605aa2 (commit)
       via  34b6ae3f6c8204f87a9498d00f7ebe2b10cda170 (commit)
       via  701150f33acb6c07d35b3802cc02964321d0417c (commit)
       via  05ffd8f0f13345044d5ffb4405949794cb316bd6 (commit)
       via  b11dab64f5cd5273247a1ae4c959c25168452a6a (commit)
       via  c3b9ee34064b6fca1647fd0b3d2051573ceba523 (commit)
       via  88d20af49848708344f9a384ba203b063859c660 (commit)
       via  8ca84832e153ff4e3b93aa7eec26be9c09fc5e9c (commit)
       via  a382fba3ae8f98536c898442e96ae997f41fc920 (commit)
       via  a05e443dbfcde94651afe783e633b08d79e2b6d1 (commit)
       via  a773baf0d1662b7aab632bfd4f7db50b4b29a6b8 (commit)
       via  504d5fea43c831adb924da5df84825c4e2fabb45 (commit)
       via  8989c3ca9c63dc05975b2c02e56c2031246beb96 (commit)
       via  3e65a597ea81688774098a921246006ec3e933f6 (commit)
       via  d7b8f2a876c797c22bcb8594f73624402d758e18 (commit)
       via  79036634292cc4ed13db98a834f33d617c85b1cd (commit)
       via  187f790d8b71c5c7b54a599bec6e58950d7116dc (commit)
       via  d768d69e85e12e8f300687ea27b995fc419a0eea (commit)
       via  eb2aed26a98fddbe6efc6b10464fd188b890f273 (commit)
       via  e2a2b9d3ec8f11394df3cc587f9caab5f6132d67 (commit)
       via  28c06ec49951386a2e1831e058a839346bddb024 (commit)
       via  b83ec86c35e47c19b01f4f0e6fa74ddac6a5b92b (commit)
       via  7982e6ae73cc314954a86514bf54b10c38ee592d (commit)
       via  a5ea331da0b2e58c686c490f4274ecadccc67355 (commit)
       via  ba244d0282e8dc6c21ebf6a509750717bae35783 (commit)
       via  1875ec0fead829272cc609f9d1431f4922633d49 (commit)
       via  ca46f67ca632f9e1633298ccc5868015acbdd04a (commit)
       via  56abc754816d01cb8e9df01a35c8e9af66ada408 (commit)
       via  e2f200c518a48a05bb8dba7682dbb445c19951df (commit)
       via  25667ac485387b286faa5c5e4a6bb96231dddf20 (commit)
       via  8228d441690ed78340e1a44f3e0bf8b4f94215a0 (commit)
       via  30e91748f6f3202604f3a19d1aa7ddf02ffd149e (commit)
       via  d3bd5784e528b8b99881b293b530b78a23d0a775 (commit)
       via  7d45d61adcaffb47f58031a44f89ff3f9005ce22 (commit)
       via  dcf2e835b33e926073dad1f636cf92a95493ca0b (commit)
       via  356d030ba429f793d4dd5d9997395cb0a7125514 (commit)
       via  2a0558ceed0332333908344cd1274d2827716d87 (commit)
       via  8530de10102e931fca7adf3eae39ca562ffea5ec (commit)
       via  6c351b29d205b54fd86b62cf4e39d06b0d2a6dcd (commit)
       via  4d3c5f5861ea4c1d5e8491517806651cdfeab57f (commit)
       via  21be228d6b3f99b6c27b2a2a0fd1cc9c46ce6cfb (commit)
       via  9a3525e1e4561393a4fb42c6e02f4f6b6d074954 (commit)
       via  b5311e4a8420181d6ad1e0380f0cd9959c96faec (commit)
       via  f5fd828741edeebb7c4d3449f474c3606b3912d4 (commit)
       via  6c9138600a27ea2980ac455e9b62ac7b7c1e64b8 (commit)
       via  bc46a0bb4a5e0fe799c39e6570c2b2c186452037 (commit)
       via  0e98b3fc0b3c49e6268905fba19859b05e26fc4f (commit)
       via  acbdf56bc7c678796cc4a8d0627ab66fd1edf37f (commit)
       via  72c70bed4eb3098a92a0deb07841a0b46d9df5bf (commit)
       via  82646dcb3d8f2497de1a33d2250101749526662f (commit)
       via  e335fc05c480a0eda91cf36c374cbcc784281c2e (commit)
       via  1d6407bd7c7d0669c99b615c8ecc2be3a10b6ba9 (commit)
       via  e5fadeed6b9052254606e7c0529752b74f50a27b (commit)
       via  8997608d0fae4eba9d92d7e363bdc6bb462e933d (commit)
       via  4288d7816f793b621fa8c70cb646c19136e05d2a (commit)
       via  599aa352ade599966cf2a4606a1e6a1776a0738d (commit)
       via  9eca8f9b0755eaeb1104a8e699a463f0ac127040 (commit)
       via  ef5e2f624a7f51fc326a7ef34e8c12134b108ab4 (commit)
       via  ce84334e25316fdf1671bdf5ce8acda9c1a455de (commit)
       via  992d07cd979b34d79fbe3135be089a86b13f0201 (commit)
       via  37a104a131a5121b213146fb4ee1b18bc822df90 (commit)
       via  c178ba288276f6383703fb9b7e513ff78f68b917 (commit)
       via  5f48a19354d8503c7967c22af2caedf30f1f1056 (commit)
       via  525f8b0afcbeee6bea0cc1f3fc7c3a249fde995a (commit)
       via  5d6640046afef7dc3714b784430e18bf2f2153fe (commit)
       via  b4d518c97713bc542abfb8f4041ae25b82db3764 (commit)
       via  c314adae7b1551ef6682d4a3760bda5787b989ce (commit)
       via  9fe1e9ff7d9af167f0ee350ab5a68ded128d8043 (commit)
       via  45dab1a8d772d04484cdd8a5f7487cb74a105ad9 (commit)
       via  89e80fa011ac209afc87d5440ceef174c2e5ef70 (commit)
       via  d1dd322910160323245664b836d9c2f69e068d85 (commit)
       via  11b6ed73b4a0dc051072bb02a060396b55db4a26 (commit)
       via  eeb58b87d42354940875c56d41add15b4bfc0894 (commit)
       via  fdb810aee6d7ee83f3ccea81e21dac1a4c3823d6 (commit)
       via  cfa88a0915d5a49a6eb870505c346db2dbd58648 (commit)
       via  0602c276f01e91b1bb6dafcc3adfc0dd43a922fc (commit)
       via  70cc7de1fd7fb72c757a8466dee7ca6bf8e55c84 (commit)
       via  8a4ef30d51b2ccc6138bc1d8d8300b106bcdd8b2 (commit)
       via  c986217e3930682b6b4ab49941314bdeb0357595 (commit)
      from  b015c9e45f2a81b7069e5ecde3e0e9e0c5c619fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c5380a9ea994f5727ffe0e45dfe7c46a20673db0
Author: Tom Clegg <tom at curii.com>
Date:   Thu Jan 4 17:51:33 2024 -0500

    21258: Ensure at least one boot failure.
    
    With the previous approach, it was possible for all containers needing
    a type4 instance to finish, and a different instance type to report a
    quota error and cause the scheduler to shut down the now-unneeded
    instance, all before the "guaranteed broken" node reached
    TimeoutBooting. In such a case it would not be counted as a boot
    failure.
    
    To avoid this, the new approach induces boot failures on *all* type4
    instances until 2x TimeoutBooting intervals have passed.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/dispatchcloud/dispatcher_test.go b/lib/dispatchcloud/dispatcher_test.go
index 51c2c3d6a3..20185554b8 100644
--- a/lib/dispatchcloud/dispatcher_test.go
+++ b/lib/dispatchcloud/dispatcher_test.go
@@ -207,6 +207,7 @@ func (s *DispatcherSuite) TestDispatchToStubDriver(c *check.C) {
 		finishContainer(ctr)
 		return int(rand.Uint32() & 0x3)
 	}
+	var type4BrokenUntil time.Time
 	var countCapacityErrors int64
 	vmCount := int32(0)
 	s.stubDriver.Queue = queue
@@ -224,6 +225,17 @@ func (s *DispatcherSuite) TestDispatchToStubDriver(c *check.C) {
 		stubvm.CrashRunningContainer = finishContainer
 		stubvm.ExtraCrunchRunArgs = "'--runtime-engine=stub' '--foo' '--extra='\\''args'\\'''"
 		switch {
+		case stubvm.Instance().ProviderType() == test.InstanceType(4).ProviderType &&
+			(type4BrokenUntil.IsZero() || time.Now().Before(type4BrokenUntil)):
+			// Initially (at least 2*TimeoutBooting), all
+			// instances of this type are completely
+			// broken. This ensures the
+			// boot_outcomes{outcome="failure"} metric is
+			// not zero.
+			stubvm.Broken = time.Now()
+			if type4BrokenUntil.IsZero() {
+				type4BrokenUntil = time.Now().Add(2 * s.cluster.Containers.CloudVMs.TimeoutBooting.Duration())
+			}
 		case n%7 == 0:
 			// some instances start out OK but then stop
 			// running any commands
@@ -235,11 +247,6 @@ func (s *DispatcherSuite) TestDispatchToStubDriver(c *check.C) {
 			// some instances start out OK but then start
 			// reporting themselves as broken
 			stubvm.ReportBroken = time.Now().Add(time.Duration(rand.Int63n(200)) * time.Millisecond)
-		case n == 3:
-			// 1 instance is completely broken, ensuring
-			// the boot_outcomes{outcome="failure"} metric
-			// is not zero
-			stubvm.Broken = time.Now()
 		default:
 			stubvm.CrunchRunCrashRate = 0.1
 			stubvm.ArvMountDeadlockRate = 0.1

commit 529bee0099e69f33ab11e01a511542b07419a479
Author: Tom Clegg <tom at curii.com>
Date:   Thu Jan 4 10:19:22 2024 -0500

    21258: Fix log message.
    
    Reverts an unintentional logging change in
    1875af9bcf4a1afe435176e952e63341a9ae9c03 from
    
    msg="creating new instance" InstanceType="type8" ...
    
    to
    
    msg="creating new instance" InstanceType="{type8 providertype8 8 8589934592 0 0 0 0.984 false {  0}}" ...
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/dispatchcloud/scheduler/run_queue.go b/lib/dispatchcloud/scheduler/run_queue.go
index 2f1f175890..03fa592777 100644
--- a/lib/dispatchcloud/scheduler/run_queue.go
+++ b/lib/dispatchcloud/scheduler/run_queue.go
@@ -239,7 +239,7 @@ tryrun:
 				// so mark it as allocated, and try to
 				// start the container.
 				unalloc[unallocType]--
-				logger = logger.WithField("InstanceType", unallocType)
+				logger = logger.WithField("InstanceType", unallocType.Name)
 				if dontstart[unallocType] {
 					// We already tried & failed to start
 					// a higher-priority container on the
@@ -282,7 +282,7 @@ tryrun:
 				logger.Trace("all eligible types at capacity")
 				continue
 			}
-			logger = logger.WithField("InstanceType", availableType)
+			logger = logger.WithField("InstanceType", availableType.Name)
 			if !sch.pool.Create(availableType) {
 				// Failed despite not being at quota,
 				// e.g., cloud ops throttled.

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list