Tyson Hamilton created BEAM-11961:
-------------------------------------
Summary: InfluxDBIOIT failing with unauthorized error
Key: BEAM-11961
URL: https://issues.apache.org/jira/browse/BEAM-11961
Project: Beam
Issue Type: Bug
Components: test-failures
Reporter: Tyson Hamilton
InfluxDBIOIT failing with unauthorized. It's perma-red.
e.g.
[https://ci-beam.apache.org/job/beam_PerformanceTests_InfluxDbIO_IT/152/consoleFull]
{code:java}
{code}
**
{code:java}
04:17:52 Watching 873 directories to track changes
04:17:52 Watching 873 directories to track changes
04:17:52 Watching 873 directories to track changes
04:17:52 Watching 873 directories to track changes
04:17:52 Custom actions are attached to task
':sdks:java:io:influxdb:integrationTest'.
04:17:52 Build cache key for task ':sdks:java:io:influxdb:integrationTest' is
0227b806b33400291274f014c0269402
04:17:52 Task ':sdks:java:io:influxdb:integrationTest' is not up-to-date
because:
04:17:52 Task.upToDateWhen is false.
04:17:52 Watching 873 directories to track changes
04:17:52 Watching 873 directories to track changes
04:17:52 Starting process 'Gradle Test Executor 1'. Working directory:
/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_InfluxDbIO_IT/src/sdks/java/io/influxdb
Command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java
-DbeamTestPipelineOptions=["--influxDBURL=
{code}
{code:java}
{code}
[http://35.222.142.9:8086","--influxDBUserName=superadmin","--influxDBPassword=supersecretpassword","--databaseName=db1|http://35.222.142.9:8086","--influxDBUserName=superadmin","--influxDBPassword=supersecretpassword","--databaseName=db1/]
{code:java}
"]
-Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager
-Dorg.gradle.native=false -Xmx2g -Dfile.encoding=UTF-8 -Duser.country=US
-Duser.language=en -Duser.variant -ea -cp
/home/jenkins/.gradle/caches/6.8/workerMain/gradle-worker.jar
worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test
Executor 1'
04:17:52 Successfully started process 'Gradle Test Executor 1'
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT STANDARD_ERROR
04:17:52 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
04:17:52 SLF4J: Defaulting to no-operation (NOP) logger implementation
04:17:52 SLF4J: See
{code}
[http://www.slf4j.org/codes.html#StaticLoggerBinder]
{code:java}
for further details.
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT >
testWriteAndReadWithMultipleMetric FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT >
testZeroRecordFormNonExistentMetric FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT >
testWriteAndReadWithSingleMetricWithCustomRetentionPolicy FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT > testWriteAndRead FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT >
testWriteAndReadWithSQLForMultipleMetric FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 Gradle Test Executor 1 finished executing tests.
04:17:52
04:17:52 >
{code}
*Task :sdks:java:io:influxdb:integrationTest*
{code:java}
FAILED
04:17:52
04:17:52 org.apache.beam.sdk.io.influxdb.InfluxDbIOIT >
testWriteAndReadWithSingleMetric FAILED
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.initTest(InfluxDbIOIT.java:99)
04:17:52
04:17:52 org.influxdb.InfluxDBException:
{"code":"unauthorized","message":"Unauthorized"}
04:17:52 at
org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:175)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:832)
04:17:52 at
org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:819)
04:17:52 at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:554)
04:17:52 at
org.apache.beam.sdk.io.influxdb.InfluxDbIOIT.clear(InfluxDbIOIT.java:88)
04:17:52
04:17:52 6 tests completed, 6 failed{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)