Skip to content

IBM i CI job #2851

Closed
Closed
@richardlau

Description

@richardlau

As a heads up we've been working on adding IBM i machines to the Node.js CI infrastructure (nodejs/build#1923). To test them I've created a libuv-test-commit-ibmi job.

Thanks to the good work put in by @libuv/ibmi we're in fairly good shape, with only a small number of test failures:
https://ci.nodejs.org/view/libuv/job/libuv-test-commit-ibmi/7/nodes=ibmi72-ppc64/console

not ok 47 - fs_chown
# exit code 393350
# Output from process `fs_chown`:
# Assertion failed in test/test-fs.c on line 318: req->result == 0
...
not ok 233 - spawn_reads_child_path
# exit code 393350
# Output from process `spawn_reads_child_path`:
# exit_cb
# Assertion failed in test/test-spawn.c on line 72: exit_status == 1
not ok 234 - spawn_setgid_fails
# exit code 393350
# Output from process `spawn_setgid_fails`:
# Assertion failed in test/test-spawn.c on line 1501: r == UV_EINVAL
not ok 235 - spawn_setuid_fails
# exit code 393350
# Output from process `spawn_setuid_fails`:
# Assertion failed in test/test-spawn.c on line 1456: r == UV_EINVAL

Curiously some of these are failing in #if defined(__PASE__) blocks,
e.g.

# Assertion failed in test/test-fs.c on line 318: req->result == 0

libuv/test/test-fs.c

Lines 313 to 319 in 3654981

# elif defined(__PASE__)
/* On IBMi PASE, there is no root user. uid 0 is user qsecofr.
* User may grant qsecofr's privileges, including changing
* the file's ownership to uid 0.
*/
ASSERT(req->result == 0);
# else

# Assertion failed in test/test-spawn.c on line 1501: r == UV_EINVAL

libuv/test/test-spawn.c

Lines 1500 to 1502 in 3654981

#if defined(__CYGWIN__) || defined(__MVS__) || defined(__PASE__)
ASSERT(r == UV_EINVAL);
#else

cc @dmabupt

I've held off adding the job to the main libuv-test-commit job for now until we clear these remaining test failures. Please speak up if there are any objections/concerns about adding IBM i to the main job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions