Your message dated Tue, 13 Jun 2023 22:51:08 +0000
with message-id <e1q9cqy-0064nt...@fasolo.debian.org>
and subject line Bug#1037435: fixed in ojalgo 52.0.1+ds-2
has caused the Debian Bug report #1037435,
regarding ojalgo tests using the network at build time (again)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1037435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037435
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ojalgo
Version: 52.0.1+ds-1
Severity: serious
Tags: patch
Justification: Policy 4.9
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu mantic ubuntu-patch

Hi Pierre,

The ojalgo package has been failing to build from source in Ubuntu, because
its tests are trying to access the network:

[...]
[ERROR] Failures: 
[ERROR]   YahooDataSourceTest.testFetchDaily:54 No data!
[ERROR]   YahooDataSourceTest.testFetchMonthly:62 No data!
[ERROR]   YahooDataSourceTest.testFetchWeekly:70 No data!
[ERROR]   
YahooDataSourceTest.testYahooDailyAAPL:79->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR]   
YahooDataSourceTest.testYahooMonthlyAAPL:87->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR]   
YahooDataSourceTest.testYahooWeeklyAAPL:95->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR] Errors: 
[ERROR]   
YahooDataSourceTest.testDeriveDistributions:47->FinanceSeriesTests.doTestDeriveDistribution:84
 » NegativeArraySize
[ERROR]   OptimisationServiceTest.testEnvironment:67 » Runtime 
java.util.concurrent.Exec...
[ERROR]   OptimisationServiceTest.testTest:55 » Runtime 
java.util.concurrent.ExecutionEx...
[ERROR]   OptimisationServiceTest.testVeryBasicModel:41 » Runtime 
java.util.concurrent.E...
[...]

  (https://launchpad.net/ubuntu/+source/ojalgo/52.0.1+ds-1/+build/26010077)

There was already a patch in the source to disable network tests, but it
appears that some new network tests have now been added.  I've extended the
patch to disable these tests as well; please see the attached diff.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch 
ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch
--- ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch      2023-01-18 
13:33:30.000000000 -0800
+++ ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch      2023-06-12 
12:54:52.000000000 -0700
@@ -4,8 +4,10 @@
 Reviewed-by: Pierre Gruet <p...@debian.org>
 Last-Update: 2022-12-17
 
---- 
a/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
-+++ 
b/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
 @@ -22,6 +22,7 @@
   */
  package org.ojalgo.data.domain.finance.series;
@@ -22,3 +24,43 @@
  public class AlphaVantageDataSourceTest extends FinanceSeriesTests {
  
      public AlphaVantageDataSourceTest() {
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
+@@ -22,6 +22,7 @@
+  */
+ package org.ojalgo.data.domain.finance.series;
+ 
++import org.junit.jupiter.api.Disabled;
+ import org.junit.jupiter.api.Test;
+ import org.ojalgo.TestUtils;
+ import org.ojalgo.type.CalendarDateUnit;
+@@ -31,6 +32,7 @@
+  *
+  * @author apete
+  */
++@Disabled("Requires network access")
+ public class YahooDataSourceTest extends FinanceSeriesTests {
+ 
+     private static YahooSession SESSION = new YahooSession();
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
+@@ -1,6 +1,7 @@
+ package org.ojalgo.optimisation.service;
+ 
+ import org.junit.jupiter.api.AfterEach;
++import org.junit.jupiter.api.Disabled;
+ import org.junit.jupiter.api.Test;
+ import org.ojalgo.TestUtils;
+ import org.ojalgo.netio.BasicLogger;
+@@ -9,6 +10,7 @@
+ import org.ojalgo.optimisation.ExpressionsBasedModel;
+ import org.ojalgo.optimisation.Optimisation.Result;
+ 
++@Disabled("Requires network access")
+ public class OptimisationServiceTest {
+ 
+     private static final String PATH_ENVIRONMENT = 
"/optimisation/v01/environment";

--- End Message ---
--- Begin Message ---
Source: ojalgo
Source-Version: 52.0.1+ds-2
Done: Pierre Gruet <p...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ojalgo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1037...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <p...@debian.org> (supplier of updated ojalgo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 13 Jun 2023 23:48:38 +0200
Source: ojalgo
Architecture: source
Version: 52.0.1+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Math Team <team+m...@tracker.debian.org>
Changed-By: Pierre Gruet <p...@debian.org>
Closes: 1037435
Changes:
 ojalgo (52.0.1+ds-2) unstable; urgency=medium
 .
   * Removing more tests needing network access, thanks to Steve Langasek
     (Closes: #1037435)
   * Removing an unused Lintian override
Checksums-Sha1:
 037f1ba077968c493ca6436b6fa4e29c660a78b6 2043 ojalgo_52.0.1+ds-2.dsc
 96bbc91c1af9c465e4f4d46da6fef5dfece5a8b2 6936 ojalgo_52.0.1+ds-2.debian.tar.xz
 9094e6cc8303c2a9e684c041187490d638077cb1 11632 
ojalgo_52.0.1+ds-2_amd64.buildinfo
Checksums-Sha256:
 d914e8a27681b9b7845c8f5a58894c149790cb29c174f4d81ff4c56aa62f7bb4 2043 
ojalgo_52.0.1+ds-2.dsc
 ada4e63d18f3f387bd570dac63d2a3babd0a1298a2a9e90c377e3f8f3303bef1 6936 
ojalgo_52.0.1+ds-2.debian.tar.xz
 35514296339be33006ae7ddcdfe60c9a9e58b47c7bda24737c67a11e992b8114 11632 
ojalgo_52.0.1+ds-2_amd64.buildinfo
Files:
 604b4c45a3b4450def0a46148c8c8fdd 2043 math optional ojalgo_52.0.1+ds-2.dsc
 7852010a91b5a33e1e7cefecd480d598 6936 math optional 
ojalgo_52.0.1+ds-2.debian.tar.xz
 522554f8702687d0948b13b3d3061eca 11632 math optional 
ojalgo_52.0.1+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmSI6WsACgkQYAMWptwn
dHbPhRAApv6akGpfBWrq4QdDc5Su7BWYUNPFYBhEfTWS636yr7lW0ecL5S39pBHd
bOj0AGfOqV2WSmuzTvlAbyT2pow0jkxc6frxWJ+LsAA9W8JzDlozTZLz0StRFdSe
PushvSRzn5II/QUumQrbPvsam0JFUzkrUNvAZd/GzJ1GvHOqv5H0fzdF3Na1iCfY
F2mDDn3LwTPHKp4kKH1eu2Ozu39kb+wAbn3m24a+GGgpbjWjxoPVNbOUgSyvVJea
yxIvadLQXxNlC37xhQsZZOYf/P90qN4rd3KMjPTNzC4SIjURFaWCRnjhtD3ruQrx
WNRvfVzJZujSRLDQ9FFVzhqnahE6VYX3LOt703zbsIUyKHTEUAsxJheSqtfa+7Vx
66bDR6B0HWhJ+ijLrI2XE819wHHWvAk5Oc6814hqZfT5irOUzSuQRO0DwvQfcX+x
GGkSDkWrR+8vzW3qdpWThTw6Aojq3JTjgVC/dY0qcnIdiOXCP9xipqzi4BCYzc9e
3ZS86tdpIMeXcGMen2RJ9pOTgxFs8ITfsf/m4xEQ403r/jCylFOIGuNyDwK1zFCP
6i+qzmoscxAZtwu7ivynti4SECl4h40ZljUwFH3pc4u1l4xpkarbgkI1Sm0Bhfw3
HX4oJLEslPlplg+doqVpV5gFqPqLs7BqEW90tiVkDMPZabLkOK8=
=/j2b
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to