Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Upload logs of the agent #1721

Merged
merged 17 commits into from
Mar 30, 2022
Merged

Upload logs of the agent #1721

merged 17 commits into from
Mar 30, 2022

Conversation

chkeita
Copy link
Contributor

@chkeita chkeita commented Mar 22, 2022

Agent side changes to support uploads of logs. (continuation of #1727)

  • We create a TaskLogger that receive messages broadcasted by the onefuzz-telemtry component.
  • The task logger accumulate a messages before uploading them to a blob
  • The blob is split as soon as the maximum size configured is reached.

closes #1711

- a log is created or reused when e create a job
- when scheduling the task we send the log location to the agent
The expected log structure looks liek
{fuzzContainer}/logs/{job_id}/{task_id}/{machine_id}/1.log
@chkeita chkeita marked this pull request as ready for review March 29, 2022 18:50
@chkeita chkeita changed the title [WIP] Upload logs of the agent Upload logs of the agent Mar 29, 2022
@chkeita chkeita merged commit a2e87c6 into microsoft:main Mar 30, 2022
@chkeita chkeita deleted the 1711 branch March 30, 2022 22:20
@ghost ghost locked as resolved and limited conversation to collaborators Apr 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide the ability to download the logs specific to a job
3 participants