[Pkg-postgresql-public] Bug#790231: check-postgres: FTBFS under pbuilder: Test failure in 02_disk_space.t

Daniel Schepler dschepler at gmail.com
Sat Jun 27 16:31:52 UTC 2015


Source: check-postgres
Version: 2.21.0-3
Severity: normal

>From my pbuilder build log:

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/buildd/check-postgres-2.21.0'
debian/run-test
+ export LC_ALL=C
+ export SKIP_NETWORK_TESTS=1
+ trap cleanup 0 2 3 15
+ /usr/share/postgresql-common/supported-versions
+ echo #### running make test for 9.4 ####
#### running make test for 9.4 ####
+ cleanup
+ rm -rf test_database_check_postgres* /tmp/cptesting_socket*
+ export PGBINDIR=/usr/lib/postgresql/9.4/bin
+ make test
make[2]: Entering directory '/tmp/buildd/check-postgres-2.21.0'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_basic.t ............... ok   
t/00_signature.t ........... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/00_test_tester.t ......... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/01_validate_range.t ...... ok       
t/02_autovac_freeze.t ...... # Creating database in directory "test_database_check_postgres"
Creating new symlink socket at /tmp/cptesting_socket
t/02_autovac_freeze.t ...... ok   
t/02_backends.t ............ ok     
t/02_bloat.t ............... ok     
t/02_checkpoint.t .......... ok     
t/02_cluster_id.t .......... ok     
t/02_commitratio.t ......... ok     
t/02_connection.t .......... ok     
t/02_custom_query.t ........ ok     
t/02_database_size.t ....... ok     
t/02_dbstats.t ............. ok     
t/02_disabled_triggers.t ... ok     
t/02_disk_space.t .......... 1/8 
#   Failed test 'Action 'disk_space' reports file system'
#   at t/02_disk_space.t line 42.
#                   'POSTGRES_DISK_SPACE OK: DB "postgres" (host:/tmp/cptesting_socket) FS - mounted on / is using 44.11 GB of 91.54 GB (51%) | time=0.02s size=47365783552B 
# '
#     doesn't match '(?^:FS /.*? mounted on /.*? is using )'
t/02_disk_space.t .......... 6/8 
#   Failed test 'Action 'disk_space' reports MRTG output'
#   at t/02_disk_space.t line 57.
#                   '45908787200
# 0
# 
# -
# '
#     doesn't match '(?^:\A\d+\n0\n\n/.*\n)'
# Looks like you failed 2 tests of 8.
t/02_disk_space.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests 
t/02_fsm_pages.t ........... ok   
t/02_fsm_relations.t ....... ok   
t/02_hitratio.t ............ ok     
t/02_last_analyze.t ........ ok     
t/02_last_vacuum.t ......... ok     
t/02_listener.t ............ ok   
t/02_locks.t ............... ok     
t/02_logfile.t ............. ok     
t/02_new_version_bc.t ...... skipped: Skipped because environment variable SKIP_NETWORK_TESTS is set
t/02_new_version_box.t ..... skipped: Skipped because environment variable SKIP_NETWORK_TESTS is set
t/02_new_version_cp.t ...... skipped: Skipped because environment variable SKIP_NETWORK_TESTS is set
t/02_new_version_pg.t ...... skipped: Skipped because environment variable SKIP_NETWORK_TESTS is set
t/02_new_version_tnm.t ..... skipped: Skipped because environment variable SKIP_NETWORK_TESTS is set
t/02_pgagent_jobs.t ........ 1/48 NOTICE:  schema "pgagent" does not exist, skipping
t/02_pgagent_jobs.t ........ 42/48 NOTICE:  drop cascades to 4 other objects
DETAIL:  drop cascades to table pgagent.pga_job
drop cascades to table pgagent.pga_jobstep
drop cascades to table pgagent.pga_joblog
drop cascades to table pgagent.pga_jobsteplog
t/02_pgagent_jobs.t ........ ok     
t/02_pgbouncer_checksum.t .. ok   
t/02_prepared_txns.t ....... ok     
t/02_query_runtime.t ....... ok     
t/02_query_time.t .......... ok     
t/02_relation_size.t ....... ok     
t/02_replicate_row.t ....... ok     
t/02_same_schema.t ......... # Creating database in directory "test_database_check_postgres2"
Creating new symlink socket at /tmp/cptesting_socket2
# Creating database in directory "test_database_check_postgres3"
Creating new symlink socket at /tmp/cptesting_socket3
NOTICE:  language "plperlu" does not exist, skipping
t/02_same_schema.t ......... ok     
t/02_sequence.t ............ ok     
t/02_settings_checksum.t ... ok     
t/02_slony_status.t ........ ok     
t/02_timesync.t ............ ok     
t/02_txn_idle.t ............ ok     
t/02_txn_time.t ............ ok     
t/02_txn_wraparound.t ...... ok     
t/02_version.t ............. ok     
t/02_wal_files.t ........... ok     
t/03_translations.t ........ skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/04_timeout.t ............. ok   
t/05_docs.t ................ ok   
t/99_cleanup.t ............. ok   

Test Summary Report
-------------------
t/02_disk_space.t        (Wstat: 512 Tests: 8 Failed: 2)
  Failed tests:  3, 8
  Non-zero exit status: 2
t/02_replicate_row.t     (Wstat: 0 Tests: 19 Failed: 0)
  TODO passed:   18
Files=50, Tests=880, 264 wallclock secs ( 0.29 usr  0.05 sys + 79.74 cusr 10.43 csys = 90.51 CPU)
Result: FAIL
Failed 1/50 test programs. 2/880 subtests failed.
Makefile:784: recipe for target 'test_dynamic' failed
make[2]: *** [test_dynamic] Error 255
make[2]: Leaving directory '/tmp/buildd/check-postgres-2.21.0'
+ cleanup
+ rm -rf test_database_check_postgres test_database_check_postgres2 test_database_check_postgres3 /tmp/cptesting_socket*
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/tmp/buildd/check-postgres-2.21.0'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the Pkg-postgresql-public mailing list