Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 594
    • Issues 594
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 61
    • Merge requests 61
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #2788
Closed
Open
Issue created Mar 09, 2023 by Andrei Pavel@andreiMaintainer

Kea might not use getopt correctly on alpine

On all the alpine systems in jenkins, we have this failure:

netconf_controller_unittests.cc:134
Expected equality of these values:
  std::string(ex.what())
    Which is: "unsupported option: [x] d2-test-config.json"
  "unsupported option: [x] "

It's not related only to NETCONF. The tests there are just more thorough and check for the error message and that's why it appears only there. The tested code is common to all binaries.

The tested argument is just -x. It could be that on alpine systems, the way Kea uses getopt in DControllerBase::parseArgs() doesn't clear an argument previously used in the same unit test, which would be why d2-test-config.json appears in the error message.

You can see the failures here: https://jenkins.aws.isc.org/job/kea-dev/job/ut-extended/1017/.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking