Skip to content

Warning: keepalive failed for compute groups service Error: Assertion failure #325

Closed

Description

@philippedistributive

Issue type

Bug

How did you install PythonMonkey?

None

OS platform and distribution

No response

Python version (python --version)

No response

PythonMonkey version (pip show pythonmonkey)

No response

Bug Description

Sometimes we get this while running job-launch.py:

Warning: keepalive failed for compute groups service Error: Assertion failure
dcpAssert$$msgAssert@webpack://dcp/./src/common/dcp-assert.js?:90:21
dcpAssert$$assert@webpack://dcp/./src/common/dcp-assert.js?:125:15
Connection530$$connectInternal@webpack://dcp/./src/protocol/connection.js?:707:11
Connection530$$connect@webpack://dcp/./src/protocol/connection.js?:658:10
Connection530$$hangupHandler@webpack://dcp/./src/protocol/connection.js?:1992:8
Connection530$$attach/<@webpack://dcp/./src/protocol/connection.js?:612:46
emit@webpack://dcp/./node_modules/events/events.js?:158:19
handleDisconnectEvent@webpack://dcp/./src/protocol/transports/socketio.js?:234:14
useSocket/<@webpack://dcp/./src/protocol/transports/socketio.js?:187:71
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onclose@webpack://dcp/./node_modules/@kingsds/socket.io-client/build/cjs/socket.js?:316:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onclose@webpack://dcp/./node_modules/@kingsds/socket.io-client/build/cjs/manager.js?:342:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onClose@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/socket.js?:587:18
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/socket.js?:558:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transport.js?:46:15
doPoll/<@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:255:18
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:356:14
create/xhr.onreadystatechange/<@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:329:30
Connection530$$connect@webpack://dcp/./src/protocol/connection.js?:631:30
Connection530$$hangupHandler@webpack://dcp/./src/protocol/connection.js?:1992:8
Connection530$$attach/<@webpack://dcp/./src/protocol/connection.js?:612:46
emit@webpack://dcp/./node_modules/events/events.js?:158:19
handleDisconnectEvent@webpack://dcp/./src/protocol/transports/socketio.js?:234:14
useSocket/<@webpack://dcp/./src/protocol/transports/socketio.js?:187:71
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onclose@webpack://dcp/./node_modules/@kingsds/socket.io-client/build/cjs/socket.js?:316:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onclose@webpack://dcp/./node_modules/@kingsds/socket.io-client/build/cjs/manager.js?:342:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onClose@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/socket.js?:587:18
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/socket.js?:558:14
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transport.js?:46:15
doPoll/<@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:255:18
Emitter.prototype.emit@webpack://dcp/./node_modules/@socket.io/component-emitter/index.mjs?:140:20
onError@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:356:14
create/xhr.onreadystatechange/<@webpack://dcp/./node_modules/@kingsds/engine.io-client/build/cjs/transports/polling.js?:329:30
sendPromiseRejectWrapper@webpack://dcp/./src/protocol/connection.js?:1121:32
DialogueRegistry$$clear@webpack://dcp/./src/protocol/dialogue-registry.js?:173:24
finalize@webpack://dcp/./src/protocol/connection.js?:486:29
Connection530$$shutdown/<@webpack://dcp/./src/protocol/connection.js?:455:9
Connection530$$a$enqueue@webpack://dcp/./src/protocol/connection.js?:1104:27
Connection530$$send@webpack://dcp/./src/protocol/connection.js?:1168:36
DcpMessage$$send@webpack://dcp/./src/protocol/dcp-message.js?:58:26
Connection530$$keepalive@webpack://dcp/./src/protocol/connection.js?:1211:18
keepAlive@webpack://dcp/./src/dcp-client/compute-groups/index.js?:65:36
addJobToGroups@webpack://dcp/./src/dcp-client/compute-groups/index.js?:458:17
joinComputeGroups@webpack://dcp/./src/dcp-client/job/index.js?:1304:47
exec@webpack://dcp/./src/dcp-client/job/index.js?:999:43
code: 'EASSERT', message: 'Assertion failure'

Indeed it is a warning so we still get the end results

Standalone code to reproduce the issue

No response

Relevant log output or backtrace

No response

Additional info if applicable

No response

What branch of PythonMonkey were you developing on? (If applicable)

No response

Activity

  1. added this to the v1.0.0 milestone on Apr 26, 2024
  2. moved this from Backlog to In progress in PythonMonkey Kanban Boardon Apr 26, 2024
  3. Xmader commented on Jun 12, 2024

    @Xmader
    Member

    Should be solved since #354 is merged.

  4. philippedistributive commented on Jun 12, 2024

    @philippedistributive
    ContributorAuthor

    this is about the keep-alive at the DCP level, a wholly different thing

  5. philippedistributive commented on Jul 15, 2024

    @philippedistributive
    ContributorAuthor

    not seen in a while, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions