Self.Hosted Windows Runner have no log

Chin Wang Cheung February 6, 2024

Hi all,

First of all I am very new to the pipeline/runner and trying to make sure of it.

I am currently having a PoC on self.hosted windows runner, however, the pipeline failed somehow

When I try to check on the web UI, there's a message (with an exclamation mark) saying "failed to download log".

I now have no idea how to check what's failed (as the log file is being cleared after the build step on the server too).

 

Any one can give me some hints on what I did wrong here?

 

Thank you very much.

bitbucket_pipeline_failed.png

2 answers

1 vote
Thomas Peters February 6, 2024

check installation location of your runner. eg c:\myrunner. There should be a temp folder with another folder inside which contains logs

Chin Wang Cheung February 6, 2024

Thanks for your reply.

I found all the log files on the server is being cleaned up after every build.

I try to quickly copy out the files while the runner is working but it's hard to capture the file as it appears real quick and then gone.. 

And i am just running a simple dot net build script currently.

 

# Template .NET Core build

# This template allows you to validate your .NET Core package.
# The workflow allows running tests and code linting on the default branch.

# To run your pipeline on a Windows machine, create a self-hosted Windows runner.
# For instructions on setting up a Windows runner, see https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-windows/

image: mcr.microsoft.com/dotnet/core/sdk:3.1

pipelines:
  default:
    - parallel:
      - step:
        name: Build Debug
        runs-on:
          - 'self.hosted'
          - 'windows'
          - 'poc'
        script:
          - dotnet build --no-restore --configuration Debug

 

Any hints are much appreciated. Thanks.

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2024

G'day, @Chin Wang Cheung 

Can you raise a support ticket to investigate this issue further? You can raise them at:

https://support.atlassian.com/contact

Make sure to select Technical issues and bugs and use your paid workspace URL

Regards,
Syahrul

Chin Wang Cheung February 7, 2024

Thank you. Will try raising a ticket.

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events