Source: ojalgo
Version: 51.4.1+ds-1
Severity: normal
Tag: ftbfs patch
Dear Maintainer,
ojalgo currently fails to build with failing tests:
Fetch problem for AlphaVantageFetcher!
Symbol & Resolution: MSFT & DAY
java.net.UnknownHostException: www.alphavantage.co
(see
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ojalgo.html
for more details)
Looks like one of the test suites tries to look up this domain to verify
it can parse historical data. Since network access is disabled, this
fails.
See the attached patch which disables this test suite, after which the
package builds successfully.
Also thanks for the quick response and applying the patch to
biojava4-live here the other day :)
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-5-amd64 (SMP w/3 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
Description: Disables network tests
---
Forwarded: not-needed
Last-Update: 2022-12-17
--- ojalgo-51.4.1+ds.orig/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageTest.java
+++ ojalgo-51.4.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageTest.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 @@ import org.ojalgo.type.CalendarDateUnit;
*
* @author stefanvanegmond
*/
+@Disabled("Requires network access")
public class AlphaVantageTest extends FinanceDataTests {
public AlphaVantageTest() {