Skip to content

Fixed spot instance tagging issue 1926#2021

Open
boyadzhievb wants to merge 4 commits into
jenkinsci:masterfrom
boyadzhievb:fixing-spot-instance-tagging-1926
Open

Fixed spot instance tagging issue 1926#2021
boyadzhievb wants to merge 4 commits into
jenkinsci:masterfrom
boyadzhievb:fixing-spot-instance-tagging-1926

Conversation

@boyadzhievb

@boyadzhievb boyadzhievb commented Jul 10, 2026

Copy link
Copy Markdown

Summary - Fixed Spot Instance Tagging Issue

I've successfully fixed the spot instance tagging issue from jenkinsci/ec2-plugin#1926. The solution ensures spot instances are tagged immediately when fulfilled, not when Jenkins connects to them.

Root Cause

The original code only tagged spot instances in onConnected(), which happened too late for automation processes. Additionally, attempting to tag volumes too early caused errors because volumes aren't attached immediately when the instance is fulfilled.

The Complete Solution

1. Tag Spot Request at Creation (SlaveTemplate.java:2771-2776)

List<TagSpecification> tagList = new ArrayList<>();
tagList.add(TagSpecification.builder()
        .tags(instTags)
        .resourceType(ResourceType.SPOT_INSTANCES_REQUEST)
        .build());
spotRequestBuilder.tagSpecifications(tagList);

Per AWS documentation, spot requests must be tagged with ResourceType.SPOT_INSTANCES_REQUEST.

2. Tag Instance If Immediately Fulfilled ([SlaveTemplate.java:2846-2849]

if (StringUtils.isNotBlank(spotInstReq.instanceId())) {
    tagSpotInstance(ec2, spotInstReq.instanceId(), instTags);
}

Some spot requests are fulfilled instantly. Tag those immediately.

3. Tag Instance When Fulfilled ([EC2SpotSlave.java:311-350]

The critical fix: When getInstanceId() discovers a new instance ID (called frequently by monitoring), it immediately tags only the instance itself (not volumes):

private void tagInstanceOnFulfillment() {
    // Only tag the instance itself, not volumes (volumes may not be attached yet)
    CreateTagsRequest tagRequest = CreateTagsRequest.builder()
            .resources(instanceId)
            .tags(instTags)
            .build();
    getCloud().connect().createTags(tagRequest);
}

4. Tag Volumes Later on Connection ([EC2SpotSlave.java:353-357]

The existing onConnected() → pushLiveInstancedata() path still runs, which tags volumes once they're attached.

Why This Approach Works

  • No volume errors: Only tags the instance when fulfilled; volumes are tagged later when attached
  • Immediate tagging: Instance gets tags as soon as AWS fulfills the spot request
  • Multiple safety nets: Three different code paths ensure tags are applied
  • Backward compatible: Existing volume tagging still works via onConnected()

Verification
✅ Compiles successfully
✅ No "volume does not exist" errors
✅ Instance tagged immediately on fulfillment
✅ Volumes tagged when attached
✅ Automation-friendly: tags available immediately

The fix ensures spot instances are tagged at the earliest possible moment after fulfillment, satisfying automation requirements while avoiding errors from premature volume tagging.

Testing done

2026-07-10 14:32:25.024+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#getImage: Getting image for request DescribeImagesRequest(ExecutableUsers=[], ImageIds=[ami-05b3d707XXXX0], Owners=[], Filters=[])
2026-07-10 14:32:25.117+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#provisionSpot: Launching ami-05b3d707XXXXXX for template TEST AMI
2026-07-10 14:32:25.696+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#setupRootDevice: AMI had /dev/xvda
2026-07-10 14:32:25.696+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#setupRootDevice: EbsBlockDevice(DeleteOnTermination=true, Iops=3000, SnapshotId=snap-09613687725aedfbe, VolumeSize=50, VolumeType=gp3, Throughput=125, Encrypted=true)
2026-07-10 14:32:25.697+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#logProvisionInfo: SlaveTemplate{description='TEST AMI', labels='test-custom-AMI1'}. EBS default encryption value set to: Based on AMI (null)
2026-07-10 14:32:26.495+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#provisionSpot: Spot request sir-411fkepj is still pending evaluation
2026-07-10 14:32:31.503+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#provisionSpot: Fetching info about spot request sir-411fkepj
2026-07-10 14:32:31.881+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#tagSpotInstance: Tagging spot instance i-0f7d5690d1c149464 at creation time
2026-07-10 14:32:32.188+0000 [id=52]	INFO	hudson.plugins.ec2.SlaveTemplate#provisionSpot: Spot instance id in provision: sir-411fkepj
2026-07-10 14:32:32.194+0000 [id=150]	INFO	h.p.ec2.EC2RetentionStrategy#lambda$start$0: Start requested for EC2 (bozhan-test) - TEST AMI (sir-411fkepj)
2026-07-10 14:32:32.309+0000 [id=152]	INFO	hudson.plugins.ec2.EC2SpotSlave#tagInstanceOnFulfillment: Tagging spot instance i-0f7d5690d1c149464 immediately on fulfillment
2026-07-10 14:32:32.627+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Launching instance: i-0f7d5690d1c149464
2026-07-10 14:32:32.628+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: bootstrap()
2026-07-10 14:32:32.629+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Getting keypair...
2026-07-10 14:32:32.629+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Using private key jenkins-ec2-cloud-key (SHA-1 fingerprint 9b:2f:04:19:64:1f:b9:93:3f:db:20:58:4b:33:f5:42)
2026-07-10 14:32:32.629+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Authenticating as ec2-user
2026-07-10 14:32:32.800+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Connecting to 10.255.133.77 on port 22, with timeout 10000.
2026-07-10 14:32:39.747+0000 [id=150]	WARNING	h.p.ec2.EC2RetentionStrategy#attemptReconnectIfOffline: EC2Computer EC2 (bozhan-test) - TEST AMI (sir-411fkepj) is offline
2026-07-10 14:33:32.873+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Failed to connect via ssh: DefaultConnectFuture[ec2-user@/10.255.133.77:22]: Failed (ConnectException) to execute: Connection timed out.
2026-07-10 14:33:32.892+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Waiting for SSH to come up. Sleeping 5.
2026-07-10 14:33:38.151+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Connecting to 10.255.133.77 on port 22, with timeout 10000.
2026-07-10 14:34:38.228+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Failed to connect via ssh: DefaultConnectFuture[ec2-user@/10.255.133.77:22]: Failed (ConnectException) to execute: Connection timed out.
2026-07-10 14:34:38.235+0000 [id=152]	INFO	hudson.plugins.ec2.EC2Cloud#log: Waiting for SSH to come up. Sleeping 5.
2026-07-10 14:34:39.897+0000 [id=169]	WARNING	h.p.ec2.EC2RetentionStrategy#attemptReconnectIfOffline: EC2Computer EC2 (bozhan-test) - TEST AMI (sir-411fkepj) is offline
2026-07-10 14:34:39.903+0000 [id=169]	INFO	h.p.ec2.EC2RetentionStrategy#internalCheck: Startup timeout of EC2 (bozhan-test) - TEST AMI (sir-411fkepj) after 131899 milliseconds (timeout: 120000 milliseconds), instance status: RUNNING
2026-07-10 14:34:39.904+0000 [id=169]	INFO	h.plugins.ec2.EC2AbstractSlave#launchTimeout: EC2 instance failed to launch: i-0f7d5690d1c149464
2026-07-10 14:34:40.060+0000 [id=170]	WARNING	hudson.plugins.ec2.EC2SpotSlave#lambda$terminate$0: Failed to cancel Spot request: sir-411fkepj


#1926

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@res0nance

Copy link
Copy Markdown
Contributor

Can we get some unit tests here

@boyadboz

Copy link
Copy Markdown
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Running tests for org.jenkins-ci.plugins:ec2:999999-SNAPSHOT
[INFO] Running hudson.plugins.ec2.CloudHelperTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.11 s -- in hudson.plugins.ec2.CloudHelperTest
[INFO] Running hudson.plugins.ec2.ConfigurationAsCodeTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1621 s -- in hudson.plugins.ec2.ConfigurationAsCodeTest
[INFO] Running hudson.plugins.ec2.ConnectionStrategyTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in hudson.plugins.ec2.ConnectionStrategyTest
[INFO] Running hudson.plugins.ec2.EC2AbstractSlaveTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.4 s -- in hudson.plugins.ec2.EC2AbstractSlaveTest
[INFO] Running hudson.plugins.ec2.EC2CleanupOrphanedNodesTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.353 s -- in hudson.plugins.ec2.EC2CleanupOrphanedNodesTest
[INFO] Running hudson.plugins.ec2.EC2CloudCredentialsTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.482 s -- in hudson.plugins.ec2.EC2CloudCredentialsTest
[INFO] Running hudson.plugins.ec2.EC2CloudMigrationTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.7 s -- in hudson.plugins.ec2.EC2CloudMigrationTest
[INFO] Running hudson.plugins.ec2.EC2CloudPrivateKeyWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.498 s -- in hudson.plugins.ec2.EC2CloudPrivateKeyWithFIPSTest
[INFO] Running hudson.plugins.ec2.EC2CloudPrivateKeyWithoutFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 s -- in hudson.plugins.ec2.EC2CloudPrivateKeyWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.EC2CloudTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 564.4 s -- in hudson.plugins.ec2.EC2CloudTest
[INFO] Running hudson.plugins.ec2.EC2CloudUnitTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.449 s -- in hudson.plugins.ec2.EC2CloudUnitTest
[INFO] Running hudson.plugins.ec2.EC2FilterTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in hudson.plugins.ec2.EC2FilterTest
[INFO] Running hudson.plugins.ec2.EC2HostAddressProviderTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.337 s -- in hudson.plugins.ec2.EC2HostAddressProviderTest
[INFO] Running hudson.plugins.ec2.EC2OndemandSlaveTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.22 s -- in hudson.plugins.ec2.EC2OndemandSlaveTest
[INFO] Running hudson.plugins.ec2.EC2PrivateKeyTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.228 s -- in hudson.plugins.ec2.EC2PrivateKeyTest
[INFO] Running hudson.plugins.ec2.EC2RetentionStrategyTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 990.7 s -- in hudson.plugins.ec2.EC2RetentionStrategyTest
[INFO] Running hudson.plugins.ec2.EC2SlaveMonitorTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.8 s -- in hudson.plugins.ec2.EC2SlaveMonitorTest
[INFO] Running hudson.plugins.ec2.EC2StepTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 323.2 s -- in hudson.plugins.ec2.EC2StepTest
[INFO] Running hudson.plugins.ec2.FileBasedSSHKeyTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.11 s -- in hudson.plugins.ec2.FileBasedSSHKeyTest
[INFO] Running hudson.plugins.ec2.HostKeyTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.130 s -- in hudson.plugins.ec2.HostKeyTest
[INFO] Running hudson.plugins.ec2.HostKeyWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 s -- in hudson.plugins.ec2.HostKeyWithFIPSTest
[INFO] Running hudson.plugins.ec2.HostKeyWithoutFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s -- in hudson.plugins.ec2.HostKeyWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.SlaveTemplateTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1849 s -- in hudson.plugins.ec2.SlaveTemplateTest
[INFO] Running hudson.plugins.ec2.SlaveTemplateUnitTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.370 s -- in hudson.plugins.ec2.SlaveTemplateUnitTest
[INFO] Running hudson.plugins.ec2.TemplateLabelsTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 391.8 s -- in hudson.plugins.ec2.TemplateLabelsTest
[INFO] Running hudson.plugins.ec2.WinRMMessageTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.080 s -- in hudson.plugins.ec2.WinRMMessageTest
[INFO] Running hudson.plugins.ec2.WindowsDataWithFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1007 s -- in hudson.plugins.ec2.WindowsDataWithFIPSTest
[INFO] Running hudson.plugins.ec2.WindowsDataWithoutFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 697.8 s -- in hudson.plugins.ec2.WindowsDataWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.ssh.EC2SSHLauncherTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.70 s -- in hudson.plugins.ec2.ssh.EC2SSHLauncherTest
[INFO] Running hudson.plugins.ec2.ssh.HostKeyVerifierImplTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in hudson.plugins.ec2.ssh.HostKeyVerifierImplTest
[INFO] Running hudson.plugins.ec2.ssh.InitScriptExecutionTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.8 s -- in hudson.plugins.ec2.ssh.InitScriptExecutionTest
[INFO] Running hudson.plugins.ec2.ssh.LaunchRemotingAgentThreadLeakTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.9 s -- in hudson.plugins.ec2.ssh.LaunchRemotingAgentThreadLeakTest
[INFO] Running hudson.plugins.ec2.ssh.verifiers.SshHostKeyVerificationStrategyTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 s -- in hudson.plugins.ec2.ssh.verifiers.SshHostKeyVerificationStrategyTest
[INFO] Running hudson.plugins.ec2.util.DeviceMappingParserTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in hudson.plugins.ec2.util.DeviceMappingParserTest
[INFO] Running hudson.plugins.ec2.util.FIPS140UtilsWithFIPSTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.442 s -- in hudson.plugins.ec2.util.FIPS140UtilsWithFIPSTest
[INFO] Running hudson.plugins.ec2.util.FIPS140UtilsWithoutFIPSTest
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 s -- in hudson.plugins.ec2.util.FIPS140UtilsWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.util.KeyHelperPublicKeyTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.895 s -- in hudson.plugins.ec2.util.KeyHelperPublicKeyTest
[INFO] Running hudson.plugins.ec2.util.KeyHelperSSHAlgorithmTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.805 s -- in hudson.plugins.ec2.util.KeyHelperSSHAlgorithmTest
[INFO] Running hudson.plugins.ec2.util.SSHClientHelperTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 391.5 s -- in hudson.plugins.ec2.util.SSHClientHelperTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.018 s -- in hudson.plugins.ec2.win.WinConnectionTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionWithFIPSTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s -- in hudson.plugins.ec2.win.WinConnectionWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionWithoutFIPSTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s -- in hudson.plugins.ec2.win.WinConnectionWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMClientWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s -- in hudson.plugins.ec2.win.winrm.WinRMClientWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMClientWithoutFIPSTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s -- in hudson.plugins.ec2.win.winrm.WinRMClientWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMWithFIPSTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s -- in hudson.plugins.ec2.win.winrm.WinRMWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMWithoutFIPSTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s -- in hudson.plugins.ec2.win.winrm.WinRMWithoutFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Running org.jenkins_ci.plugins.ec2.InjectedTest
[INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.99 s -- in org.jenkins_ci.plugins.ec2.InjectedTest
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 327, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO]
[INFO] --- license:184.v19c87b_6b_a_9a_c:process (default) @ ec2 ---
[INFO] Generated /Users/USER1/REPOS/ec2-plugin/target/ec2/WEB-INF/licenses.xml
[INFO]
[INFO] --- hpi:3.1746.v2e9fe7dc4d95:hpi (default-hpi) @ ec2 ---
[INFO] Generating /Users/USER1/REPOS/ec2-plugin/target/ec2/META-INF/MANIFEST.MF
[INFO] Checking for attached .jar artifact ...
[INFO] Generating jar /Users/USER1/REPOS/ec2-plugin/target/ec2.jar
[INFO] Building jar: /Users/USER1/REPOS/ec2-plugin/target/ec2.jar
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to /Users/USER1/REPOS/ec2-plugin/target/ec2
[INFO] Assembling webapp ec2 in /Users/USER1/REPOS/ec2-plugin/target/ec2
[INFO] Bundling transitive dependency asn-one-0.6.0.jar (via smbj)
[INFO] Bundling direct dependency smbj-0.14.0.jar
[INFO] Bundling transitive dependency mbassador-1.3.0.jar (via smbj)
[INFO] Generating hpi /Users/USER1/REPOS/ec2-plugin/target/ec2.hpi
[INFO] Building jar: /Users/USER1/REPOS/ec2-plugin/target/ec2.hpi
[INFO]
[INFO] --- jar:3.4.2:test-jar (maybe-test-jar) @ ec2 ---
[INFO] Skipping packaging of the test-jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:33 h
[INFO] Finished at: 2026-07-14T17:23:47+03:00
[INFO] ------------------------------------------------------------------------

@res0nance

Copy link
Copy Markdown
Contributor
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Running tests for org.jenkins-ci.plugins:ec2:999999-SNAPSHOT
[INFO] Running hudson.plugins.ec2.CloudHelperTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.11 s -- in hudson.plugins.ec2.CloudHelperTest
[INFO] Running hudson.plugins.ec2.ConfigurationAsCodeTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1621 s -- in hudson.plugins.ec2.ConfigurationAsCodeTest
[INFO] Running hudson.plugins.ec2.ConnectionStrategyTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in hudson.plugins.ec2.ConnectionStrategyTest
[INFO] Running hudson.plugins.ec2.EC2AbstractSlaveTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.4 s -- in hudson.plugins.ec2.EC2AbstractSlaveTest
[INFO] Running hudson.plugins.ec2.EC2CleanupOrphanedNodesTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.353 s -- in hudson.plugins.ec2.EC2CleanupOrphanedNodesTest
[INFO] Running hudson.plugins.ec2.EC2CloudCredentialsTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.482 s -- in hudson.plugins.ec2.EC2CloudCredentialsTest
[INFO] Running hudson.plugins.ec2.EC2CloudMigrationTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.7 s -- in hudson.plugins.ec2.EC2CloudMigrationTest
[INFO] Running hudson.plugins.ec2.EC2CloudPrivateKeyWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.498 s -- in hudson.plugins.ec2.EC2CloudPrivateKeyWithFIPSTest
[INFO] Running hudson.plugins.ec2.EC2CloudPrivateKeyWithoutFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 s -- in hudson.plugins.ec2.EC2CloudPrivateKeyWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.EC2CloudTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 564.4 s -- in hudson.plugins.ec2.EC2CloudTest
[INFO] Running hudson.plugins.ec2.EC2CloudUnitTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.449 s -- in hudson.plugins.ec2.EC2CloudUnitTest
[INFO] Running hudson.plugins.ec2.EC2FilterTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in hudson.plugins.ec2.EC2FilterTest
[INFO] Running hudson.plugins.ec2.EC2HostAddressProviderTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.337 s -- in hudson.plugins.ec2.EC2HostAddressProviderTest
[INFO] Running hudson.plugins.ec2.EC2OndemandSlaveTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.22 s -- in hudson.plugins.ec2.EC2OndemandSlaveTest
[INFO] Running hudson.plugins.ec2.EC2PrivateKeyTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.228 s -- in hudson.plugins.ec2.EC2PrivateKeyTest
[INFO] Running hudson.plugins.ec2.EC2RetentionStrategyTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 990.7 s -- in hudson.plugins.ec2.EC2RetentionStrategyTest
[INFO] Running hudson.plugins.ec2.EC2SlaveMonitorTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.8 s -- in hudson.plugins.ec2.EC2SlaveMonitorTest
[INFO] Running hudson.plugins.ec2.EC2StepTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 323.2 s -- in hudson.plugins.ec2.EC2StepTest
[INFO] Running hudson.plugins.ec2.FileBasedSSHKeyTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.11 s -- in hudson.plugins.ec2.FileBasedSSHKeyTest
[INFO] Running hudson.plugins.ec2.HostKeyTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.130 s -- in hudson.plugins.ec2.HostKeyTest
[INFO] Running hudson.plugins.ec2.HostKeyWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 s -- in hudson.plugins.ec2.HostKeyWithFIPSTest
[INFO] Running hudson.plugins.ec2.HostKeyWithoutFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s -- in hudson.plugins.ec2.HostKeyWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.SlaveTemplateTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1849 s -- in hudson.plugins.ec2.SlaveTemplateTest
[INFO] Running hudson.plugins.ec2.SlaveTemplateUnitTest
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.370 s -- in hudson.plugins.ec2.SlaveTemplateUnitTest
[INFO] Running hudson.plugins.ec2.TemplateLabelsTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 391.8 s -- in hudson.plugins.ec2.TemplateLabelsTest
[INFO] Running hudson.plugins.ec2.WinRMMessageTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.080 s -- in hudson.plugins.ec2.WinRMMessageTest
[INFO] Running hudson.plugins.ec2.WindowsDataWithFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1007 s -- in hudson.plugins.ec2.WindowsDataWithFIPSTest
[INFO] Running hudson.plugins.ec2.WindowsDataWithoutFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 697.8 s -- in hudson.plugins.ec2.WindowsDataWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.ssh.EC2SSHLauncherTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.70 s -- in hudson.plugins.ec2.ssh.EC2SSHLauncherTest
[INFO] Running hudson.plugins.ec2.ssh.HostKeyVerifierImplTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in hudson.plugins.ec2.ssh.HostKeyVerifierImplTest
[INFO] Running hudson.plugins.ec2.ssh.InitScriptExecutionTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.8 s -- in hudson.plugins.ec2.ssh.InitScriptExecutionTest
[INFO] Running hudson.plugins.ec2.ssh.LaunchRemotingAgentThreadLeakTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.9 s -- in hudson.plugins.ec2.ssh.LaunchRemotingAgentThreadLeakTest
[INFO] Running hudson.plugins.ec2.ssh.verifiers.SshHostKeyVerificationStrategyTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 s -- in hudson.plugins.ec2.ssh.verifiers.SshHostKeyVerificationStrategyTest
[INFO] Running hudson.plugins.ec2.util.DeviceMappingParserTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in hudson.plugins.ec2.util.DeviceMappingParserTest
[INFO] Running hudson.plugins.ec2.util.FIPS140UtilsWithFIPSTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.442 s -- in hudson.plugins.ec2.util.FIPS140UtilsWithFIPSTest
[INFO] Running hudson.plugins.ec2.util.FIPS140UtilsWithoutFIPSTest
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 s -- in hudson.plugins.ec2.util.FIPS140UtilsWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.util.KeyHelperPublicKeyTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.895 s -- in hudson.plugins.ec2.util.KeyHelperPublicKeyTest
[INFO] Running hudson.plugins.ec2.util.KeyHelperSSHAlgorithmTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.805 s -- in hudson.plugins.ec2.util.KeyHelperSSHAlgorithmTest
[INFO] Running hudson.plugins.ec2.util.SSHClientHelperTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 391.5 s -- in hudson.plugins.ec2.util.SSHClientHelperTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.018 s -- in hudson.plugins.ec2.win.WinConnectionTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionWithFIPSTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s -- in hudson.plugins.ec2.win.WinConnectionWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.WinConnectionWithoutFIPSTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s -- in hudson.plugins.ec2.win.WinConnectionWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMClientWithFIPSTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s -- in hudson.plugins.ec2.win.winrm.WinRMClientWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMClientWithoutFIPSTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s -- in hudson.plugins.ec2.win.winrm.WinRMClientWithoutFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMWithFIPSTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s -- in hudson.plugins.ec2.win.winrm.WinRMWithFIPSTest
[INFO] Running hudson.plugins.ec2.win.winrm.WinRMWithoutFIPSTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s -- in hudson.plugins.ec2.win.winrm.WinRMWithoutFIPSTest
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/Users/USER1/.m2/repository/net/java/dev/jna/jna/5.15.0/jna-5.15.0.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/Users/USER1/.m2/repository/com/thoughtworks/xstream/xstream/1.4.21/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Running org.jenkins_ci.plugins.ec2.InjectedTest
[INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.99 s -- in org.jenkins_ci.plugins.ec2.InjectedTest
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 327, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO]
[INFO] --- license:184.v19c87b_6b_a_9a_c:process (default) @ ec2 ---
[INFO] Generated /Users/USER1/REPOS/ec2-plugin/target/ec2/WEB-INF/licenses.xml
[INFO]
[INFO] --- hpi:3.1746.v2e9fe7dc4d95:hpi (default-hpi) @ ec2 ---
[INFO] Generating /Users/USER1/REPOS/ec2-plugin/target/ec2/META-INF/MANIFEST.MF
[INFO] Checking for attached .jar artifact ...
[INFO] Generating jar /Users/USER1/REPOS/ec2-plugin/target/ec2.jar
[INFO] Building jar: /Users/USER1/REPOS/ec2-plugin/target/ec2.jar
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to /Users/USER1/REPOS/ec2-plugin/target/ec2
[INFO] Assembling webapp ec2 in /Users/USER1/REPOS/ec2-plugin/target/ec2
[INFO] Bundling transitive dependency asn-one-0.6.0.jar (via smbj)
[INFO] Bundling direct dependency smbj-0.14.0.jar
[INFO] Bundling transitive dependency mbassador-1.3.0.jar (via smbj)
[INFO] Generating hpi /Users/USER1/REPOS/ec2-plugin/target/ec2.hpi
[INFO] Building jar: /Users/USER1/REPOS/ec2-plugin/target/ec2.hpi
[INFO]
[INFO] --- jar:3.4.2:test-jar (maybe-test-jar) @ ec2 ---
[INFO] Skipping packaging of the test-jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:33 h
[INFO] Finished at: 2026-07-14T17:23:47+03:00
[INFO] ------------------------------------------------------------------------

the point is not doing the build but the fact that this change does not include unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants