Cloud customer?
Start for Free >
Upgrade in MyJFrog >
What's New in Cloud >







Overview

The Pipeline Run Logs view of Pipelines provides the facilities to view the log of execution, test results, and other information for steps in the pipeline.


The logs can be displayed for any step within any recorded or executing run of a pipeline. It will display the details of that step's execution as it was performed in that run of the pipeline.

Page Contents

reqsealer-eventMetric.log

For detailed information about steps and runs, you can also view the reqsealer-eventMetric.log file: /pipelines/controlplane/logs/reqsealer-eventMetric.log.

Example
{"timestamp":"2021-12-16T06:06:43.897Z","domain":"step","pipelineName":"test_pipeline1","triggeredBy":"admin","branchName":"master","stepName":"step1","runNumber":2,"status":"error","durationMillis":null}
{"timestamp":"2021-12-16T06:13:37.332Z","domain":"step","pipelineName":"test_pipeline3","triggeredBy":"admin","branchName":"master","stepName":"step3","runNumber":3,"status":"success","durationMillis":2329}
{"timestamp":"2021-12-16T06:13:37.332Z","domain":"run","pipelineName":"test_pipeline3","triggeredBy":"admin","branchName":"master","runNumber":3,"status":"success","durationMillis":2329} 
{"timestamp":"2021-12-16T08:32:57.063Z","domain":"step","pipelineName":"test_pipeline2","triggeredBy":"admin","branchName":"master","stepName":"step2","runNumber":2,"status":"cancelled","durationMillis":5639}
{"timestamp":"2021-12-16T08:32:57.063Z","domain":"run","pipelineName":"test_pipeline2","triggeredBy":"admin","branchName":"master","runNumber":2,"status":"cancelled","durationMillis":5639}

View Logs 

This section provides information about viewing logs using the new UI. To perform the same steps using the old UI, see the expandable section below.

To view the logs for a run:

  • In the List view, click the relevant run.
    or
  • In the Graph view, click the relevant step and click Logs.


This section provides information about viewing logs using the old UI. To perform the same steps using the new UI, see the section above.

The Pipeline Run Logs view can be invoked from the Runs portion of the Pipeline History view, by clicking on the row of any run in the list

It can also be invoked through the pipeline diagram, by clicking on a step and then clicking "View Logs".


Either procedure will result in the Pipeline Log view for the selected run:

You can view log data for each of the steps in the pipeline. You can select the step by either:

  • Clicking on the step in the pipeline diagram
  • Selecting the step in the dropdown list

Logs

The Logs tab presents the record of what was executed for each portion of the step, and the system response. The log shows the command line directives issued, with their outputs.

Each section in the log represents a section of the step, and you may expand each section to view the command line output that was recorded. In this way, you can see the specific success or error messages that were returned for each issued command.

Use the Timestamp toggle to view or hide timestamps for the logs. Use the Internal Logs toggle to view or hide detailed, Pipelines-generated logs.

Tests

The Tests tab displays, when available, any test report information that was provided for the step through the save_tests utility function. The Summary column displays the Passed, Skipped, Failed, and Errors status for each test. Click one of the statuses to filter by that status.

Step Info

The Step Info tab provides additional information about the step, including the run state variables, as it executed in the run.


Resources

The Resources tab displays information about the resources used in the step, and their status at the time the step was executed in the run.

Matrix Steplet Logs

When a Matrix step is selected, a disaggregated list of the individual steplets are presented. 

Steplet Number
The sequential number of the steplet in the Matrix step.
Status
The success or failure of the steplet.
Started At
Date and time the steplet began execution.
Duration
The duration of the run of the steplet.
Matrix Combination
The values of the set of matrix environment variables used by the steplet, and the runtime image the steplet was executed in.
Tests
The test reports of the steplet, if any.
Coverage
The coverage reports of the steplet, if any.


Click on a row to view the logs for that steplet.

  • No labels
Copyright © 2023 JFrog Ltd.