Skip to content

Eclipse™ Sparkplug™ Technology Compatibility Kit (TCK) #39

Closed

Description

@BoBiene

Have any of you already investigated TCK, and by any chance is SparkplugNet already tested for compatibility?

https://github.com/eclipse-sparkplug/sparkplug/blob/develop/tck/UserGuide.adoc
https://sparkplug.eclipse.org/compatibility/get-listed/

Activity

  1. self-assigned this
    on Feb 21, 2023
  2. added
    enhancement
    question
    on Feb 21, 2023
  3. SeppPenner commented on Feb 21, 2023

    @SeppPenner
    Owner

    Same answer as to the 3.0 compatibility. No yet. Will check this soon as well.

  4. scottmwyant commented on Sep 11, 2023

    @scottmwyant

    Taking initial steps to look into this. Have not worked with TCK before, so I'm probably not going to be super effective here. Looking to write SpB "clients" and this library + tck seem to be a good start.

  5. SeppPenner commented on Dec 7, 2023

    @SeppPenner
    Owner

    Eclipse-Sparkplug-TCK-3.0.0.zip

    I have added the TCK here, seems to be too hidden for me in the repo :D Thank you, @scottmwyant.

  6. SeppPenner commented on Dec 7, 2023

    @SeppPenner
    Owner

    I have NVM running on Windows (https://github.com/coreybutler/nvm-windows), version 1.1.12, node version 21.4.0 and tried to follow https://github.com/eclipse-sparkplug/sparkplug/blob/develop/tck/UserGuide.adoc:

    npm install -g yarn
    corepack enable
    yarn install

    throws some errors with yarn install (AND again I know why I hate all that node.js shit).
    Logfile can be found under https://github.com/SeppPenner/YourMotherIsALogFile/blob/master/Logfile.md (Because of the 65536 character limit in comments...)

    grafik

    Does anyone have an idea here?

  7. SeppPenner commented on Dec 7, 2023

    @SeppPenner
    Owner

    --openssl-legacy-provider

    Doesn't seem to help:

    yarn install --openssl-legacy-provider
    Unknown Syntax Error: Unsupported option name ("--openssl-legacy-provider").
    
    $ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
    

    yarn version is 3.0.1

    My issue already occurs with yarn install, I guess yours was with yarn build...

  8. SeppPenner commented on Dec 7, 2023

    @SeppPenner
    Owner

    I have now asked the people at sparkplug again.

  9. shouidar commented on Jan 29, 2024

    @shouidar
    Contributor

    run the tck test on Fedora vm successfully. Runing with the original code most tests show not executed.
    See atteched:
    results1.txt

    Version 3 of the spec requires the Host Application STATE birth message topic to be: "spBv1.0/STATE/HostId",
    running the test with this hard coded into the library executes all tests with some failing due to other aspects of the 3.0 spec.

      public static string GetSparkplugStateMessageTopic(string scadaHostIdentifier)
        {
            return $"spBv1.0/{SparkplugMessageType.StateMessage.GetDescription()}/{scadaHostIdentifier}";
        }

    See attached: results2.txt

  10. scottmwyant commented on Feb 5, 2024

    @scottmwyant

    @SeppPenner I got the [ERR_STREAM_PREMATURE_CLOSE] as you did. Running yarn set version latest resolved the problem for me. I didn't dig in to understand the problem here, but seems related to corepack subsystem and the version of yarn itself.

    I still ran into the issue I mentioned above at the yarn build step, but using the --openssl-legacy-provider option resolved it. Reference: https://stackoverflow.com/a/69699772

    From there I was able to yarn start and get to the web console at http://localhost:3000.

  11. SeppPenner commented on Feb 10, 2024

    @SeppPenner
    Owner

    @SeppPenner I got the [ERR_STREAM_PREMATURE_CLOSE] as you did. Running yarn set version latest resolved the problem for me. I didn't dig in to understand the problem here, but seems related to corepack subsystem and the version of yarn itself.

    I still ran into the issue I mentioned above at the yarn build step, but using the --openssl-legacy-provider option resolved it. Reference: https://stackoverflow.com/a/69699772

    From there I was able to yarn start and get to the web console at http://localhost:3000.

    Thanks, I have seen this already, but didn't yet come to check it... There is still a lot of stuff to do to get 3.0 compatibility, I guess...

  12. BoBiene commented on Feb 10, 2024

    @BoBiene
    ContributorAuthor

    The most recent version of the TCK is on the development branch i think:
    https://github.com/eclipse-sparkplug/sparkplug/tree/develop/tck

  13. SeppPenner commented on Nov 21, 2026

    @SeppPenner
    Owner

    I added a Docker Compose setup for HiveMQ CE and the Sparkplug 3.0 TCK. The TCK broker test passed, and SparkplugNet smoke tests passed for 2.2 and 3.0 against HiveMQ. The full Host Application and Edge Node TCK runs are still pending. Setup instructions · Commit 27973fd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementquestion

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions