Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tests fail when not ran in Arduino CLI's Git repository #1950

Open
Assignees
Labels
topic: infrastructureRelated to project infrastructure type: imperfectionPerceived defect in any part of project
@txgk

Description

Describe the problem

Hi, currently I'm interested in getting arduino-cli package to the Alpine Linux repositories (I know that musl can be of issue here - that's why I add gcompat to the dependencies and install gcc-avr and avrdude from package manager). However, there is a big problem which I am experiencing right now: a lot of tests fail with Error searching for repository root path message despite I run them in not fancy fashion at all (with simple go-task go:test).

Also I have a question. According to the logs, some architectures fail other many tests because not every go module supports all architectures. Is this a valid reason to disable arduino-cli support on such architectures or I should just remove these tests on certain architectures?

Recipe according to which arduino-cli is built:

https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/40647/diffs

Build logs:

x86_64: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885526/raw
x86: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885527/raw
aarch64: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885530/raw
armv7: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885531/raw
armhf: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885532/raw
ppc64le: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885529/raw
s390x: https://gitlab.alpinelinux.org/grikir02/aports/-/jobs/885528/raw

Thanks!

To reproduce

Run go-task go:test on an Alpine Linux package builder.

Expected behavior

All tests pass at least for x86_64 architecture.

Arduino CLI version

13f2255

Operating system

Linux

Operating system version

Alpine Linux Edge

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: infrastructureRelated to project infrastructure type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /