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