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

sockproc process is still running after failed tests #12

Closed
USSX-Hares opened this issue Oct 31, 2018 · 3 comments
Closed

sockproc process is still running after failed tests #12

USSX-Hares opened this issue Oct 31, 2018 · 3 comments

Comments

@USSX-Hares
Copy link

USSX-Hares commented Oct 31, 2018

make[1]: *** [test] Error 1
make[1]: Leaving directory `/root/temp/rcv-nginx/.build/sockproc/build/sockproc-master'
make: *** [/root/temp/rcv-nginx//.build/sockproc/build/sockproc-master/sockproc] Error 2
[root@rnd01-k01-jnk01 rcv-nginx]# netstat -lptn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      974/sshd            
tcp        0      0 127.0.0.1:12345         0.0.0.0:*               LISTEN      11583/./sockproc    
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1544/master         
tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      3581/zabbix_agentd  
tcp        0      0 0.0.0.0:514             0.0.0.0:*               LISTEN      731/rsyslogd        
tcp        0      0 127.0.0.1:199           0.0.0.0:*               LISTEN      970/snmpd           
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1185/python         
tcp6       0      0 :::10050                :::*                    LISTEN      3581/zabbix_agentd  

This could prevent further builds from succeeding.
To avoid this, you should probably wrap test.sh script and kill pid from this wrapper.

@juce
Copy link
Owner

juce commented Jun 1, 2019

good catch, i'll fix that.

@juce
Copy link
Owner

juce commented Jun 2, 2019

fixed with a cleanup function on exit

@juce juce closed this as completed Jun 2, 2019
@USSX-Hares
Copy link
Author

@juce thanks!

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

2 participants