Skip to content

Conversation

@mblajet-atlassian
Copy link
Contributor

Since Jira 10.7.0, the header for the Create Issue dialog has changed from <h2> to <h1>, according to the A11y guidelines.

The create issue action was failing since 10.7.0, because it couldn't find the header to move out of the configuring fields dropdown. After the change, both the new <h1> header and the legacy <h2> are supported.

mgrzaslewicz
mgrzaslewicz previously approved these changes May 19, 2025
@mgrzaslewicz
Copy link
Contributor

mgrzaslewicz commented May 19, 2025

@mblajet-atlassian There is failure in github pipelines. Let's make gradle build more verbose
ci.yml

      run: ./gradlew build --stacktrace --info

@mblajet-atlassian
Copy link
Contributor Author

mblajet-atlassian commented May 19, 2025

@mblajet-atlassian There is failure in github pipelines. Let's make gradle build more verbose ci.yml

      run: ./gradlew build --stacktrace --info

@mgrzaslewicz There is a problem with the gradle itself. I can see that some builds were failing on master as well (but the logs has expired)
For this case there is a problem with gradle cache

* What went wrong:
Could not open cp_init remapped class cache for 6bbl0qzydhtzvwxj6axr60fat (/home/runner/.gradle/caches/5.1.1/scripts-remapped/gradle_actions_build_result_ca_3tlh8qiok45jmqms9s6c03tcc/6bbl0qzydhtzvwxj6axr60fat/cp_init13bba2[40](https://github.com/atlassian/jira-actions/actions/runs/15111524468/job/42471916686?pr=172#step:4:41)a07c562d578336deed5b2fbf).
> Could not open cp_init generic class cache for initialization script '/home/runner/.gradle/init.d/gradle-actions.build-result-capture.init.gradle' (/home/runner/.gradle/caches/5.1.1/scripts/6bbl0qzydhtzvwxj6axr60fat/cp_init/cp_init13bba240a07c562d578336deed5b2fbf).
   > Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

This is probably caused by the old Gradle used here, as the version is 5.1.1

@mgrzaslewicz
Copy link
Contributor

@mblajet-atlassian I saw the error hence attempt to add verbosity flags. I can't reproduce it locally and currently we can't see why this error happen

@mblajet-atlassian mblajet-atlassian force-pushed the JC-1877-fix-create-issue-scenario branch 2 times, most recently from 6bef359 to 8c580a6 Compare May 19, 2025 13:26
@mblajet-atlassian
Copy link
Contributor Author

CI on master fails as well: https://github.com/atlassian/jira-actions/actions/runs/15114307698

@mblajet-atlassian
Copy link
Contributor Author

The tests passed locally

JIRA_VERSION=9.12.0 ./gradlew build                                                                                                                                                                                          1 ↵


> Task :testIntegration

com.atlassian.performance.tools.jiraactions.api.scenario.RichTextEditorIT > shouldRunScenarioWithoutErrors STANDARD_OUT
    2025-05-19T13:45:42,704Z INFO  Test worker [] [com.atlassian.performance.tools.jiraactions.api.scenario.RichTextEditorIT] Testing Jira 9.12.0

com.atlassian.performance.tools.jiraactions.api.scenario.RichTextEditorIT > shouldRunScenarioWithoutErrors STANDARD_ERROR
    May 19, 2025 3:47:00 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C
    May 19, 2025 3:49:01 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C

com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT > shouldRunScenarioWithoutErrors STANDARD_ERROR
    May 19, 2025 3:49:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C
    May 19, 2025 3:51:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C

com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT > shouldRunScenarioWithoutErrors STANDARD_OUT
    2025-05-19T13:51:13,886Z INFO  Test worker [] [com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT] Testing Jira 9.12.0
    2025-05-19T13:52:55,376Z INFO  Test worker [] [com.atlassian.performance.tools.jiraactions.api.page.BackupConfiguration] Backup services have been deleted

com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT > shouldRunScenarioWithoutErrors STANDARD_ERROR
    May 19, 2025 3:53:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C

com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT > shouldRunScenarioWithoutErrors STANDARD_OUT
    2025-05-19T13:53:18,941Z INFO  Test worker [] [com.atlassian.performance.tools.jiraactions.api.scenario.JiraCoreScenarioIT] Testing Jira 9.12.0
    2025-05-19T13:54:59,631Z INFO  Test worker [] [com.atlassian.performance.tools.jiraactions.api.page.BackupConfiguration] Backup services have been deleted

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 9m 38s
10 actionable tasks: 3 executed, 7 up-to-date

Publishing build scan...
https://gradle.com/s/kulqwccpw4kxw

@dagguh
Copy link
Contributor

dagguh commented May 19, 2025

Bumping gradle-release to 0.10.0 might help.

- name: Checkout
uses: actions/checkout@v4
- name: Set up Java 8
uses: actions/setup-java@v3
Copy link
Contributor

Choose a reason for hiding this comment

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

This sets up JDK, but also generates some Maven files. And gradle-release touches those files, erroring out:

Maven settings contains encrypted credentials yet no settings-security.xml exists.
stacktrace
 Caused by: java.lang.RuntimeException: Unable to decrypt local Maven settings credentials.
	at net.linguica.gradle.maven.settings.LocalMavenSettingsLoader.decryptCredentials(LocalMavenSettingsLoader.java:102)
	at net.linguica.gradle.maven.settings.LocalMavenSettingsLoader.loadSettings(LocalMavenSettingsLoader.java:66)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.mavenCredentials(RepositoryConfigurator.kt:92)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.findCredentials(RepositoryConfigurator.kt:74)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.access$findCredentials(RepositoryConfigurator.kt:11)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator$atlassianRepository$1.execute(RepositoryConfigurator.kt:63)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator$atlassianRepository$1.execute(RepositoryConfigurator.kt:11)
	at org.gradle.api.internal.artifacts.DefaultArtifactRepositoryContainer.addRepository(DefaultArtifactRepositoryContainer.java:89)
	at org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.maven(DefaultRepositoryHandler.java:102)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.atlassianRepository(RepositoryConfigurator.kt:61)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.access$atlassianRepository(RepositoryConfigurator.kt:11)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator$configurePublicAtlassianRepositories$1.invoke(RepositoryConfigurator.kt:49)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator$configurePublicAtlassianRepositories$1.invoke(RepositoryConfigurator.kt:11)
	at org.gradle.kotlin.dsl.ProjectExtensionsKt.repositories(ProjectExtensions.kt:145)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.configurePublicAtlassianRepositories(RepositoryConfigurator.kt:40)
	at com.atlassian.performance.tools.release.repositories.RepositoryConfigurator.configureAtlassianRepositories(RepositoryConfigurator.kt:18)
	at com.atlassian.performance.tools.GradleRelease.apply(GradleRelease.kt:25)
	at com.atlassian.performance.tools.GradleRelease.apply(GradleRelease.kt:19)
	at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:42)
	at org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:50)
	at org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:177)
	at org.gradle.api.internal.plugins.DefaultPluginManager.access$300(DefaultPluginManager.java:51)
	at org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:267)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:293)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
	at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:155)
	at org.gradle.api.internal.plugins.DefaultPluginManager$2.execute(DefaultPluginManager.java:152)
	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:48)
	at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:152)
	... 130 more
Caused by: java.lang.RuntimeException: Maven settings contains encrypted credentials yet no settings-security.xml exists.
	at net.linguica.gradle.maven.settings.LocalMavenSettingsLoader.decryptCredentials(LocalMavenSettingsLoader.java:89)
	... 161 more

@mblajet-atlassian mblajet-atlassian merged commit 3c4984b into master May 19, 2025
9 of 25 checks passed
@mblajet-atlassian mblajet-atlassian deleted the JC-1877-fix-create-issue-scenario branch May 19, 2025 14:36
@mblajet-atlassian
Copy link
Contributor Author

Bumping gradle-release to 0.10.0 might help.

Yeah, I tried it without success. I merged it so that I can release it locally and unblock the performance tests. In the meantime, I will investigate the pipeline failure.

@mgrzaslewicz
Copy link
Contributor

@mblajet-atlassian maven settings need to be figured out anyway in order to release a version

@dagguh
Copy link
Contributor

dagguh commented May 21, 2025

You can release from local too

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.

4 participants