Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739592 - dev-libs/libgweather-3.36.1: fails test test_named_timezones
Summary: dev-libs/libgweather-3.36.1: fails test test_named_timezones
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 733280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-30 03:01 UTC by Thomas Deutschmann (RETIRED)
Modified: 2020-08-30 07:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-30 03:01:33 UTC
> >>> Test phase: dev-libs/libgweather-3.36.1
> meson test -C /var/tmp/portage/dev-libs/libgweather-3.36.1/work/libgweather-3.36.1-build --num-processes 5
> ninja: Entering directory `/var/tmp/portage/dev-libs/libgweather-3.36.1/work/libgweather-3.36.1-build'
> ninja: no work to do.
> 1/2 test_named_timezones FAIL           0.80s (killed by signal 6 SIGABRT)
> 2/2 Valid Locations file OK             0.05s
> 
> Ok:                 1
> Expected Fail:      0
> Fail:               1
> Unexpected Pass:    0
> Skipped:            0
> Timeout:            0
> 
> Full log written to /var/tmp/portage/dev-libs/libgweather-3.36.1/work/libgweather-3.36.1-build/meson-logs/testlog.txt
>  * ERROR: dev-libs/libgweather-3.36.1::gentoo failed (test phase):
>  *   tests failed
>  *
> 


> ok 5 /weather/airport_distance_sanity
> # GWeather-DEBUG: Not adding airport 'Paro Airport' as it's too far from 'Jakar' (131.3 km)
> 
> # GWeather-DEBUG: Not adding airport 'Paro Airport' as it's too far from 'Mongar' (180.3 km)
> 
> # GWeather-DEBUG: Not adding airport 'Bolshoe Savino Airport' as it's too far from 'Izhevsk' (224.9 km)
> 
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation libproxy (GLibproxyResolver) for ‘gio-proxy-resolver’
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
> Bail out! GWeather:ERROR:../libgweather-3.36.1/libgweather/test_libgweather.c:422:test_metar_weather_stations: assertion failed: (SOUP_STATUS_IS_SUCCESSFUL (msg->status_code))
> --- stderr ---
> GWeather-Message: 04:18:49.839: variant: (uint32 2, <('Izhevsk', '', true, [(0.99192878573234644, 0.92822426803455338)], @a(dd) [])>)
> **
> GWeather:ERROR:../libgweather-3.36.1/libgweather/test_libgweather.c:422:test_metar_weather_stations: assertion failed: (SOUP_STATUS_IS_SUCCESSFUL (msg->status_code))
> -------
> 
> 2/2 Valid Locations file OK             0.05s
> 
> --- command ---
> 02:18:49 /usr/bin/xmllint --path /var/tmp/portage/dev-libs/libgweather-3.36.1/work/libgweather-3.36.1/data --noout --valid Locations.xml
> -------
> 
> 
> 


Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86-kmod i686)
=================================================================
System uname: Linux-5.4.60-gentoo-x86-kmod-i686-with-gentoo-2.6
KiB Mem:     3106040 total,   1176648 free
KiB Swap:    8875836 total,   8875060 free
Timestamp of repository gentoo: Sat, 29 Aug 2020 12:35:28 +0000
Head commit of repository gentoo: 12379b5f47de6706ec7688be6d482aa64aa377aa

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
Comment 1 Mart Raudsepp gentoo-dev 2020-08-30 07:08:23 UTC
This looks to be FEATURES=network-sandbox blocking the important test of making sure libgweather does what it needs to do (get correct weather station information from the Internet).
Comment 2 Mart Raudsepp gentoo-dev 2020-08-30 07:37:40 UTC
*** Bug 733280 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2020-08-30 07:40:11 UTC
The bug has been closed via the following commit(s):

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

commit 9714e5edfb5f13d1ae6af6a05d91430578427fc0
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-08-30 07:39:07 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-08-30 07:40:00 +0000

    dev-libs/libgweather: automatically skip network test when sandboxed
    
    Closes: https://bugs.gentoo.org/739592
    Package-Manager: Portage-2.3.103, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../files/3.36.1-autoskip-network-test.patch       | 30 ++++++++++++++++++++++
 dev-libs/libgweather/libgweather-3.36.1.ebuild     |  1 +
 2 files changed, 31 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit 40a698334696b6b915bbbefa349df23cd8ef860c
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-08-30 07:05:48 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-08-30 07:40:00 +0000

    dev-libs/libgweather: fix tests when system has no French locale
    
    Bug: https://bugs.gentoo.org/739592
    Package-Manager: Portage-2.3.103, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../libgweather/files/3.36.1-tests-locale.patch    | 52 ++++++++++++++++++++++
 dev-libs/libgweather/libgweather-3.36.1.ebuild     |  1 +
 2 files changed, 53 insertions(+)