aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-07-02Merge branch 'rickard/pcre-8.43/OTP-15889' into maintRickard Green
* rickard/pcre-8.43/OTP-15889: Updated stdlib runtime dependency to erts Convert generated re replace and split tests from latin1 to UTF8 Adjust generated re replacement and split tests Generate new re replacement and split tests using perl 5.22.1 Update internal PCRE to version 8.43
2019-07-02Merge branch 'ingela/ssl/kill-openssl-zombie' into maintIngela Anderton Andin
* ingela/ssl/kill-openssl-zombie: ssl: Kill OpenSSL processes that survived test run
2019-07-02Merge branch 'siri/ct/release_test_paths/OTP-15934' into maintSiri Hansen
* siri/ct/release_test_paths/OTP-15934: [ct] Store correct paths with from-release in ct_release_test
2019-07-01Merge branch 'bmk/megaco/20190625/timer_test' into maintMicael Karlberg
2019-07-01Merge branch 'bmk/megaco/20190701/mess_test' into maintMicael Karlberg
2019-07-01[megaco|test] Make sure more of the (mess) test suite printouts are shownMicael Karlberg
Make the test suite log more readable. Normal io and the debug printouts from megaco does not mix well. Its difficult to know the proper timeline. So add some "sleeps" so that its easier to read.
2019-07-01Merge branch 'bmk/megaco/20190627/dialyzer/OTP-15882' into maintMicael Karlberg
2019-07-01Merge branch 'bmk/megaco/20190701/test_case_improvements' into maintMicael Karlberg
2019-07-01ssl: Kill OpenSSL processes that survived test runIngela Anderton Andin
Should be zero such processes in the normal case
2019-07-01[megaco|test] Misc improvements to the trans test (sub-) suiteMicael Karlberg
The actual "improvement" has to do with io. That is, making sure we get any. A test case failed (on a OpenIndiana VM), which basically only pointed to which line in the test code. But it was impossible to figure out from that what actually had gone wrong. Also removed the 'export all' compiler flag, which caused a whole bunch of unused function to become visible. Commented out those...
2019-07-01[megaco|test] Fixing the examples test suiteMicael Karlberg
The simple test case was faulty in that the simple example (which it is testing) require that the MGC and MG run on different erlang nodes. But the test case did not do this. Instead, it ran both the MGC and the MG on the test server node, which caused the test case to fail 1 time of 10.
2019-07-01[megaco|test] Timer test suite improvementsMicael Karlberg
We did not check the actual result of the timer cancel operation before continuing, which seems to cause problems on some platforms (where the timer may actually expire even though we have 100 ms to cancel). So now we check the cancel result, and if we did not succeed, we instead skip the test case.
2019-07-01[megaco|test] Removed compile_all for mib test sub-suiteMicael Karlberg
2019-07-01[megaco|test] Improving the example and mib test suitesMicael Karlberg
The examples test suite was hard to debug just based on its output (both plain debug printouts and printouts generated via dbg). Some timeouts has been added between the various actions so that it will be easier to understand the output.
2019-07-01Merge PR-2313 from poroh/poroh/erts/sched-stuck-fix OTP-15941Sverker Eriksson
Infinite cycle fixed on try to change run queue (if it has already ch…
2019-07-01Merge branch 'peterdmv/inets/httpc-uri-scheme/ERL-969/OTP-15930' into maintPéter Dimitrov
* peterdmv/inets/httpc-uri-scheme/ERL-969/OTP-15930: inets: Return error if URI has no scheme (httpc)
2019-07-01Merge pull request #2286 from peterdmv/ssl/tls13-ecdsa/OTP-15854Péter Dimitrov
Implement support for ECDSA certificates in TLS 1.3
2019-07-01Merge branch 'john/erts/lists_subtract_fixes/OTP-15938/OTP-15939' into maintJohn Högberg
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939: erts: Fix integer overflow in loader erts: Fix integer overflow in list subtraction
2019-07-01erts: Fix integer overflow in loaderJohn Högberg
qsort expects the comparison function to return an int; returning an `Sint` may yield nonsensical results.
2019-07-01erts: Fix integer overflow in list subtractionJohn Högberg
CMP_TERM returned an `Sint`, which overflowed the `int` used in erl_rbtree for storing the comparison, causing list subtraction to behave strangely.
2019-06-28Merge pull request #2299 from fhunleth/inet-i-local-socketPéter Dimitrov
Support local sockets with inet:i/0 OTP-15935
2019-06-28Infinite cycle fixed on try to change run queue (if it has already changed ↵Dmitry Poroh
concurrently)
2019-06-28ssl: Update standards compliancePéter Dimitrov
2019-06-28Merge pull request #2306 from bjorng/bjorn/stdlib/faster-ordsets-union/OTP-15927Björn Gustavsson
Optimize ordsets:union/1
2019-06-28Merge pull request #2311 from garazdawi/lukas/erts/etp-macrosLukas Larsson
erts: Update etp-stackump, stackmap and disasm
2019-06-28erts: Update etp-stackump, stackmap and disasmLukas Larsson
2019-06-28Merge branch 'lukas/erts/cleanup_scheduler_start' into maintLukas Larsson
* lukas/erts/cleanup_scheduler_start: erts: Reduce test time for multi_load in valgrind erts: Randomize valgrind taskset CPU erts: Make dump_SUITE:free_dump tc more robust to different systems erts: Fix distr SUITE latency testcases erts: Fix gc disable when terminating process erts: Cleanup start of all erts threads to ABORT when failing
2019-06-28Merge branch 'peterdmv/ssl/fix-peername-sockname' into maintPéter Dimitrov
* peterdmv/ssl/fix-peername-sockname: ssl: Update ssl_test_lib
2019-06-27[megaco|doc] Change description to noteMicael Karlberg
xmllint did not accept a 'description' tag for the 'DATA TYPE' section. But a 'note' tag worked (it *also* made more sence). OTP-15882
2019-06-27[megaco] Update the app file and some docsMicael Karlberg
OTP-15882
2019-06-27[megaco] Add megaco_user behaviour moduleMicael Karlberg
Add a "proper" behaviour module for the megaco_user behaviour. This behaviour is not a proper behaviour since its possible to configure megaco to add additional arguments to *all* of the functions in the behaviour (with the user_args config option). So, this behaviour only reflects the *default config* (whith the user_args set to [], that is no extra args). OTP-15882
2019-06-27[megaco] Updated behaviour definitionsMicael Karlberg
Made the behaviour definitions of megaco_encoder and megaco_edist_compress follow "modern" standards (which satisfies dialyzer). OTP-15882
2019-06-27[megaco|doc] Fixed a minor errorMicael Karlberg
Removed a single ']' that did no good from the doc... OTP-15882
2019-06-27[megaco] Various chages and corrections dealing with dialyzerMicael Karlberg
Mostly added nowarn_function-attributes to silence dialyzer (for functions that are "future" proofed). But actually also found some errors (although the issues have not been found for almost 15 years, so...). OTP-15882
2019-06-27[megaco|test] Misc improvements to the trans test (sub-) suiteMicael Karlberg
The actual "improvement" has to do with io. That is, making sure we get any. A test case failed (on a OpenIndiana VM), which basically only pointed to which line in the test code. But it was impossible to figure out from that what actually had gone wrong. Also removed the 'export all' compiler flag, which caused a whole bunch of unused function to become visible. Commented out those...
2019-06-27[ct] Store correct paths with from-release in ct_release_testSiri Hansen
In opaque data given to callback module, the paths to application lib dirs were faulty for the release to upgrade from. This is now corrected.
2019-06-27erts: Reduce test time for multi_load in valgrindLukas Larsson
The previous test amount could take up to 3 hours to finish!
2019-06-27erts: Randomize valgrind taskset CPULukas Larsson
When running multiple valgrinds on the same machine we want to attempt to make sure that they do not end up on the same core.
2019-06-27erts: Make dump_SUITE:free_dump tc more robust to different systemsLukas Larsson
2019-06-27erts: Fix distr SUITE latency testcasesLukas Larsson
2019-06-27erts: Fix gc disable when terminating processLukas Larsson
2019-06-27erts: Cleanup start of all erts threads to ABORT when failingLukas Larsson
Before this change erts used to crash dump and then abort, but a crash dump is not really usefull at this point and it caused all sort of lock problems when crash dumping that early in the system boot, so now it is changed to only dump core instead. Also in the process I cleaned up some the code so that it does not to a lot of things that are not needed.
2019-06-27Merge branch 'lukas/erts/fix-half-arguments-to-erlexec/OTP-15931' into maintLukas Larsson
* lukas/erts/fix-half-arguments-to-erlexec/OTP-15931: erlexec: Fix argument separation when mixing env flags
2019-06-27erlexec: Fix argument separation when mixing env flagsLukas Larsson
Example: export ERL_AFLAGS=-test erl dummy_param In the above example, the dummy_param would be interpreted as an argument to -test, and not as a separate argument as it should.
2019-06-27inets: Return error if URI has no scheme (httpc)Péter Dimitrov
This commit fixes a regression and changes httpc to return {error, no_scheme} when the request URI has no scheme e.g. "//foobar".
2019-06-27Support local sockets with inet:i/0Frank Hunleth
Before: 1> gen_udp:open(0, [local, {ip, {local, "unixdomainfile"}}]). {ok,#Port<0.6>} 2> inet:i(). ** exception error: bad argument in function integer_to_list/1 called as integer_to_list(<<"unixdomainfile">>) in call from inet:fmt_port/2 (inet.erl, line 1646) in call from inet:fmt_addr/2 (inet.erl, line 1642) in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547) in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547) in call from inet:'-info_lines/3-lc$^0/1-0-'/3 (inet.erl, line 1546) in call from inet:ii/3 (inet.erl, line 1531) in call from inet:i/0 (inet.erl, line 1515) After: Port Module Recv Sent Owner Local Address Foreign Address State Type 4160 local_udp 0 0 <0.1747.0> local:unixdomainfile *:* IDLE DGRAM
2019-06-27Merge pull request #2297 from bitcrowd/ssh/remove-unused-definitionsHans Nilsson
Remove unused SSH definitions OTP-15929
2019-06-27Merge pull request #2296 from grisp/sylane/crypto-fix-static-nifs-buildHans Nilsson
crypto: Fix the build of static crypto nifs OTP-15928
2019-06-27Optimize ordsets:union/1Björn Gustavsson
`ordsets:union/1` is not especially efficient when calculating the union of many ordsets. Rewrite it to use the highly optimized `lists:umerge/1`.
2019-06-27Merge pull request #2305 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-slow-compilation/OTP-15923 Fix slow compilation of huge functions