Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test - test_pair_qpid_protonj2_to_rhea fails with an error reading the SendTime property #79

Open
ssorj opened this issue Jun 10, 2022 · 0 comments

Comments

@ssorj
Copy link
Owner

ssorj commented Jun 10, 2022

test_pair_qpid_protonj2_to_rhea ........................................ FAILED    2.3s
--- Error ---
> Command 'quiver --sender qpid-protonj2 --receiver rhea --count 1 --verbose' returned non-zero exit status 1.
--- Output ---
> quiver: Calling 'quiver-arrow receive amqp://localhost:56727/quiver --impl rhea --duration 30s --count 1 --rate 0 --body-size 100 --credit 1000 --transaction-size 0 --timeout 10 --verbose --output /tmp/quiver-n8eylbeo --server --passive'
> quiver-arrow: Making directory '/tmp/quiver-n8eylbeo'
> quiver-arrow: Saving output files to '/tmp/quiver-n8eylbeo'
> quiver-arrow: Calling '/home/jross/code/quiver/build/quiver/impls/quiver-arrow-rhea connection-mode=server channel-mode=passive operation=receive id=quiver-receiver-179834c9 scheme=amqp host=localhost port=56727 path=quiver duration=30 count=1 rate=0 body-size=100 credit-window=1000 transaction-size=0 durable=0'
> (node:1963217) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> quiver: Calling 'quiver-arrow send amqp://localhost:56727/quiver --impl qpid-protonj2 --duration 30s --count 1 --rate 0 --body-size 100 --credit 1000 --transaction-size 0 --timeout 10 --verbose --output /tmp/quiver-n8eylbeo'
> [connection-1] disconnected 
> quiver-arrow: Making directory '/tmp/quiver-n8eylbeo'
> quiver-arrow: Saving output files to '/tmp/quiver-n8eylbeo'
> quiver-arrow: Calling '/home/jross/code/quiver/build/quiver/impls/quiver-arrow-qpid-protonj2 connection-mode=client channel-mode=active operation=send id=quiver-sender-adad2660 scheme=amqp host=localhost port=56727 path=quiver duration=30 count=1 rate=0 body-size=100 credit-window=1000 transaction-size=0 durable=0'
> quiver-arrow-qpid-protonj2: Calling '/usr/bin/env -- java -classpath /home/jross/code/quiver/build/quiver/java/quiver-protonj2.jar -Dorg.slf4j.simpleLogger.defaultLogLevel=warn net.ssorj.quiver.QuiverArrowProtonJ2 connection-mode=client channel-mode=active operation=send id=quiver-sender-adad2660 scheme=amqp host=localhost port=56727 path=quiver duration=30 count=1 rate=0 body-size=100 credit-window=1000 transaction-size=0 durable=0'
> node:events:498
>       throw er; // Unhandled 'error' event
>       ^
> 
> TypeError: Cannot read properties of undefined (reading 'SendTime')
>     at Container.<anonymous> (/home/jross/code/quiver/build/quiver/impls/quiver-arrow-rhea:207:48)
>     at Container.emit (node:events:520:28)
>     at Container.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/container.js:41:33)
>     at Connection.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/connection.js:261:40)
>     at Session.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/session.js:456:41)
>     at Receiver.link.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/link.js:62:38)
>     at Incoming.on_transfer (/home/jross/.local/lib/node_modules/rhea/lib/session.js:365:22)
>     at Session.on_transfer (/home/jross/.local/lib/node_modules/rhea/lib/session.js:759:19)
>     at Connection.<computed> [as on_transfer] (/home/jross/.local/lib/node_modules/rhea/lib/connection.js:836:30)
>     at c.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/types.js:946:33)
> Emitted 'error' event on Container instance at:
>     at Container.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/container.js:41:33)
>     at Connection.dispatch (/home/jross/.local/lib/node_modules/rhea/lib/connection.js:261:40)
>     at Connection.input (/home/jross/.local/lib/node_modules/rhea/lib/connection.js:574:18)
>     at Socket.emit (node:events:520:28)
>     at addChunk (node:internal/streams/readable:315:12)
>     at readableAddChunk (node:internal/streams/readable:289:9)
>     at Socket.Readable.push (node:internal/streams/readable:228:10)
>     at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
> org.apache.qpid.protonj2.client.exceptions.ClientConnectionRemotelyClosedException: Remote closed connection unexpectedly
> 	at org.apache.qpid.protonj2.client.impl.ClientExceptionSupport.convertToConnectionClosedException(ClientExceptionSupport.java:157)
> 	at org.apache.qpid.protonj2.client.impl.ClientTransportListener.transportError(ClientTransportListener.java:69)
> 	at org.apache.qpid.protonj2.client.transport.TcpTransport.handleTransportFailure(TcpTransport.java:342)
> 	at org.apache.qpid.protonj2.client.transport.TcpTransport$NettyDefaultHandler.channelInactive(TcpTransport.java:455)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
> 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
> 	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
> 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
> 	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
> 	at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813)
> 	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
> 	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
> 	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
> 	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391)
> 	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
> 	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> 	at java.base/java.lang.Thread.run(Thread.java:833)
> Caused by: java.io.IOException: Remote closed connection unexpectedly
> 	... 16 more
> quiver-arrow: Error: Receiver exited with code 1
> quiver: Error: Command 'quiver-arrow receive amqp://localhost:56727/quiver --impl rhea --duration 30s --count 1 --rate 0 --body-size 100 --credit 1000 --transaction-size 0 --timeout 10 --verbose --output /tmp/quiver-n8eylbeo --server --passive' returned non-zero exit status 1.
> quiver: Stopping process 1963228 (quiver-arrow)
> quiver-arrow: Exiting with code -15
> quiver-arrow: Stopping process 1963230 (/home/jross/code/quiver/build/quiver/impls/quiver-arrow-qpid-protonj2)
> quiver: Stopping process 1963216 (quiver-arrow)
> quiver: Error: Exiting with code 1
> ---------------------- Sender -----------------------  --------------------- Receiver ----------------------  --------
> Time [s]      Count [m]  Rate [m/s]  CPU [%]  RSS [M]  Time [s]      Count [m]  Rate [m/s]  CPU [%]  RSS [M]  Lat [ms]
> -----------------------------------------------------  -----------------------------------------------------  --------
>        -              -           -        -        -       2.1              0           0        4      0.0         0
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

No branches or pull requests

1 participant