aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-27[esock] Win32 ifdef tests missingMicael Karlberg
OTP-15818
2019-06-27[esock|kernel] Updated kernel app fileMicael Karlberg
Added the (re-) added net module to the application app file. OTP-15765
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-27[esock|doc] Add documentation for the (socket) info functionMicael Karlberg
Add documentation for the (socket) info function, which (among other things) return the socket counters. Also typed the return value (socket_info()). OTP-15818
2019-06-27Merge pull request #2305 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-slow-compilation/OTP-15923 Fix slow compilation of huge functions
2019-06-27Merge branch 'peterdmv/ssl/fix-ssl-basic-suite' into maintPéter Dimitrov
* peterdmv/ssl/fix-ssl-basic-suite: ssl: Fix ssl_basic_SUITE
2019-06-27Merge branch ↵Micael Karlberg
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
2019-06-27Merge branch 'lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926' into maintLukas Larsson
* lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926: erts: Don't copy binary data from dist data erts: Move copy of payload to receiving process
2019-06-27Merge pull request #2303 from bottleneko/kernel/fix-typo-in-logger-documentationHans Bolinder
Fix typo in logger_chapter.xml
2019-06-27Merge branch ↵Hans Bolinder
'josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949' into maint * josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949: Always fallback to source when we can't parse AST
2019-06-26Merge branch 'hans/crypto/valgrind-fix-FIPS/OTP-15924' into maintHans Nilsson
* hans/crypto/valgrind-fix-FIPS/OTP-15924: crypto: Adjust VALGRIND decls crypto: Fix mem leak detected by valgrind
2019-06-26erts: Suppress valgrind warning in offset_heap_ptrSverker Eriksson
when called by offset_nstack() for hipe native stack.
2019-06-26[esock|test] Add (traffic) counter (udp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendmsg and recvmsg). One for IPv4 udp and one for unix-domain-socket stream (udp). OTP-15818
2019-06-26[esock] Corrected some counter actionsMicael Karlberg
Corrected both read pkg, byte and fail counter increment for recvmsg (was actually missing). OTP-15818
2019-06-26[esock|test] Add (traffic) counter (tcp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendmsg and recvmsg). One for IPv4 tcp and one for unix-domain-socket stream (tcp). OTP-15818
2019-06-26[esock] Corrected some counter actionsMicael Karlberg
Corrected both read pkg and byte counter increment for recvfrom (was actually missing). OTP-1581
2019-06-26[esock|test] Add (traffic) counter (udp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using sendto and recvfrom). One for IPv4 udp and one for unix-domain-socket dgram (udp). OTP-15818
2019-06-26[esock] Corrected some counter actionsMicael Karlberg
When to count read failure and read package count used number of bytes read instead of just increment (by 1). OTP-1581
2019-06-26[esock|test] Add (traffic) counter (tcp) test casesMicael Karlberg
Add two simple (traffic) counter test cases, to test counter actions for normal traffic (send and receive using send and recv). One for IPv4 tcp and one for unix-domain-socket stream (tcp). OTP-15818
2019-06-26[esock] Counters for individual socketsMicael Karlberg
We already had the counters. But we did not entirely handle counter wrap, especially in related to 'iow' (Inform On Wrap). There was also no way to get to the counter values, so a socket specific info function was implemented (piggy back on the existing "global" info function). And since, we have it, we also add other info in the returned map (number of readers, writers and acceptors). OTP-15818
2019-06-26Fix VALGRIND_MISC_FLAGS defaults to use ERL_TOPSverker Eriksson
for suppression file.
2019-06-26ssl: Fix handling of certificate decoding problemsPéter Dimitrov
2019-06-26ssl: Update ssl_test_libPéter Dimitrov
On some configurations the inet:peername/1 and inet:getaddr/2 functions return different loopback addresses, leading to testcase failures in the ssl_basic_SUITE (peername, sockname). This commit updates the node_to_hostip and check_result functions to tolerate different loopback addresses.
2019-06-26ssl: Fix ssl_basic_SUITEPéter Dimitrov
Do not automatically configure the TLS version for the 'tlsv1.3' group.
2019-06-26Updated stdlib runtime dependency to ertsRickard Green
2019-06-26crypto: Adjust VALGRIND declsHans Nilsson
Seem to detect false positives
2019-06-26crypto: Fix mem leak detected by valgrindHans Nilsson
2019-06-26Merge branch 'hans/ssh/spec_doc_error/OTP-15820' into maintHans Nilsson
* hans/ssh/spec_doc_error/OTP-15820: ssh: Fix spec/doc error for subsystem_specs
2019-06-26ssh: Fix spec/doc error for subsystem_specsHans Nilsson
2019-06-26Convert generated re replace and split tests from latin1 to UTF8Rickard Green
2019-06-26Adjust generated re replacement and split testsRickard Green
Adjustment needed due to incompatibility between PCRE 8.43 and perl version 5.22.1
2019-06-26Generate new re replacement and split tests using perl 5.22.1Rickard Green
2019-06-26Fix slow compilation of huge functionsBjörn Gustavsson
Some huge functions would compile very slowly because of a bottleneck in `beam_ssa:def_used/2`. One example is the `cuter_binlib` module in https://github.com/cuter-testing/cuter. On my computer, this commit reduces the compilatation time for `cuter_binlib` to 45 seconds down from more than 4 minutes. Noticed-by: Kostis Sagonas
2019-06-26Update internal PCRE to version 8.43Rickard Green
2019-06-26crypto: Fix the build of static crypto nifsSebastien Merle
2019-06-26[esock] Moved new command inside ifdefMicael Karlberg
Build failed on windows because of misplaced ifdef's (of new command functions). OTP-15817