Skip to content

pull: output is not human-readable within Bamboo (tqdm) #5649

@sebastienbonami

Description

@sebastienbonami

Bug Report

Description

I'm running dvc pull within Bamboo (a tool by Atlassian similar to Jenkins) and the output looks like this:

...
build	18-Mar-2021 15:25:18	Downloading:   0% 0.00/294k [00:00<?, ?file/s]
build	18-Mar-2021 15:25:19	Downloading:   0% 0.00/294k [00:00<?, ?file/s{'info': ''}]
build	18-Mar-2021 15:25:19	
build	18-Mar-2021 15:25:19	  0% 0.00/30.9k [00:00<?, ?B/s]�[A
build	18-Mar-2021 15:25:19	
build	18-Mar-2021 15:25:19	  0% 0.00/30.9k [00:00<?, ?B/s{'info': ''}]�[A
build	18-Mar-2021 15:25:19	
build	18-Mar-2021 15:25:19	
build	18-Mar-2021 15:25:20	  0% 0.00/31.3k [00:00<?, ?B/s{'info': ''}]�[A�[A
build	18-Mar-2021 15:25:20	
build	18-Mar-2021 15:25:20	
build	18-Mar-2021 15:25:20	
build	18-Mar-2021 15:25:20	  0% 0.00/34.8k [00:00<?, ?B/s{'info': ''}]�[A�[A�[A
build	18-Mar-2021 15:25:20	
...

Any idea on how to improve that? Maybe there's a way to deactivate tqdm or something?

Reproduce

  1. Create a build plan in Bamboo linked to a Git repo that use DVC
  2. Add a script task that run dvc pull
  3. Run a build
  4. Look at its Logs

Expected

A human can read the Logs and understand the download progress of the data.

Environment information

Output of dvc doctor:

$ dvc doctor
DVC version: 2.0.6 (pip)
---------------------------------
Platform: Python 3.9.2 on Linux-5.4.0-1028-aws-x86_64-with-glibc2.28
Supports: http, https, s3
Cache types: hardlink, symlink
Cache directory: ext4 on /dev/nvme0n1p1
Caches: local
Remotes: s3
Workspace directory: ext4 on /dev/nvme0n1p1
Repo: dvc, git

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: data-syncRelated to dvc get/fetch/import/pull/pushfeature requestRequesting a new featurep3-nice-to-haveIt should be done this or next sprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions