closes #7753
[arvados.git] / services / api / test / fixtures / logs.yml
1 noop:
2   id: 1
3   uuid: zzzzz-xxxxx-pshmckwoma9plh7
4   object_uuid: zzzzz-tpzed-l1s2piq4t4mps8r
5   event_at: <%= 1.minute.ago.to_s(:db) %>
6
7 admin_changes_repository2: # admin changes repository2, which is owned by active user
8   id: 2
9   uuid: zzzzz-xxxxx-pshmckwoma00002
10   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
11   object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo
12   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
13   event_at: <%= 2.minute.ago.to_s(:db) %>
14
15 admin_changes_specimen: # admin changes specimen owned_by_spectator
16   id: 3
17   uuid: zzzzz-xxxxx-pshmckwoma00003
18   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
19   object_uuid: zzzzz-2x53u-3b0xxwzlbzxq5yr # specimen owned_by_spectator
20   object_owner_uuid: zzzzz-tpzed-l1s2piq4t4mps8r # spectator user
21   event_at: <%= 3.minute.ago.to_s(:db) %>
22
23 system_adds_foo_file: # foo collection added, readable by active through link
24   id: 4
25   uuid: zzzzz-xxxxx-pshmckwoma00004
26   owner_uuid: zzzzz-tpzed-000000000000000 # system user
27   object_uuid: zzzzz-4zz18-znfnqtbbv4spc3w # foo file
28   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
29   event_at: <%= 4.minute.ago.to_s(:db) %>
30
31 system_adds_baz: # baz collection added, readable by active and spectator through group 'all users' group membership
32   id: 5
33   uuid: zzzzz-xxxxx-pshmckwoma00005
34   owner_uuid: zzzzz-tpzed-000000000000000 # system user
35   object_uuid: zzzzz-4zz18-y9vne9npefyxh8g # baz file
36   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
37   event_at: <%= 5.minute.ago.to_s(:db) %>
38
39 log_owned_by_active:
40   id: 6
41   uuid: zzzzz-xxxxx-pshmckwoma12345
42   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
43   object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo
44   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
45   event_at: <%= 2.minute.ago.to_s(:db) %>
46   summary: non-admin use can read own logs
47
48 crunchstat_for_running_job:
49   id: 7
50   uuid: zzzzz-57u5n-tmymyrojrbtnxh1
51   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
52   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
53   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
54   object_uuid: zzzzz-8i9sb-pshmckwoma9plh7
55   event_at: 2014-11-07 23:33:42.347455000 Z
56   event_type: stderr
57   summary: ~
58   properties:
59     text: '2014-11-07_23:33:41 zzzzz-8i9sb-pshmckwoma9plh7 31708 1 stderr crunchstat:
60       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
61       0.9900 sys'
62   created_at: 2014-11-07 23:33:42.351913000 Z
63   updated_at: 2014-11-07 23:33:42.347455000 Z
64   modified_at: 2014-11-07 23:33:42.347455000 Z
65   object_owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
66
67 log_line_for_pipeline_in_publicly_accessible_project:
68   id: 8
69   uuid: zzzzz-57u5n-tmymyrojrjyhb45
70   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
71   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
72   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
73   object_uuid: zzzzz-d1hrv-n68vc490mloy4fi
74   event_at: 2014-11-07 23:33:42.347455000 Z
75   event_type: stderr
76   summary: ~
77   properties:
78     text: '2014-11-07_23:33:41 zzzzz-d1hrv-n68vc490mloy4fi 31708 1 stderr crunchstat:
79       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
80       0.9900 sys'
81   created_at: 2014-11-07 23:33:42.351913000 Z
82   updated_at: 2014-11-07 23:33:42.347455000 Z
83   modified_at: 2014-11-07 23:33:42.347455000 Z
84   object_owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
85
86 log_line_for_pipeline_in_publicly_accessible_project_but_other_objects_elsewhere:
87   id: 9
88   uuid: zzzzz-57u5n-tmyhy56k9lnhb45
89   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
90   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
91   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
92   object_uuid: zzzzz-d1hrv-pisharednotobjs
93   event_at: 2014-11-07 23:33:42.347455000 Z
94   event_type: stderr
95   summary: ~
96   properties:
97     text: '2014-11-07_23:33:41 zzzzz-d1hrv-pisharednotobjs 31708 1 stderr crunchstat:
98       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
99       0.9900 sys'
100   created_at: 2014-11-07 23:33:42.351913000 Z
101   updated_at: 2014-11-07 23:33:42.347455000 Z
102   modified_at: 2014-11-07 23:33:42.347455000 Z
103   object_owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
104
105 crunchstat_for_previous_job:
106   id: 10
107   uuid: zzzzz-57u5n-eir3aesha3kaene
108   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
109   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
110   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
111   object_uuid: zzzzz-8i9sb-cjs4pklxxjykqqq
112   event_at: 2014-11-07 23:33:42.347455000 Z
113   event_type: stderr
114   summary: ~
115   properties:
116     text: '2014-11-07_23:33:41 zzzzz-8i9sb-cjs4pklxxjykqqq 11592 1 stderr crunchstat:
117       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
118       0.9900 sys'
119   created_at: 2014-11-07 23:33:42.351913000 Z
120   updated_at: 2014-11-07 23:33:42.347455000 Z
121   modified_at: 2014-11-07 23:33:42.347455000 Z
122   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
123
124 crunchstat_for_ancient_job:
125   id: 11
126   uuid: zzzzz-57u5n-ixioph7ieb5ung8
127   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
128   modified_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
129   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
130   object_uuid: zzzzz-8i9sb-ahd7cie8jah9qui
131   event_at: 2013-11-07 23:33:42.347455000 Z
132   event_type: stderr
133   summary: ~
134   properties:
135     text: '2013-11-07_23:33:41 zzzzz-8i9sb-ahd7cie8jah9qui 29610 1 stderr crunchstat:
136       cpu 1935.4300 user 59.4100 sys 8 cpus -- interval 10.0002 seconds 12.9900 user
137       0.9900 sys'
138   created_at: 2013-11-07 23:33:42.351913000 Z
139   updated_at: 2013-11-07 23:33:42.347455000 Z
140   modified_at: 2013-11-07 23:33:42.347455000 Z
141   object_owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz