Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-12 Thread via GitHub


yurivict commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2967145673

   Hi @pitrou ,
   
   I agree.


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-12 Thread via GitHub


pitrou commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2966559304

   Hi @yurivict 
   
   > It seems that FreeBSD's `mmap()` accepts unaligned offset.
   
   Then we should just skip that particular test on FreeBSD.
   
   > It seems that FreeBSD can't handle long path like macOS.
   
   Same here, let's skip it on FreeBSD.
   
   


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-10 Thread via GitHub


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
   E 00:00:1749518223.333586  841518 ssl_security_connector.cc:236] 
Handshaker factory creation failed with TSI_INVALID_ARGUMENT
   E 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 /testing/data
   
   [  FAILED  ] TestTls.DoAction (5 ms)
   [ RUN  ] TestTls.DisableServerVerification
   E 00:00:1749518223.336042  841518 ssl_security_connector.cc:236] 
Handshaker factory creation failed with TSI_INVALID_ARGUMENT
   E 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

Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-09 Thread via GitHub


yurivict commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2957480857

   > It seems that FreeBSD can't handle long path like macOS.
   
   This is limited by this value:
   ```
   #definePATH_MAX 1024   /* max bytes in pathname */
   ```


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-09 Thread via GitHub


yurivict commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2957561579

   Executable detection is added here: 
https://github.com/apache/arrow/pull/46759


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-09 Thread via GitHub


kou commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2957499386

   As the error message said, we need to tell arrow-testing path by the 
`ARROW_TEST_DATA` environment variable.


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [C++] 5 tests fail on FreeBSD [arrow]

2025-06-09 Thread via GitHub


yurivict commented on issue #46756:
URL: https://github.com/apache/arrow/issues/46756#issuecomment-2957478609

   > https://github.com/apache/arrow-testing is required to run tests.
   
   arrow-testing git submodule is present:
   ```
   $ ls work/apache-arrow-20.0.0/testing/
   LICENSE.txt README.md   data
   ```
   
   


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org