You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by Dominik Riemer <do...@bytefabrik.ai> on 2023/01/10 20:42:45 UTC

[DISCUSS][VOTE] Apache StreamPipes 0.90.0 RC1 release

Hi,

this thread is to discuss issues around the 0.90.0 release vote.

@Lukas, thanks for testing the release!
I tried to reproduce your error by running the build under WSL Ubuntu 22.04 with OpenJDK 18.0.2ea and the build works fine.

Do you have any special setup so that we can investigate the issue? Did you get any further output for the tests that are failing? For some background, the integration test module makes use of testcontainers [1] and downloads some Docker images during the build process - so maybe the failed build is related to some download issue instead of failing tests?

Cheers
Dominik

[1] https://www.testcontainers.org/



Re: [DISCUSS][VOTE] Apache StreamPipes 0.90.0 RC1 release

Posted by Lukas Ott <ot...@gmail.com>.
Hi,

Dominik and I investigated:

I can build as root user. So my Docker installation is not configured
correctly to work with a non-root user.

No breaker for the release in my humble opinion.

Cheers,
Luk

Am Di., 10. Jan. 2023 um 22:06 Uhr schrieb Lukas Ott <ott.lukas.14@gmail.com
>:

> Hi,
>
> Extended Error Log:
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   AdaptersTest.testPulsarAdapter:39->testAdapter:29 » IllegalState
> Could not fin...
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache StreamPipes 0.90.0:
> [INFO]
> [INFO] Apache StreamPipes ................................. SUCCESS [
> 10.149 s]
> [INFO] streampipes-archetype-extensions-jvm ............... SUCCESS [
>  3.428 s]
> [INFO] StreamPipes Integration Tests ...................... FAILURE [
>  3.087 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  08:57 min
> [INFO] Finished at: 2023-01-10T21:56:15+01:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
> on project streampipes-integration-tests: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
> for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
> (default-test) on project streampipes-integration-tests: There are test
> failures.
> Please refer to
> /home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
> for the individual test results.
> Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:215)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke
> (DirectMethodHandleAccessor.java:104)
>     at java.lang.reflect.Method.invoke (Method.java:577)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>
> Please refer to
> /home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
> for the individual test results.
> Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
>     at org.apache.maven.plugin.surefire.SurefireHelper.throwException
> (SurefireHelper.java:289)
>     at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution
> (SurefireHelper.java:161)
>     at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary
> (SurefirePlugin.java:364)
>     at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
> (AbstractSurefireMojo.java:1041)
>     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute
> (AbstractSurefireMojo.java:857)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>
>     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke
> (DirectMethodHandleAccessor.java:104)
>     at java.lang.reflect.Method.invoke (Method.java:577)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <args> -rf :streampipes-integration-tests
>
> ---------------------------------------
>
> Docker version 20.10.21, build baeda1f
> docker-compose version 1.29.2, build unknown
> ---------------------------------------------
>
> -------------------------------------------------------------------------------
> Test set: org.apache.streampipes.integration.adapters.AdaptersTest
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.625 s
> <<< FAILURE! - in org.apache.streampipes.integration.adapters.AdaptersTest
> testPulsarAdapter(org.apache.streampipes.integration.adapters.AdaptersTest)
>  Time elapsed: 0.553 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker
> environment. Please see logs and check configuration
> at
> org.apache.streampipes.integration.adapters.AdaptersTest.testAdapter(AdaptersTest.java:29)
> at
> org.apache.streampipes.integration.adapters.AdaptersTest.testPulsarAdapter(AdaptersTest.java:39)
>
> --------------------------------------------------------------------
>
> Am Di., 10. Jan. 2023 um 21:42 Uhr schrieb Dominik Riemer <
> dominik.riemer@bytefabrik.ai>:
>
>> Hi,
>>
>> this thread is to discuss issues around the 0.90.0 release vote.
>>
>> @Lukas, thanks for testing the release!
>> I tried to reproduce your error by running the build under WSL Ubuntu
>> 22.04 with OpenJDK 18.0.2ea and the build works fine.
>>
>> Do you have any special setup so that we can investigate the issue? Did
>> you get any further output for the tests that are failing? For some
>> background, the integration test module makes use of testcontainers [1] and
>> downloads some Docker images during the build process - so maybe the failed
>> build is related to some download issue instead of failing tests?
>>
>> Cheers
>> Dominik
>>
>> [1] https://www.testcontainers.org/
>>
>>
>>

Re: [DISCUSS][VOTE] Apache StreamPipes 0.90.0 RC1 release

Posted by Lukas Ott <ot...@gmail.com>.
Hi,

Extended Error Log:
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   AdaptersTest.testPulsarAdapter:39->testAdapter:29 » IllegalState
Could not fin...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache StreamPipes 0.90.0:
[INFO]
[INFO] Apache StreamPipes ................................. SUCCESS [
10.149 s]
[INFO] streampipes-archetype-extensions-jvm ............... SUCCESS [
 3.428 s]
[INFO] StreamPipes Integration Tests ...................... FAILURE [
 3.087 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  08:57 min
[INFO] Finished at: 2023-01-10T21:56:15+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
on project streampipes-integration-tests: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
(default-test) on project streampipes-integration-tests: There are test
failures.
Please refer to
/home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
for the individual test results.
Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke
(DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:577)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

Please refer to
/home/luk/Downloads/streampipes/apache-streampipes-0.90.0/streampipes-integration-tests/target/surefire-reports
for the individual test results.
Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException
(SurefireHelper.java:289)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution
(SurefireHelper.java:161)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary
(SurefirePlugin.java:364)
    at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
(AbstractSurefireMojo.java:1041)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute
(AbstractSurefireMojo.java:857)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)

    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)

    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke
(DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:577)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <args> -rf :streampipes-integration-tests

---------------------------------------

Docker version 20.10.21, build baeda1f
docker-compose version 1.29.2, build unknown
---------------------------------------------
-------------------------------------------------------------------------------
Test set: org.apache.streampipes.integration.adapters.AdaptersTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.625 s <<<
FAILURE! - in org.apache.streampipes.integration.adapters.AdaptersTest
testPulsarAdapter(org.apache.streampipes.integration.adapters.AdaptersTest)
 Time elapsed: 0.553 s  <<< ERROR!
java.lang.IllegalStateException: Could not find a valid Docker environment.
Please see logs and check configuration
at
org.apache.streampipes.integration.adapters.AdaptersTest.testAdapter(AdaptersTest.java:29)
at
org.apache.streampipes.integration.adapters.AdaptersTest.testPulsarAdapter(AdaptersTest.java:39)

--------------------------------------------------------------------

Am Di., 10. Jan. 2023 um 21:42 Uhr schrieb Dominik Riemer <
dominik.riemer@bytefabrik.ai>:

> Hi,
>
> this thread is to discuss issues around the 0.90.0 release vote.
>
> @Lukas, thanks for testing the release!
> I tried to reproduce your error by running the build under WSL Ubuntu
> 22.04 with OpenJDK 18.0.2ea and the build works fine.
>
> Do you have any special setup so that we can investigate the issue? Did
> you get any further output for the tests that are failing? For some
> background, the integration test module makes use of testcontainers [1] and
> downloads some Docker images during the build process - so maybe the failed
> build is related to some download issue instead of failing tests?
>
> Cheers
> Dominik
>
> [1] https://www.testcontainers.org/
>
>
>