Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621486 - =sci-libs/netcdf-4.4.1.1 fails parallel tests
Summary: =sci-libs/netcdf-4.4.1.1 fails parallel tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2017-06-11 10:20 UTC by Sergei Trofimovich (RETIRED)
Modified: 2023-03-15 05:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-libs-netcdf-4.4.1.1-build.log (sci-libs-netcdf-4.4.1.1-build.log,137.31 KB, text/x-log)
2017-06-11 10:20 UTC, Sergei Trofimovich (RETIRED)
Details
sci-libs-netcdf-4.4.1.1-test-suite.log (sci-libs-netcdf-4.4.1.1-test-suite.log,2.34 KB, text/x-log)
2017-06-11 10:21 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-11 10:20:49 UTC
Created attachment 476006 [details]
sci-libs-netcdf-4.4.1.1-build.log

This fails:
  $ FEATURES=test MAKEOPTS=-j8 =sci-libs/netcdf-4.4.1.1
This works:
  $ FEATURES=test MAKEOPTS=-j1 =sci-libs/netcdf-4.4.1.1

Looks like a race in temp files:

*** Testing ncgen and ncdump with 64-bit offset format.
*** creating test0.nc from test0.cdl...
*** creating test1.cdl from test0.nc...
*** creating test1.nc from test1.cdl...
ncgen: test1.cdl line 1: syntax error, unexpected $end, expecting NETCDF
FAIL tst_64bit.sh (exit status: 1)

FAIL: tst_nccopy3.sh
====================


*** Testing netCDF-3 features of nccopy on ncdump/*.nc files
*** Testing nccopy c0.nc copy_of_c0.nc ...
diff: tmp.cdl: No such file or directory
FAIL tst_nccopy3.sh (exit status: 2)
...
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-11 10:21:22 UTC
Created attachment 476008 [details]
sci-libs-netcdf-4.4.1.1-test-suite.log
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-07-15 10:25:59 UTC
Disabled parallel test: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f1593960a02f1e374e0751457be58cf66f8700
Comment 3 Larry the Git Cow gentoo-dev 2023-03-05 04:13:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cb5196b2bba5e653722ea53e4ae10c86d1fc8a

commit a3cb5196b2bba5e653722ea53e4ae10c86d1fc8a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-05 04:00:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-05 04:11:45 +0000

    sci-libs/netcdf: add 4.9.1
    
    - -fno-strict-aliasing workaround still needed for now, may not be for
      next release.
    
    - Drop -j1 workaround as parallel test fixes landed upstream.
    
    Bug: https://bugs.gentoo.org/621486
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/netcdf/Manifest            |  1 +
 sci-libs/netcdf/netcdf-4.9.1.ebuild | 70 +++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-03-15 05:45:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b47cf6a9cf25289bbbaf6c0fce6da22d6ec01d5

commit 2b47cf6a9cf25289bbbaf6c0fce6da22d6ec01d5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-15 05:30:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-15 05:45:00 +0000

    sci-libs/netcdf: add 4.9.2
    
    - Drop no strict aliasing workaround as fixes landed in 4.9.2
    - Force serial tests again, the fixes in 4.9.1 weren't enough
    - Unconditionally build tools, as they're needed for tests + have no extra deps.
    
    Bug: https://bugs.gentoo.org/621486
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/netcdf/Manifest            |  1 +
 sci-libs/netcdf/netcdf-4.9.2.ebuild | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)