Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convenient way to get rarely fetched and locally used OSGi services #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Add ServiceCaller.use() methods to simply obtain rarely used services

9af7f34
Select commit
Loading
Failed to load commit list.
Open

Add convenient way to get rarely fetched and locally used OSGi services #146

Add ServiceCaller.use() methods to simply obtain rarely used services
9af7f34
Select commit
Loading
Failed to load commit list.
Jenkins - Eclipse Equinox / Code Analysis failed May 3, 2024 in 1m 7s

Build: error in 'junit' step

Build / Shell Script

Error in sh step, with arguments mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=/home/jenkins/agent/workspace/equinox_PR-146/.m2/repository -Pbree-libs -Papi-check -Pjavadoc -Dcompare-version-with-baselines.skip=false -Dproject.build.sourceEncoding=UTF-8 -Drt.equinox.binaries.loc=/home/jenkins/agent/workspace/equinox_PR-146/rt.equinox.binaries .

script returned exit code 1
Build log
+ mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=/home/jenkins/agent/workspace/equinox_PR-146/.m2/repository -Pbree-libs -Papi-check -Pjavadoc -Dcompare-version-with-baselines.skip=false -Dproject.build.sourceEncoding=UTF-8 -Drt.equinox.binaries.loc=/home/jenkins/agent/workspace/equinox_PR-146/rt.equinox.binaries
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /opt/tools/apache-maven/latest
Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /opt/tools/java/temurin/jdk-17/jdk-17.0.10+7
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.2.9-300.fc38.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox:org.eclipse.equinox.common.tests:eclipse-test-plugin:3.16.100-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox:org.eclipse.equinox.ds.tests:eclipse-test-plugin:1.6.400-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox:org.eclipse.equinox.app:eclipse-plugin:1.6.300-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing.
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox:org.eclipse.equinox.http.servlet.tests:eclipse-test-plugin:1.8.500-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] Tycho Version:  4.0.2 (d1245889ae2522a3057c2300142b212c6c7c60c8)
[INFO] Tycho Mode:     extension
[INFO] Tycho Builder:  maven
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] parent                                                             [pom]
[INFO] [aggregator] features                                              [pom]
[INFO] org.eclipse.osgi                                        [eclipse-plugin]
[INFO] [bundle] OSGi Release 4.2.0 Services                    [eclipse-plugin]
[INFO] [bundle] Supplemental Equinox Functionality             [eclipse-plugin]
[INFO] [bundle] Common Eclipse Runtime                         [eclipse-plugin]
[INFO] [bundle] Extension Registry Support                     [eclipse-plugin]
[INFO] [bundle] Equinox Application Container                  [eclipse-plugin]
[INFO] [bundle] User Admin Service                             [eclipse-plugin]
[INFO] [bundle] Event Admin                                    [eclipse-plugin]
[INFO] [bundle] Meta Type                                      [eclipse-plugin]
[INFO] [bundle] Eclipse Preferences Mechanism                  [eclipse-plugin]
[INFO] [bundle] Configuration Admin                            [eclipse-plugin]
[INFO] [bundle] Device Access Service                          [eclipse-plugin]
[INFO] [bundle] Coordinator                                    [eclipse-plugin]
[INFO] [feature] Equinox Compendium SDK                       [eclipse-feature]
[INFO] [bundle] OSGi Release 4.2.0 Utility Classes             [eclipse-plugin]
[INFO] [bundle] Console plug-in                                [eclipse-plugin]
[INFO] [bundle] Equinox State and Resolver Compatibility Fragment [eclipse-plugin]
[INFO] [feature] Equinox Core Function                        [eclipse-feature]
[INFO] org.eclipse.equinox.security                            [eclipse-plugin]
[INFO] org.eclipse.equinox.security.linux                      [eclipse-plugin]
[INFO] [bundle] Region Digraph                                 [eclipse-plugin]
[INFO] [bundle] Aspect Weaving Hooks Plug-in                   [eclipse-plugin]
[INFO] [bundle] Standard Caching Service for Equinox Aspects   [eclipse-plugin]
[INFO] [bundle] Log Stream Provider                            [eclipse-plugin]
[INFO] [bundle] Console ssh support plug-in                    [eclipse-plugin]
[INFO] org.eclipse.equinox.security.macosx                     [eclipse-plugin]
[INFO] [bundle] Transformer Hook Framework Extension           [eclipse-plugin]
[INFO] [bundle] Equinox Security Default UI                    [eclipse-plugin]
[INFO] [bundle] XSLT Transform Provider                        [eclipse-plugin]
[INFO] [bundle] Bidirectional Text Support                     [eclipse-plugin]
[INFO] [bundle] Equinox Concurrent API                         [eclipse-plugin]
[INFO] org.eclipse.equinox.security.win32.x86_64               [eclipse-plugin]
[INFO] [bundle] Equinox Launcher                               [eclipse-plugin]
[INFO] [bundle] J9 CachingService Plug-in                      [eclipse-plugin]
[INFO] [bundle] SSHD Fragment                                  [eclipse-plugin]
[INFO] [feature] Equinox Core SDK                             [eclipse-feature]
[INFO] [bundle] Equinox Launcher Linux PPC64le Fragment        [eclipse-plugin]
[INFO] [bundle] Equinox Launcher MacOSX Cocoa AARCH64/ARM64 Fragment [eclipse-plugin]
[INFO] [bundle] Equinox Launcher Win32 X86_64 Fragment         [eclipse-plugin]
[INFO] [bundle] Equinox Launcher MacOSX Cocoa Fragment         [eclipse-plugin]
[INFO] [bundle] Equinox Launcher Linux X86_64 Fragment         [eclipse-plugin]
[INFO] [bundle] Equinox Launcher Linux AARCH64 Fragment        [eclipse-plugin]
[INFO] [bundle] Equinox Launcher MacOSX Cocoa AARCH64/ARM64 Fragment [eclipse-plugin]
[INFO] org.eclipse.equinox.executable                         [eclipse-feature]
[INFO] [bundle] Http Services Servlet                          [eclipse-plugin]
[INFO] [bundle] Jetty Http Service                             [eclipse-plugin]
[INFO] [feature] Jetty Http Server Feature                    [eclipse-feature]
[INFO] [bundle] Jasper Jsp Support Bundle                      [eclipse-plugin]
[INFO] [bundle] Http Service Registry Extensions               [eclipse-plugin]
[INFO] [feature] Core Server Feature                          [eclipse-feature]
[INFO] [bundle] Jasper Jsp Registry Support Plug-in            [eclipse-plugin]
[INFO] [bundle] Servletbridge                                  [eclipse-plugin]
[INFO] [bundle] Servletbridge Http Service                     [eclipse-plugin]
[INFO] [feature] Equinox Target Components                    [eclipse-feature]
[INFO] [feature] Simple Http Server Feature                   [eclipse-feature]
[INFO] [test-bundle] BiDi tests                           [eclipse-test-plugin]
[INFO] [test-bundle] Test Plug-in                         [eclipse-test-plugin]
[INFO] [test-bundle] Common Eclipse Runtime Tests         [eclipse-test-plugin]
[INFO] [test-bundle] Declarative Services Tests           [eclipse-test-plugin]
[INFO] [test-bundle] Preferences Tests                    [eclipse-test-plugin]
[INFO] [test-bundle] Equinox security tests               [eclipse-test-plugin]
[INFO] [test-bundle] Ssh Tests                            [eclipse-test-plugin]
[INFO] [test-bundle] Console tests                        [eclipse-test-plugin]
[INFO] [test-bundle] org.eclipse.equinox.http.servlet.tests [eclipse-test-plugin]
[INFO] [bundle] slf4j Stub                                     [eclipse-plugin]
[INFO] org.eclipse.osgi.tests                             [eclipse-test-plugin]
[INFO] 
[INFO] ---------------------< org.eclipse.equinox:parent >---------------------
[INFO] Building parent 4.29.0-SNAPSHOT                                   [1/68]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.3.1:clean (default-clean) @ parent ---
[INFO] 
[INFO] --- resources:3.3.1:copy-resources (saveproperties) @ parent ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/equinox_PR-146/saveproperties
[INFO] 
[INFO] --- enforcer:3.4.0:enforce (enforce-maven) @ parent ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- resources:3.3.1:resources (filter-resources) @ parent ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/equinox_PR-146/src/main/resources
[INFO] 
[INFO] --- tycho-apitools:4.0.2:generate (generate) @ parent ---
[INFO] 
[INFO] --- tycho-source:4.0.2:plugin-source (plugin-source) @ parent ---
[INFO] 
[INFO] --- tycho-source:4.0.2:feature-source (feature-source) @ parent ---
[INFO] 
[INFO] --- tycho-p2:4.0.2:p2-metadata (attach-p2-metadata) @ parent ---
[INFO] 
[INFO] --- javadoc:3.0.1:jar (attach-javadocs) @ parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- tycho-p2-extras:4.0.2:compare-version-with-baselines (compare-attached-artifacts-with-release) @ parent ---
[WARNING]  Parameter 'comparator' is read-only, must not be used in configuration
[INFO] 
[INFO] --- tycho-apitools:4.0.2:verify (verify) @ parent ---
[INFO] 
[INFO] --------------------< org.eclipse.equinox:features >--------------------
[INFO] Building [aggregator] features 4.29.0-SNAPSHOT                    [2/68]
[INFO]   from features/.polyglot.pom.tycho
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.3.1:clean (default-clean) @ features ---
[INFO] 
[INFO] --- resources:3.3.1:copy-resources (saveproperties) @ features ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/equinox_PR-146/features/saveproperties
[INFO] 
[INFO] --- enforcer:3.4.0:enforce (enforce-maven) @ features ---
[INFO] 
[INFO] --- resources:3.3.1:resources (filter-resources) @ features ---
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/equinox_PR-146/features/src/main/resources
[INFO] 
[INFO] --- tycho-apitools:4.0.2:generate (generate) @ features ---
[INFO] 
[INFO] --- tycho-source:4.0.2:plugin-source (plugin-source) @ features ---
[INFO] 
[INFO] --- tycho-source:4.0.2:feature-source (feature-source) @ features ---
[INFO] 
[INFO] --- tycho-p2:4.0.2:p2-metadata (attach-p2-metadata) @ features ---
[INFO] 
[INFO] --- javadoc:3.0.1:jar (attach-javadocs) @ features ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- tycho-p2-extras:4.0.2:compare-version-with-baselines (compare-attached-artifacts-with-release) @ features ---
[WARNING]  Parameter 'comparator' is read-only, must not be used in configuration
[INFO] 
[INFO] --- tycho-apitools:4.0.2:verify (verify) @ features ---
[INFO] 
[INFO] -----------------< org.eclipse.osgi:org.eclipse.osgi >------------------
[INFO] Building org.eclipse.osgi 3.18.500-SNAPSHOT                       [3/68]
[INFO]   from bundles/org.eclipse.osgi/pom.xml
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] Resolving target definition file:/home/jenkins/agent/workspace/equinox_PR-146/.m2/repository/org/eclipse/eclipse-sdk-prereqs/4.29.0-SNAPSHOT/eclipse-sdk-prereqs-4.29.0-SNAPSHOT.target for environments=[linux/gtk/x86_64, linux/gtk/ppc64le, linux/gtk/aarch64, win32/win32/x86_64, macosx/cocoa/x86_64, macosx/cocoa/aarch64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profile 'JavaSE-17' { source level: 17, target level: 17}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@1949f6f
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent 4.29.0-SNAPSHOT ............................. SUCCESS [  9.716 s]
[INFO] [aggregator] features 4.29.0-SNAPSHOT .............. SUCCESS [  0.016 s]
[INFO] org.eclipse.osgi 3.18.500-SNAPSHOT ................. FAILURE [  1.494 s]
[INFO] [bundle] OSGi Release 4.2.0 Services 3.11.100-SNAPSHOT SKIPPED
[INFO] [bundle] Supplemental Equinox Functionality 1.10.700-SNAPSHOT SKIPPED
[INFO] [bundle] Common Eclipse Runtime 3.19.0-SNAPSHOT .... SKIPPED
[INFO] [bundle] Extension Registry Support 3.11.300-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Application Container 1.6.300-SNAPSHOT SKIPPED
[INFO] [bundle] User Admin Service 1.2.400-SNAPSHOT ....... SKIPPED
[INFO] [bundle] Event Admin 1.6.200-SNAPSHOT .............. SKIPPED
[INFO] [bundle] Meta Type 1.6.300-SNAPSHOT ................ SKIPPED
[INFO] [bundle] Eclipse Preferences Mechanism 3.10.300-SNAPSHOT SKIPPED
[INFO] [bundle] Configuration Admin 1.5.200-SNAPSHOT ...... SKIPPED
[INFO] [bundle] Device Access Service 1.1.400-SNAPSHOT .... SKIPPED
[INFO] [bundle] Coordinator 1.5.200-SNAPSHOT .............. SKIPPED
[INFO] [feature] Equinox Compendium SDK 3.22.700-SNAPSHOT . SKIPPED
[INFO] [bundle] OSGi Release 4.2.0 Utility Classes 3.7.200-SNAPSHOT SKIPPED
[INFO] [bundle] Console plug-in 1.4.500-SNAPSHOT .......... SKIPPED
[INFO] [bundle] Equinox State and Resolver Compatibility Fragment 1.2.800-SNAPSHOT SKIPPED
[INFO] [feature] Equinox Core Function 1.14.100-SNAPSHOT .. SKIPPED
[INFO] org.eclipse.equinox.security 1.4.0-SNAPSHOT ........ SKIPPED
[INFO] org.eclipse.equinox.security.linux 1.1.0-SNAPSHOT .. SKIPPED
[INFO] [bundle] Region Digraph 1.5.300-SNAPSHOT ........... SKIPPED
[INFO] [bundle] Aspect Weaving Hooks Plug-in 1.3.200-SNAPSHOT SKIPPED
[INFO] [bundle] Standard Caching Service for Equinox Aspects 1.2.300-SNAPSHOT SKIPPED
[INFO] [bundle] Log Stream Provider 1.1.100-SNAPSHOT ...... SKIPPED
[INFO] [bundle] Console ssh support plug-in 1.2.1000-SNAPSHOT SKIPPED
[INFO] org.eclipse.equinox.security.macosx 1.102.0-SNAPSHOT SKIPPED
[INFO] [bundle] Transformer Hook Framework Extension 1.3.300-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Security Default UI 1.4.0-SNAPSHOT  SKIPPED
[INFO] [bundle] XSLT Transform Provider 1.2.300-SNAPSHOT .. SKIPPED
[INFO] [bundle] Bidirectional Text Support 1.4.300-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Concurrent API 1.2.100-SNAPSHOT ... SKIPPED
[INFO] org.eclipse.equinox.security.win32.x86_64 1.2.0-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher 1.6.500-SNAPSHOT ......... SKIPPED
[INFO] [bundle] J9 CachingService Plug-in 1.2.200-SNAPSHOT  SKIPPED
[INFO] [bundle] SSHD Fragment 1.1.100-SNAPSHOT ............ SKIPPED
[INFO] [feature] Equinox Core SDK 3.24.100-SNAPSHOT ....... SKIPPED
[INFO] [bundle] Equinox Launcher Linux PPC64le Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher MacOSX Cocoa AARCH64/ARM64 Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher Win32 X86_64 Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher MacOSX Cocoa Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher Linux X86_64 Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher Linux AARCH64 Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] [bundle] Equinox Launcher MacOSX Cocoa AARCH64/ARM64 Fragment 1.2.700-SNAPSHOT SKIPPED
[INFO] org.eclipse.equinox.executable 3.8.2200-SNAPSHOT ... SKIPPED
[INFO] [bundle] Http Services Servlet 1.7.400-SNAPSHOT .... SKIPPED
[INFO] [bundle] Jetty Http Service 3.8.300-SNAPSHOT ....... SKIPPED
[INFO] [feature] Jetty Http Server Feature 1.11.200-SNAPSHOT SKIPPED
[INFO] [bundle] Jasper Jsp Support Bundle 1.1.700-SNAPSHOT  SKIPPED
[INFO] [bundle] Http Service Registry Extensions 1.3.300-SNAPSHOT SKIPPED
[INFO] [feature] Core Server Feature 1.15.100-SNAPSHOT .... SKIPPED
[INFO] [bundle] Jasper Jsp Registry Support Plug-in 1.2.100-SNAPSHOT SKIPPED
[INFO] [bundle] Servletbridge 1.6.300-SNAPSHOT ............ SKIPPED
[INFO] [bundle] Servletbridge Http Service 1.2.200-SNAPSHOT SKIPPED
[INFO] [feature] Equinox Target Components 3.23.900-SNAPSHOT SKIPPED
[INFO] [feature] Simple Http Server Feature 1.7.100-SNAPSHOT SKIPPED
[INFO] [test-bundle] BiDi tests 1.3.200-SNAPSHOT .......... SKIPPED
[INFO] [test-bundle] Test Plug-in 1.1.200-SNAPSHOT ........ SKIPPED
[INFO] [test-bundle] Common Eclipse Runtime Tests 3.16.100-SNAPSHOT SKIPPED
[INFO] [test-bundle] Declarative Services Tests 1.6.400-SNAPSHOT SKIPPED
[INFO] [test-bundle] Preferences Tests 3.9.200-SNAPSHOT ... SKIPPED
[INFO] [test-bundle] Equinox security tests 1.3.0-SNAPSHOT  SKIPPED
[INFO] [test-bundle] Ssh Tests 1.3.0-SNAPSHOT ............. SKIPPED
[INFO] [test-bundle] Console tests 1.3.0-SNAPSHOT ......... SKIPPED
[INFO] [test-bundle] org.eclipse.equinox.http.servlet.tests 1.8.500-SNAPSHOT SKIPPED
[INFO] [bundle] slf4j Stub 1.1.100-SNAPSHOT ............... SKIPPED
[INFO] org.eclipse.osgi.tests 3.18.500-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.211 s
[INFO] Finished at: 2024-05-03T16:32:42Z
[INFO] ------------------------------------------------------------------------
[ERROR] bundle org.eclipse.equinox.p2.repository is not started
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

Build / Archive JUnit-formatted test results

Error in junit step, with arguments **/target/surefire-reports/TEST-*.xml.

No test report files were found. Configuration error?
Build log
Recording test results
No test report files were found. Configuration error?

Details

  • Declarative: Checkout SCM (12 sec)
    • Declarative: Tool Install (0.83 sec)
      • get binaries (6.1 sec)
      • Build (47 sec)
        Error: script returned exit code 1
        Error: No test report files were found. Configuration error?