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
adding unit test for jupyter notebook startup #25120
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25120/7117 |
A new Pull Request was created by @davidlange6 (David Lange) for master. It involves the following packages: PhysicsTools/PythonAnalysis @cmsbuild, @fgolf, @peruzzim, @monttj can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test with cms-sw/cmsdist#4478 |
The tests are being triggered in jenkins. |
@davidlange6 , we do not have |
On Nov 5, 2018, at 4:34 PM, Malik Shahzad Muzaffar ***@***.***> wrote:
@davidlange6 , we do not have netstat installed on arm64 and docker. Try to use /etc/services file.
I tried, but I guess I need to learn more
at least using jupyter as an example, it does not show up in /etc/services whereas netstat knows about it
[dlange@cmsdev15 test]$ netstat -tulpn | grep LIST | grep 8080
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
[dlange@cmsdev15 test]$ grep 8080 /etc/services
webcache 8080/tcp http-alt # WWW caching service
webcache 8080/udp http-alt # WWW caching service
changes to
[dlange@cmsdev15 test]$ netstat -tulpn | grep LIST | grep 8080
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 30780/python
tcp 0 0 ::1:8080 :::* LISTEN 30780/python
[dlange@cmsdev15 test]$ grep 8080 /etc/services
webcache 8080/tcp http-alt # WWW caching service
webcache 8080/udp http-alt # WWW caching service
when running a jupyter notebook.
…
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ok - it looks like I can get what I wanted from /proc/net/tcp.
… On Nov 5, 2018, at 5:10 PM, David Lange ***@***.***> wrote:
> On Nov 5, 2018, at 4:34 PM, Malik Shahzad Muzaffar ***@***.***> wrote:
>
> @davidlange6 , we do not have netstat installed on arm64 and docker. Try to use /etc/services file.
I tried, but I guess I need to learn more
at least using jupyter as an example, it does not show up in /etc/services whereas netstat knows about it
***@***.*** test]$ netstat -tulpn | grep LIST | grep 8080
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
***@***.*** test]$ grep 8080 /etc/services
webcache 8080/tcp http-alt # WWW caching service
webcache 8080/udp http-alt # WWW caching service
changes to
***@***.*** test]$ netstat -tulpn | grep LIST | grep 8080
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 30780/python
tcp 0 0 ::1:8080 :::* LISTEN 30780/python
***@***.*** test]$ grep 8080 /etc/services
webcache 8080/tcp http-alt # WWW caching service
webcache 8080/udp http-alt # WWW caching service
when running a jupyter notebook.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25120/7119 |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+1 |
merge |
will work correctly once cms-sw/cmsdist/#4478 is merged
@smuzaffar - any objections to the way an open port is found? I've checked that the timeout does cleanup the process such that the ports freed.