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

Dev tools: tests for adding extensions from different platform members #18535

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

aloubyansky
Copy link
Member

Basic tests for adding extensions to existing projects that belong to platform members whose BOMs haven't been imported yet.
The testsuite is still building up and will need to be properly organized.

@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/platform Issues related to definition and interaction with Quarkus Platform labels Jul 8, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 8, 2021

This workflow status is outdated as a new workflow run has been triggered.

🚫 This workflow run has been cancelled.

Failing Jobs - Building b62bf6c

⚠️ Artifacts of the workflow run were not available thus the report misses some details.

Status Name Step Test failures Logs Raw logs
Devtools Tests - JDK 11 Build Test failures Logs Raw logs
Devtools Tests - JDK 11 Windows Build Test failures Logs Raw logs
Gradle Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
Gradle Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 16 Build ⚠️ Check → Logs Raw logs
Maven Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
Maven Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
MicroProfile TCKs Tests Verify ⚠️ Check → Logs Raw logs
Native Tests - Amazon ⚠️ Check → Logs Raw logs
Native Tests - Cache ⚠️ Check → Logs Raw logs
Native Tests - Data1 Build ⚠️ Check → Logs Raw logs
Native Tests - Data2 Build ⚠️ Check → Logs Raw logs
Native Tests - Data3 Build ⚠️ Check → Logs Raw logs
Native Tests - Data4 Build ⚠️ Check → Logs Raw logs
Native Tests - Data5 Build ⚠️ Check → Logs Raw logs
Native Tests - Data6 Build ⚠️ Check → Logs Raw logs
Native Tests - Data7 Build ⚠️ Check → Logs Raw logs
Native Tests - HTTP ⚠️ Check → Logs Raw logs
Native Tests - Main Build ⚠️ Check → Logs Raw logs
Native Tests - Messaging1 ⚠️ Check → Logs Raw logs
Native Tests - Messaging2 ⚠️ Check → Logs Raw logs
Native Tests - Misc1 ⚠️ Check → Logs Raw logs
Native Tests - Misc2 ⚠️ Check → Logs Raw logs
Native Tests - Misc3 ⚠️ Check → Logs Raw logs
Native Tests - Misc4 ⚠️ Check → Logs Raw logs
Native Tests - Security1 ⚠️ Check → Logs Raw logs
Native Tests - Security2 ⚠️ Check → Logs Raw logs
Native Tests - Security3 ⚠️ Check → Logs Raw logs
Native Tests - Spring ⚠️ Check → Logs Raw logs
Native Tests - Windows - hibernate-validator ⚠️ Check → Logs Raw logs
Native Tests - gRPC ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Devtools Tests - JDK 11 #

📦 integration-tests/devtools

io.quarkus.devtools.commands.AddMavenExtensionsTest.testRegexpMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testPartialMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionWithGAV line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.doesNotAddExtensionsWhenMultipleMatchWithOneKeyword line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addDuplicatedExtensionUsingGAV line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testVertx line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionWithGroupIdAndArtifactId line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExistingAndMissingExtensionsWillFailForBoth line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testVertxWithDot line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionTwiceInOneBatch line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.doNotAddExtensionWhenMultipleMatchWithMultipleKeywords line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addMissingExtension line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionTwiceInTwoBatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addSomeValidExtensions line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasyWithExtensions line 62 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasy line 27 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasyWithNoJBangWrapper line 43 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createOnTopOfExisting line 198 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createSpringWeb line 87 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createRESTEasyAndSpringWeb line 115 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createMultipleTimes line 233 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createRESTEasy line 48 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBomExtensionWithSpaces line 58 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.searchRest line 154 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.testListExtensionsWithoutAPomFile line 172 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithoutBom line 73 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBom line 40 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.searchUnexpected line 135 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.testRegexpMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.testPartialMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.removeSomeValidExtensions line 19 - More details - Source on GitHub

io.quarkus.devtools.project.compress.QuarkusProjectCompressTest.createZipWithParentFolder line 61 - More details - Source on GitHub

io.quarkus.devtools.project.compress.QuarkusProjectCompressTest.createZip line 40 - More details - Source on GitHub


⚙️ Devtools Tests - JDK 11 Windows #

📦 integration-tests/devtools

io.quarkus.devtools.commands.AddMavenExtensionsTest.testRegexpMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testPartialMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionWithGAV line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.doesNotAddExtensionsWhenMultipleMatchWithOneKeyword line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addDuplicatedExtensionUsingGAV line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testVertx line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionWithGroupIdAndArtifactId line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExistingAndMissingExtensionsWillFailForBoth line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.testVertxWithDot line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionTwiceInOneBatch line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.doNotAddExtensionWhenMultipleMatchWithMultipleKeywords line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addMissingExtension line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addExtensionTwiceInTwoBatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.AddMavenExtensionsTest.addSomeValidExtensions line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasyWithExtensions line 62 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasy line 27 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateJBangProjectTest.createRESTEasyWithNoJBangWrapper line 43 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createOnTopOfExisting line 198 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createSpringWeb line 87 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createRESTEasyAndSpringWeb line 115 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createMultipleTimes line 233 - More details - Source on GitHub

io.quarkus.devtools.commands.CreateProjectTest.createRESTEasy line 48 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBomExtensionWithSpaces line 58 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.searchRest line 154 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.testListExtensionsWithoutAPomFile line 172 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithoutBom line 73 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBom line 40 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.searchUnexpected line 135 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.testRegexpMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.testPartialMatches line 19 - More details - Source on GitHub

io.quarkus.devtools.commands.RemoveMavenExtensionsTest.removeSomeValidExtensions line 19 - More details - Source on GitHub

io.quarkus.devtools.project.compress.QuarkusProjectCompressTest.createZipWithParentFolder line 61 - More details - Source on GitHub

io.quarkus.devtools.project.compress.QuarkusProjectCompressTest.createZip line 40 - More details - Source on GitHub

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 8, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building 6f894e1

Status Name Step Test failures Logs Raw logs
Devtools Tests - JDK 11 Build Test failures Logs Raw logs
Devtools Tests - JDK 11 Windows Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Devtools Tests - JDK 11 #

📦 integration-tests/devtools

io.quarkus.devtools.commands.ListExtensionsTest.listWithBomExtensionWithSpaces line 65 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithoutBom line 101 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBom line 47 - More details - Source on GitHub


⚙️ Devtools Tests - JDK 11 Windows #

📦 integration-tests/devtools

io.quarkus.devtools.commands.ListExtensionsTest.listWithBomExtensionWithSpaces line 65 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithoutBom line 101 - More details - Source on GitHub

io.quarkus.devtools.commands.ListExtensionsTest.listWithBom line 47 - More details - Source on GitHub

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 9, 2021

Failing Jobs - Building e03ad3e

Status Name Step Test failures Logs Raw logs
MicroProfile TCKs Tests Verify Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ MicroProfile TCKs Tests #

📦 tcks/microprofile-fault-tolerance

org.eclipse.microprofile.fault.tolerance.tck.TimeoutUninterruptableTest.testTimeoutAsyncBulkhead line 190 - More details - Source on GitHub

sawFirstPlatform = true;
}
platformBoms.add(c.getBom());
}
} else if (ElementCatalogBuilder.hasElementCatalog(mainCatalog)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method? :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's checking whether there is an "element" catalog attached to the mainCatalog. A bit of a hack but that's how it is for now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant, it would be better to move this whole block to a specific method.

But I know you love those long methods 🤪

Copy link
Contributor

@ia3andy ia3andy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aloubyansky aloubyansky merged commit 393b38d into quarkusio:main Jul 9, 2021
@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jul 9, 2021
@@ -41,7 +41,7 @@ public QuarkusCommandOutcome execute(QuarkusCommandInvocation invocation) throws
final MessageWriter log = invocation.log();
final boolean all = invocation.getValue(ListExtensions.ALL, true);
final boolean installedOnly = invocation.getValue(ListExtensions.INSTALLED, false);
final boolean cli = invocation.getValue(ListExtensions.FROM_CLI, false);
//final boolean cli = invocation.getValue(ListExtensions.FROM_CLI, false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this line

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, too late

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle area/maven area/platform Issues related to definition and interaction with Quarkus Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants