Source: osmnx
Version: 1.2.0+ds-1
Severity: important
Tags: patch

Dear Maintainer,

The online autopkgtest tends to fail intermittently. The tests needed to be 
retried after the recent update of python-geopandas for example [0][1].

The attached patch adds the appropriate restrictions:

 * needs-internet
   The test needs unrestricted internet access, e.g. to download test data 
that's not shipped as a package, or to test a protocol implementation against a 
test server. Please also see the note about Network access later in this 
document.

 * flaky
   The test is expected to fail intermittently, and is not suitable for gating 
continuous integration. This indicates a bug in either the package under test, 
a dependency or the test itself, but such bugs can be difficult to fix, and it 
is often difficult to know when the bug has been fixed without running the test 
for a while. If a flaky test succeeds, it will be treated like any other 
successful test, but if it fails it will be treated as though it had been 
skipped.

[0] https://ci.debian.net/data/autopkgtest/testing/amd64/o/osmnx/22938879/log.gz
[1] https://ci.debian.net/data/autopkgtest/testing/i386/o/osmnx/22939502/log.gz

Kind Regards,

Bas
>From 1f92752ed5d1d722a08aaf2c27bf1b354a85ef15 Mon Sep 17 00:00:00 2001
From: Bas Couwenberg <sebas...@debian.org>
Date: Thu, 23 Jun 2022 07:23:29 +0200
Subject: Mark online autopkgtest as needs-internet and flaky.

The online test tends to fail intermitently.
---
 debian/tests/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/control b/debian/tests/control
index 91fe3f2..0d7d8c1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -5,7 +5,7 @@ Depends:
  python3-folium, python3-scipy, python3-sklearn
 
 Test-Command: debian/tests/check online
-##Restrictions: needs-internet
+Restrictions: needs-internet, flaky
 Depends:
  python3-osmnx, python-osmnx-doc,
  python3-coverage, python3-pytest,
-- 
2.30.2

Reply via email to