Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl 5.36 cpan | DBD::SQLite fails non-latin tests under docker #68

Closed
shawnlaffan opened this issue Mar 13, 2023 · 1 comment
Closed

Comments

@shawnlaffan
Copy link
Contributor

This is another case where the tests fail on the docker instance but not on a local build using the same perl (see #66).

The solution for now is to disable t/33_non_latin_path.t in the build script.

t/32_inactive_error.t ................................. ok

#   Failed test 'Could connect to database in adatb<E1>zis'
#   at t/33_non_latin_path.t line 40.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable
to open database file at t/33_non_latin_path.t line 34.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable to open databas
e file at t/33_non_latin_path.t line 34.

#   Failed test 'Could connect to database in adatb<E1>zis'
#   at t/33_non_latin_path.t line 51.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable
to open database file at t/33_non_latin_path.t line 45.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable to open databas
e file at t/33_non_latin_path.t line 45.

#   Failed test 'Could connect to database in adatb<E1>zis'
#   at t/33_non_latin_path.t line 66.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable
to open database file at t/33_non_latin_path.t line 59.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable to open databas
e file at t/33_non_latin_path.t line 59.

#   Failed test 'Could connect to database in adatb<E1>zis'
#   at t/33_non_latin_path.t line 78.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable
to open database file at t/33_non_latin_path.t line 71.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\adatb<E1>zis\db.db','',...) failed: unable to open databas
e file at t/33_non_latin_path.t line 71.

#   Failed test 'Could connect to database in <BF><BF><BF> <BF><BF><BF><BF><BF><BF>'
#   at t/33_non_latin_path.t line 40.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db
','',...) failed: unable to open database file at t/33_non_latin_path.t line 34.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db','',...) faile
d: unable to open database file at t/33_non_latin_path.t line 34.

#   Failed test 'Could connect to database in <BF><BF><BF> <BF><BF><BF><BF><BF><BF>'
#   at t/33_non_latin_path.t line 51.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db
','',...) failed: unable to open database file at t/33_non_latin_path.t line 45.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db','',...) faile
d: unable to open database file at t/33_non_latin_path.t line 45.

#   Failed test 'Could connect to database in <BF><BF><BF> <BF><BF><BF><BF><BF><BF>'
#   at t/33_non_latin_path.t line 66.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db
','',...) failed: unable to open database file at t/33_non_latin_path.t line 59.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db','',...) faile
d: unable to open database file at t/33_non_latin_path.t line 59.

#   Failed test 'Could connect to database in <BF><BF><BF> <BF><BF><BF><BF><BF><BF>'
#   at t/33_non_latin_path.t line 78.
#          got: 'DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db
','',...) failed: unable to open database file at t/33_non_latin_path.t line 71.
# '
#     expected: ''
# DBI connect('dbname=C:\strawberry_build\env\temp\e2egO_TxJx\<BF><BF><BF> <BF><BF><BF><BF><BF><BF>\db.db','',...) faile
d: unable to open database file at t/33_non_latin_path.t line 71.
# Looks like you failed 8 tests of 42.
t/33_non_latin_path.t .................................
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/42 subtests
shawnlaffan added a commit that referenced this issue Mar 13, 2023
…o not build

Devel::Declare is deprecated.  #70

CPANPLUS fails to build locally, disable for now.  #64

Alien::Libxml2: set PKG_CONFIG_DIR. #71

Other test files are disabled on a per file basis.
Most of these pass on a local copy of the build.
Includes #65, #66, #67, #68 and #73
@shawnlaffan
Copy link
Contributor Author

The failing tests are now skipped.

Closing under the assumption it is an issue with the build environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant