You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2025/06/10 02:00:06 UTC
Re: [I] [C++] 5 tests fail on FreeBSD [arrow]
kou commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2957471673
```text
[----------] 23 tests from TestMemoryMappedFile
[ RUN ] TestMemoryMappedFile.InvalidUsages
[ OK ] TestMemoryMappedFile.InvalidUsages (0 ms)
[ RUN ] TestMemoryMappedFile.ZeroSizeFile
[ OK ] TestMemoryMappedFile.ZeroSizeFile (0 ms)
[ RUN ] TestMemoryMappedFile.MapPartFile
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/io/file_test.cc:633: Failure
Failed
Expected 'MemoryMappedFile::Open(path, FileMode::READWRITE, unalign_offset, 4096)' to fail with IOError, but got OK
```
It seems that FreeBSD's `mmap()` accepts unaligned offset.
```text
[----------] 1 test from FileUtils
[ RUN ] FileUtils.LongPaths
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/util/io_util_test.cc:1006: Failure
Failed
'_error_or_value85.status()' failed with IOError: Cannot create directory 'xxx-io-util-test-dir-long/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDE
F/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF/123456789ABCDEF'. Detail: [errno 63] File name too long
```
It seems that FreeBSD can't handle long path like macOS.
```text
[----------] 1 test from TestMinioServer
[ RUN ] TestMinioServer.Connect
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/filesystem/s3fs_test.cc:202: Failure
Failed
'InitServerAndClient()' failed with NotImplemented: Not available on this system
[ FAILED ] TestMinioServer.Connect (4 ms)
[----------] 1 test from TestMinioServer (4 ms total)
[----------] 28 tests from TestS3FS
[ RUN ] TestS3FS.GetFileInfoRoot
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/filesystem/s3fs_test.cc:202: Failure
Failed
'InitServerAndClient()' failed with NotImplemented: Not available on this system
```
MinIO is needed to test S3 file system.
```text
[----------] 4 tests from TestFlight
[ RUN ] TestFlight.ConnectUri
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:207: Failure
Failed
'server.Start()' failed with NotImplemented: Not available on this system
[ FAILED ] TestFlight.ConnectUri (1 ms)
[ RUN ] TestFlight.InvalidUriScheme
[ OK ] TestFlight.InvalidUriScheme (0 ms)
[ RUN ] TestFlight.ConnectUriUnix
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:233: Failure
Failed
'server.Start()' failed with NotImplemented: Not available on this system
[ FAILED ] TestFlight.ConnectUriUnix (0 ms)
```
Detecting the current executable on FreeBSD isn't available: https://github.com/apache/arrow/blob/b630f48f8464e770341e053e2fb328bd857bf72e/cpp/src/arrow/testing/process.cc#L299
```text
[----------] 4 tests from TestTls
[ RUN ] TestTls.DoAction
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1749518223.333586 841518 ssl_security_connector.cc:236] Handshaker factory creation failed with TSI_INVALID_ARGUMENT
E0000 00:00:1749518223.335490 841518 chttp2_server.cc:1685] UNKNOWN:Unable to create secure server with credentials of type Ssl
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:468: Failure
Failed
'ExampleTlsCertificates(&options.tls_certificates)' failed with IOError: Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data
[ FAILED ] TestTls.DoAction (5 ms)
[ RUN ] TestTls.DisableServerVerification
E0000 00:00:1749518223.336042 841518 ssl_security_connector.cc:236] Handshaker factory creation failed with TSI_INVALID_ARGUMENT
E0000 00:00:1749518223.336062 841518 chttp2_server.cc:1685] UNKNOWN:Unable to create secure server with credentials of type Ssl
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:468: Failure
Failed
'ExampleTlsCertificates(&options.tls_certificates)' failed with IOError: Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data
[ FAILED ] TestTls.DisableServerVerification (0 ms)
[ RUN ] TestTls.OverrideHostname
E0000 00:00:1749518223.336211 841518 ssl_security_connector.cc:236] Handshaker factory creation failed with TSI_INVALID_ARGUMENT
E0000 00:00:1749518223.336230 841518 chttp2_server.cc:1685] UNKNOWN:Unable to create secure server with credentials of type Ssl
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:468: Failure
Failed
'ExampleTlsCertificates(&options.tls_certificates)' failed with IOError: Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data
[ FAILED ] TestTls.OverrideHostname (0 ms)
[ RUN ] TestTls.OverrideHostnameGeneric
E0000 00:00:1749518223.336374 841518 ssl_security_connector.cc:236] Handshaker factory creation failed with TSI_INVALID_ARGUMENT
E0000 00:00:1749518223.336392 841518 chttp2_server.cc:1685] UNKNOWN:Unable to create secure server with credentials of type Ssl
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/flight/flight_test.cc:468: Failure
Failed
'ExampleTlsCertificates(&options.tls_certificates)' failed with IOError: Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data
[ FAILED ] TestTls.OverrideHostnameGeneric (0 ms)
[----------] 4 tests from TestTls (6 ms total)
```
https://github.com/apache/arrow-testing is required to run tests.
```text
[ RUN ] TestSchemaMetadata.MetadataVersionForwardCompatibility
/usr/ports/databases/arrow/work/apache-arrow-20.0.0/cpp/src/arrow/ipc/read_write_test.cc:365: Failure
Failed
'GetTestResourceRoot(&root)' failed with IOError: Test resources not found, set ARROW_TEST_DATA to <repo root>/testing/data
[ FAILED ] TestSchemaMetadata.MetadataVersionForwardCompatibility (0 ms)
```
https://github.com/apache/arrow-testing is required to run tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org