Skip to content

Warning in the logs during unit tests #338

@ytimocin

Description

@ytimocin

Not sure if this is because of my setup but getting the following warnings in the logs running the unit tests:

ok  	github.com/kubefleet-dev/kubefleet/pkg/controllers/resourcechange	6.031s	coverage: 1.5% of statements in ./...
# github.com/kubefleet-dev/kubefleet/pkg/utils.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-2169549544/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/utils/controller.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-1195027908/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/utils/overrider.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-4028550387/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/utils/validator.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-917549001/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-4094872267/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/clusterresourceplacement.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-1861989997/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/clusterresourceplacementdisruptionbudget.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-195057117/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/fleetresourcehandler.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-759007640/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/clusterresourceplacementeviction.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-1502970899/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/resourceplacement.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-1856083261/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/pkg/webhook/validation.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-3372146202/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/cmd/authtoken.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-1660862012/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/cmd/hubagent/options.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-2510249731/000013.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
# github.com/kubefleet-dev/kubefleet/cmd/memberagent.test
ld: warning: '/private/var/folders/9w/1d4szr9s64b48kb7mkh3rw200000gn/T/go-link-648697921/000015.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626

Reproduction steps:

  1. Clone the main repo
  2. Run make lint-full and then make local-unit-test
  3. See the logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions