<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/snmp/src/misc, branch maint</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<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>
<entry>
<title>[snmp] Improved Audit Trail Log conversion failure</title>
<updated>2018-09-07T12:57:24+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2018-09-05T16:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=947c2a97ad51e1936bad7df0e3f768ab15fcbb36'/>
<id>947c2a97ad51e1936bad7df0e3f768ab15fcbb36</id>
<content type='text'>
If conversion of an Audit Trail Log (ATL) entry failed,
this could result in an abort of the entire conversion,
not just the one entry. This has now been improved so
that the failure now results in a "error message" into
the "stream". Furthermore, we now keep track of the number
of entries we succeede and fail to convert.

OTP-15287 (ERIERL-206)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If conversion of an Audit Trail Log (ATL) entry failed,
this could result in an abort of the entire conversion,
not just the one entry. This has now been improved so
that the failure now results in a "error message" into
the "stream". Furthermore, we now keep track of the number
of entries we succeede and fail to convert.

OTP-15287 (ERIERL-206)
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyright-year</title>
<updated>2016-03-15T14:19:56+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2016-03-15T14:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6664eed554974336909d3ffe03f20349cc4c38fd'/>
<id>6664eed554974336909d3ffe03f20349cc4c38fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
