Comments (2)
locally reproducible. TestEndpointWithPacketEvent_256_4
seems hanging.
from namazu.
Test command | Reproducible? |
---|---|
for f in $(seq 1 5000);do ./endpoint.test -test.run TestEndpointWithPacketEvent_1_1 -test.v ; done |
Yes ❗ |
for f in $(seq 1 5000);do ./endpoint.test -test.run TestEndpointWithPacketEvent_256_4 -test.v ; done |
Yes |
./endpoint.test -test.run TestEndpointWithPacketEvent_1_1 -test.v -test.count 5000 |
No |
./endpoint.test -test.run TestEndpointWithPacketEvent_256_4 -test.v -test.count 5000 |
No:exclamation: |
The result suggests that the cause of the issue is just related to the initialization of the test process.
So the issue is not likely to happen in the usual case.
minimized log:
=== RUN TestEndpointWithPacketEvent_1_1
[NMZ-DBG] 09:59:17.61: REST getting action http://127.0.0.1:43185/api/v3/actions/restentity-2 (at log.go:210)
[NMZ-DBG] 09:59:17.61: REST getting action http://127.0.0.1:43185/api/v3/actions/restentity-3 (at log.go:210)
[NMZ-DBG] 09:59:17.61: ActionQueue[restentity-1]: Peeking (at log.go:210)
[NMZ-DBG] 09:59:17.61: LOCAL EP handling event Signal{map[string]interface {}{"class":"PacketEvent", "option":map[string]interface {}{"src_entity":"localentity-0", "dst_entit
y":"localentity-0", "value":0}, "type":"event", "deferred":true, "uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1", "entity":"localentity-0"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: LOCAL EP handled event Signal{map[string]interface {}{"entity":"localentity-0", "class":"PacketEvent", "option":map[string]interface {}{"src_entity":"l
ocalentity-0", "dst_entity":"localentity-0", "value":0}, "type":"event", "deferred":true, "uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: EP handling event Signal{map[string]interface {}{"class":"PacketEvent", "option":map[string]interface {}{"src_entity":"localentity-0", "dst_entity":"lo
calentity-0", "value":0}, "type":"event", "deferred":true, "uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1", "entity":"localentity-0"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: ActionQueue[restentity-3]: Peeking (at log.go:210)
[NMZ-DBG] 09:59:17.61: ActionQueue[restentity-2]: Peeking (at log.go:210)
[NMZ-DBG] 09:59:17.61: MO handling event Signal{map[string]interface {}{"uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1", "entity":"localentity-0", "class":"PacketEvent", "optio
n":map[string]interface {}{"src_entity":"localentity-0", "dst_entity":"localentity-0", "value":0}, "type":"event", "deferred":true}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: MO handled event Signal{map[string]interface {}{"uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1", "entity":"localentity-0", "class":"PacketEvent", "option
":map[string]interface {}{"src_entity":"localentity-0", "dst_entity":"localentity-0", "value":0}, "type":"event", "deferred":true}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: MO sending action Signal{map[string]interface {}{"class":"EventAcceptanceAction", "option":map[string]interface {}{}, "type":"action", "event_uuid":"6e
316b05-572e-47ce-8ed0-a7d9cb1c63c1", "uuid":"92f00b3f-db3a-4d60-8a69-949d950be7bd", "entity":"localentity-0"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: MO sent action Signal{map[string]interface {}{"uuid":"92f00b3f-db3a-4d60-8a69-949d950be7bd", "entity":"localentity-0", "class":"EventAcceptanceAction",
"option":map[string]interface {}{}, "type":"action", "event_uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: EP handling action Signal{map[string]interface {}{"uuid":"92f00b3f-db3a-4d60-8a69-949d950be7bd", "entity":"localentity-0", "class":"EventAcceptanceActi
on", "option":map[string]interface {}{}, "type":"action", "event_uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1"}} (at log.go:210)
[NMZ-ERR] 09:59:17.61: Unknown Entity ID:localentity-0 (at log.go:235)
[NMZ-DBG] 09:59:17.61: EP handled action Signal{map[string]interface {}{"uuid":"92f00b3f-db3a-4d60-8a69-949d950be7bd", "entity":"localentity-0", "class":"EventAcceptanceActio
n", "option":map[string]interface {}{}, "type":"action", "event_uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1"}} (at log.go:210)
[NMZ-DBG] 09:59:17.61: EP handled event Signal{map[string]interface {}{"uuid":"6e316b05-572e-47ce-8ed0-a7d9cb1c63c1", "entity":"localentity-0", "class":"PacketEvent", "option
":map[string]interface {}{"src_entity":"localentity-0", "dst_entity":"localentity-0", "value":0}, "type":"event", "deferred":true}} (at log.go:210)
from namazu.
Related Issues (20)
- Apply Namazu to logcabin
- Apply Namazu to TiKV, TiDB HOT 2
- Flaky test? (endpoint) HOT 2
- Project Rename: Earthquake --> Namazu
- Use package manager (govendor or something else) HOT 2
- LOW HANGING FRUIT: make goreportcard happy
- `nmz inspectors proc -cmd ...` lacks stdio HOT 1
- Print a warning if `sched_setattr` returns EPERM
- Enable fs inspector in container mode HOT 3
- [doc] Mention and promote Namazu Swarm: CI Job Parallelizer built on Docker and Kubernetes
- Can not get mflag:Docker has removed pkg/mflag HOT 3
- runtime panic of process inspector HOT 2
- namazu has error when using O_DIRECT HOT 3
- scientific paper HOT 1
- restarting TiKV with file inspector hangs up forever HOT 9
- How to enable/disable inspector explictily HOT 4
- how to stop inspector HOT 2
- Some problems met when installing the namazu. HOT 6
- Does NAMAZU support CentOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from namazu.