15397: Fix improperly quoted regexps.
[arvados.git] / services / api / test / fixtures / logs.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 noop: # nothing happened ...to the 'spectator' user
6   id: 1
7   uuid: zzzzz-57u5n-pshmckwoma9plh7
8   owner_uuid: zzzzz-tpzed-000000000000000
9   object_uuid: zzzzz-tpzed-l1s2piq4t4mps8r
10   object_owner_uuid: zzzzz-tpzed-000000000000000
11   event_at: <%= 1.minute.ago.to_fs(:db) %>
12   created_at: <%= 1.minute.ago.to_fs(:db) %>
13
14 admin_changes_collection_owned_by_active:
15   id: 2
16   uuid: zzzzz-57u5n-pshmckwoma00002
17   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
18   object_uuid: zzzzz-4zz18-bv31uwvy3neko21 # collection_owned_by_active
19   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
20   created_at: <%= 2.minute.ago.to_fs(:db) %>
21   event_at: <%= 2.minute.ago.to_fs(:db) %>
22   event_type: update
23
24 admin_changes_collection_owned_by_foo:
25   id: 3
26   uuid: zzzzz-57u5n-pshmckwoma00003
27   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
28   object_uuid: zzzzz-4zz18-50surkhkbhsp31b # collection_owned_by_foo
29   object_owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c # foo user
30   created_at: <%= 3.minute.ago.to_fs(:db) %>
31   event_at: <%= 3.minute.ago.to_fs(:db) %>
32   event_type: update
33
34 system_adds_foo_file: # foo collection added, readable by active through link
35   id: 4
36   uuid: zzzzz-57u5n-pshmckwoma00004
37   owner_uuid: zzzzz-tpzed-000000000000000 # system user
38   object_uuid: zzzzz-4zz18-znfnqtbbv4spc3w # foo file
39   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
40   created_at: <%= 4.minute.ago.to_fs(:db) %>
41   event_at: <%= 4.minute.ago.to_fs(:db) %>
42   event_type: create
43
44 system_adds_baz: # baz collection added, readable by active and spectator through group 'all users' group membership
45   id: 5
46   uuid: zzzzz-57u5n-pshmckwoma00005
47   owner_uuid: zzzzz-tpzed-000000000000000 # system user
48   object_uuid: zzzzz-4zz18-y9vne9npefyxh8g # baz file
49   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
50   created_at: <%= 5.minute.ago.to_fs(:db) %>
51   event_at: <%= 5.minute.ago.to_fs(:db) %>
52   event_type: create
53
54 log_owned_by_active:
55   id: 6
56   uuid: zzzzz-57u5n-pshmckwoma12345
57   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
58   object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo
59   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
60   event_at: <%= 2.minute.ago.to_fs(:db) %>
61   summary: non-admin use can read own logs
62
63 stderr_for_ancient_container:
64   id: 12
65   uuid: zzzzz-57u5n-containerlog001
66   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
67   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
68   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
69   object_uuid: zzzzz-dz642-logscontainer01
70   event_at: <%= 2.year.ago.to_fs(:db) %>
71   event_type: stderr
72   summary: ~
73   properties:
74     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer01 29610 1 stderr crunchstat:
75       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
76       0.9900 sys'
77   created_at: <%= 2.year.ago.to_fs(:db) %>
78   updated_at: <%= 2.year.ago.to_fs(:db) %>
79   modified_at: <%= 2.year.ago.to_fs(:db) %>
80   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
81
82 crunchstat_for_ancient_container:
83   id: 13
84   uuid: zzzzz-57u5n-containerlog002
85   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
86   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
87   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
88   object_uuid: zzzzz-dz642-logscontainer01
89   event_at: <%= 2.year.ago.to_fs(:db) %>
90   event_type: crunchstat
91   summary: ~
92   properties:
93     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer01 29610 1 stderr crunchstat:
94       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
95       0.9900 sys'
96   created_at: <%= 2.year.ago.to_fs(:db) %>
97   updated_at: <%= 2.year.ago.to_fs(:db) %>
98   modified_at: <%= 2.year.ago.to_fs(:db) %>
99   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
100
101 stderr_for_previous_container:
102   id: 14
103   uuid: zzzzz-57u5n-containerlog003
104   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
105   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
106   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
107   object_uuid: zzzzz-dz642-logscontainer02
108   event_at: <%= 1.month.ago.to_fs(:db) %>
109   event_type: stderr
110   summary: ~
111   properties:
112     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer02 29610 1 stderr crunchstat:
113       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
114       0.9900 sys'
115   created_at: <%= 1.month.ago.to_fs(:db) %>
116   updated_at: <%= 1.month.ago.to_fs(:db) %>
117   modified_at: <%= 1.month.ago.to_fs(:db) %>
118   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
119
120 crunchstat_for_previous_container:
121   id: 15
122   uuid: zzzzz-57u5n-containerlog004
123   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
124   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
125   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
126   object_uuid: zzzzz-dz642-logscontainer02
127   event_at: <%= 1.month.ago.to_fs(:db) %>
128   event_type: crunchstat
129   summary: ~
130   properties:
131     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer02 29610 1 stderr crunchstat:
132       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
133       0.9900 sys'
134   created_at: <%= 1.month.ago.to_fs(:db) %>
135   updated_at: <%= 1.month.ago.to_fs(:db) %>
136   modified_at: <%= 1.month.ago.to_fs(:db) %>
137   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
138
139 stderr_for_running_container:
140   id: 16
141   uuid: zzzzz-57u5n-containerlog005
142   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
143   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
144   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
145   object_uuid: zzzzz-dz642-logscontainer03
146   event_at: <%= 1.hour.ago.to_fs(:db) %>
147   event_type: crunchstat
148   summary: ~
149   properties:
150     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer03 29610 1 stderr crunchstat:
151       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
152       0.9900 sys'
153   created_at: <%= 1.hour.ago.to_fs(:db) %>
154   updated_at: <%= 1.hour.ago.to_fs(:db) %>
155   modified_at: <%= 1.hour.ago.to_fs(:db) %>
156   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
157
158 crunchstat_for_running_container:
159   id: 17
160   uuid: zzzzz-57u5n-containerlog006
161   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
162   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
163   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
164   object_uuid: zzzzz-dz642-logscontainer03
165   event_at: <%= 1.hour.ago.to_fs(:db) %>
166   event_type: crunchstat
167   summary: ~
168   properties:
169     text: '2013-11-07_23:33:41 zzzzz-dz642-logscontainer03 29610 1 stderr crunchstat:
170       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
171       0.9900 sys'
172   created_at: <%= 1.hour.ago.to_fs(:db) %>
173   updated_at: <%= 1.hour.ago.to_fs(:db) %>
174   modified_at: <%= 1.hour.ago.to_fs(:db) %>
175   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz