summaryrefslogtreecommitdiff
path: root/tickets/1795256499f84df99f067fd7afee2301/Maildir/new/1455999005.M645986P17339Q155.exolobe1
blob: a4dbda5e3424b89008807338e58d435cd3a97ab4 (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
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 12CF5201AC
	for <distix@pieni.net>; Tue, 25 Nov 2014 22:34:48 +0100 (CET)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id 778B9394A;
	Tue, 25 Nov 2014 21:34:47 +0000 (GMT)
Received: from localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1XtNl1-00018y-Br; Tue, 25 Nov 2014 21:34:47 +0000
Received: from inmail ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1XtNl0-00018h-25
 for <obnam-dev@obnam.org>; Tue, 25 Nov 2014 21:34:46 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48])
 by mx0.pepperfish.net with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:128)
 (Exim 4.80) (envelope-from <damien.courousse@gmail.com>)
 id 1XtNkx-0001Zs-MJ
 for obnam-dev@obnam.org; Tue, 25 Nov 2014 21:34:45 +0000
Received: by mail-wg0-f48.google.com with SMTP id y19so2050576wgg.7
 for <obnam-dev@obnam.org>; Tue, 25 Nov 2014 13:34:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject
 :content-type:content-transfer-encoding;
 bh=UyDiuwKW8CxFSOa3C/mWBYQ+JkTweQ1MjmUPut5Pu1A=;
 b=ZOuezCk4TH3hiH91vSU2NDbRgPc2NUfgAoASX8X0RpLWDZ1DIfRywNDnaGOKQtWuLC
 gbgxZVwXI5v7YEj1CHIC5iY4wQXQ9+vDfhwjDp4/D8QptQgXMo95OimJjStBySmu/iMW
 vi8MRkK24ulGU3tFJR2NmadcAM8Ua5joN9xQcOcTJsNkYVlBVYBESP88gvAeYlq8raL9
 Vq4UBL9XFg7q2IFWU+vvwkVbeW8kyEnrA82aQUL5fWJsD877/uhJt3zoFFIvWbZO+v+F
 ofIW+BgAdkWWE0IGNvcG/s8Vk8THVUvEBPD2Z6Num8j85ciJz5BFy/lmmU4h1GnN2jSn
 JjJw==
X-Received: by 10.180.78.225 with SMTP id e1mr15002987wix.32.1416951277822;
 Tue, 25 Nov 2014 13:34:37 -0800 (PST)
Received: from [192.168.0.2] (dra38-9-78-249-57-166.fbx.proxad.net.
 [78.249.57.166])
 by mx.google.com with ESMTPSA id dm10sm18158925wib.18.2014.11.25.13.34.36
 for <obnam-dev@obnam.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 25 Nov 2014 13:34:37 -0800 (PST)
Message-ID: <5474F5EC.7090701@gmail.com>
Date: Tue, 25 Nov 2014 22:34:36 +0100
From: =?UTF-8?B?RGFtaWVuIENvdXJvdXNzw6k=?= <damien.courousse@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Icedove/31.2.0
MIME-Version: 1.0
To: obnam-dev@obnam.org
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.0
X-Spam-Score-int: -9
X-Spam-Bar: -
X-Scanned-By: pepperfish.net, Tue, 25 Nov 2014 21:34:45 +0000
X-Spam-Report: Content analysis details: (-1.0 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.5 PPF_USER_AGENT         User-Agent: exists
 1.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail'
 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (damien.courousse[at]gmail.com)
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at http://www.dnswl.org/, low
 trust [74.125.82.48 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
 domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
 not necessarily valid
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
Subject: how to test failure with yarn?
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

While trying to chase the "Value Error" bug that I still sometimes
experience, I considered implementing some yarn tests for the "full
filesystem" test case [1].

As far as I understand this test case however, I would need to have
obnam fail a backup at some point, which does not seem to be supported
in yarn yet. Is it possible ?

Please find at [2] a draft attempt of implementation with yarn.
It produces the following :


$ yarn -s yarns/obnam.sh yarns/9000-implements.yarn
yarns/0030-basics.yarn  -r "Backup over a full disk"
ERROR: In scenario "Backup over a full disk"

step "THEN user U fails the backup of directory L to repository R" failed,
with exit code 1:

(...)
    ERROR: Can't back up
/tmp/tmpqgZNqF/Backup_over_a_full_disk/datadir/L/0/0/0/39: RCE08AX: I/O
error: /tmp/tmpqgZNqF/Backup_over_a_full_disk/datadir/L/0/0/0/39: 28: No
space left on device
    ERROR: RCE08AX: I/O error: None: 28: No space left on device

>>> this error is expected


ERROR: Test suite FAILED in 1 scenarios

>>> However I would expect the test _not_ to fail


regards,
Damien

[1] http://obnam.org/bugs/test-for-full-filesystem/
[2] https://gist.github.com/damiencourousse/abc6836a2cf544f75c62




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