os icon indicating copy to clipboard operation
os copied to clipboard

Adding VersionStream for loki-3.1

Open octo-sts[bot] opened this issue 1 year ago • 3 comments

octo-sts[bot] avatar Aug 29 '24 07:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "fatal: detected dubious ownership in repository at '/github/home'
To add an exception for this directory, call:

git config --global --add safe.directory /github/home
ERRO request failed error=\"Get \\\"./packages/apk-configuration\\\": unsupported protocol scheme \\\"\\\"\" method=GET url=./packages/apk-configuration
WARN ignoring missing keys for ./packages: failed to perform key discovery: Get \"./packages/apk-configuration\": GET ./packages/apk-configuration giving up after 1 attempt(s): Get \"./packages/apk-configuration\": unsupported protocol scheme \"\"
WARN # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof
WARN vendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond
WARN vendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame
WARN make: *** [Makefile:171: cmd/loki-canary/loki-canary] Error 1
WARN make: *** Waiting for unfinished jobs....
WARN make: *** [Makefile:147: cmd/logcli/logcli] Error 1
WARN make: *** [Makefile:159: cmd/loki/loki] Error 1
WARN make: *** [Makefile:250: clients/cmd/promtail/promtail] Error 1
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-3391428693
INFO   guest dir: /temp/melange-guest-3861877137
ERRO failed to build package: unable to run package loki-3.1 pipeline: unable to run pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/loki-3.1-3.1.1-r2.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/loki-3.1] Error 2"

1. Run `git config --global --add safe.directory /github/home`.
2. Ensure the URL in the GET request is correct and includes a valid protocol (e.g., http:// or https://).
3. Verify the runtime dependencies for `pyroscope-go` are correctly installed.
4. Check the Makefile targets for `loki-canary`, `logcli`, `loki`, and `promtail` for any missing dependencies or errors.
5. Rebuild the package.

octo-sts[bot] avatar Aug 29 '24 07:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "vendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond\nvendor/github.com/grafana/pyroscope-go/godeltaprof/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame\nmake: *** [Makefile:171: cmd/loki-canary/loki-canary] Error 1\nmake: *** Waiting for unfinished jobs....\nmake: *** [Makefile:159: cmd/loki/loki] Error 1\nmake: *** [Makefile:147: cmd/logcli/logcli] Error 1\nmake: *** [Makefile:250: clients/cmd/promtail/promtail] Error 1\nERROR: failed to build package. the build environment has been preserved:\nworkspace dir: /temp/melange-workspace-1326128736\nguest dir: /temp/melange-guest-204704300\nfailed to build package: unable to run package loki-3.1 pipeline: unable to run pipeline: unable to run pipeline: exit status 2"

Suggestions to fix the error:
1. Ensure you are using the correct version of Go that supports `runtime_cyclesPerSecond` and `runtime_expandFinalInlineFrame`.
2. Update the `pyroscope-go` dependency to the latest version.
3. Check if the functions `runtime_cyclesPerSecond` and `runtime_expandFinalInlineFrame` are defined in the runtime package or if they need to be replaced with alternative functions.
4. Clean the build environment and retry the build process.

octo-sts[bot] avatar Sep 29 '24 23:09 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package due to an issue with running the pipeline for the package "loki-3.1". The build environment has been preserved for further investigation. Here are some steps you can take:

1. **Check the Build Logs**: Look into the preserved workspace directory for detailed error messages that might provide more insight into what went wrong.
2. **Verify Dependencies**: Ensure that all necessary dependencies for "loki-3.1" are installed and correctly configured.
3. **Review the Build Script**: Check the build script for any syntax errors or misconfigurations that could be causing the failure.
4. **Permissions**: Make sure you have the necessary permissions to execute the build process.
5. **Retry the Build**: After addressing any issues found, try re-running the build process to see if the problem persists.

octo-sts[bot] avatar Oct 09 '24 00:10 octo-sts[bot]

Gen AI suggestions to solve the build error:

The error message indicates a failure in building the package due to an issue with running the pipeline for `loki-3.1`, resulting in an exit status 2. Here are some suggestions to fix the error:

1. Check the build logs for specific error messages.
2. Ensure all dependencies for `loki-3.1` are installed.
3. Verify the pipeline configuration for errors.
4. Run the pipeline manually to identify the exact failure point.
5. Check for permission issues or missing environment variables.
6. Update to the latest version of `loki-3.1` if possible.

octo-sts[bot] avatar Oct 23 '24 19:10 octo-sts[bot]

Package loki-3.1: Click to expand/collapse

Package loki-3.1: Modified: /usr/bin/loki

Package loki-3.1-logcli: Click to expand/collapse

Package loki-3.1-logcli: Modified: /usr/bin/logcli

Package loki-3.1-promtail: Click to expand/collapse

Package loki-3.1-promtail: Modified: /usr/bin/promtail

Package loki-3.1-loki-canary: Click to expand/collapse

Package loki-3.1-loki-canary: Modified: /usr/bin/loki-canary

github-actions[bot] avatar Oct 23 '24 19:10 github-actions[bot]

This is an old PR, and is missing some tags so probably got lost in queues. this was for loki-3.1, but the latest is loki-3.3 which is already in wolfi

mamccorm avatar Dec 10 '24 00:12 mamccorm