Skip to content

CI, Build and Test updates#14668

Merged
matrei merged 21 commits into
apache:7.0.xfrom
matrei:custom-timestamp-test
Apr 25, 2025
Merged

CI, Build and Test updates#14668
matrei merged 21 commits into
apache:7.0.xfrom
matrei:custom-timestamp-test

Conversation

@matrei
Copy link
Copy Markdown
Contributor

@matrei matrei commented Apr 24, 2025

  • Stabilize flaky CustomAutoTimestampSpec
    • Address intermittent CI failures possibly caused by date values not incrementing as expected.
    • Enhance assertions by comparing .time values to reveal the actual millisecond differences.
    • Remove annotations that were added as a try to remedy the flakiness, to determine if they are warranted.
    • Omit cleanup of insertOverwrite, to determine if it is necessary for test stability.
    • Do one comparison per statement in then blocks.
  • Fix GroovyPageUnitTestMixinWithCustomViewDirSpec on Windows
    • The test was failing on Windows due to line ending differences affecting string comparisons.
  • Apply asset-pipeline Gradle plugin in some test applications with assets
    • This puts org.graalvm.js:js-community on the runtimeClasspath and avoids ClassNotFoundException: org.graalvm.polyglot.Context.
  • Re-enable TckTestSuite on Windows as it does not seem to fail
  • Update gradle.yml
  • Fix an incorrect log pattern in functional test applications
  • Update deprecated converterClass attributes in logback.xml
  • Fix develocity authentication in grails-gradle
  • Switch some Gradle log statements from lifecycle to info to clean up the log output a bit.
  • Update Gradle Plugin e2e tests to use Groovy 2.0.25.
  • Add mavenCentral repository to Gradle Plugin e2e tests.
  • Switch to using @PendingFeatureIf for tests that only fail in CI.

@matrei matrei changed the title Stabilize flaky CustomAutoTimestampSpec Test fixes Apr 24, 2025
@matrei matrei changed the title Test fixes CI and Test updates Apr 24, 2025
@matrei matrei changed the title CI and Test updates CI, Build and Test updates Apr 24, 2025
Comment thread .github/workflows/gradle.yml Outdated
matrei added 15 commits April 25, 2025 07:34
- Address intermittent CI failures possibly caused by date
values not incrementing as expected.
- Enhance assertions by comparing `.time` values to reveal
the actual millisecond differences.
- Remove annotations that were added as a try to remedy the
flakiness, to determine if they are warranted.
- Omit cleanup of `insertOverwrite`, to determine if it
is necessary for test stability.
- Do one comparison per statement in `then` blocks.
The test was failing on Windows due to line-ending differences affecting
string comparisons.
- Apply the `asset-pipeline` Gradle plugin to functional test projects where
it was missing.
- This adds `org.graalvm.js:js-community (required by `asset-pipeline-grails`)
to the `runtimeClasspath`.
- Without this, we get `ClassNotFoundException: org.graalvm.polyglot.Context`.
Attempting to re-enable the test on Windows, as it seems to pass
in local environments.
- Clarify comment why `GITHUB_TOKEN` is added as an environment variable.
- Align lists to use space padding for readability.
- Align `.gradlew` linebreaks.
- Align `setup-java` params to use alphabetical ascending order.
- Remove unused step ids.
- Use `bootJar` and `check` task instead of `build` in functional test
jobs as we don't have to do a full build there (docs etc.).
- Align on adding `--continue` and `--stacktrace` for test jobs.
- Align on `ubuntu-24.04` instead of `ubuntu-latest` for non-os-matrixed
jobs (for stability).
Removes log output:
[converterClass] attribute is deprecated and replaced by [class]
To make the build a little less noisy.
This prevents timeouts when `repo.grails.org` is proxying.
The default permissions should suffice for what we are doing.
@matrei matrei force-pushed the custom-timestamp-test branch from 7666190 to db1fd61 Compare April 25, 2025 05:34
@matrei matrei force-pushed the custom-timestamp-test branch from d6c1fcb to 4d08256 Compare April 25, 2025 09:35
`testFormActionSubmitWithController` fails for some reason only in CI.
It seems that `createLink` from `ApplicationTagLib` returns an empty string.
@matrei matrei merged commit 1897bf1 into apache:7.0.x Apr 25, 2025
33 of 34 checks passed
@matrei matrei deleted the custom-timestamp-test branch April 25, 2025 18:04
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.

2 participants