Skip to content

Unable to bundle sources to be send from a Linux Environment #2186

Closed
@jopheno

Description

@jopheno

CLI Version

sentry-cli 2.37.0

Operating System and Architecture

  • macOS (arm64)
  • macOS (x86_64)
  • Linux (i686)
  • Linux (x86_64)
  • Linux (armv7)
  • Linux (aarch64)
  • Windows (i686)
  • Windows (x86_64)

Operating System Version

Ubuntu 22.04.3 LTS

Link to reproduction repository

No response

CLI Command

sentry-cli --log-level=debug debug-files bundle-sources .

Exact Reproduction Steps

Using a native C++ application (I used GDB to check if symbols were missing or if the source path was somehow wrong, but gdb was able to see all the sources just fine...)

Expected Results

It should correctly generate the source bundle debug files that would be uploaded to the sentry backend, but it didn't work;

Actual Results

jopheno@lnx-tlm-dev:~/repo/tlm-server$ ./tools/sentry-cli --log-level=debug debug-files bundle-sources .
  INFO    2024-10-18 21:44:48.306920627 +00:00 Loaded config from /home/jopheno/repo/tlm-server/.sentryclirc
  DEBUG   2024-10-18 21:44:48.307030067 +00:00 sentry-cli version: 2.37.0, platform: "linux", architecture: "x86_64"
  INFO    2024-10-18 21:44:48.308006929 +00:00 sentry-cli was invoked with the following command line: "./tools/sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
  INFO    2024-10-18 21:44:48.310324091 +00:00 Skipping update nagger update check

I am unsure if I am using it wrongly, but I have no idea what No such device means, if I indeed add a path that doesn't exists, it does say No such file or directory, but passing the executable, or the path where the executable is, or any path at all grants me with No such device (os error 19)

Even tried adding a symbolic link so that I could execute using sentry-cli directly instead of having to pass the whole repository; Got no results;

Logs

jopheno@lnx-tlm-dev:~/repo/tlm-server$ ./tools/sentry-cli --log-level=debug debug-files bundle-sources .
  INFO    2024-10-18 21:44:48.306920627 +00:00 Loaded config from /home/jopheno/repo/tlm-server/.sentryclirc
  DEBUG   2024-10-18 21:44:48.307030067 +00:00 sentry-cli version: 2.37.0, platform: "linux", architecture: "x86_64"
  INFO    2024-10-18 21:44:48.308006929 +00:00 sentry-cli was invoked with the following command line: "./tools/sentry-cli" "--log-level=debug" "debug-files" "bundle-sources" "."
error: No such device (os error 19)
  INFO    2024-10-18 21:44:48.310324091 +00:00 Skipping update nagger update check

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue type

    Type

    No type

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions