aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-06-03same_time_yielding/1: Avoid failing if there are many schedulersBjörn Gustavsson
On a computer with 32 schedulers, there would be 9632 (301*32) 'timeout' message in the receive queue. Receiving them with a selective receive (matching on the timer ID) is quite slow. Change the test case to read out the queue in the order the messages are stored in the queue.
2017-06-03Remove obsolete old_scheduler_SUITEBjörn Gustavsson
old_scheduler_SUITE was written before the SMP emulator. It does not test anything that scheduler_SUITE does not test. Keeping it wastes time when running the emulator test suite, and does not help us find any bugs that scheduler_SUITE would find.
2017-06-03Robustify process_SUITE:spawn_opt_max_heap_size/1Björn Gustavsson
process_SUITE starts os_mon in init_per_suite/1. Therefore, there may be occasional alarm info messages received. Make sure that they are ignored and don't cause the test fail to fail. Also, get rid of the flush/0 function that discards all messages in the message queue. Instead, be more selective and only discard {error, ...} messages.
2017-06-03Contain damage cause by spawn_opt_max_heap_size failingBjörn Gustavsson
If process_SUITE:spawn_opt_max_heap_size/1 failed, the default value for the maximum heap size could have been changed. That would cause other test cases that spawned huge processes to fail. Contain the damage by always restoring the default value for max_heap_size in end_per_testcase/2.
2017-06-03Make bulk_send_bigbig/1 purely informationalBjörn Gustavsson
bulk_send_bigbig/1 sometimes fails even if there is nothing wrong. Stop testing the ratio, and just return information about the speed and number of monitor messages. The testcase will still serve as a smoke test of the +zdbbl option.
2017-06-03distribution_SUITE: Refactor bulk_send_bigbig/1Björn Gustavsson
Refactor bulk_send_bigbig/1 to make it somewhat easier to follow.
2017-06-03receive_SUITE: Remove ?line macrosBjörn Gustavsson
2017-06-03Lengthen too short timetrapsBjörn Gustavsson
c062dfc485a added timetraps to test suites that had no timetraps. Some of added timetraps are only 5 or 10 seconds, which is can be too short time on some slow computers. Change those times to one or two minutes.
2017-06-03Fix process_SUITE:low_prio/1Björn Gustavsson
It is expected that low-priority processes should be allowed to run about 1/8 of the time of normal-priority processes. The proportion calculated was usually considerably lower than 1/8. It seems that the main reason is the punishement in reductions when sending to a process that alreday has many messages in the message queue. I have verified that by running the emulator with the +snsp to turn off the send punishment. To avoid that punishment, let the server process run at high priority so that it can keep its message queue short. It seems that the proportion is now very close to 1/8. Therefore, we can tighten the margins for the proportion.
2017-06-02Merge branch 'lukas/erts/hipe_mkliterals_libs/ERIERL-14/OTP-14447'Lukas Larsson
* lukas/erts/hipe_mkliterals_libs/ERIERL-14/OTP-14447: hipe: Fix hipe_mkliterals make recipe
2017-06-02Merge pull request #1473 from SalikhovDinislam/static_codeLukas Larsson
Make some C code static
2017-06-02Merge pull request #1472 from SalikhovDinislam/dead_codeLukas Larsson
erts: Remove unused functions from erl_cpu_topology
2017-06-02Merge pull request #1471 from gomoripeti/fix_erl_tracer_exampleLukas Larsson
Update erl_msg_tracer example
2017-06-02Merge branch 'hans/ssh/dbg_fixes'Hans Nilsson
2017-06-02ssh: Restructure internal tool ssh_dbgHans Nilsson
The need for more trace patterns requires a somewhat different structure. It was previoiusly a bit difficult to use in e.g. test suites. Now it is easier.
2017-06-02ssh: Removed out-commented codeHans Nilsson
2017-06-02Merge branch 'john/erts/lcnt-table-name/ERIERL-22/OTP-14442'John Högberg
2017-06-02Merge branch 'john/erts/refactor-gcsuite'John Högberg
2017-06-02Merge pull request #1479 from weisslj/fix-missing-ssl-closeIngela Andin
Correct close semantics for active once connections. This was a timing dependent bug the resulted in the close message not always reaching the ssl user process. OTP-14443
2017-06-01Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
2017-05-31ssh: more keys for testingHans Nilsson
2017-05-31ssh: Introduce test case simple_connect in ssh_algorithms_SUITEHans Nilsson
In the test group public_key we need to control both the host key and the user key. This new test case is aimed at faciliate the user public key testing.
2017-05-31ssh: Use option 'pref_public_key_algs' in ssh_algorithms_SUITEHans Nilsson
2017-05-31ssh: Change printouts for ssh_dbg:auth()Hans Nilsson
This reverts commit 4ee80fd8738393bf581e0393416befda1ca621b6.
2017-05-31ssh: ssh_options checks 'pref_public_key_algs' for dubbletsHans Nilsson
2017-05-31ssh: Improve 'server-sig-algs' handling in clientHans Nilsson
2017-05-31Revert "Updated OTP version"Hans Nilsson
This reverts commit a6db7427e7d760b1a57a9d35932898ec265977a2. Conflicts: OTP_VERSION
2017-05-31Revert "Prepare release"Hans Nilsson
This reverts commit eaf8ca41dfa4850437ad270d3897399c9358ced0.
2017-05-31Updated OTP_VERSION for Release CandidateOTP-20.0-rc2Hans Nilsson
2017-05-31Break out a lot of duplicated code in minor_major_gc_option_ZZZJohn Högberg
2017-05-31Fix a race condition that consistently affected lc+lcnt buildsJohn Högberg
The garbage_collect message could be received while waiting for trace messages, causing the test to crash erroneously.
2017-05-30Better fix for non-delivery of ssl_closed message in active onceIngela Andin
This is taken from https://github.com/erlang/otp/pull/1479#issuecomment-304667528 with permission from Ingela Andin and improves commit 8abe16c22d.
2017-05-30Updated OTP versionErlang/OTP
2017-05-30Prepare releaseErlang/OTP
2017-05-29Merge branch 'rickard/sys-proc-off-heap-msgq'Rickard Green
OTP-14438 * rickard/sys-proc-off-heap-msgq: Enable off-heap message queue for code purger, et. al.
2017-05-29Enable off-heap message queue for code purger, et. al.Rickard Green
2017-05-29Merge branch 'bjorn/erts/fix-sys-task-cleanup'Björn Gustavsson
* bjorn/erts/fix-sys-task-cleanup: erl_process.c: Add more assertions in process termination Make sure that asynchronous replies are not lost
2017-05-29Merge branch 'rickard/wx-lock-check-fix'Rickard Green
OTP-14437 ERL-360 * rickard/wx-lock-check-fix: Fix WX lock check assertion on MacOSX
2017-05-29Fix WX lock check assertion on MacOSXRickard Green
The fix avoids registering the main thread as an emulator thread on MacOSX. This since WX steals the main thread for its own usage on MacOSX, and use the thread as an ordinary driver thread.
2017-05-29hipe: Fix hipe_mkliterals make recipeLukas Larsson
If a link dependency is added in LDFLAGS it should be resolved in LIBS, so we have to use LIBS and not TYPE_LIBS.
2017-05-29erl_process.c: Add more assertions in process terminationBjörn Gustavsson
Before terminating a process, add assertions to make sure that all queues for system tasks have been emptied.
2017-05-29Make sure that asynchronous replies are not lostBjörn Gustavsson
If an synchronous GC was requested by calling: erlang:garbage_collect(Pid, [{async,Ref}]) the reply message could in certain circumstances be lost. The problem is in cleanup_sys_tasks() in erl_process.c. If there were at least one dirty task, only the first dirty task would be cleaned up. All other systems tasks would not be cleaned up (that is, no replies would be sent to other processes waiting for the tasks to finish).
2017-05-29Merge pull request #1396 from RoadRunnr/crypto/cavpHans Nilsson
crypto: replace AES test vectors with validation data from NIST CAVP program OTP-14436
2017-05-29Merge pull request #1462 from Vagabond/adt-fix-aes-cfb128Hans Nilsson
Fix backwards equality check in aes cfb128 function OTP-14435
2017-05-29Merge branch 'sverker/crash-dump-seconds-doc'Rickard Green
OTP-14434 * sverker/crash-dump-seconds-doc: erts: Clarify ERL_CRASH_DUMP_SECONDS docs
2017-05-29Merge pull request #1476 from bjorng/bjorn/stdlib/erl_tar-timesBjörn Gustavsson
erl_tar: Fix handling of date and time
2017-05-29Merge branch 'lukas/kernel/fix_error_logger_utc_testcase'Björn Gustavsson
* lukas/kernel/fix_error_logger_utc_testcase: Stop the cover server after running code_SUITE:module_status/1 kernel: Make sure to cleanup after distr tests
2017-05-29Merge branch 'bjorn/cuddle-with-tests'Björn Gustavsson
* bjorn/cuddle-with-tests: bs_construct_SUITE: Correct calculation of free memory
2017-05-29erl_tar: Fix handling of date and timeBjörn Gustavsson
Since aa0c4b0df7cdc, erl_tar would write the local time (instead of the POSIX time) into the tar header for the archived files. When extracting the tar file, the extracted file could be set to a future time (depending on the time zone). We could do a minimal fix, but this seems to be a good time to rewrite the time handling to use the new features that allow file info to be read and written in the POSIX time format. First reported here: https://github.com/erlang/rebar3/issues/1554
2017-05-29Merge branch 'ingela/dtls/epochs'Ingela Anderton Andin
* ingela/dtls/epochs: dtls: Check for retransmitted changes_cipher_spec messages dtls: Ask for next DTLS record when disregarding future packet