Skip to content

testground treats ipfs/go-log info logs as error onces #1476

@Bidon15

Description

@Bidon15

Introduction 👋

At Celestia, we are utilising ipfs/go-log for our sw. While using testground, we observed that TG treats logs as error messages instead of message or other formats. Q: Is this behaviour a bug or a feature 🧐 ?

Environment 🍙

  • Version of TG: 63a8fce
  • Env: Ubuntu 20 LTS
  • Docker Engine Version: 20.10.14

Steps 👣

  1. git clone https://github.com/Bidon15/test-logv2
  2. testground plan import --from . --name test-logv2
  3. testground run single --plan test-logv2 --testcase smallbrain --builder docker:generic --runner local:docker --instances 10 --wait

Expected Results

  • Logs from ipfs/go-log are sorted on the same section as runenv.RecordMessage

Actual Results

We have double of the same logs (other and error)

Sep 26 14:40:38.722833	INFO	3.1806s    MESSAGE << single[005] (53909b) >> I am seq 9 #this one is with runenv.RecordMessage()
Sep 26 14:40:38.722861	INFO	3.1830s      OTHER << single[005] (53909b) >> 2022-09-26T14:40:38.720Z	INFO	test	plan/main.go:34	I am seq 9
Sep 26 14:40:38.722796	INFO	3.1829s      ERROR << single[005] (53909b) >> 2022-09-26T14:40:38.720Z	INFO	test	plan/main.go:34	I am seq 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions