<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/snmp/src/agent, 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] Fixed agent|manager top supervisor stop</title>
<updated>2019-07-31T17:08:50+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-31T17:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f115892d729fd919b77f85855735398e90f801f0'/>
<id>f115892d729fd919b77f85855735398e90f801f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bmk/snmp/20190627/dialyzer/OTP-15932' into maint</title>
<updated>2019-07-08T12:51:57+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-08T12:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c8854dd4ecfde41e89907620628138786e953229'/>
<id>c8854dd4ecfde41e89907620628138786e953229</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Updated copyright end date</title>
<updated>2019-07-08T12:50:16+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-08T12:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a9bd3c189f87a1138ca780956d27398f9d5a5aec'/>
<id>a9bd3c189f87a1138ca780956d27398f9d5a5aec</id>
<content type='text'>
OTP-15932
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-15932
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp|agent] Add disable flags to quiet dialyzer</title>
<updated>2019-06-27T15:51:14+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-06-14T17:39:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=015f39e37aebe8c389ab32f4137c0f52a5061683'/>
<id>015f39e37aebe8c389ab32f4137c0f52a5061683</id>
<content type='text'>
Warning for some functions "for no reason" (obviously
there is a reason, but I have to dig deeeep to find it).
Also warnings for stuff there is no way to type today
(for instance, improper lists).

OTP-15932
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Warning for some functions "for no reason" (obviously
there is a reason, but I have to dig deeeep to find it).
Also warnings for stuff there is no way to type today
(for instance, improper lists).

OTP-15932
</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] Add verbosity printouts to the set handling</title>
<updated>2019-05-29T10:21:13+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-05-29T10:12:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9e0dbd341d738e0c8a268752f131fa6ab6195ad3'/>
<id>9e0dbd341d738e0c8a268752f131fa6ab6195ad3</id>
<content type='text'>
Add verbosity printouts after a set operation. Both
for a successful and a failed set.

On one of our test hosts (a VM running an old gento),
it looked like an ets or dets insert hangs. But since
we only have a printout directly before, we can't
tell for sure what happens.

OTP-15764
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add verbosity printouts after a set operation. Both
for a successful and a failed set.

On one of our test hosts (a VM running an old gento),
it looked like an ets or dets insert hangs. But since
we only have a printout directly before, we can't
tell for sure what happens.

OTP-15764
</pre>
</div>
</content>
</entry>
<entry>
<title>[snmp] Replaced usage of random with rand</title>
<updated>2019-05-22T16:21:02+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-05-07T12:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3f490bea2e21871f534cdcd49d85314eb35f0164'/>
<id>3f490bea2e21871f534cdcd49d85314eb35f0164</id>
<content type='text'>
Use of the deprecated module random has been replaced
by the module rand.

OTP-15331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use of the deprecated module random has been replaced
by the module rand.

OTP-15331
</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] Post rebase fixup</title>
<updated>2019-04-11T17:06:40+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-04-11T17:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=675c62ea062a57b2d8fb54a7dc3cbdc799c99823'/>
<id>675c62ea062a57b2d8fb54a7dc3cbdc799c99823</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|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>
</feed>
