X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6f178decefd5e3d971593cd8d19cc6ba08cf0f5e..HEAD:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index 1503f6bc01..a193150e29 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -21,10 +21,10 @@ collection_owned_by_active: portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z - modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2014-02-03T17:22:54Z - updated_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T18:22:54Z + updated_at: 2014-02-03T18:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" name: owned_by_active version: 2 @@ -43,7 +43,7 @@ collection_owned_by_active_with_file_stats: file_count: 1 file_size_total: 3 name: owned_by_active_with_file_stats - version: 2 + version: 1 collection_owned_by_active_past_version_1: uuid: zzzzz-4zz18-znfnqtbbv4spast @@ -53,8 +53,8 @@ collection_owned_by_active_past_version_1: created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2014-02-03T15:22:54Z - updated_at: 2014-02-03T15:22:54Z + modified_at: 2014-02-03T18:22:54Z + updated_at: 2014-02-03T18:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" name: owned_by_active_version_1 version: 1 @@ -106,8 +106,8 @@ w_a_z_file: created_at: 2015-02-09T10:53:38Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2015-02-09T10:53:38Z - updated_at: 2015-02-09T10:53:38Z + modified_at: 2015-02-09T10:55:38Z + updated_at: 2015-02-09T10:55:38Z manifest_text: ". 4c6c2c0ac8aa0696edd7316a3be5ca3c+5 0:5:w\\040\\141\\040z\n" name: "\"w a z\" file" version: 2 @@ -120,8 +120,8 @@ w_a_z_file_version_1: created_at: 2015-02-09T10:53:38Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2015-02-09T10:53:38Z - updated_at: 2015-02-09T10:53:38Z + modified_at: 2015-02-09T10:55:38Z + updated_at: 2015-02-09T10:55:38Z manifest_text: ". 4d20280d5e516a0109768d49ab0f3318+3 0:3:waz\n" name: "waz file" version: 1 @@ -199,7 +199,6 @@ unlinked_docker_image: empty: uuid: zzzzz-4zz18-gs9ooj1h9sd5mde current_version_uuid: zzzzz-4zz18-gs9ooj1h9sd5mde - # Empty collection owned by anonymous_group is added with rake db:seed. portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0 owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-06-11T17:22:54Z @@ -208,7 +207,7 @@ empty: modified_at: 2014-06-11T17:22:54Z updated_at: 2014-06-11T17:22:54Z manifest_text: "" - name: empty_collection + name: "empty collection for python test" foo_collection_in_aproject: uuid: zzzzz-4zz18-fy296fx3hot09f7 @@ -221,6 +220,51 @@ foo_collection_in_aproject: manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n" name: "zzzzz-4zz18-fy296fx3hot09f7 added sometime" +fuse_filters_test_foo: + uuid: zzzzz-4zz18-4e2kjqv891jl3p3 + current_version_uuid: zzzzz-4zz18-4e2kjqv891jl3p3 + portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-000000000000000 + owner_uuid: zzzzz-tpzed-fusefiltertest1 + created_at: 2024-02-09T12:01:00Z + modified_at: 2024-02-09T12:01:01Z + updated_at: 2024-02-09T12:01:01Z + manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n" + name: foo + properties: + MainFile: foo + +fuse_filters_test_bar: + uuid: zzzzz-4zz18-qpxqtq2wbjnu630 + current_version_uuid: zzzzz-4zz18-qpxqtq2wbjnu630 + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + owner_uuid: zzzzz-tpzed-fusefiltertest1 + created_at: 2024-02-09T12:02:00Z + modified_at: 2024-02-09T12:02:01Z + updated_at: 2024-02-09T12:02:01Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: bar + properties: + MainFile: bar + +fuse_filters_test_baz: + uuid: zzzzz-4zz18-ls97ezovrkkpfxz + current_version_uuid: zzzzz-4zz18-ls97ezovrkkpfxz + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + owner_uuid: zzzzz-tpzed-fusefiltertest1 + created_at: 2024-02-09T12:03:00Z + modified_at: 2024-02-09T12:03:01Z + updated_at: 2024-02-09T12:03:01Z + manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + name: baz + properties: + MainFile: baz + user_agreement_in_anonymously_accessible_project: uuid: zzzzz-4zz18-uukreo9rbgwsujr current_version_uuid: zzzzz-4zz18-uukreo9rbgwsujr @@ -407,22 +451,6 @@ unique_expired_collection2: manifest_text: ". 29d7797f1888013986899bc9083783fa+3 0:3:expired2\n" name: unique_expired_collection2 -# a collection with a log file that can be parsed by the log viewer -# This collection hash matches the following log text: -# 2014-01-01_12:00:01 zzzzz-8i9sb-abcdefghijklmno 0 log message 1 -# 2014-01-01_12:00:02 zzzzz-8i9sb-abcdefghijklmno 0 log message 2 -# 2014-01-01_12:00:03 zzzzz-8i9sb-abcdefghijklmno 0 log message 3 -# -real_log_collection: - uuid: zzzzz-4zz18-op4e2lbej01tcvu - current_version_uuid: zzzzz-4zz18-op4e2lbej01tcvu - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz - created_at: 2014-09-01 12:00:00 - modified_at: 2014-09-01 12:00:00 - portable_data_hash: 0b9a7787660e1fce4a93f33e01376ba6+81 - manifest_text: ". cdd549ae79fe6640fa3d5c6261d8303c+195 0:195:zzzzz-8i9sb-0vsrcqi7whchuil.log.txt\n" - name: real_log_collection - collection_in_home_project_with_same_name_as_in_aproject: uuid: zzzzz-4zz18-12342x4u7ftabcd current_version_uuid: zzzzz-4zz18-12342x4u7ftabcd @@ -953,7 +981,7 @@ collection_with_prop2_1: modified_at: 2015-02-13T17:22:54Z updated_at: 2015-02-13T17:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" - name: collection with prop1 1 + name: collection with prop2 1 properties: prop2: 1 @@ -968,10 +996,55 @@ collection_with_prop2_5: modified_at: 2015-02-13T17:22:54Z updated_at: 2015-02-13T17:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" - name: collection with prop1 5 + name: collection with prop2 5 properties: prop2: 5 +collection_with_list_prop_odd: + uuid: zzzzz-4zz18-listpropertyodd + current_version_uuid: zzzzz-4zz18-listpropertyodd + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with odd values + properties: + listprop: [elem1, elem3, 5] + +collection_with_list_prop_even: + uuid: zzzzz-4zz18-listpropertyevn + current_version_uuid: zzzzz-4zz18-listpropertyevn + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with even values + properties: + listprop: [elem2, 4, elem6, ELEM8] + +collection_with_listprop_elem1: + uuid: zzzzz-4zz18-listpropelemen1 + current_version_uuid: zzzzz-4zz18-listpropelemen1 + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with string value + properties: + listprop: elem1 + collection_with_uri_prop: uuid: zzzzz-4zz18-withuripropval1 current_version_uuid: zzzzz-4zz18-withuripropval1 @@ -987,6 +1060,102 @@ collection_with_uri_prop: properties: "http://schema.org/example": "value1" +container_log_collection: + uuid: zzzzz-4zz18-logcollection00 + current_version_uuid: zzzzz-4zz18-logcollection00 + portable_data_hash: b1e66f713c04d28ddbaced89096f4838+210 + owner_uuid: zzzzz-tpzed-000000000000000 + created_at: 2020-10-29T00:51:44.075594000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-10-29T00:51:44.072109000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: a real log collection for a completed container + +log_collection: + uuid: zzzzz-4zz18-logcollection01 + current_version_uuid: zzzzz-4zz18-logcollection01 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-10-29T00:51:44.075594000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-10-29T00:51:44.072109000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: a real log collection for a completed container request + +log_collection2: + uuid: zzzzz-4zz18-logcollection02 + current_version_uuid: zzzzz-4zz18-logcollection02 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-10-29T00:51:44.075594000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-10-29T00:51:44.072109000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: another real log collection for a completed container + +diagnostics_request_container_log_collection: + uuid: zzzzz-4zz18-diagcompreqlog1 + current_version_uuid: zzzzz-4zz18-diagcompreqlog1 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-11-02T00:20:44.007557000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-11-02T00:20:44.005381000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: Container log for request zzzzz-xvhdp-diagnostics0001 + +hasher1_log_collection: + uuid: zzzzz-4zz18-dlogcollhash001 + current_version_uuid: zzzzz-4zz18-dlogcollhash001 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-11-02T00:16:55.272606000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-11-02T00:16:55.267006000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: hasher1 log collection + +hasher2_log_collection: + uuid: zzzzz-4zz18-dlogcollhash002 + current_version_uuid: zzzzz-4zz18-dlogcollhash002 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-11-02T00:20:23.547251000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-11-02T00:20:23.545275000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: hasher2 log collection + +hasher3_log_collection: + uuid: zzzzz-4zz18-dlogcollhash003 + current_version_uuid: zzzzz-4zz18-dlogcollhash003 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-11-02T00:20:38.789204000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-11-02T00:20:38.787329000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: hasher3 log collection + +diagnostics_request_container_log_collection2: + uuid: zzzzz-4zz18-diagcompreqlog2 + current_version_uuid: zzzzz-4zz18-diagcompreqlog2 + portable_data_hash: 680c855fd6cf2c78778b3728b268925a+475 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2020-11-03T16:17:53.351593000Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2020-11-03T16:17:53.346969000Z + manifest_text: ". 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n./log\\040for\\040container\\040ce8i5-dz642-h4kd64itncdcz8l 8c12f5f5297b7337598170c6f531fcee+7882 0:0:arv-mount.txt 0:1910:container.json 1910:1264:crunch-run.txt 3174:1005:crunchstat.txt 4179:659:hoststat.txt 4838:2811:node-info.txt 7649:233:node.json 0:0:stderr.txt\n" + name: Container log for request zzzzz-xvhdp-diagnostics0002 + # Test Helper trims the rest of the file # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper @@ -1000,8 +1169,8 @@ collection_<%=i%>_of_10: uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %> current_version_uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-0010collections - created_at: <%= i.minute.ago.to_s(:db) %> - modified_at: <%= i.minute.ago.to_s(:db) %> + created_at: <%= i.minute.ago.to_fs(:db) %> + modified_at: <%= i.minute.ago.to_fs(:db) %> <% end %> # collections in project_with_201_collections @@ -1013,8 +1182,8 @@ collection_<%=i%>_of_201: uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %> current_version_uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-0201collections - created_at: <%= i.minute.ago.to_s(:db) %> - modified_at: <%= i.minute.ago.to_s(:db) %> + created_at: <%= i.minute.ago.to_fs(:db) %> + modified_at: <%= i.minute.ago.to_fs(:db) %> <% end %> # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper