<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/ruby/core/process, branch ruby_2_7</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) ed549f80b645aafd62376f65c3a27b66bafa2a38,eff0c5bf2ad47d10a440c5211be5eddb3bbf4028,f6b6a7ad345c50eeb3f7206ceabdf41ba94b7d85,5b48686691c2443d8d7113e593494c4d9302da0e,2af4c1fc5b19fc96203c2d7e917e689510d3527e,c9213aa864fb8527388679c21f1ea8ce129e2f1a,224f29c8e92094af10bc666c474b81a3545d6adf:</title>
<updated>2020-12-31T09:34:09+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-12-31T09:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d0693391103672b7fc3976e5ae8ae414059b3e97'/>
<id>d0693391103672b7fc3976e5ae8ae414059b3e97</id>
<content type='text'>
	spec/ruby/core/process/clock_getres_spec.rb: skip on Android

	in the same way as FreeBSD and OpenBSD.
	I guess that the spec makes too strong assumption.

	Try to avoid random failures on clock_getres_spec.rb

	This spec fails too often
	https://github.com/ruby/ruby/runs/529546249
	https://github.com/ruby/ruby/runs/524933256

	Show failed times

	Remove Process.clock_getres "matches the resolution in practice"
	 specs

	* Almost all platforms return incorrect values for Process.clock_getres,
	  it should be removed: https://bugs.ruby-lang.org/issues/16740

	Skip Process#clock_getres specs on Android

	... just like AIX and OpenBSD.

	Update to ruby/spec@d394dfd

	spec/ruby/core/process/clock_getres_spec.rb: lax the resolution limit

	Android is Linux, but the clock resolution is 10 milliseconds.
	I think that 1 microsecond is too strict for embedded environment.
	This change laxes the limit to 10 milliseconds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	spec/ruby/core/process/clock_getres_spec.rb: skip on Android

	in the same way as FreeBSD and OpenBSD.
	I guess that the spec makes too strong assumption.

	Try to avoid random failures on clock_getres_spec.rb

	This spec fails too often
	https://github.com/ruby/ruby/runs/529546249
	https://github.com/ruby/ruby/runs/524933256

	Show failed times

	Remove Process.clock_getres "matches the resolution in practice"
	 specs

	* Almost all platforms return incorrect values for Process.clock_getres,
	  it should be removed: https://bugs.ruby-lang.org/issues/16740

	Skip Process#clock_getres specs on Android

	... just like AIX and OpenBSD.

	Update to ruby/spec@d394dfd

	spec/ruby/core/process/clock_getres_spec.rb: lax the resolution limit

	Android is Linux, but the clock resolution is 10 milliseconds.
	I think that 1 microsecond is too strict for embedded environment.
	This change laxes the limit to 10 milliseconds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make more attempts to check for the precision of Process.times</title>
<updated>2019-12-02T20:23:10+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2019-12-02T20:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=424ad9a49360be56244609c02678e8f055d92073'/>
<id>424ad9a49360be56244609c02678e8f055d92073</id>
<content type='text'>
* Process.clock_getres specs use 10_000 but that's quite slow for
  the Process.times spec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Process.clock_getres specs use 10_000 but that's quite slow for
  the Process.times spec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix random failure on getusage-missing environments</title>
<updated>2019-12-02T08:17:41+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2019-12-02T08:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a47d6c256ff684392f00516a917735a14aec64b0'/>
<id>a47d6c256ff684392f00516a917735a14aec64b0</id>
<content type='text'>
`* 1e6` makes a spurious result about floating point number's precision.

```
irb(main)[01:0]&gt; 16.028
=&gt; 16.028
irb(main)[02:0]&gt; (16.028 * 1e6)
=&gt; 16027999.999999998
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`* 1e6` makes a spurious result about floating point number's precision.

```
irb(main)[01:0]&gt; 16.028
=&gt; 16.028
irb(main)[02:0]&gt; (16.028 * 1e6)
=&gt; 16027999.999999998
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Debug random failure of ruby-spec on ci.rvm.jp</title>
<updated>2019-12-02T07:23:40+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2019-12-02T07:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=185f7608737a550a0891a7fc5a6a4ee32721bce3'/>
<id>185f7608737a550a0891a7fc5a6a4ee32721bce3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip if getrusage is not supported</title>
<updated>2019-11-30T21:29:01+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2019-11-30T21:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b1f7f26b4ff3b05e1c184ae87154a323b1be915'/>
<id>5b1f7f26b4ff3b05e1c184ae87154a323b1be915</id>
<content type='text'>
1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2445098.

253232c028a5565dbeecc05fab5e81b35ab58bcc works only if getrusage is supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1243255c3a36433041012b6107a5ac48658a0895 broke ci.rvm.jp tests like
http://ci.rvm.jp/results/trunk_clang_39@silicon-docker/2445098.

253232c028a5565dbeecc05fab5e81b35ab58bcc works only if getrusage is supported.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@4eec3dc</title>
<updated>2019-11-30T20:26:52+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2019-11-30T20:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1243255c3a36433041012b6107a5ac48658a0895'/>
<id>1243255c3a36433041012b6107a5ac48658a0895</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Exclude some clocks on armv8 too</title>
<updated>2019-11-06T22:10:15+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2019-11-06T22:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=40e161a61238625e1ef021311759b2159be5b50a'/>
<id>40e161a61238625e1ef021311759b2159be5b50a</id>
<content type='text'>
* See https://bugs.ruby-lang.org/issues/16234#note-16
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* See https://bugs.ruby-lang.org/issues/16234#note-16
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spawn_spec.rb for Travis arm64 environment.</title>
<updated>2019-11-06T17:08:37+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2019-11-01T15:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f5c7fc495a4b33db985f0d5286db2ec230e1ffb9'/>
<id>f5c7fc495a4b33db985f0d5286db2ec230e1ffb9</id>
<content type='text'>
The process group id (/proc/[pid]/stat 5th field) is 0
in the Travis arm64 environment.

This is a case where it is available.

$ cat /proc/4543/stat
4543 (ruby) S 4525 4525 1384 34818 4525 4194304 37443 1754841 0 0 366 105 2291 391 20 0 3 0 1381328 1428127744 11475 18446744073709551615 94195983785984 94195986670225 140728933833312 0 0 0 0 0 1107394127 0 0 0 17 2 0 0 1 0 0 94195987686512 94195987708942 94196017770496 140728933835483 140728933835595 140728933835595 140728933842904 0

This is a case where it is not available in Travis arm64 environment.

$ cat /proc/19179/stat
19179 (ruby) S 19160 0 0 0 -1 4194560 37618 1710547 313 163 770 665 5206 1439 20 0 2 0 17529566 1196347392 10319 18446744073709551615 187650811428864 187650815023116 281474602721280 0 0 0 0 4096 1107390031 0 0 0 17 22 0 0 0 0 0 187650815091456 187650815114064 187651414974464 281474602725080 281474602725211 281474602725211 281474602729420 0

See "man proc" for detail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The process group id (/proc/[pid]/stat 5th field) is 0
in the Travis arm64 environment.

This is a case where it is available.

$ cat /proc/4543/stat
4543 (ruby) S 4525 4525 1384 34818 4525 4194304 37443 1754841 0 0 366 105 2291 391 20 0 3 0 1381328 1428127744 11475 18446744073709551615 94195983785984 94195986670225 140728933833312 0 0 0 0 0 1107394127 0 0 0 17 2 0 0 1 0 0 94195987686512 94195987708942 94196017770496 140728933835483 140728933835595 140728933835595 140728933842904 0

This is a case where it is not available in Travis arm64 environment.

$ cat /proc/19179/stat
19179 (ruby) S 19160 0 0 0 -1 4194560 37618 1710547 313 163 770 665 5206 1439 20 0 2 0 17529566 1196347392 10319 18446744073709551615 187650811428864 187650815023116 281474602721280 0 0 0 0 4096 1107390031 0 0 0 17 22 0 0 0 0 0 187650815091456 187650815114064 187651414974464 281474602725080 281474602725211 281474602725211 281474602729420 0

See "man proc" for detail.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make test-all and test-spec runnable on Android</title>
<updated>2019-09-09T11:24:03+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2019-09-09T11:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cce6cfbe486984c2c41d6b772a692ea87ad0222a'/>
<id>cce6cfbe486984c2c41d6b772a692ea87ad0222a</id>
<content type='text'>
Calling some syscall functions such as Dir.chroot causes SIGSYS instead
of EPERM on Android.
This change skips all tests that stops the test-suite run.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling some syscall functions such as Dir.chroot causes SIGSYS instead
of EPERM on Android.
This change skips all tests that stops the test-suite run.
</pre>
</div>
</content>
</entry>
<entry>
<title>armv7l and armv7l are the same platform, generalize to armv7</title>
<updated>2019-09-07T10:53:47+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2019-09-07T10:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=324dd9d01f0c97631a2588f63231bcb651844cca'/>
<id>324dd9d01f0c97631a2588f63231bcb651844cca</id>
<content type='text'>
[Bug #16007]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #16007]
</pre>
</div>
</content>
</entry>
</feed>
