Build failed in Jenkins: Kafka » Kafka Branch Builder » 3.4 #129

2023-05-13 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 524860 lines...]
[2023-05-13T14:58:35.106Z] [INFO] Scanning for projects...
[2023-05-13T14:58:35.106Z] [INFO] 

[2023-05-13T14:58:35.106Z] [INFO] Reactor Build Order:
[2023-05-13T14:58:35.106Z] [INFO] 
[2023-05-13T14:58:35.106Z] [INFO] Kafka Streams :: Quickstart   
 [pom]
[2023-05-13T14:58:35.106Z] [INFO] streams-quickstart-java   
 [maven-archetype]
[2023-05-13T14:58:35.106Z] [INFO] 
[2023-05-13T14:58:35.106Z] [INFO] < 
org.apache.kafka:streams-quickstart >-
[2023-05-13T14:58:35.106Z] [INFO] Building Kafka Streams :: Quickstart 
3.4.1-SNAPSHOT[1/2]
[2023-05-13T14:58:35.106Z] [INFO]   from pom.xml
[2023-05-13T14:58:35.106Z] [INFO] [ pom 
]-
[2023-05-13T14:58:35.106Z] [INFO] 
[2023-05-13T14:58:35.106Z] [INFO] --- clean:3.0.0:clean (default-clean) @ 
streams-quickstart ---
[2023-05-13T14:58:36.305Z] [INFO] 
[2023-05-13T14:58:36.305Z] [INFO] --- remote-resources:1.5:process 
(process-resource-bundles) @ streams-quickstart ---
[2023-05-13T14:58:36.305Z] [INFO] 
[2023-05-13T14:58:36.305Z] [INFO] --- site:3.5.1:attach-descriptor 
(attach-descriptor) @ streams-quickstart ---
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --- gpg:1.6:sign (sign-artifacts) @ 
streams-quickstart ---
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --- install:2.5.2:install (default-install) @ 
streams-quickstart ---
[2023-05-13T14:58:39.557Z] [INFO] Installing 
/home/jenkins/workspace/Kafka_kafka_3.4/streams/quickstart/pom.xml to 
/home/jenkins/.m2/repository/org/apache/kafka/streams-quickstart/3.4.1-SNAPSHOT/streams-quickstart-3.4.1-SNAPSHOT.pom
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --< 
org.apache.kafka:streams-quickstart-java >--
[2023-05-13T14:58:39.557Z] [INFO] Building streams-quickstart-java 
3.4.1-SNAPSHOT[2/2]
[2023-05-13T14:58:39.557Z] [INFO]   from java/pom.xml
[2023-05-13T14:58:39.557Z] [INFO] --[ maven-archetype 
]---
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --- clean:3.0.0:clean (default-clean) @ 
streams-quickstart-java ---
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --- remote-resources:1.5:process 
(process-resource-bundles) @ streams-quickstart-java ---
[2023-05-13T14:58:39.557Z] [INFO] 
[2023-05-13T14:58:39.557Z] [INFO] --- resources:2.7:resources 
(default-resources) @ streams-quickstart-java ---
[2023-05-13T14:58:40.583Z] [INFO] Using 'UTF-8' encoding to copy filtered 
resources.
[2023-05-13T14:58:40.583Z] [INFO] Copying 6 resources
[2023-05-13T14:58:40.583Z] [INFO] Copying 3 resources
[2023-05-13T14:58:40.583Z] [INFO] 
[2023-05-13T14:58:40.583Z] [INFO] --- resources:2.7:testResources 
(default-testResources) @ streams-quickstart-java ---
[2023-05-13T14:58:40.583Z] [INFO] Using 'UTF-8' encoding to copy filtered 
resources.
[2023-05-13T14:58:40.583Z] [INFO] Copying 2 resources
[2023-05-13T14:58:40.583Z] [INFO] Copying 3 resources
[2023-05-13T14:58:40.583Z] [INFO] 
[2023-05-13T14:58:40.583Z] [INFO] --- archetype:2.2:jar (default-jar) @ 
streams-quickstart-java ---
[2023-05-13T14:58:41.609Z] [INFO] Building archetype jar: 
/home/jenkins/workspace/Kafka_kafka_3.4/streams/quickstart/java/target/streams-quickstart-java-3.4.1-SNAPSHOT
[2023-05-13T14:58:41.609Z] [INFO] 
[2023-05-13T14:58:41.609Z] [INFO] --- site:3.5.1:attach-descriptor 
(attach-descriptor) @ streams-quickstart-java ---
[2023-05-13T14:58:41.609Z] [INFO] 
[2023-05-13T14:58:41.609Z] [INFO] --- archetype:2.2:integration-test 
(default-integration-test) @ streams-quickstart-java ---
[2023-05-13T14:58:41.609Z] [INFO] 
[2023-05-13T14:58:41.609Z] [INFO] --- gpg:1.6:sign (sign-artifacts) @ 
streams-quickstart-java ---
[2023-05-13T14:58:41.609Z] [INFO] 
[2023-05-13T14:58:41.609Z] [INFO] --- install:2.5.2:install (default-install) @ 
streams-quickstart-java ---
[2023-05-13T14:58:41.609Z] [INFO] Installing 
/home/jenkins/workspace/Kafka_kafka_3.4/streams/quickstart/java/target/streams-quickstart-java-3.4.1-SNAPSHOT.jar
 to 
/home/jenkins/.m2/repository/org/apache/kafka/streams-quickstart-java/3.4.1-SNAPSHOT/streams-quickstart-java-3.4.1-SNAPSHOT.jar
[2023-05-13T14:58:42.635Z] [INFO] Installing 
/home/jenkins/workspace/Kafka_kafka_3.4/streams/quickstart/java/pom.xml to 
/home/jenkins/.m2/repository/org/apache/kafka/streams-quickstart-java/3.4.1-SNAPSHOT/streams-quickstart-java-3.4.1-SNAPSHOT.pom
[2023-05-13T14:58:42.635Z] [INFO] 
[2023-05-13T14:58:42.635Z] [INFO] --- archetype:2.2:update-local-catalog 
(default-update-local-catalog) @ 

[jira] [Created] (KAFKA-14997) JmxToolTest failing with initializationError

2023-05-13 Thread Sagar Rao (Jira)
Sagar Rao created KAFKA-14997:
-

 Summary: JmxToolTest failing with initializationError
 Key: KAFKA-14997
 URL: https://issues.apache.org/jira/browse/KAFKA-14997
 Project: Kafka
  Issue Type: Bug
Reporter: Sagar Rao
Assignee: Federico Valeri


Noticed that JmxToolTest fails with 

```
h4. Error
java.io.IOException: Cannot bind to URL [rmi://:44743/jmxrmi]: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 40.117.157.99; nested 
exception is: 
 java.net.ConnectException: Connection timed out (Connection timed out)]
h4. Stacktrace
java.io.IOException: Cannot bind to URL [rmi://:44743/jmxrmi]: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 40.117.157.99; nested 
exception is: 
 java.net.ConnectException: Connection timed out (Connection timed out)]
 at 
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)
 at 
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)
 at org.apache.kafka.tools.JmxToolTest.startJmxAgent(JmxToolTest.java:337)
 at org.apache.kafka.tools.JmxToolTest.beforeAll(JmxToolTest.java:55)
 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:498)
 at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
 at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
 at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
 at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
 at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
 at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:70)
 at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
 at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
 at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
 at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
 at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
 at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
 at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
 at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
 at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$13(ClassBasedTestDescriptor.java:411)
 at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
 at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:409)
 at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:215)
 at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
 at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
 at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
 at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
 at java.util.ArrayList.forEach(ArrayList.java:1259)
 at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
 at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
 at 

Re: Test failures

2023-05-13 Thread Sagar
Hey Greg,

I see https://issues.apache.org/jira/browse/KAFKA-14905 is marked as
resolved but I saw testSyncTopicConfigs() failed in
org.apache.kafka.connect.mirror.integration.MirrorConnectorsWithCustomForwardingAdminIntegrationTest.
Here is the build :

https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-13453/6/tests
.

Do you think this is a flaky test which needs to be looked at?

Thanks!
Sagar.

On Thu, Apr 27, 2023 at 2:05 AM Ismael Juma  wrote:

> Thanks!
>
> Ismael
>
> On Wed, Apr 26, 2023, 9:12 AM Sagar  wrote:
>
> > Hi,
> >
> > FYI the pr which fixes the flaky test for connect is merged to trunk
> >
> > Sagar.
> >
> > On Wed, 26 Apr 2023 at 2:45 AM, Manyanda Chitimbo <
> > manyanda.chiti...@gmail.com> wrote:
> >
> > > HI Ismail,
> > >
> > > There is a PR to fix the failure in
> > > https://github.com/apache/kafka/pull/13634
> > >
> > > On Tue, Apr 25, 2023 at 9:40 PM Ismael Juma  wrote:
> > >
> > > > I was looking at the CI builds and I came across the following test
> > > failure
> > > > that seems to be clear and consistent:
> > > >
> > > > org.mockito.exceptions.verification.TooFewActualInvocations:
> > > > kafkaBasedLog.send(, , );
> > > > Wanted 2 times:
> > > > -> at
> > > >
> > org.apache.kafka.connect.util.KafkaBasedLog.send(KafkaBasedLog.java:376)
> > > > But was 1 time:
> > > > -> at
> > > >
> > >
> >
> org.apache.kafka.connect.storage.KafkaStatusBackingStore.sendTopicStatus(KafkaStatusBackingStore.java:315)
> > > >
> > > >
> > > >
> > >
> >
> https://ci-builds.apache.org/job/Kafka/job/kafka/job/trunk/1795/testReport/junit/org.apache.kafka.connect.storage/KafkaStatusBackingStoreFormatTest/Build___JDK_11_and_Scala_2_13___putTopicStateRetriableFailure/
> > > >
> > > > :(
> > > >
> > > > Ismael
> > > >
> > > > On Fri, Apr 21, 2023 at 5:39 PM Sagar 
> > wrote:
> > > >
> > > > > Hi Greg,
> > > > >
> > > > > The fix for 14929 has already been included as part of this pr :
> > > > > https://github.com/apache/kafka/pull/13594
> > > > >
> > > > > I can create a separate pr just for that flaky test if needed. Let
> me
> > > > know
> > > > > .
> > > > >
> > > > > Sagar.
> > > > >
> > > > > On Sat, 22 Apr 2023 at 3:20 AM, Greg Harris
> > >  > > > >
> > > > > wrote:
> > > > >
> > > > > > Hey all,
> > > > > >
> > > > > > We just landed a fix for
> > > > > https://issues.apache.org/jira/browse/KAFKA-14905
> > > > > > which was causing all of
> > > > > > those MirrorConnectorsWithCustomForwardingAdminIntegrationTest
> > > > failures,
> > > > > > and we will monitor the build for any re-occurrances.
> > > > > > Unfortunately we discovered another test flake that was
> introduced
> > > > > recently
> > > > > > but that should have a straightforward resolution:
> > > > > > https://issues.apache.org/jira/browse/KAFKA-14929
> > > > > > Thanks Ismael for merging a fix for
> > > > > > https://issues.apache.org/jira/browse/KAFKA-8115 but it appears
> > that
> > > > > there
> > > > > > is still more investigation needed there, as the test is still
> > > failing
> > > > > > occasionally.
> > > > > >
> > > > > > Thanks,
> > > > > > Greg
> > > > > >
> > > > > > On Fri, Apr 14, 2023 at 12:18 PM Ismael Juma 
> > > > wrote:
> > > > > >
> > > > > > > Thanks Greg! I really appreciate the help.
> > > > > > >
> > > > > > > Ismael
> > > > > > >
> > > > > > > On Fri, Apr 14, 2023 at 12:08 PM Greg Harris
> > > > > >  > > > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hey Ismael,
> > > > > > > >
> > > > > > > > We're working to stabilize the Connect/MM2 tests with the
> > > following
> > > > > > > issues:
> > > > > > > >
> > > > > > > > * https://issues.apache.org/jira/browse/KAFKA-14905 to
> address
> > > > > > > > MirrorConectorsWithCustomForwardingAdminIntegrationTest with
> > > > > tentative
> > > > > > > open
> > > > > > > > PR
> > > > > > > > * https://issues.apache.org/jira/browse/KAFKA-14901 to
> address
> > > > > > > > ExactlyOnceSourceIntegrationTest caused by an (apparent)
> kafka
> > > bug
> > > > > > > >
> > > > > > > > Looking at the other failures in Connect/MM2 for that build
> in
> > > > > > > particular,
> > > > > > > > it appears that most of them include Embedded Kafka not
> coming
> > > > > > > up/shutting
> > > > > > > > down cleanly:
> > > > > > > > * MirrorConnectorsIntegrationBaseTest
> > > > > > > > * MirrorConnectorsIntegrationExactlyOnceTest
> > > > > > > > * MirrorConnectorsIntegrationSSLTest
> > > > > > > > * ConnectorClientPolicyIntegrationTest
> > > > > > > > * ConnectorTopicsIntegrationTest
> > > > > > > > * ExactlyOnceSourceIntegrationTest
> > > > > > > > * OffsetsApiIntegrationTest
> > > > > > > > I'll start investigating these failures to learn more.
> > > > > > > >
> > > > > > > > I also have a few older flaky test improvements that have not
> > > been
> > > > > > > reviewed
> > > > > > > > or merged yet:
> > > > > > > > * https://issues.apache.org/jira/browse/KAFKA-8115 to
> > > > > > > > address CoordinatorTest (reappeared in the linked 

[jira] [Resolved] (KAFKA-14994) jose4j is vulnerable to CVE- Improper Cryptographic Algorithm

2023-05-13 Thread Atul Sharma (Jira)


 [ 
https://issues.apache.org/jira/browse/KAFKA-14994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Atul Sharma resolved KAFKA-14994.
-
Resolution: Fixed

>  jose4j is vulnerable to CVE- Improper Cryptographic Algorithm
> --
>
> Key: KAFKA-14994
> URL: https://issues.apache.org/jira/browse/KAFKA-14994
> Project: Kafka
>  Issue Type: Bug
>Affects Versions: 3.4.0
>Reporter: Gaurav Jetly
>Assignee: Atul Sharma
>Priority: Major
>  Labels: Security
> Fix For: 3.6.0
>
>
> Jose4j has the following vulnerability with high score of 7.1. 
> jose4j is vulnerable to Improper Cryptographic Algorithm. The vulnerability 
> exists due to the way `RSA1_5` and `RSA_OAEP` is implemented, allowing an 
> attacker to decrypt `RSA1_5` or `RSA_OAEP` encrypted ciphertexts, and in 
> addition, it may be feasible to sign with affected keys.
> Please help upgrade the library to latest version
> Current version in use: 0.7.9
> Latest version with the fix: 0.9.3
> CVE-
> - Improper Cryptographic Algorithm
> - Severity: HIGH
> - CVSS: 7.1
> - Disclosure Date: 07 Feb 2023 19:00PM EST
> - Vulnerability Info: 
> https://sca.analysiscenter.veracode.com/vulnerability-database/vulnerabilities/40398



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Jenkins build is still unstable: Kafka » Kafka Branch Builder » trunk #1847

2023-05-13 Thread Apache Jenkins Server
See