> Access denied for user 'sonar'@'localhost' (using password: YES)

This appears to be a Jenkins job misconfiguration.
What should we do for this ? Open an INFRA issue ?


On Wed, Feb 3, 2016 at 3:37 AM <gmcdon...@apache.org> wrote:

> See <https://analysis.apache.org/jenkins/job/thrift/598/changes>
>
> Changes:
>
> [nsuke] Update OpenSSL version for Appveyor build
>
> [nsuke] Adjust Python SSL test delay in an attempt to avoid flakiness on CI
>
> [nsuke] THRIFT-3592 Add basic test client
>
> ------------------------------------------
> [...truncated 1667 lines...]
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:369]
> No field key specified for field10, resulting protocol may have conflicts
> or not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:370]
> No field key specified for field11, resulting protocol may have conflicts
> or not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:371]
> No field key specified for field12, resulting protocol may have conflicts
> or not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:42]
> 64-bit constant "10000000000" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:48]
> Consider using the more efficient "binary" type instead of "list<byte>".
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:120]
> Consider using the more efficient "binary" type instead of "list<byte>".
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:160]
> Consider using the more efficient "binary" type instead of "list<byte>".
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:166]
> Consider using the more efficient "binary" type instead of "list<byte>".
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:178]
> 64-bit constant "1099511627775" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:188]
> 64-bit constant "4294967295" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:188]
> 64-bit constant "1099511627775" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:188]
> 64-bit constant "281474976710655" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:188]
> 64-bit constant "72057594037927935" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:188]
> 64-bit constant "9223372036854775807" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:197]
> 64-bit constant "4294967295" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:197]
> 64-bit constant "1099511627775" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:197]
> 64-bit constant "281474976710655" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:197]
> 64-bit constant "72057594037927935" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:197]
> 64-bit constant "9223372036854775807" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:206]
> 64-bit constant "9223372036854775807" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:213]
> 64-bit constant "9223372036854775807" may not work in all languages.
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:360]
> No field key specified for field1, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:361]
> No field key specified for field2, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:362]
> No field key specified for field3, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:363]
> No field key specified for field4, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:364]
> No field key specified for field5, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:365]
> No field key specified for field6, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:366]
> No field key specified for field7, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:367]
> No field key specified for field8, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:368]
> No field key specified for field9, resulting protocol may have conflicts or
> not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:369]
> No field key specified for field10, resulting protocol may have conflicts
> or not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:370]
> No field key specified for field11, resulting protocol may have conflicts
> or not be backwards compatible!
>
> [WARNING:<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/DebugProtoTest.thrift>:371]
> No field key specified for field12, resulting protocol may have conflicts
> or not be backwards compatible!
>
> make  all-am
> make[4]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py'>
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py'>
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py'>
> Making all in py.twisted
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py.twisted'>
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py.twisted'>
> Making all in py.tornado
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py.tornado'>
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test/py.tornado'>
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test'>
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test'>
> make[2]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/test'>
> Making all in tutorial
> make[2]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial'>
> Making all in java
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java'>
> /usr/bin/ant  compile
> Buildfile: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/build.xml>
>
> init:
>     [mkdir] Created dir: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/build>
>     [mkdir] Created dir: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/build/log>
>
> generate:
>
> compile:
>     [javac] Compiling 7 source files to <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/build>
>     [javac] Compiling 3 source files to <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/build>
>     [javac] Note: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java/src/JavaServer.java>
> uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>
> BUILD SUCCESSFUL
> Total time: 4 seconds
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/java'>
> Making all in js
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js'>
> /usr/bin/ant  compile
> Buildfile: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/build.xml>
>
> init:
>     [mkdir] Created dir: <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/build>
>
> compile:
>     [javac] Compiling 7 source files to <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/build>
>     [javac] Compiling 1 source file to <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/build>
>     [javac] Compiling 1 source file to <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/build>
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:51:
> warning: [deprecation] DefaultHttpServerConnection in org.apache.http.impl
> has been deprecated
>     [javac] import org.apache.http.impl.DefaultHttpServerConnection;
>     [javac]                            ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:53:
> warning: [deprecation] BasicHttpParams in org.apache.http.params has been
> deprecated
>     [javac] import org.apache.http.params.BasicHttpParams;
>     [javac]                              ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:54:
> warning: [deprecation] CoreConnectionPNames in org.apache.http.params has
> been deprecated
>     [javac] import org.apache.http.params.CoreConnectionPNames;
>     [javac]                              ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:55:
> warning: [deprecation] CoreProtocolPNames in org.apache.http.params has
> been deprecated
>     [javac] import org.apache.http.params.CoreProtocolPNames;
>     [javac]                              ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:56:
> warning: [deprecation] HttpParams in org.apache.http.params has been
> deprecated
>     [javac] import org.apache.http.params.HttpParams;
>     [javac]                              ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:58:
> warning: [deprecation] BasicHttpProcessor in org.apache.http.protocol has
> been deprecated
>     [javac] import org.apache.http.protocol.BasicHttpProcessor;
>     [javac]                                ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:62:
> warning: [deprecation] HttpRequestHandlerRegistry in
> org.apache.http.protocol has been deprecated
>     [javac] import org.apache.http.protocol.HttpRequestHandlerRegistry;
>     [javac]                                ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:177:
> warning: [deprecation] FileEntity(File,String) in FileEntity has been
> deprecated
>     [javac]                     FileEntity body = new FileEntity(file,
> "text/html");
>     [javac]                                       ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:197:
> warning: [rawtypes] found raw type: Processor
>     [javac]                 TProcessor processor = new
> Calculator.Processor(new CalculatorHandler());
>     [javac]                                                      ^
>     [javac]   missing type arguments for generic class Processor<I>
>     [javac]   where I is a type-variable:
>     [javac]     I extends Iface declared in class Processor
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:197:
> warning: [unchecked] unchecked call to Processor(I) as a member of the raw
> type Processor
>     [javac]                 TProcessor processor = new
> Calculator.Processor(new CalculatorHandler());
>     [javac]                                        ^
>     [javac]   where I is a type-variable:
>     [javac]     I extends Iface declared in class Processor
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:216:
> warning: [deprecation] HttpParams in org.apache.http.params has been
> deprecated
>     [javac]         private final HttpParams params;
>     [javac]                       ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:221:
> warning: [deprecation] BasicHttpParams in org.apache.http.params has been
> deprecated
>     [javac]             this.params = new BasicHttpParams();
>     [javac]                               ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:224:
> warning: [deprecation] CoreProtocolPNames in org.apache.http.params has
> been deprecated
>     [javac]
>  .setParameter(CoreProtocolPNames.ORIGIN_SERVER, "HttpComponents/1.1");
>     [javac]                                   ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:223:
> warning: [deprecation] CoreConnectionPNames in org.apache.http.params has
> been deprecated
>     [javac]
>  .setBooleanParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,
> false).setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, true)
>     [javac]
>                                                   ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:223:
> warning: [deprecation] CoreConnectionPNames in org.apache.http.params has
> been deprecated
>     [javac]
>  .setBooleanParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,
> false).setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, true)
>     [javac]                                          ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:222:
> warning: [deprecation] CoreConnectionPNames in org.apache.http.params has
> been deprecated
>     [javac]
>  this.params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT,
> 1000).setIntParameter(CoreConnectionPNames.SOCKET_BUFFER_SIZE, 8 * 1024)
>     [javac]
>                                 ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:222:
> warning: [deprecation] CoreConnectionPNames in org.apache.http.params has
> been deprecated
>     [javac]
>  this.params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT,
> 1000).setIntParameter(CoreConnectionPNames.SOCKET_BUFFER_SIZE, 8 * 1024)
>     [javac]                                         ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:227:
> warning: [deprecation] BasicHttpProcessor in org.apache.http.protocol has
> been deprecated
>     [javac]             HttpProcessor httpproc = new BasicHttpProcessor();
>     [javac]                                          ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:230:
> warning: [deprecation] HttpRequestHandlerRegistry in
> org.apache.http.protocol has been deprecated
>     [javac]             HttpRequestHandlerRegistry reqistry = new
> HttpRequestHandlerRegistry();
>     [javac]             ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:230:
> warning: [deprecation] HttpRequestHandlerRegistry in
> org.apache.http.protocol has been deprecated
>     [javac]             HttpRequestHandlerRegistry reqistry = new
> HttpRequestHandlerRegistry();
>     [javac]                                                       ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:234:
> warning: [deprecation]
> HttpService(HttpProcessor,ConnectionReuseStrategy,HttpResponseFactory) in
> HttpService has been deprecated
>     [javac]             this.httpService = new HttpService(httpproc, new
> NoConnectionReuseStrategy(), new DefaultHttpResponseFactory());
>     [javac]                                ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:235:
> warning: [deprecation] setParams(HttpParams) in HttpService has been
> deprecated
>     [javac]             this.httpService.setParams(this.params);
>     [javac]                             ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:236:
> warning: [deprecation] setHandlerResolver(HttpRequestHandlerResolver) in
> HttpService has been deprecated
>     [javac]             this.httpService.setHandlerResolver(reqistry);
>     [javac]                             ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:247:
> warning: [deprecation] DefaultHttpServerConnection in org.apache.http.impl
> has been deprecated
>     [javac]                     DefaultHttpServerConnection conn = new
> DefaultHttpServerConnection();
>     [javac]                     ^
>     [javac] <
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js/src/Httpd.java>:247:
> warning: [deprecation] DefaultHttpServerConnection in org.apache.http.impl
> has been deprecated
>     [javac]                     DefaultHttpServerConnection conn = new
> DefaultHttpServerConnection();
>     [javac]                                                            ^
>     [javac] 25 warnings
>
> BUILD SUCCESSFUL
> Total time: 4 seconds
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/js'>
> Making all in py
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py'>
> ../../compiler/cpp/thrift --gen py -r ../../tutorial/tutorial.thrift
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py'>
> Making all in py.twisted
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py.twisted'>
> ../../compiler/cpp/thrift --gen py:twisted -r
> ../../tutorial/tutorial.thrift
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py.twisted'>
> Making all in py.tornado
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py.tornado'>
> ../../compiler/cpp/thrift --gen py:tornado -r
> ../../tutorial/tutorial.thrift
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial/py.tornado'>
> make[3]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial'>
> ../compiler/cpp/thrift --gen html -r ../tutorial/tutorial.thrift
> make[3]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial'>
> make[2]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/tutorial'>
> make[2]: Entering directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/'>
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/'>
> make[1]: Leaving directory `<
> https://analysis.apache.org/jenkins/job/thrift/ws/'>
> + sonar-runner
> SonarQube Runner 2.4
> Java 1.7.0_65 Oracle Corporation (64-bit)
> Linux 3.2.0-98-generic amd64
> INFO: Runner configuration file:
> /x1/jenkins/sonar-runner/conf/sonar-runner.properties
> INFO: Project configuration file: <
> https://analysis.apache.org/jenkins/job/thrift/ws/sonar-project.properties
> >
> INFO: Default locale: "en_US", source code encoding: "UTF-8"
> INFO: Work directory: <
> https://analysis.apache.org/jenkins/job/thrift/ws/./.sonar>
> INFO: SonarQube Server 5.1
> 18:36:57.987 INFO  - Load global repositories
> 18:36:58.362 INFO  - Load global repositories (done) | time=377ms
> 18:36:58.364 INFO  - Server id: 20160202074513
> 18:36:58.367 INFO  - User cache: /home/jenkins/.sonar/cache
> 18:36:58.389 INFO  - Install plugins
> 18:36:58.903 INFO  - Install JDBC driver
> 18:36:58.945 INFO  - Create JDBC datasource for
> jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
> INFO:
> ------------------------------------------------------------------------
> INFO: EXECUTION FAILURE
> INFO:
> ------------------------------------------------------------------------
> Total time: 4.546s
> Final Memory: 7M/120M
> INFO:
> ------------------------------------------------------------------------
> ERROR: Error during Sonar runner execution
> ERROR: Unable to execute Sonar
> ERROR: Caused by: Fail to connect to database
> ERROR: Caused by: Cannot create PoolableConnectionFactory (Access denied
> for user 'sonar'@'localhost' (using password: YES))
> ERROR: Caused by: Access denied for user 'sonar'@'localhost' (using
> password: YES)
> ERROR:
> ERROR: To see the full stack trace of the errors, re-run SonarQube Runner
> with the -e switch.
> ERROR: Re-run SonarQube Runner using the -X switch to enable full debug
> logging.
> Build step 'Execute shell' marked build as failure
>

Reply via email to