raulcd commented on PR #46823:
URL: https://github.com/apache/arrow/pull/46823#issuecomment-2976137801
The previous failure (Gtest build) is fixed but the integration jobs seem
to be failing to generate the integration data, see:
```
Successfully installed archery-0.1.0 cffi-1.17.1 click-8.2.1 pycparser-2.22
Traceback (most recent call last):
File
"/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/bin/archery",
line 8, in <module>
sys.exit(archery())
~~~~~~~^^
File
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/lib/python3.13/site-packages/click/core.py",
line 1442, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/lib/python3.13/site-packages/click/core.py",
line 1363, in main
rv = self.invoke(ctx)
File
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/lib/python3.13/site-packages/click/core.py",
line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/lib/python3.13/site-packages/click/core.py",
line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/arrow-HEAD.XXXXX.jinLaDxeh3/venv-source/lib/python3.13/site-packages/click/core.py",
line 794, in invoke
return callback(*args, **kwargs)
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/cli.py", line
873, in integration
run_all_tests(**args)
~~~~~~~~~~~~~^^^^^^^^
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/runner.py",
line 639, in run_all_tests
generated_json_files = datagen.get_generated_json_files(tempdir=tempdir)
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/datagen.py",
line 1890, in get_generated_json_files
generate_primitive_case([17, 20], name='primitive'),
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/datagen.py",
line 1557, in generate_primitive_case
return _generate_file(name, fields, batch_sizes)
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/datagen.py",
line 1497, in _generate_file
col = field.generate_column(size)
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/datagen.py",
line 614, in generate_column
values.append(random_bytes(nbytes))
~~~~~~~~~~~~^^^^^^^^
File
"/Users/runner/work/crossbow/crossbow/arrow/dev/archery/archery/integration/util.py",
line 112, in random_bytes
return random.getrandbits(nbytes * 8).to_bytes(nbytes,
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: an integer is required
```
I am unsure why and I can't seem to find any issue apart from moving the JS
integration tests. @kou do you know if something has changed about the data
generation that could cause this failure?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]