Opened 7 years ago

Closed 7 years ago

#2748 closed defect (worksforme)

dbutil_test.sh failing on solaris

Reported by: jreed Owned by: jreed
Priority: medium Milestone:
Component: tests Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Medium
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 3 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Making check in dbutil
Making check in .
Making check in tests
Making check in .
make  check-local
B10_LOCKFILE_DIR_FROM_BUILD=/export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build \
/bin/bash /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test.sh
Database Upgrade Test
1.1. Non-existent database - check
Variable syntax
--- PASS
1.2. Non-existent database - upgrade
Variable syntax
--- PASS
2.1. Database is an empty file - check
Variable syntax
--- PASS
2.2. Database is an empty file - upgrade
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
3.1. Database is not an SQLite file - check
Variable syntax
--- PASS
3.2. Database is not an SQLite file - upgrade
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
4.1. Database is an SQLite3 file without the schema table - check
Variable syntax
--- PASS
4.1. Database is an SQLite3 file without the schema table - upgrade
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
5.1. Database is an old V1 database - check
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/testdata/old_v1.sqlite3 not at expected version V1.0 (output: 0)
*** FAIL
5.2. Database is an old V1 database - upgrade
Variable syntax
*** FAIL
6.1. Database is new V1 database - check
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/testdata/new_v1.sqlite3 not at expected version V1.0 (output: 0)
*** FAIL
6.2. Database is a new V1 database - upgrade
Variable syntax
*** FAIL
7.1. Database is V2.0 database - check
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/testdata/v2_0.sqlite3 not at expected version V2.0 (output: 0)
*** FAIL
7.2. Database is a V2.0 database - upgrade
Variable syntax
*** FAIL
8.1. Database is V2.1 database - check
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/testdata/v2_1.sqlite3 not at expected version V2.1 (output: 0)
*** FAIL
8.2. Database is a V2.1 database - upgrade
Variable syntax
*** FAIL
9.1. Database is V2.2 database - check
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/testdata/v2_2.sqlite3 not at expected version V2.2 (output: 0)
*** FAIL
9.2. Database is a V2.2 database - upgrade
Variable syntax
*** FAIL
10.1. Database is V2.0 database with empty schema table - check
Variable syntax
--- PASS
10.2. Database is V2.0 database with empty schema table - upgrade
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
11.1. Database is V2.0 database with over-full schema table - check
Variable syntax
--- PASS
11.2. Database is V2.0 database with over-full schema table - upgrade
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
12. Upgrade corrupt database
Variable syntax
--- PASS
ERROR: backup file /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680.backup not found
*** FAIL
13. Record count test
Variable syntax
*** FAIL
14. Backup file already exists
Variable syntax
*** FAIL
15.1 Command-line errors
Variable syntax
--- PASS
Variable syntax
--- PASS
Variable syntax
--- PASS
Variable syntax
--- PASS
Variable syntax
--- PASS
Variable syntax
--- PASS
Variable syntax
--- PASS
15.2 verbose flag
Variable syntax
*** FAIL
15.3 Interactive prompt - yes
Variable syntax
*** FAIL
Variable syntax
ERROR: database /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests/dbutil_test_tempfile_1680 not at expected version V2.2 (output: 0)
*** FAIL
15.4 Interactive prompt - no
Variable syntax
*** FAIL
--- PASS
15.5 quiet flag
Variable syntax
*** FAIL
FAIL: Database Upgrade Test - 23 tests failed
*** Error code 23
make: Fatal error: Command failed for target `check-local'
Current working directory /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /export/home/users/jreed/builder/work/BIND10/20130215011751-Solaris10-sparc-Sunstudio/build/src/bin/dbutil/tests
*** Error code 1

This is with gcc and sunstudio:

http://git.bind10.isc.org/~tester/builder/BIND10/20130215011751-Solaris10-sparc-Sunstudio/logs/unittests.out
http://git.bind10.isc.org/~tester/builder/BIND10/20130130161510-Solaris10-sparc-GCC/logs/unittests.out

Notice the above are long a part. (It didn't have this problem other recent times in past 30 days.) I think the common thing with this is that I manually triggered the build logged into the sol-10 sparc system both times. I assume something is different about my environment versus the cronjob's environment. I can research later, but I opened this ticket to remember.

Subtickets

Change History (4)

comment:1 Changed 7 years ago by jwright

  • Component changed from data source to tests
  • Defect Severity changed from N/A to Medium
  • Milestone changed from New Tasks to Next-Sprint-Proposed

comment:2 follow-up: Changed 7 years ago by muks

Please check if #2698 fixes this issue.

comment:3 Changed 7 years ago by shane

  • Owner set to jreed
  • Status changed from new to assigned

comment:4 in reply to: ↑ 2 Changed 7 years ago by jreed

  • Resolution set to worksforme
  • Status changed from assigned to closed

Replying to muks:

Please check if #2698 fixes this issue.

This appears to be fixed. I am closing this ticket.

Note: See TracTickets for help on using tickets.