<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/snmp/src/misc, branch master</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'hasse/remove_old_IO_requests/OTP-15695'</title>
<updated>2019-08-21T07:40:13+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-08-21T07:40:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=504d151a57bc93acb3fb7597214a8e62be9c1cfd'/>
<id>504d151a57bc93acb3fb7597214a8e62be9c1cfd</id>
<content type='text'>
* hasse/remove_old_IO_requests/OTP-15695:
  stdlib: Remove old I/O-requests from test suites
  stdlib (doc): Do not mention old requests
  snmp: Update old format I/O-request
  sasl: Use encoding when reading terms
  parsetools (doc): Update old format I/O-requests
  mnesia: Update old format I/O-request
  kernel: Update old format I/O-requests
  stdlib: Remove no longer used function
  kernel: Remove commented out code
  stdlib: Remove commented out code
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hasse/remove_old_IO_requests/OTP-15695:
  stdlib: Remove old I/O-requests from test suites
  stdlib (doc): Do not mention old requests
  snmp: Update old format I/O-request
  sasl: Use encoding when reading terms
  parsetools (doc): Update old format I/O-requests
  mnesia: Update old format I/O-request
  kernel: Update old format I/O-requests
  stdlib: Remove no longer used function
  kernel: Remove commented out code
  stdlib: Remove commented out code
</pre>
</div>
</content>
</entry>
<entry>
<title>snmp: Update old format I/O-request</title>
<updated>2019-08-20T07:33:26+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-12T09:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fcb69bc48b69fd73f0838309652a176c56d61f8f'/>
<id>fcb69bc48b69fd73f0838309652a176c56d61f8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp|agent] Dialyzer related changes</title>
<updated>2019-06-27T15:50:57+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-06-14T09:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=04b795f59e678e550fb8c7650952c5ded1096cef'/>
<id>04b795f59e678e550fb8c7650952c5ded1096cef</id>
<content type='text'>
Changes to satisfy dialyzer. Including changing the definition
of some of the behaviours (use the '-callback' attribute instead
of an explicit behaviour_info/1 function).

Also found and corrected some (apparently minor) bugs.

OTP-15932
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes to satisfy dialyzer. Including changing the definition
of some of the behaviours (use the '-callback' attribute instead
of an explicit behaviour_info/1 function).

Also found and corrected some (apparently minor) bugs.

OTP-15932
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Dialyzer fixes</title>
<updated>2019-06-27T15:50:41+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-06-12T07:41:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2b285f1dddc89ac2b4194c16bdb3cc92a89c9976'/>
<id>2b285f1dddc89ac2b4194c16bdb3cc92a89c9976</id>
<content type='text'>
Make target (for running dialyzer on snmp), os usage
and a minor snmp_log ("future proofing").

OTP-15932
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make target (for running dialyzer on snmp), os usage
and a minor snmp_log ("future proofing").

OTP-15932
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Remove use of the deprecated get_stacktrace function</title>
<updated>2019-05-22T16:20:06+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-05-07T10:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6d955c8377f4df9c215424349050b38b8c7628b4'/>
<id>6d955c8377f4df9c215424349050b38b8c7628b4</id>
<content type='text'>
Removed the use of the deprecated erlang:stacktrace() function.
Instead make use of the 'catch Class:Error:Stacktrace' feature.

OTP-15332
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed the use of the deprecated erlang:stacktrace() function.
Instead make use of the 'catch Class:Error:Stacktrace' feature.

OTP-15332
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp|agent] Fix types</title>
<updated>2019-04-15T12:27:47+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-04-15T12:27:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=faa6a36586dd1fe8a3a6bb2507c9b02781b4d386'/>
<id>faa6a36586dd1fe8a3a6bb2507c9b02781b4d386</id>
<content type='text'>
There no timestamp type in os (but there is in erlang).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There no timestamp type in os (but there is in erlang).
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp|agent|test] Timestamps and test manager</title>
<updated>2019-04-11T16:55:44+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-04-05T16:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0d125432b4a33c0f4ef1e179e60a8e842125227c'/>
<id>0d125432b4a33c0f4ef1e179e60a8e842125227c</id>
<content type='text'>
Added common (formated) timestamp function(s). Made use of
these in the verbosity module (for debug printouts) and in
the test suite(s).

I also *think* I found the cause for some if the test case
failures (timeouts).
For v3 (agent) test cases the test manager makes use of parts
of the agent code: snmp_framework_mib and snmp_user_based_sm_mib.
And since they store their data in snmpa_local_db, that also
needs to be running.
And this was the problem (I think). On some (slow) machines,
the snmpa_local_db process from the *previous* test case
might still be running when the we tried to start it. That meant
that no new snmpa_local_db was started. Instead the old one,
still running but terminating, was retain. For a while. Until
it actually finally stopped. So the next operation towards
snmpa_local_db, insert, simply hanged until the process
terminated.
This in combination with the fact that the packet server process,
which was started using proc_lib, previously called init_ack
before this init was actually done, could actually start and then
at a much later time hang because some operation timed out
(the packet server was hanging).

Yuckety yuck-yuck.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added common (formated) timestamp function(s). Made use of
these in the verbosity module (for debug printouts) and in
the test suite(s).

I also *think* I found the cause for some if the test case
failures (timeouts).
For v3 (agent) test cases the test manager makes use of parts
of the agent code: snmp_framework_mib and snmp_user_based_sm_mib.
And since they store their data in snmpa_local_db, that also
needs to be running.
And this was the problem (I think). On some (slow) machines,
the snmpa_local_db process from the *previous* test case
might still be running when the we tried to start it. That meant
that no new snmpa_local_db was started. Instead the old one,
still running but terminating, was retain. For a while. Until
it actually finally stopped. So the next operation towards
snmpa_local_db, insert, simply hanged until the process
terminated.
This in combination with the fact that the packet server process,
which was started using proc_lib, previously called init_ack
before this init was actually done, could actually start and then
at a much later time hang because some operation timed out
(the packet server was hanging).

Yuckety yuck-yuck.
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp|agent|test] Agent test manager start fix</title>
<updated>2019-04-11T16:55:44+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-04-03T15:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8bd83e6a805ee15c52e239e8d404e1d3e1021048'/>
<id>8bd83e6a805ee15c52e239e8d404e1d3e1021048</id>
<content type='text'>
The agent test manager had a bug during start that could
potentially cause deadlock, but atleast could cause test
cases to fail because of timeouts. The test manager
(actually the "packet server") used proc_lib to start the
process but it called the init_ack function before the init
was actually complete. This was only a problem for v3 cases
(where it did a bunch of further inits, including starting
the local-db process).

Also did debug/verbosity tweaking. Added a bunch of debug
(verbosity) printouts for the agent test manager "packet server"
during v3 init. Also made sure we could distinguish the
"normal" local-db from the one used by the test manager
(this is done by using a new short-name).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The agent test manager had a bug during start that could
potentially cause deadlock, but atleast could cause test
cases to fail because of timeouts. The test manager
(actually the "packet server") used proc_lib to start the
process but it called the init_ack function before the init
was actually complete. This was only a problem for v3 cases
(where it did a bunch of further inits, including starting
the local-db process).

Also did debug/verbosity tweaking. Added a bunch of debug
(verbosity) printouts for the agent test manager "packet server"
during v3 init. Also made sure we could distinguish the
"normal" local-db from the one used by the test manager
(this is done by using a new short-name).
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Add proper version</title>
<updated>2018-09-17T12:41:23+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2018-09-07T16:31:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=229795aba1d4da773938715f2e5122d4885af826'/>
<id>229795aba1d4da773938715f2e5122d4885af826</id>
<content type='text'>
Also fixed case clause.

OTP-15287 (ERIERL-206)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixed case clause.

OTP-15287 (ERIERL-206)
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Update copyright end date</title>
<updated>2018-09-07T12:59:02+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2018-09-07T10:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b665dd1fdab1c03b123911b5ccaca4dd0fc2809c'/>
<id>b665dd1fdab1c03b123911b5ccaca4dd0fc2809c</id>
<content type='text'>
OTP-15287 (ERIERL-206)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-15287 (ERIERL-206)
</pre>
</div>
</content>
</entry>
</feed>
