[Tile-serving] [openstreetmap/mod_tile] gen_tile_test may hang (#224)
ǝɹʇʇɐʃǝ◖ xıʃǝɟ
notifications at github.com
Sun Feb 14 10:47:08 UTC 2021
There seem to be some build failures:
```
In file included from /usr/include/c++/10/vector:72,
from ./includes/catch.hpp:212,
from src/gen_tile_test.cpp:28:
/usr/include/c++/10/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Catch::JunitReporter::Stats}; _Tp = Catch::JunitReporter::Stats; _Alloc = std::allocator<Catch::JunitReporter::Stats>]’:
/usr/include/c++/10/bits/vector.tcc:426:7: note: parameter passing for argument of type ‘std::vector<Catch::JunitReporter::Stats>::iterator’ changed in GCC 7.1
426 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/vector.tcc: In member function ‘virtual void Catch::JunitReporter::StartGroup(const string&)’:
/usr/include/c++/10/bits/vector.tcc:121:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Catch::JunitReporter::Stats*, std::vector<Catch::JunitReporter::Stats> >’ changed in GCC 7.1
121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Catch::JunitReporter::TestCaseStats}; _Tp = Catch::JunitReporter::TestCaseStats; _Alloc = std::allocator<Catch::JunitReporter::TestCaseStats>]’:
/usr/include/c++/10/bits/vector.tcc:426:7: note: parameter passing for argument of type ‘std::vector<Catch::JunitReporter::TestCaseStats>::iterator’ changed in GCC 7.1
426 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/vector.tcc: In member function ‘virtual void Catch::JunitReporter::StartTestCase(const Catch::TestCaseInfo&)’:
/usr/include/c++/10/bits/vector.tcc:121:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Catch::JunitReporter::TestCaseStats*, std::vector<Catch::JunitReporter::TestCaseStats> >’ changed in GCC 7.1
121 | _M_realloc_insert(end(), std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++14 -DU_USING_ICU_NAMESPACE=0 -g -O2 -ffile-prefix-map=/build/mapnik-EhpeLR/mapnik-3.1.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o gen_tile_test src/gen_tile_test-gen_tile_test.o src/gen_tile_test-metatile.o src/gen_tile_test-request_queue.o src/gen_tile_test-protocol_helper.o src/gen_tile_test-daemon.o src/gen_tile_test-daemon_compat.o src/gen_tile_test-gen_tile.o src/gen_tile_test-sys_utils.o src/gen_tile_test-cache_expire.o src/gen_tile_test-parameterize_style.o src/gen_tile_test-store.o src/gen_tile_test-store_file.o src/gen_tile_test-store_file_utils.o src/gen_tile_test-store_memcached.o src/gen_tile_test-store_rados.o src/gen_tile_test-store_ro_http_proxy.o src/gen_tile_test-store_ro_composite.o src/gen_tile_test-store_null.o -pthread -L/usr/lib -lmapnik -L/build/mapnik-EhpeLR/mapnik-3.1.0+ds/build-python/freetype -L/build/mapnik-EhpeLR/mapnik-3.1.0+ds/build-python/xml2 -L/usr/lib -L/usr/lib/arm-linux-gnueabi -Wl,-z,relro -Wl,-z,now -g0 -pthread -lboost_filesystem -lboost_regex -lcairo -lpng -lproj -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl -lcurl -liniparser -liniparser -lm
libtool: link: g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++14 -DU_USING_ICU_NAMESPACE=0 -g -O2 -ffile-prefix-map=/build/mapnik-EhpeLR/mapnik-3.1.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o gen_tile_test src/gen_tile_test-gen_tile_test.o src/gen_tile_test-metatile.o src/gen_tile_test-request_queue.o src/gen_tile_test-protocol_helper.o src/gen_tile_test-daemon.o src/gen_tile_test-daemon_compat.o src/gen_tile_test-gen_tile.o src/gen_tile_test-sys_utils.o src/gen_tile_test-cache_expire.o src/gen_tile_test-parameterize_style.o src/gen_tile_test-store.o src/gen_tile_test-store_file.o src/gen_tile_test-store_file_utils.o src/gen_tile_test-store_memcached.o src/gen_tile_test-store_rados.o src/gen_tile_test-store_ro_http_proxy.o src/gen_tile_test-store_ro_composite.o src/gen_tile_test-store_null.o -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -g0 -pthread -L/usr/lib -lmapnik -L/build/mapnik-EhpeLR/mapnik-3.1.0+ds/build-python/freetype -L/build/mapnik-EhpeLR/mapnik-3.1.0+ds/build-python/xml2 -L/usr/lib/arm-linux-gnueabi -lboost_filesystem -lboost_regex -lcairo -lpng /usr/lib/arm-linux-gnueabi/libproj.so -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl -lcurl -liniparser -lm -pthread
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test || echo "Ignoring test failures"
make -j4 test VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./gen_tile_test
E: Build killed with signal TERM after 300 minutes of inactivity
```
See here:
* https://buildd.debian.org/status/logs.php?pkg=libapache2-mod-tile&arch=armel
* https://buildd.debian.org/status/logs.php?pkg=libapache2-mod-tile&arch=s390x
In both cases gen_tile_test was killed after 300 minutes. It seems there is a race and/or locking issue in that test.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210214/1318cd35/attachment.htm>
More information about the Tile-serving
mailing list