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

[SR-13534] html_normalization test hangs #55971

Open
WowbaggersLiquidLunch opened this issue Sep 9, 2020 · 4 comments
Open

[SR-13534] html_normalization test hangs #55971

WowbaggersLiquidLunch opened this issue Sep 9, 2020 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@WowbaggersLiquidLunch
Copy link
Collaborator

Previous ID SR-13534
Radar None
Original Reporter @WowbaggersLiquidLunch
Type Bug
Environment

macOS 10.15.6 (19G2021)

Xcode 12.0 beta 6 (12A8189n)

cmake 3.18.2

Python 3.8.5

sccache 0.2.13 (with 50 GB cache set in ~/.bash_profile)

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee interfere (JIRA)
Priority Medium

md5: 0c5a7e7ff14aed4325d800e0d47cafff

Issue Description:

The repository is freshly cloned via HTTPS.

On master branch, he project builds successfully with:

utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "x86_64" --cmake-c-launcher="$(which sccache)" --cmake-cxx-launcher="$(which sccache)" --release-debuginfo --test --xcode

Then runs tests from build/Xcode-RelWithDebInfoAssert/cmark-macosx-x86_64 automatically. The first test api_test passes, and the second test html_normalization hangs.

    Start 1: api_test
1/9 Test #​1: api_test .........................   Passed    0.01 sec
    Start 2: html_normalization

^ Note that the output has an empty new line after "Start 2: html_normalization".

In the terminal, the spinning progress indicator disappears a few seconds after the output above.

Git hashes of all repositories being tracked:

$ utils/update-checkout --dump-hashes
{
    "https-clone-pattern": "https://github.com/%s.git", 
    "ssh-clone-pattern": "git@github.com:%s.git", 
    "repos": {
        "sourcekit-lsp": {
            "remote": {
                "id": "apple/sourcekit-lsp"
            }
        }, 
        "indexstore-db": {
            "remote": {
                "id": "apple/indexstore-db"
            }
        }, 
        "llbuild": {
            "remote": {
                "id": "apple/swift-llbuild"
            }
        }, 
        "swift-xcode-playground-support": {
            "remote": {
                "id": "apple/swift-xcode-playground-support"
            }
        }, 
        "swift-syntax": {
            "remote": {
                "id": "apple/swift-syntax"
            }
        }, 
        "swift-corelibs-xctest": {
            "remote": {
                "id": "apple/swift-corelibs-xctest"
            }
        }, 
        "swiftpm": {
            "remote": {
                "id": "apple/swift-package-manager"
            }
        }, 
        "swift-tools-support-core": {
            "remote": {
                "id": "apple/swift-tools-support-core"
            }
        }, 
        "cmake": {
            "platforms": [
                "Linux"
            ], 
            "remote": {
                "id": "KitWare/CMake"
            }
        }, 
        "swift-driver": {
            "remote": {
                "id": "apple/swift-driver"
            }
        }, 
        "yams": {
            "remote": {
                "id": "jpsim/Yams"
            }
        }, 
        "icu": {
            "platforms": [
                "Linux"
            ], 
            "remote": {
                "id": "unicode-org/icu"
            }
        }, 
        "swift-corelibs-foundation": {
            "remote": {
                "id": "apple/swift-corelibs-foundation"
            }
        }, 
        "llvm-project": {
            "remote": {
                "id": "apple/llvm-project"
            }
        }, 
        "swift-argument-parser": {
            "remote": {
                "id": "apple/swift-argument-parser"
            }
        }, 
        "ninja": {
            "remote": {
                "id": "ninja-build/ninja"
            }
        }, 
        "swift-integration-tests": {
            "remote": {
                "id": "apple/swift-integration-tests"
            }
        }, 
        "swift": {
            "remote": {
                "id": "apple/swift"
            }
        }, 
        "swift-stress-tester": {
            "remote": {
                "id": "apple/swift-stress-tester"
            }
        }, 
        "cmark": {
            "remote": {
                "id": "apple/swift-cmark"
            }
        }, 
        "swift-format": {
            "remote": {
                "id": "apple/swift-format"
            }
        }, 
        "swift-corelibs-libdispatch": {
            "remote": {
                "id": "apple/swift-corelibs-libdispatch"
            }
        }
    }, 
    "branch-schemes": {
        "repro": {
            "repos": {
                "sourcekit-lsp": "eaea937ee4f5aea0a055bd5f682f31da0fa7f82f", 
                "swift-syntax": "3fbed3ad7cdd185827e2c2459d3f4542e1656310", 
                "llbuild": "93247a1ac52be0a312691281c9bcf7477749897e", 
                "swift-xcode-playground-support": "88043d7d320f92598efb39408c3f4b1903a4fff6", 
                "indexstore-db": "1f5bbb0c443b964ce9cc4ba05b3caebbab5e34cb", 
                "swift-corelibs-xctest": "0bd9e7673c078e7c0f7217f854749526fa5e9d96", 
                "swiftpm": "7b06638ef7b82860d728106b702a9dee1b0e9964", 
                "swift-tools-support-core": "fb8e160e3860c49286648a8981614e280d8cb0f4", 
                "cmake": "skip", 
                "swift-driver": "a065fa94020950236cffddc636cefa93c6c9dd1c", 
                "yams": "81a65c4069c28011ee432f2858ba0de49b086677", 
                "icu": "skip", 
                "swift-corelibs-foundation": "807e4156ccea51677fd40ee201c5f0b7853302b2", 
                "llvm-project": "bb9fdf48dff8135559726ae34c0a72b03529cb8e", 
                "swift-argument-parser": "15351c1cd009eba0b6e438bfef55ea9847a8dc4a", 
                "ninja": "a1f879b29c9aafe6a2bc0ba885701f8f4f19f772", 
                "swift-integration-tests": "3ceb61d33ea8885938eace0add830d143a3059cd", 
                "swift": "f9c70b4044d1c69b425502c69f957201fb52c226", 
                "swift-stress-tester": "4d8f8a790d32a3ced310c6b68c46ca8e6f71f52c", 
                "cmark": "9c8096a23f44794bde297452d87c455fc4f76d42", 
                "swift-format": "4af1af9a0bae7ffef0bf0f604d61346d23f92a7b", 
                "swift-corelibs-libdispatch": "f13ea5dcc055e5d2d7c02e90d8c9907ca9dc72e1"
            }, 
            "aliases": [
                "repro"
            ]
        }
    }
@typesanitizer
Copy link

Could you specify what hashes you are using? You can shared the output for utils/update-checkout --dump-hashes.

In the meantime, I think you could use --skip-test-cmark to work around this issue.

@WowbaggersLiquidLunch
Copy link
Collaborator Author

I just added the hashes in the issue's description.

@swift-ci
Copy link
Collaborator

Comment by Alexey Komnin (JIRA)

This issue in CTest might cause this hang.

@swift-ci
Copy link
Collaborator

Comment by Alexey Komnin (JIRA)

Opened a PR with fix - apple/swift-cmark#22
theindigamer (JIRA User) could you please review? Thanks.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

3 participants