From 300a69af6764eb89af46b75e3af28a4d19de75a3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:52:38 +0000 Subject: import abrt-java-connector-1.0.6-9.el7 --- diff --git a/SOURCES/0043-Add-test-results-for-Linux-aarch64.patch b/SOURCES/0043-Add-test-results-for-Linux-aarch64.patch index 1f8fc51..7a8f20d 100644 --- a/SOURCES/0043-Add-test-results-for-Linux-aarch64.patch +++ b/SOURCES/0043-Add-test-results-for-Linux-aarch64.patch @@ -1,7 +1,7 @@ From 4c6676f6bb82c3f44ac2daa5d744268c386306b1 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Wed, 5 Feb 2014 10:53:29 +0100 -Subject: [PATCH 43/43] Add test results for Linux-aarch64 +Subject: [PATCH 43/44] Add test results for Linux-aarch64 Close rhbz#1044756 --- diff --git a/SOURCES/0044-Add-test-results-for-Linux-ppc64le.patch b/SOURCES/0044-Add-test-results-for-Linux-ppc64le.patch new file mode 100644 index 0000000..3f181e4 --- /dev/null +++ b/SOURCES/0044-Add-test-results-for-Linux-ppc64le.patch @@ -0,0 +1,201 @@ +From 56a6cb1c530f118e9c82e325ecbd09965d9602e2 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Fri, 9 May 2014 12:34:04 +0200 +Subject: [PATCH 44/44] Add test results for Linux-ppc64le + +Related to rhbz#981682 +--- + test/CMakeLists.txt | 2 +- + test/outputs/Linux-ppc64le/run_test.log.in | 167 +++++++++++++++++++++++++++++ + 2 files changed, 168 insertions(+), 1 deletion(-) + create mode 100644 test/outputs/Linux-ppc64le/run_test.log.in + +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 5b117a1..4e69049 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -254,7 +254,7 @@ _add_test(run_cut_reason_message 2) + if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^s390x?$") + set(STRESS_TEST_REPEATS 30) + set(STRESS_TEST_THREADS 200) +-elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc\(64\)?$") ++elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc\(64\)?\(le\)?$") + set(STRESS_TEST_REPEATS 20) + set(STRESS_TEST_THREADS 150) + elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^armv7l$") +diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc64le/run_test.log.in +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +-- +1.8.3.1 + diff --git a/SOURCES/0045-Update-Linux-aarch64-tests-for-rhel-7.1.patch b/SOURCES/0045-Update-Linux-aarch64-tests-for-rhel-7.1.patch new file mode 100644 index 0000000..f88263a --- /dev/null +++ b/SOURCES/0045-Update-Linux-aarch64-tests-for-rhel-7.1.patch @@ -0,0 +1,58 @@ +From e1954f3ad68207237603a90968c1056dbffd32fc Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Fri, 22 Aug 2014 08:33:14 +0200 +Subject: [PATCH 45/45] Update Linux-aarch64 tests for rhel-7.1 + +--- + test/outputs/Linux-aarch64/run_test.log.in | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in +index 2a41f50..4d4d3c0 100644 +--- a/test/outputs/Linux-aarch64/run_test.log.in ++++ b/test/outputs/Linux-aarch64/run_test.log.in +@@ -1,4 +1,4 @@ +-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open() + Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) + at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] + at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] +@@ -6,7 +6,7 @@ Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such + at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open() + Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) + at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] + at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] +@@ -14,7 +14,7 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open() + Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) + at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] + at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] +@@ -42,7 +42,7 @@ Exception in thread "main" java.lang.NumberFormatException: null + at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Caught exception java.net.UnknownHostException in method java.net.Inet6AddressImpl.lookupAllHostAddr() + Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] + at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] +@@ -69,7 +69,7 @@ Exception in thread "main" java.net.UnknownHostException: xyzzy + at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Caught exception java.net.ConnectException in method java.net.PlainSocketImpl.socketConnect() + Exception in thread "main" java.net.ConnectException: Connection refused + at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] + at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] +-- +1.8.3.1 + diff --git a/SOURCES/0046-Install-the-agent-lib-to-non-arch-specific-directory.patch b/SOURCES/0046-Install-the-agent-lib-to-non-arch-specific-directory.patch new file mode 100644 index 0000000..17a8019 --- /dev/null +++ b/SOURCES/0046-Install-the-agent-lib-to-non-arch-specific-directory.patch @@ -0,0 +1,39 @@ +From 257d7b776adcf93f26807b887f97f529179c37a1 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Wed, 29 Oct 2014 10:16:16 +0100 +Subject: [PATCH] Install the agent lib to non arch specific directory + +https://fedorahosted.org/fesco/ticket/961 +--- + CMakeLists.txt | 4 ++-- + src/CMakeLists.txt | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 33a5e03..316ce8f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -43,8 +43,8 @@ if(NOT BIN_INSTALL_DIR) + set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin) + endif() + +-if(NOT LIB_INSTALL_DIR) +- set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib) ++if(NOT JNIAGENTLIB_INSTALL_DIR) ++ set(JNIAGENTLIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_PROJECT_NAME}) + endif() + + if(NOT SYSCONF_INSTALL_DIR) +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index d084401..e3e421b 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -20,4 +20,4 @@ set_target_properties( + target_link_libraries(AbrtChecker ${PC_LIBREPORT_LIBRARIES}) + target_link_libraries(AbrtChecker ${PC_JOURNALD_LIBRARIES}) + +-install(TARGETS AbrtChecker DESTINATION ${LIB_INSTALL_DIR}) ++install(TARGETS AbrtChecker DESTINATION ${JNIAGENTLIB_INSTALL_DIR}) +-- +1.8.3.1 + diff --git a/SPECS/abrt-java-connector.spec b/SPECS/abrt-java-connector.spec index 2680209..14e2452 100644 --- a/SPECS/abrt-java-connector.spec +++ b/SPECS/abrt-java-connector.spec @@ -3,7 +3,7 @@ Name: abrt-java-connector Version: 1.0.6 -Release: 6%{?dist} +Release: 9%{?dist} Summary: JNI Agent library converting Java exceptions to ABRT problems Group: System Environment/Libraries @@ -54,6 +54,10 @@ Patch0040: 0040-Fix-a-pair-of-defects-uncovered-by-coverity.patch Patch0041: 0041-Make-sure-that-agent_onload-and-agent_onunload-are-p.patch Patch0042: 0042-Add-a-test-for-multiple-calls-of-Agent_OnLoad.patch Patch0043: 0043-Add-test-results-for-Linux-aarch64.patch +Patch0044: 0044-Add-test-results-for-Linux-ppc64le.patch +Patch0045: 0045-Update-Linux-aarch64-tests-for-rhel-7.1.patch +Patch0046: 0046-Install-the-agent-lib-to-non-arch-specific-directory.patch +#Patch0047: 0047-Update-the-spec-file.patch # git is need for '%%autosetup -S git' which automatically applies all the # patches above. Please, be aware that the patches must be generated @@ -104,24 +108,34 @@ make install DESTDIR=%{buildroot} %{_mandir}/man5/bugzilla_format_java.conf.5* %{_mandir}/man5/bugzilla_formatdup_java.conf.5* -# install only unversioned shared object because the package is a Java plugin -# and not a system library but unfortunately the library must be placed in ld -# library paths -%{_libdir}/lib%{name}.so - +# Applications may use a single subdirectory under/usr/lib. +# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22 +# +# Java does not support multilib. +# https://fedorahosted.org/fesco/ticket/961 +%{_prefix}/lib/abrt-java-connector %check -make test - +make test || { + cat Testing/Temporary/LastTest.log + exit 69 +} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%changelog +* Thu Jul 02 2015 Jakub Filak - 1.0.6-9 +- Install the library to /usr/lib/abrt-java-connector on all arches +- Resolves: #1238578 +* Mon Sep 22 2014 Jakub Filak - 1.0.6-8 +- Adapt aarch64 test results to RHEL7.1 +- Resolves: #1133406 +* Thu Aug 21 2014 Jakub Filak - 1.0.6-7 +- Add test results for Linux-ppc64le +- Resolves: #1125469 -%changelog * Tue Feb 11 2014 Jakub Filak - 1.0.6-6 - Make sure that agent_onload and agent_onunload are processed only once - Add test results for Linux-aarch64