-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
-
b79
-
arm
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135855 | emb-9 | Jaroslav BachorĂk | P3 | Resolved | Fixed | team |
It seems that the "free -b" on arm returned figures in kilobytes rather than bytes: 2683301888 is exactly 2620412 kb
----------messages:(3/113)----------
command: main TestTotalSwap
reason: User specified action: run main TestTotalSwap
elapsed time (seconds): 3.238
----------System.out:(7/300)----------
Command line: [free -b]
total used free shared buffers
Mem: 765280 679464 85816 0 178248
-/+ buffers: 501216 264064
Swap: 2620412 5112 2615300
Total swap space size in bytes: 2683301888
----------System.err:(13/917)----------
java.lang.RuntimeException: Expected total swap size : 2620412 but getTotalSwapSpaceSize returned: 2683301888
at TestTotalSwap.main(TestTotalSwap.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected total swap size : 2620412 but getTotalSwapSpaceSize returned: 2683301888
----------messages:(3/113)----------
command: main TestTotalSwap
reason: User specified action: run main TestTotalSwap
elapsed time (seconds): 3.238
----------System.out:(7/300)----------
Command line: [free -b]
total used free shared buffers
Mem: 765280 679464 85816 0 178248
-/+ buffers: 501216 264064
Swap: 2620412 5112 2615300
Total swap space size in bytes: 2683301888
----------System.err:(13/917)----------
java.lang.RuntimeException: Expected total swap size : 2620412 but getTotalSwapSpaceSize returned: 2683301888
at TestTotalSwap.main(TestTotalSwap.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected total swap size : 2620412 but getTotalSwapSpaceSize returned: 2683301888
- backported by
-
JDK-8135855 OperatingSystemMXBean/TestTotalSwap.java failure : Total Swap Space figures mismatch
-
- Resolved
-