Skip to content

Conversation

@dsharma-dc
Copy link
Contributor

No description provided.

@dsharma-dc dsharma-dc marked this pull request as ready for review October 30, 2025 10:46
@dsharma-dc dsharma-dc requested a review from a team as a code owner October 30, 2025 10:46
@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Oct 31, 2025
@bors-openebs-mayastor
Copy link

try

Timed out.

@abhilashshetty04
Copy link
Member

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 3, 2025
@bors-openebs-mayastor
Copy link

try

Timed out.

@abhilashshetty04
Copy link
Member

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 5, 2025
@dsharma-dc
Copy link
Contributor Author

@abhilashshetty04 The Javascript grpc tests seem to be timing out: https://github.com/openebs/mayastor/actions/runs/19030920518/job/54344479486

Could be a setup or runner issue, or something in test needs adjustment perhaps.

@abhilashshetty04
Copy link
Member

@abhilashshetty04 The Javascript grpc tests seem to be timing out: https://github.com/openebs/mayastor/actions/runs/19030920518/job/54344479486

Could be a setup or runner issue, or something in test needs adjustment perhaps.

@dsharma-dc Thanks, I'll take a look.

@bors-openebs-mayastor
Copy link

try

Timed out.

@abhilashshetty04
Copy link
Member

@dsharma-dc ,

Tried running locally. Fails there as well.

If i just run first test that fails only "should create a pool with aio bdevs". It passed.

logs:

[nix-shell:~/mayastor/test/grpc]: npx mocha test_replica.js --grep "should create a pool with aio bdevs"

replica

✔ should create a pool with aio bdevs. -- passes

Stopping io-engine with pid 934702 ...
io-engine exited with code=null and signal=SIGABRT:

[2025-11-07T08:08:12.568948402+00:00 INFO io_engine:io-engine.rs:275] Engine responsible for managing I/Os (debug) version 1.0.0, revision 84f82a7 (v2.9.0-alpha.0+75)
[2025-11-07T08:08:12.569126349+00:00 INFO io_engine:io-engine.rs:280] PR_SET_IO_FLUSHER is configured
[2025-11-07T08:08:12.569205799+00:00 INFO io_engine:io-engine.rs:244] free_pages 2MB: 4096 nr_pages 2MB: 4096
[2025-11-07T08:08:12.569222991+00:00 INFO io_engine:io-engine.rs:245] free_pages 1GB: 0 nr_pages 1GB: 0
[2025-11-07T08:08:12.569337957+00:00 INFO io_engine:io-engine.rs:312] kernel io_uring support: yes
[2025-11-07T08:08:12.569361361+00:00 INFO io_engine:io-engine.rs:316] kernel nvme initiator multipath support: yes
[2025-11-07T08:08:12.569476229+00:00 INFO io_engine::subsys::config:mod.rs:230] Applying Mayastor configuration settings

<>

[2025-11-07T08:08:13.648842349+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:572] DestroyPoolRequest { name: "tpool" }
[2025-11-07T08:08:13.653484764+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:533] create pool request: CreatePoolRequest { name: "tpool", disks: ["aio:///dev/loop10"] }
[2025-11-07T08:08:13.655162041+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:573] Creating or importing non-encrypted lvs 'tpool' from 'aio:///dev/loop10'...
[2025-11-07T08:08:13.658429089+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:321] error=: cannot import LVS, failed to import pool tpool
[2025-11-07T08:08:13.669736126+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:557] Lvs 'tpool' [/dev/loop10/457b2004-695e-453a-b2cf-3fb4b693a55d] (96.00 MiB/96.00 MiB): new lvs created successfully
[2025-11-07T08:08:13.705914689+00:00 WARN io_engine::core::env:env.rs:582] Received SIGNO: 15
[2025-11-07T08:08:13.707717544+00:00 INFO io_engine::bdev::nexus:mod.rs:144] Shutting down nexuses...
[2025-11-07T08:08:13.707783818+00:00 INFO io_engine::bdev::nexus:mod.rs:170] All nexus have been shutdown.
[2025-11-07T08:08:13.707878147+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:705] Lvs 'tpool' [/dev/loop10/457b2004-695e-453a-b2cf-3fb4b693a55d] (96.00 MiB/96.00 MiB): exporting lvs...
[2025-11-07T08:08:13.707909926+00:00 INFO io_engine::grpc::server:server.rs:139] Shutting down grpc server

However, when i run all tests with --bail. --bail stops the execution upon first failure

[nix-shell:~/mayastor/test/grpc]# npx mocha test_replica.js --bail

replica
✔ should not support multiple disks for a pool
✔ should not create a pool with invalid block size
1) should create a pool with aio bdevs. ---fails

io-engine exited with code=null and signal=SIGKILL:

[2025-11-07T08:14:16.706677961+00:00 INFO io_engine:io-engine.rs:275] Engine responsible for managing I/Os (debug) version 1.0.0, revision 84f82a7 (v2.9.0-alpha.0+75)
[2025-11-07T08:14:16.706904267+00:00 INFO io_engine:io-engine.rs:280] PR_SET_IO_FLUSHER is configured
[2025-11-07T08:14:16.707060743+00:00 INFO io_engine:io-engine.rs:244] free_pages 2MB: 4096 nr_pages 2MB: 4096
[2025-11-07T08:14:16.707128260+00:00 INFO io_engine:io-engine.rs:245] free_pages 1GB: 0 nr_pages 1GB: 0
[2025-11-07T08:14:16.707315585+00:00 INFO io_engine:io-engine.rs:312] kernel io_uring support: yes

[2025-11-07T08:14:17.164569467+00:00 INFO io_engine::core::reactor:reactor.rs:180] Scheduled SPDK thread 'iscsi_poll_group_0' (0x562885e8b580) on core #0
[2025-11-07T08:14:17.164769694+00:00 INFO io_engine::core::env:env.rs:932] RPC server listening at: /tmp/mayastor_test.sock
[2025-11-07T08:14:17.165057407+00:00 WARN io_engine:io-engine.rs:77] Nexus reset is disabled
[2025-11-07T08:14:17.165128651+00:00 INFO io_engine:io-engine.rs:118] Async QPair connection feature ('spdk-async-qpair-connect') is enabled
[2025-11-07T08:14:17.165147358+00:00 INFO io_engine:io-engine.rs:119] Fault injection feature ('fault-injection') is disabled
[2025-11-07T08:14:17.165382792+00:00 WARN io_engine::core::reactor:reactor.rs:428] core 0 set to developer delayed poll mode
[2025-11-07T08:14:17.166817881+00:00 INFO io_engine::grpc::server:server.rs:75] [V0, V1] gRPC server configured at address 159.69.49.159:10124
[2025-11-07T08:14:17.754856387+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:572] DestroyPoolRequest { name: "tpool" }
[2025-11-07T08:14:17.758533189+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:533] create pool request: CreatePoolRequest { name: "tpool", disks: ["/dev/somethingA", "/dev/somethingB"] }
[2025-11-07T08:14:17.760699679+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:569] error=errno : invalid number 2 of devices ["/dev/somethingA", "/dev/somethingB"]
[2025-11-07T08:14:17.762957752+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:533] create pool request: CreatePoolRequest { name: "tpool", disks: ["/dev/loop10?blk_size=1238513"] }
[2025-11-07T08:14:17.764174088+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:573] Creating or importing non-encrypted lvs 'tpool' from 'aio:///dev/loop10?blk_size=1238513'...
[2025-11-07T08:14:17.764392691+00:00 WARN mayastor::spdk:bdev_aio.c:967] Specified block size 1238513 does not match auto-detected block size 512
[2025-11-07T08:14:17.764432567+00:00 ERROR mayastor::spdk:bdev_aio.c:981] Invalid block size 1238513 (must be a power of 2.)
[2025-11-07T08:14:17.793236557+00:00 ERROR io_engine::bdev::aio:aio.rs:136] Aio '/dev/loop10', 'blk_size: 1238513' error: Failed to create a BDEV '/dev/loop10': EINVAL: Invalid argument
[2025-11-07T08:14:17.793341375+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:619] Failed to create pool bdev: CreateBdevFailed { source: EINVAL, name: "/dev/loop10" }
[2025-11-07T08:14:17.793373345+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:569] error=InvalidBdev
[2025-11-07T08:14:17.795702002+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:533] create pool request: CreatePoolRequest { name: "tpool", disks: ["aio:///dev/loop10"] }
[2025-11-07T08:14:17.797919177+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:573] Creating or importing non-encrypted lvs 'tpool' from 'aio:///dev/loop10'...
[2025-11-07T08:14:17.824364435+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:321] error=: cannot import LVS, failed to import pool tpool
[2025-11-07T08:14:27.830225388+00:00 WARN io_engine::core::env:env.rs:582] Received SIGNO: 15
[2025-11-07T08:14:27.831922283+00:00 INFO io_engine::bdev::nexus:mod.rs:144] Shutting down nexuses...

[2025-11-07T08:14:27.831981163+00:00 INFO io_engine::bdev::nexus:mod.rs:170] All nexus have been shutdown.
[2025-11-07T08:14:27.832190329+00:00 INFO io_engine::grpc::server:server.rs:139] Shutting down grpc server
[2025-11-07T08:14:27.866278365+00:00 INFO io_engine::core::reactor:reactor.rs:545] Core #0: destroying exited thread 'iscsi_poll_group_0'
[2025-11-07T08:14:27.870007655+00:00 INFO io_engine::subsys::nvmf::subsystem:subsystem.rs:778] Subsystem stop in progress... self=NvmfSubsystem { id: 0, subtype: "Discovery", subnqn: "nqn.2014-08.org.nvmexpress.discovery", sn: "00000000000000000000", mn: "Mayastor NVMe controller", allow_any_host: true, ana_reporting: 0, listeners: Some([Transport ID { trtype: 3, trstring: "TCP", traddr: "159.69.49.159", trsvcid: "8420" }]) }
[2025-11-07T08:14:27.872355207+00:00 INFO io_engine::subsys::nvmf::subsystem:subsystem.rs:827] Subsystem stop completed: Ok self=NvmfSubsystem { id: 0, subtype: "Discovery", subnqn: "nqn.2014-08.org.nvmexpress.discovery", sn: "00000000000000000000", mn: "Mayastor NVMe controller", allow_any_host: true, ana_reporting: 0, listeners: Some([Transport ID { trtype: 3, trstring: "TCP", traddr: "159.69.49.159", trsvcid: "8420" }]) }
[2025-11-07T08:14:27.875942720+00:00 INFO io_engine::subsys::nvmf::target:target.rs:422] NVMe-oF target shutdown completed

[2025-11-07T08:14:17.795702002+00:00 INFO io_engine::grpc::v0::mayastor_grpc:mayastor_grpc.rs:533] create pool request: CreatePoolRequest { name: "tpool", disks: ["aio:///dev/loop10"] }
[2025-11-07T08:14:17.797919177+00:00 INFO io_engine::lvs::lvs_store:lvs_store.rs:573] Creating or importing non-encrypted lvs 'tpool' from 'aio:///dev/loop10'...
[2025-11-07T08:14:17.824364435+00:00 ERROR io_engine::lvs::lvs_store:lvs_store.rs:321] error=: cannot import LVS, failed to import pool tpool

Here we receive SIGKILL before creating the pool. I'm checking this further.

@abhilashshetty04
Copy link
Member

bors try

@bors-openebs-mayastor
Copy link

try

Merge conflict.

@abhilashshetty04
Copy link
Member

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 26, 2025
@bors-openebs-mayastor
Copy link

try

Build failed:

@tiagolobocastro
Copy link
Member

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 28, 2025
@bors-openebs-mayastor
Copy link

try

Build failed:

@tiagolobocastro tiagolobocastro changed the title chore(spdk/upgrade): accomodate spdk 25.05 changes in Mayastor refactor(spdk/upgrade): accomodate spdk 25.05 changes in Mayastor Nov 28, 2025
@tiagolobocastro
Copy link
Member

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 28, 2025
@bors-openebs-mayastor
Copy link

try

Build succeeded:

@tiagolobocastro
Copy link
Member

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

  • bors-ci

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 6184f01 into develop Dec 1, 2025
5 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the ms-spdk-25_05 branch December 1, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants