Skip to content

[Backport 2.19-dev] BUILD: fix linkchecker in 2.x - #3795

Merged
penghuo merged 1 commit into
2.19-devfrom
backport/backport-3793-to-2.19-dev
Jun 20, 2025
Merged

penghuo merged 1 commit into
2.19-devfrom
backport/backport-3793-to-2.19-dev

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport 7268bc5 from #3793.

* BUILD: fix linkchecker in 2.x

Signed-off-by: Lantao Jin <[email protected]>

* ignore github url

Signed-off-by: Lantao Jin <[email protected]>

* add missing doc links

Signed-off-by: Lantao Jin <[email protected]>

* fix typo

Signed-off-by: Lantao Jin <[email protected]>

---------

Signed-off-by: Lantao Jin <[email protected]>
(cherry picked from commit 7268bc5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@LantaoJin

Copy link
Copy Markdown
Member

Flaky tests in 2.19-dev:

REPRODUCE WITH: ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testDateFormatAndDatetimeAndFromDays" -Dtests.seed=B00BC761C9607C01 -Dtests.security.manager=false -Dtests.locale=ja-JP-u-ca-japanese-x-lvariant-JP -Dtests.timezone=America/Rainy_River -Druntime.java=17
org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testDateFormatAndDatetimeAndFromDays FAILED
    java.lang.AssertionError: 
    Expected: iterable with items [[1984-04-12, 1984-Apr-12th 12:00:00 AM, 12.04.84 9:07 AM, 09:07:42, Wed 08 26 13 01 239 13 August 00 00 Wednesday 3 %, 2017-11-02, 1984-04-12 23:07:42, 1984-04-12 15:07:42, 15 1984 15, 15 15 1984, 09:07:42.000123]] in any order
         but: not matched: <["1984-04-12","1984-Apr-12th 12:00:00 AM","12.04.84 9:07 AM","09:07:42","Wed 08 26 13 01 239 13 August 00 00 Wednesday 3 %","2017-11-02","1984-04-12 23:07:42","1984-04-12 15:07:42","14 1984 14","15 15 1984","09:07:42.000123"]>
        at __randomizedtesting.SeedInfo.seed([B00BC761C9607C01:3D38B329F58C4320]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.sql.util.MatcherUtils.verify(MatcherUtils.java:188)
        at org.opensearch.sql.util.MatcherUtils.verifyDataRows(MatcherUtils.java:160)
        at org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testDateFormatAndDatetimeAndFromDays(CalcitePPLDateTimeBuiltinFunctionIT.java:1009)

REPRODUCE WITH: ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testYearWeek" -Dtests.seed=B00BC761C9607C01 -Dtests.security.manager=false -Dtests.locale=ja-JP-u-ca-japanese-x-lvariant-JP -Dtests.timezone=America/Rainy_River -Druntime.java=17
org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testYearWeek FAILED
    java.lang.AssertionError: 
    Expected: iterable with items [[198415, 202524, 198415, 202034, 201901]] in any order
         but: not matched: <[198414,202524,198414,202034,201901]>
        at __randomizedtesting.SeedInfo.seed([B00BC761C9607C01:CF4F843FCDC68BBB]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.sql.util.MatcherUtils.verify(MatcherUtils.java:188)
        at org.opensearch.sql.util.MatcherUtils.verifyDataRows(MatcherUtils.java:160)
        at org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testYearWeek(CalcitePPLDateTimeBuiltinFunctionIT.java:494)

org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testTimeStrToDate PASSED


REPRODUCE WITH: ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testWeekAndWeekOfYearWithFilter" -Dtests.seed=B00BC761C9607C01 -Dtests.security.manager=false -Dtests.locale=ja-JP-u-ca-japanese-x-lvariant-JP -Dtests.timezone=America/Rainy_River -Druntime.java=17
org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testWeekAndWeekOfYearWithFilter FAILED
    java.lang.AssertionError: 
    Expected: iterable with items [[2]] in any order
         but: not matched: <[0]>
        at __randomizedtesting.SeedInfo.seed([B00BC761C9607C01:A9A6B15FBA9E99D6]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.sql.util.MatcherUtils.verify(MatcherUtils.java:188)
        at org.opensearch.sql.util.MatcherUtils.verifyDataRows(MatcherUtils.java:160)
        at org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testWeekAndWeekOfYearWithFilter(CalcitePPLDateTimeBuiltinFunctionIT.java:438)

org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testSysdate PASSED

org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testTimestampWithTimeInput PASSED

org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testTime PASSED

org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testExtractWithSimpleFormats PASSED


REPRODUCE WITH: ./gradlew ':integ-test:integTest' --tests "org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testWeekAndWeekOfYear" -Dtests.seed=B00BC761C9607C01 -Dtests.security.manager=false -Dtests.locale=ja-JP-u-ca-japanese-x-lvariant-JP -Dtests.timezone=America/Rainy_River -Druntime.java=17
org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT > testWeekAndWeekOfYear FAILED
    java.lang.AssertionError: 
    Expected: iterable with items [[15, 15, 15, 15, 7, 8]] in any order
         but: not matched: <[14,14,15,15,7,7]>
        at __randomizedtesting.SeedInfo.seed([B00BC761C9607C01:EB38628B74D202C0]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.sql.util.MatcherUtils.verify(MatcherUtils.java:188)
        at org.opensearch.sql.util.MatcherUtils.verifyDataRows(MatcherUtils.java:160)
        at org.opensearch.sql.calcite.standalone.CalcitePPLDateTimeBuiltinFunctionIT.testWeekAndWeekOfYear(CalcitePPLDateTimeBuiltinFunctionIT.java:421)

cc @yuancu

@penghuo can you help to merge this? Which is fix linkchecker failures.

@LantaoJin LantaoJin added the infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. label Jun 20, 2025
@penghuo
penghuo merged commit a382e84 into 2.19-dev Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants