1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
7 // IDs of API server's test fixtures
9 SpectatorToken = "zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu"
10 ActiveToken = "3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi"
11 ActiveTokenUUID = "zzzzz-gj3su-077z32aux8dg2s1"
12 ActiveTokenV2 = "v2/zzzzz-gj3su-077z32aux8dg2s1/3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi"
13 AdminUserUUID = "zzzzz-tpzed-d9tiejq69daie8f"
14 AdminToken = "4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h"
15 AdminTokenUUID = "zzzzz-gj3su-027z32aux8dg2s1"
16 AnonymousToken = "4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi"
17 DataManagerToken = "320mkve8qkswstz7ff61glpk3mhgghmg67wmic7elw4z41pke1"
18 SystemRootToken = "systemusertesttoken1234567890aoeuidhtnsqjkxbmwvzpy"
19 ManagementToken = "e687950a23c3a9bceec28c6223a06c79"
20 ActiveUserUUID = "zzzzz-tpzed-xurymjxw79nv3jz"
21 FederatedActiveUserUUID = "zbbbb-tpzed-xurymjxw79nv3jz"
22 SpectatorUserUUID = "zzzzz-tpzed-l1s2piq4t4mps8r"
23 UserAgreementCollection = "zzzzz-4zz18-uukreo9rbgwsujr" // user_agreement_in_anonymously_accessible_project
24 FooCollectionName = "zzzzz-4zz18-fy296fx3hot09f7 added sometime"
25 FooCollection = "zzzzz-4zz18-fy296fx3hot09f7"
26 FooCollectionPDH = "1f4b0bc7583c2a7f9102c395f4ffc5e3+45"
27 NonexistentCollection = "zzzzz-4zz18-totallynotexist"
28 HelloWorldCollection = "zzzzz-4zz18-4en62shvi99lxd4"
29 FooBarDirCollection = "zzzzz-4zz18-foonbarfilesdir"
30 WazVersion1Collection = "zzzzz-4zz18-25k12570yk1ver1"
31 UserAgreementPDH = "b519d9cb706a29fc7ea24dbea2f05851+93"
32 HelloWorldPdh = "55713e6a34081eb03609e7ad5fcad129+62"
34 MultilevelCollection1 = "zzzzz-4zz18-pyw8yp9g3pr7irn"
35 MultilevelCollection1PDH = "f9ddda46bb293b6847da984e3aa735db+290"
36 StorageClassesDesiredDefaultConfirmedDefault = "zzzzz-4zz18-3t236wr12769tga"
37 StorageClassesDesiredArchiveConfirmedDefault = "zzzzz-4zz18-3t236wr12769qqa"
38 EmptyCollectionUUID = "zzzzz-4zz18-gs9ooj1h9sd5mde"
40 AProjectUUID = "zzzzz-j7d0g-v955i6s2oi1cbso"
41 ASubprojectUUID = "zzzzz-j7d0g-axqo7eu9pwvna1x"
42 AFilterGroupUUID = "zzzzz-j7d0g-thisfiltergroup"
44 FooAndBarFilesInDirUUID = "zzzzz-4zz18-foonbarfilesdir"
45 FooAndBarFilesInDirPDH = "870369fc72738603c2fad16664e50e2d+58"
47 QueuedContainerRequestUUID = "zzzzz-xvhdp-cr4queuedcontnr"
48 QueuedContainerUUID = "zzzzz-dz642-queuedcontainer"
50 LockedContainerUUID = "zzzzz-dz642-lockedcontainer"
52 RunningContainerUUID = "zzzzz-dz642-runningcontainr"
54 CompletedContainerUUID = "zzzzz-dz642-compltcontainer"
55 CompletedContainerRequestUUID = "zzzzz-xvhdp-cr4completedctr"
56 CompletedContainerRequestUUID2 = "zzzzz-xvhdp-cr4completedcr2"
58 CompletedDiagnosticsContainerRequest1UUID = "zzzzz-xvhdp-diagnostics0001"
59 CompletedDiagnosticsContainerRequest2UUID = "zzzzz-xvhdp-diagnostics0002"
60 CompletedDiagnosticsContainer1UUID = "zzzzz-dz642-diagcompreq0001"
61 CompletedDiagnosticsContainer2UUID = "zzzzz-dz642-diagcompreq0002"
62 DiagnosticsContainerRequest1LogCollectionUUID = "zzzzz-4zz18-diagcompreqlog1"
63 DiagnosticsContainerRequest2LogCollectionUUID = "zzzzz-4zz18-diagcompreqlog2"
65 CompletedDiagnosticsHasher1ContainerRequestUUID = "zzzzz-xvhdp-diag1hasher0001"
66 CompletedDiagnosticsHasher2ContainerRequestUUID = "zzzzz-xvhdp-diag1hasher0002"
67 CompletedDiagnosticsHasher3ContainerRequestUUID = "zzzzz-xvhdp-diag1hasher0003"
68 CompletedDiagnosticsHasher1ContainerUUID = "zzzzz-dz642-diagcomphasher1"
69 CompletedDiagnosticsHasher2ContainerUUID = "zzzzz-dz642-diagcomphasher2"
70 CompletedDiagnosticsHasher3ContainerUUID = "zzzzz-dz642-diagcomphasher3"
72 UncommittedContainerRequestUUID = "zzzzz-xvhdp-cr4uncommittedc"
74 Hasher1LogCollectionUUID = "zzzzz-4zz18-dlogcollhash001"
75 Hasher2LogCollectionUUID = "zzzzz-4zz18-dlogcollhash002"
76 Hasher3LogCollectionUUID = "zzzzz-4zz18-dlogcollhash003"
78 ArvadosRepoUUID = "zzzzz-s0uqq-arvadosrepo0123"
79 ArvadosRepoName = "arvados"
80 FooRepoUUID = "zzzzz-s0uqq-382brsig8rp3666"
81 FooRepoName = "active/foo"
82 Repository2UUID = "zzzzz-s0uqq-382brsig8rp3667"
83 Repository2Name = "active/foo2"
85 FooFileCollectionUUID = "zzzzz-4zz18-znfnqtbbv4spc3w"
86 FooFileCollectionSharingTokenUUID = "zzzzz-gj3su-gf02tdm4g1z3e3u"
87 FooFileCollectionSharingToken = "iknqgmunrhgsyfok8uzjlwun9iscwm3xacmzmg65fa1j1lpdss"
88 BarFileCollectionUUID = "zzzzz-4zz18-ehbhgtheo8909or"
89 BarFileCollectionPDH = "fa7aeb5140e2848d39b416daeef4ffc5+45"
91 WorkflowWithDefinitionYAMLUUID = "zzzzz-7fd4e-validworkfloyml"
93 CollectionReplicationDesired2Confirmed2UUID = "zzzzz-4zz18-434zv1tnnf2rygp"
95 ActiveUserCanReadAllUsersLinkUUID = "zzzzz-o0j2j-ctbysaduejxfrs5"
97 TrustedWorkbenchAPIClientUUID = "zzzzz-ozdt8-teyxzyd8qllg11h"
99 AdminAuthorizedKeysUUID = "zzzzz-fngyi-12nc9ov4osp8nae"
101 CrunchstatForRunningContainerLogUUID = "zzzzz-57u5n-containerlog006"
103 IdleNodeUUID = "zzzzz-7ekkf-2z3mc76g2q73aio"
105 TestVMUUID = "zzzzz-2x53u-382brsig8rp3064"
107 CollectionWithUniqueWordsUUID = "zzzzz-4zz18-mnt690klmb51aud"
109 LogCollectionUUID = "zzzzz-4zz18-logcollection01"
110 LogCollectionUUID2 = "zzzzz-4zz18-logcollection02"
112 DockerImage112PDH = "d740a57097711e08eb9b2a93518f20ab+174"
113 DockerImage112Filename = "sha256:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar"
116 var TestCollectionUUIDToPDH = map[string]string{
117 FooCollection: FooCollectionPDH,
118 MultilevelCollection1: MultilevelCollection1PDH,
119 FooAndBarFilesInDirUUID: FooAndBarFilesInDirPDH,
120 BarFileCollectionUUID: BarFileCollectionPDH,
123 var TestCollectionPDHToManifest = map[string]string{
124 FooCollectionPDH: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n",
125 MultilevelCollection1PDH: `. d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3
126 ./dir1 d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3
127 ./dir1/subdir d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3
128 ./dir2 d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3
130 FooAndBarFilesInDirPDH: "./dir1 3858f62230ac3c915f300c664312c63f+6 3:3:bar 0:3:foo\n",
131 BarFileCollectionPDH: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n",
134 // PathologicalManifest : A valid manifest designed to test
135 // various edge cases and parsing requirements
136 const PathologicalManifest = ". acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 73feffa4b7f6bb68e44cf984c85f6e88+3+Z+K@xyzzy acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:zero@0 0:1:f 1:0:zero@1 1:4:ooba 4:0:zero@4 5:1:r 5:4:rbaz 9:0:zero@9\n" +
137 "./overlapReverse acbd18db4cc2f85cedef654fccc4a4d8+3 acbd18db4cc2f85cedef654fccc4a4d8+3 5:1:o 4:2:oo 2:4:ofoo\n" +
138 "./segmented acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 0:1:frob 5:1:frob 1:1:frob 1:2:oof 0:1:oof 5:0:frob 3:1:frob\n" +
139 `./foo\040b\141r acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:baz` + "\n" +
140 `./foo\040b\141r acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:b\141z\040w\141z` + "\n" +
141 "./foo acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:zero 0:3:foo\n" +
142 ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:0:foo/zero 0:3:foo/foo\n"
146 MD5CollisionData = [][]byte{
147 []byte("\x0e0eaU\x9a\xa7\x87\xd0\x0b\xc6\xf7\x0b\xbd\xfe4\x04\xcf\x03e\x9epO\x854\xc0\x0f\xfbe\x9cL\x87@\xcc\x94/\xeb-\xa1\x15\xa3\xf4\x15\\\xbb\x86\x07Is\x86em}\x1f4\xa4 Y\xd7\x8fZ\x8d\xd1\xef"),
148 []byte("\x0e0eaU\x9a\xa7\x87\xd0\x0b\xc6\xf7\x0b\xbd\xfe4\x04\xcf\x03e\x9etO\x854\xc0\x0f\xfbe\x9cL\x87@\xcc\x94/\xeb-\xa1\x15\xa3\xf4\x15\xdc\xbb\x86\x07Is\x86em}\x1f4\xa4 Y\xd7\x8fZ\x8d\xd1\xef"),
150 MD5CollisionMD5 = "cee9a457e790cf20d4bdaa6d69f01e41"
153 // BlobSigningKey used by the test servers
154 const BlobSigningKey = "zfhgfenhffzltr9dixws36j1yhksjoll2grmku38mi7yxd66h5j4q9w4jzanezacp8s6q0ro3hxakfye02152hncy6zml2ed0uc"