summaryrefslogtreecommitdiff
path: root/tickets/b6df8a5d7d3d4b7e8c2ddf8c95cfc33d/Maildir/new/1455998996.M451811P17339Q51.exolobe1
blob: ec952f4c5effd51906d6b804a259b22dd30c2b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
Return-Path: <obnam-dev-bounces@obnam.org>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pieni.net (Postfix) with ESMTPS id 008702EAD1
	for <distix@pieni.net>; Tue, 15 Sep 2015 05:08:49 +0200 (CEST)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id 5AA7B10B;
	Tue, 15 Sep 2015 04:08:48 +0100 (BST)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1Zbgbw-0003O0-8d; Tue, 15 Sep 2015 04:08:48 +0100
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1Zbgbu-0003Nt-OO
 for <obnam-dev@obnam.org>; Tue, 15 Sep 2015 04:08:46 +0100
Received: from pieni.net ([95.142.166.37] ident=postfix)
 by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from <liw@liw.fi>) id 1Zbgbs-0000KK-LO
 for obnam-dev@obnam.org; Tue, 15 Sep 2015 04:08:46 +0100
Received: from exolobe1.liw.fi (unknown [82.203.205.227])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pieni.net (Postfix) with ESMTPSA id B01CD2E99A
 for <obnam-dev@obnam.org>; Tue, 15 Sep 2015 05:08:36 +0200 (CEST)
Received: from exolobe1.liw.fi (localhost [127.0.0.1])
 by exolobe1.liw.fi (Postfix) with ESMTPS id 146CF40331
 for <obnam-dev@obnam.org>; Tue, 15 Sep 2015 06:08:36 +0300 (EEST)
Date: Tue, 15 Sep 2015 06:08:34 +0300
From: Lars Wirzenius <liw@liw.fi>
To: obnam-dev@obnam.org
Message-ID: <20150915030834.GA31821@exolobe1.liw.fi>
References: <1441948936-12526-1-git-send-email-mathstuf@gmail.com>
 <1442278857-352-1-git-send-email-mathstuf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <1442278857-352-1-git-send-email-mathstuf@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Score: -3.4
X-Spam-Score-int: -33
X-Spam-Bar: ---
X-Scanned-By: pepperfish.net, Tue, 15 Sep 2015 04:08:46 +0100
X-Spam-Report: Content analysis details: (-3.4 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 PPF_USER_AGENT_MUTT    User-Agent: contains Mutt (Mutt isn't a spam
 tool) -0.5 PPF_USER_AGENT         User-Agent: exists
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-ACL-Warn: message may be spam
X-Scan-Signature: e4e431e682df92a0961cb181d6069e33
Subject: Re: [PATCH v2] Support obnam-specific GPGHOMEDIR
X-BeenThere: obnam-dev@obnam.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Obnam development discussions <obnam-dev-obnam.org>
List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
List-Post: <mailto:obnam-dev@obnam.org>
List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=subscribe>
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org

On Mon, Sep 14, 2015 at 09:00:56PM -0400, Ben Boeckel wrote:
> Now with a yarn test :) .

Excellent, thank you.

Unfortunately, the yarn tests fail for me, and it wasn immediately
clear why. I'll have a look when I'm back home. The output I get is
below, if you want to have a try before that.

 - - - -

run yarn for repository format 6
WARNING: No scenario code blocks in yarns/0010-introduction.yarn
WARNING: No scenario code blocks in yarns/0020-test-environment.yarn
ERROR: In scenario "use repository format 6"                                                                                          
step "WHEN user havelock restores generation 1 in T/repo to R1" failed,
with exit code 1:
Standard output from shell command:
    gnupghome None
    gnupghome None
Standard error from shell command:
    + export HOME=/tmp/tmp6yZskT/use_repository_format_6/datadir/home
    + mkdir -p /tmp/tmp6yZskT/use_repository_format_6/datadir/home
    + cp -a /home/liw/obnam/obnam/test-gpghome /tmp/tmp6yZskT/use_repository_format_6/datadir/.gnupg
    + export GNUPGHOME=/tmp/tmp6yZskT/use_repository_format_6/datadir/.gnupg
    + run_obnam havelock -r /tmp/tmp6yZskT/use_repository_format_6/datadir/T/repo --encrypt-with=3B1802F81B321347+  genids
    + localsed name=havelock -n
     1p
    + shift
    + local conf=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + add_to_config havelock client-name havelock
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=client-name
    + local value=havelock
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf [config]\n
    + printf client-name = %s\n havelock
    + printf %s = %s\n client-name havelock
    + add_to_config havelock weak-random yes
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=weak-random
    + local value=yes
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n weak-random yes
    + add_to_config havelock lock-timeout 0
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=lock-timeout
    + local value=0
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n lock-timeout 0
    + [ -n 6 ]
    + add_to_config havelock repository-format 6
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=repository-format
    + local value=6
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n repository-format 6
    + [ -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.env ]
    + /home/liw/obnam/obnam/obnam --no-default-config --config /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf --quiet --log-level debug --log /tmp/tmp6yZskT/use_repository_format_6/datadir/obnam.log --trace obnamlib --trace larch -r /tmp/tmp6yZskT/use_repository_format_6/datadir/T/repo --encrypt-with=3B1802F81B321347 genids
    + genid=gnupghome None
    + run_obnam havelock -r /tmp/tmp6yZskT/use_repository_format_6/datadir/T/repo --encrypt-with=3B1802F81B321347 restore --to /tmp/tmp6yZskT/use_repository_format_6/datadir/R1 --generation gnupghome None --always-restore-setuid
    + local name=havelock
    + shift
    + local conf=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + add_to_config havelock weak-random yes
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=weak-random
    + local value=yes
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n weak-random yes
    + add_to_config havelock lock-timeout 0
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=lock-timeout
    + local value=0
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n lock-timeout 0
    + [ -n 6 ]
    + add_to_config havelock repository-format 6
    + local client=havelock
    + local filename=/tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf
    + local key=repository-format
    + local value=6
    + [ ! -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf ]
    + printf %s = %s\n repository-format 6
    + [ -e /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.env ]
    + /home/liw/obnam/obnam/obnam --no-default-config --config /tmp/tmp6yZskT/use_repository_format_6/datadir/havelock.conf --quiet --log-level debug --log /tmp/tmp6yZskT/use_repository_format_6/datadir/obnam.log --trace obnamlib --trace larch -r /tmp/tmp6yZskT/use_repository_format_6/datadir/T/repo --encrypt-with=3B1802F81B321347 restore --to /tmp/tmp6yZskT/use_repository_format_6/datadir/R1 --generation gnupghome None --always-restore-setuid
    ERROR: R0B15DX: Cannot find requested generation 'gnupghome None' for client havelock

ERROR: In scenario "use repository format 6 with in-tree data"                                                                        
step "WHEN user havelock restores generation 1 in T/repo to R1" failed,
with exit code 1:
Standard output from shell command:
    gnupghome None
    gnupghome None
Standard error from shell command:
    + export HOME=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/home
    + mkdir -p /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/home
    + cp -a /home/liw/obnam/obnam/test-gpghome /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/.gnupg
    + export GNUPGHOME=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/.gnupg
    + run_obnam havelock -r /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/T/repo --encrypt-with=3B1802F81B321347 genids
    + + local name=havelock
    + shift
    + local conf=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.confsed
     -n 1p
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + add_to_config havelock client-name havelock
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=client-name
    + local value=havelock
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf [config]\n
    + printf client-name = %s\n havelock
    + printf %s = %s\n client-name havelock
    + add_to_config havelock weak-random yes
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=weak-random
    + local value=yes
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n weak-random yes
    + add_to_config havelock lock-timeout 0
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=lock-timeout
    + local value=0
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n lock-timeout 0
    + [ -n 6 ]
    + add_to_config havelock repository-format 6
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=repository-format
    + local value=6
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n repository-format 6
    + [ -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.env ]
    + /home/liw/obnam/obnam/obnam --no-default-config --config /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf --quiet --log-level debug --log /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/obnam.log --trace obnamlib --trace larch -r /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/T/repo --encrypt-with=3B1802F81B321347 genids
    + genid=gnupghome None
    + run_obnam havelock -r /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/T/repo --encrypt-with=3B1802F81B321347 restore --to /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/R1 --generation gnupghome None --always-restore-setuid
    + local name=havelock
    + shift
    + local conf=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + add_to_config havelock weak-random yes
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=weak-random
    + local value=yes
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n weak-random yes
    + add_to_config havelock lock-timeout 0
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=lock-timeout
    + local value=0
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n lock-timeout 0
    + [ -n 6 ]
    + add_to_config havelock repository-format 6
    + local client=havelock
    + local filename=/tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf
    + local key=repository-format
    + local value=6
    + [ ! -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf ]
    + printf %s = %s\n repository-format 6
    + [ -e /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.env ]
    + /home/liw/obnam/obnam/obnam --no-default-config --config /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/havelock.conf --quiet --log-level debug --log /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/obnam.log --trace obnamlib --trace larch -r /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/T/repo --encrypt-with=3B1802F81B321347 restore --to /tmp/tmp0_9SKZ/use_repository_format_6_with_in-tree_data/datadir/R1 --generation gnupghome None --always-restore-setuid
    ERROR: R0B15DX: Cannot find requested generation 'gnupghome None' for client havelock

Failed scenarios:                                                                                                                     
    - use repository format 6
    - use repository format 6 with in-tree data
ERROR: Test suite FAILED in 2 scenarios


-- 
Schrödinger's backup hypothesis: the condition of any backup is
undefined until a restore is attempted. -- andrewsh

_______________________________________________
obnam-dev mailing list
obnam-dev@obnam.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org