FTBFS - FAIL: TestTimezoneAmericasCompileFileAndParse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
telegraf (Ubuntu) |
Won't Fix
|
Undecided
|
Miriam España Acebal |
Bug Description
In a recent rebuild on the server team, amd64 arm64 ppc64el s390x arch builds were failing due to:
2024/04/16 20:54:12 E! [] Error parsing foobar to timestamp: strconv.ParseInt: parsing "foobar": invalid syntax
2024/04/16 20:54:12 E! [] Error parsing foobar to int: strconv.ParseInt: parsing "foobar": invalid syntax
2024/04/16 20:54:12 E! [] Error parsing timestamp [foobar], could not find any suitable time layouts.
2024/04/16 20:54:12 D! [] Grok no match found for: "1.25 200 192.168.1.1 5.432µs"
2024/04/16 20:54:12 D! [] Grok no match found for: "[04/Jun/
2024/04/16 20:54:12 E! [] Error parsing notnumber to int: strconv.ParseInt: parsing "notnumber": invalid syntax
2024/04/16 20:54:12 E! [] Error parsing notnumber to float: strconv.ParseFloat: parsing "notnumber": invalid syntax
2024/04/16 20:54:12 E! [] Error parsing notnumber to duration: time: invalid duration "notnumber"
2024/04/16 20:54:12 E! [] Error parsing notnumber to duration: time: invalid duration "notnumber"
2024/04/16 20:54:12 W! [] Improper timezone supplied (Something/Weird), setting loc to UTC
--- FAIL: TestTimezoneAme
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x6b2066]
goroutine 82 [running]:
testing.
/usr/lib/
testing.
/usr/lib/
panic({0x6f49a0?, 0x9ba620?})
/usr/lib/
github.
/<<PKGBUILDDIR
github.
/<<PKGBUILDDIR
testing.
/usr/lib/
created by testing.(*T).Run in goroutine 1
A debugging session shows that the improper timezone supplied is
error(*
From
grok.(*
it tries to load /usr/share/
That file exists in tzdata-legacy package:
root@Ntzdata:~# apt-file search Canada/Eastern
Finding relevant cache files to search
tzdata-legacy: /usr/share/
tzdata-legacy: /usr/share/
It might be possible that we need to add tzdata-legacy as a dependency
Related branches
- Simon Quigley (community): Approve (sponsorship)
- Miriam España Acebal (community): Approve
- Daniel Draper: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 29 lines (+10/-0)2 files modifieddebian/changelog (+9/-0)
debian/control (+1/-0)
Changed in telegraf (Ubuntu): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
status: | New → In Progress |
telegraf package was finally removed from the Archive: please, see [1] for more info.
[1] https:/ /bugs.launchpad .net/ubuntu/ +source/ telegraf/ +bug/2062013