Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

pss::sendMsg() produces 11k log lines and causes Travis error #1190

Closed
frncmx opened this issue Feb 5, 2019 · 0 comments · Fixed by ethereum/go-ethereum#18992
Closed

pss::sendMsg() produces 11k log lines and causes Travis error #1190

frncmx opened this issue Feb 5, 2019 · 0 comments · Fixed by ethereum/go-ethereum#18992
Assignees

Comments

@frncmx
Copy link
Contributor

frncmx commented Feb 5, 2019

In pss.go the sendMsg() function produces thousands of log lines in tests when !isPssEnabled.

Travis went into error with "The job exceeded the maximum log length, and has been terminated." As the test run produced 30k log lines and from that 11k was from the above function.

The log line: "peer doesn't have matching pss capabilities, skipping"

Would it be OK to remove the log line? or could reduce the number somehow?

Log sample

�[31mERROR�[0m[02-05|09:56:22.419] peer doesn't have matching pss capabilities, skipping �[31mpeer�[0m=0x3c98a085c2b863a6c1183eda608b9cce417d8824efbbe50104af71d6711e3a1c �[31mcaps�[0m=[nopss/1] �[31mcaller�[0m=pss.go:929
�[31mERROR�[0m[02-05|09:56:22.419] peer doesn't have matching pss capabilities, skipping �[31mpeer�[0m=0x045df729814fa5e678fef515eb9b3140c7c903b45e30b6568b510c68106e8ee7 �[31mcaps�[0m=[pss/0]   �[31mcaller�[0m=pss.go:929
�[31mERROR�[0m[02-05|09:56:22.419] peer doesn't have matching pss capabilities, skipping �[31mpeer�[0m=0x3c98a085c2b863a6c1183eda608b9cce417d8824efbbe50104af71d6711e3a1c �[31mcaps�[0m=[nopss/1] �[31mcaller�[0m=pss.go:929
�[31mERROR�[0m[02-05|09:56:22.420] peer doesn't have matching pss capabilities, skipping �[31mpeer�[0m=0x045df729814fa5e678fef515eb9b3140c7c903b45e30b6568b510c68106e8ee7 �[31mcaps�[0m=[pss/0]   �[31mcaller�[0m=pss.go:929
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants