aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-15[ct] Cleanup after timetrap timeout or kill during framework call or hookSiri Hansen
If a framework callback function exits due to a timetrap timeout, or the process in other way is killed, during the execution of such function, some internal common_test data was not cleaned up. An example of such data is the 'curr_tc' test data. This is now corrected.
2019-04-15Merge branch 'maint'Péter Dimitrov
* maint: inets: Add tests for erl_script_timeout inets: Fix erl_script_timeout handling in mod_esi Change-Id: I1e8a265f44920780c4b8bf440047225f4dc208d6
2019-04-15Updated OTP versionOTP-21.3.5Erlang/OTP
2019-04-15Prepare releaseErlang/OTP
2019-04-15Merge branch 'peterdmv/inets/fix_erl_script_timeout/ERIERL-345/OTP-15769' ↵Erlang/OTP
into maint-21 * peterdmv/inets/fix_erl_script_timeout/ERIERL-345/OTP-15769: inets: Add tests for erl_script_timeout inets: Fix erl_script_timeout handling in mod_esi
2019-04-15Merge branch 'anders/diameter/distribution/OTP-15768' into maint-21Erlang/OTP
* anders/diameter/distribution/OTP-15768: Add appup and code_change Fix inadvertently broad monitor
2019-04-15Merge branch 'sverker/maint-21/doc-big-creation-tags/OTP-15766' into maint-21Erlang/OTP
* sverker/maint-21/doc-big-creation-tags/OTP-15766: erts: Document NEW_PID, NEW_PORT, NEWER_REFERENCE erts: Add missing docs for DFLAG_MAP_TAG and DFLAG_BIG_CREATION
2019-04-15Merge branch 'peterdmv/inets/fix_erl_script_timeout/ERIERL-345/OTP-15769' ↵Péter Dimitrov
into maint * peterdmv/inets/fix_erl_script_timeout/ERIERL-345/OTP-15769: inets: Add tests for erl_script_timeout inets: Fix erl_script_timeout handling in mod_esi Change-Id: I5ac5b70598338ce5d068b51ecf58606fae1a2ebf
2019-04-15Merge branch 'maint'Rickard Green
* maint: Add appup and code_change Fix inadvertently broad monitor
2019-04-15Merge branch 'anders/diameter/distribution/OTP-15768' into maintRickard Green
* anders/diameter/distribution/OTP-15768: Add appup and code_change Fix inadvertently broad monitor
2019-04-15Update primary bootstrapBjörn Gustavsson
2019-04-15Merge pull request #2209 from bjorng/bjorn/compiler/fix-literal-encodingBjörn Gustavsson
Optimize encoding of simple literals
2019-04-15Optimize encoding of simple literalsBjörn Gustavsson
`beam_asm` would encode `{literal,[]}`, `{literal,erlang}`, and `{literal,42}` in a less efficient way than the equivalent values `nil`, `{atom,erlang}`, and `{integer,42}`. That would increase the size of BEAM files and could increase the loaded code size. It would probably not harm performance, because `literal` was only used this way in code that generates `badmatch` and `case_clause` exceptions.
2019-04-14inets: Add tests for erl_script_timeoutPéter Dimitrov
2019-04-14inets: Fix erl_script_timeout handling in mod_esiPéter Dimitrov
2019-04-14Add appup and code_changeAnders Svensson
For the parent commit as a diameter 2.2 patch.
2019-04-14Fix inadvertently broad monitorAnders Svensson
Commit d9d918b2 added a gen_server whose purpose is to keep track of visible nodes on which diameter_dist:attach/1 has been called to register a node as a handler of incoming Diameter requests when diameter_dist:route_session/2 is configured as spawn_opt MFA. The server contacts visible nodes at init in order to request information, but instead of monitoring visible to also be able to request information at nodeup, it monitored on all nodes, resulting in gen_server casts even to hidden nodes. Monitor only on visible nodes since a hidden node may not be able to deal with the new message.
2019-04-12Merge branch 'sverker/doc-big-creation-tags/OTP-15766'Sverker Eriksson
into sverker/maint-21/doc-big-creation-tags/OTP-15766
2019-04-12Merge 'maint' into 'master'Sverker Eriksson
2019-04-12Merge 'sverker/doc-big-creation-tags/OTP-15766' into 'maint'Sverker Eriksson
2019-04-12stdlib: Adjust test suites and docs due to erl_pp changesHans Bolinder
2019-04-12crash dump: Fix printing of "OldBinVHeap unused"Björn Gustavsson
During a garbage collection, there could have been an overflow in the old virtual heap.
2019-04-12crash dump: Include correct IP for a garbing processBjörn Gustavsson
Make sure that the instruction pointer is correct for a garbing process in a crash dump.
2019-04-12fun_SUITE: Make refc/1 test more reliableBjörn Gustavsson
Wait a little after to make sure that fun holding process to complete its termination.
2019-04-12Remove redundant rule from EmakefileBjörn Gustavsson
According to the comment, this rule was only needed when communication with R7B nodes was supported.
2019-04-12Turn off more optimizations for no_opt modulesBjörn Gustavsson
With the new compiler in OTP 22, we have to use more options to turn off optimizations. This commit also skips the match_huge_int/1 test case in the unoptimized clone of the bs_match_int module because it could crash on memory-constrained computers.
2019-04-12Merge branch 'maint'Hans Nilsson
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-04-12Merge branch 'maint-21' into maintHans Nilsson
* maint-21: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-04-12Fix specs and type definitions in cpu_supBrujo Benavides
Since `dummy_result/1` returns integers (i.e. `0`) not floats, `util/0,1` specs should account for that.
2019-04-12[snmp|manager|test] Try to estimate appropriate timeouts for start/stopMicael Karlberg
For the notify_started02 test case we (now) try estimate how long we should wait for completion (based on the time of the first iteration). On slow machines, it takes longer to start and stop the manager, so adjust the total timeout accordingly.
2019-04-12Updated OTP versionOTP-21.3.4Erlang/OTP
2019-04-12Prepare releaseErlang/OTP
2019-04-12Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maint-21Erlang/OTP
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-12Merge branch 'lukas/erts/fix-fd-driver-select/OTP-15753' into maint-21Erlang/OTP
* lukas/erts/fix-fd-driver-select/OTP-15753: erts: Fix sys_driver to correctly deselect fds
2019-04-12Merge branch 'sverker/crypto/bcmp-memcmp-fix/OTP-15750' into maint-21Erlang/OTP
* sverker/crypto/bcmp-memcmp-fix/OTP-15750: crypto: Fix link error on windows
2019-04-12Merge branch 'rickard/ts-find-ubuntu-inst/OTP-15716' into maint-21Erlang/OTP
* rickard/ts-find-ubuntu-inst/OTP-15716: Find installed OTP for Ubuntu
2019-04-12Merge branch 'maint'Hans Nilsson
* maint: ssh: Present peername for accept_callback fun also for Sockets ssh: Add ssh_channel:init/1
2019-04-12Merge branch 'maint-21' into maintHans Nilsson
* maint-21: ssh: Present peername for accept_callback fun also for Sockets ssh: Add ssh_channel:init/1
2019-04-12Merge branch 'hans/ssh/accept_callback_socket/OTP-15763' into maint-21Hans Nilsson
* hans/ssh/accept_callback_socket/OTP-15763: ssh: Present peername for accept_callback fun also for Sockets
2019-04-12Merge branch 'hans/ssh/ssh_channel-init/OTP-15762' into maint-21Hans Nilsson
* hans/ssh/ssh_channel-init/OTP-15762: ssh: Add ssh_channel:init/1
2019-04-12Merge branch 'ingela/ssl/cipher-suite-conversions'Ingela Anderton Andin
* ingela/ssl/cipher-suite-conversions: ssl: Add functions to convert between diffrent cipher suite formats
2019-04-12Merge branch 'bjorn/erts/measure-process_main/OTP-15620'Björn Gustavsson
* bjorn/erts/measure-process_main/OTP-15620: Add benchmark Add erts_debug:interpreter_size/0
2019-04-12ssl: Add functions to convert between diffrent cipher suite formatsIngela Anderton Andin
2019-04-12stdlib: Let the Pretty Printer output more on one lineHans Bolinder
Atomic elements such as atoms, '{}', '[]', and '<<>>' are output on the same line in types, structs, lists, &c. In particular types can be more compact, and easier to read. A space is output after comma in tuples, to be more consistent.
2019-04-12Merge branch 'hasse/stdlib/erl_pp_quoted_atom_types/OTP-15756'Hans Bolinder
* hasse/stdlib/erl_pp_quoted_atom_types/OTP-15756: stdlib: Add option 'quote_singleton_atom_types' to erl_pp
2019-04-12stdlib: Add option 'quote_singleton_atom_types' to erl_ppHans Bolinder
The new option can be used by Dialyzer, which has traditionally quoted singleton atom types. The OTP team has decided not to use the convention in OTP documentation, at least not for now. That is why the option is needed. EDoc does not use the new option. Syntax Tools does not have a similar option.
2019-04-12Merge branch 'peterdmv/ssl/dtls-fix'Péter Dimitrov
* peterdmv/ssl/dtls-fix: ssl: Fix faulty match of Socket in handle_info/3 Change-Id: Ied8228b8f2eb88e50a47fc101331d7913fdb1de6
2019-04-11[snmp] Post rebase fixupMicael Karlberg
2019-04-11[snmp|agent|test] Test case info and cleanupMicael Karlberg
1) A test case failed due to the times retreived by get(snmpEngineTime) reported to large time diffs (this is basically a sanity check). Added some more info about time(s) to see if there are some "gaps" somewhere. The problem occurred on a slow Virtial Machine. 2) A previous (failing) test case failed to cleanup after itself (see above), which caused later test cases to fail. Specifically, the app top supervisor was not terminated, which caused the start agent function to fail (basically already_started).
2019-04-11[snmp|agent|test] Timestamps and test managerMicael Karlberg
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.