2021-01-05 02:14:02 |
Alex Murray |
bug |
|
|
added bug |
2021-01-05 02:14:02 |
Alex Murray |
attachment added |
|
jq_1.6-2.1ubuntu1.debdiff https://bugs.launchpad.net/bugs/1910162/+attachment/5449301/+files/jq_1.6-2.1ubuntu1.debdiff |
|
2021-01-05 02:22:30 |
Alex Murray |
attachment added |
|
updated debdiff which references this bug number https://bugs.launchpad.net/ubuntu/+source/jq/+bug/1910162/+attachment/5449302/+files/jq_1.6-2.1ubuntu1.debdiff |
|
2021-01-05 02:23:13 |
Alex Murray |
attachment removed |
jq_1.6-2.1ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/jq/+bug/1910162/+attachment/5449301/+files/jq_1.6-2.1ubuntu1.debdiff |
|
|
2021-01-05 04:25:41 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2021-01-05 04:25:48 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2021-01-05 06:12:33 |
Christian Ehrhardt |
jq (Ubuntu): status |
New |
Confirmed |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Groovy |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
bug task added |
|
jq (Ubuntu Groovy) |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Hirsute |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
bug task added |
|
jq (Ubuntu Hirsute) |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Focal |
|
2021-01-05 06:12:39 |
Christian Ehrhardt |
bug task added |
|
jq (Ubuntu Focal) |
|
2021-01-05 06:13:59 |
Christian Ehrhardt |
jq (Ubuntu Groovy): status |
New |
Triaged |
|
2021-01-05 06:14:00 |
Christian Ehrhardt |
jq (Ubuntu Focal): status |
New |
Triaged |
|
2021-01-05 06:14:02 |
Christian Ehrhardt |
jq (Ubuntu Focal): importance |
Undecided |
Medium |
|
2021-01-05 06:14:03 |
Christian Ehrhardt |
jq (Ubuntu Groovy): importance |
Undecided |
Medium |
|
2021-01-05 06:14:06 |
Christian Ehrhardt |
jq (Ubuntu Hirsute): importance |
Undecided |
Medium |
|
2021-01-05 06:14:10 |
Christian Ehrhardt |
jq (Ubuntu Hirsute): status |
Confirmed |
Triaged |
|
2021-01-05 06:41:12 |
Christian Ehrhardt |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979308 |
|
2021-01-05 06:41:23 |
Christian Ehrhardt |
bug task added |
|
jq (Debian) |
|
2021-01-05 06:54:00 |
Christian Ehrhardt |
jq (Ubuntu Hirsute): assignee |
|
Christian Ehrhardt (paelzer) |
|
2021-01-05 06:54:13 |
Christian Ehrhardt |
bug |
|
|
added subscriber Ubuntu Server |
2021-01-05 06:54:17 |
Christian Ehrhardt |
tags |
patch |
patch server-next |
|
2021-01-05 06:54:28 |
Christian Ehrhardt |
jq (Ubuntu Groovy): importance |
Medium |
Low |
|
2021-01-05 06:54:29 |
Christian Ehrhardt |
jq (Ubuntu Focal): importance |
Medium |
Low |
|
2021-01-05 09:09:32 |
Christian Ehrhardt |
jq (Ubuntu Hirsute): status |
Triaged |
In Progress |
|
2021-01-06 10:31:36 |
Launchpad Janitor |
jq (Ubuntu Hirsute): status |
In Progress |
Fix Released |
|
2021-01-06 11:14:35 |
Christian Ehrhardt |
description |
When trying to build jq locally it FTBFS for me since the unit tests that run during the build and check the output of fromdate fail:
Testing 'fromdate' at line number 642
*** Expected 1425599507, but got 1425603107 for test at line number 644: fromdate
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")' at line number 646
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")|mktime' at line number 650
*** Expected 1425599507, but got 1425603107 for test at line number 652: strptime("%Y-%m-%dT%H:%M:%SZ")|mktime
This is caused by this upstream bug https://github.com/stedolan/jq/issues/2001 which was fixed by this upstream commit https://github.com/stedolan/jq/commit/3c5b1419a278dfb192666b33197dc182c670290d but this fix is not yet in 1.6-2 as shipped in Ubuntu.
See attached for a debdiff which includes the upstream patch to resolve this. |
[Impact]
* An upstream change in version 1.6 turned out to break
depending on the current timezone (that is how it went undetected
for so long)
* Upstream undid the change and we want to follow them by backporting
that.
[Test Case]
* root@h:~# TZ=America/New_York jq -n '"2018-08-31T00:00:00Z"|fromdate|todate'
"2018-08-31T01:00:00Z"
This should return the same time as it was passed.
[Where problems could occur]
* jq can do many things and handling date conversions is just a small
fraction of it. But in that fraction fromdate|todate and regressions
would happen to take place.
And vice versa - if a jq user does not use those conversions it should
be a no-op for him.
Another regression could be if users were aware and added workarounds
(like doing -1 after the conversion). Obviously by fixing this it would
then be -1 off afterwards.
[Other Info]
* n/a
---
When trying to build jq locally it FTBFS for me since the unit tests that run during the build and check the output of fromdate fail:
Testing 'fromdate' at line number 642
*** Expected 1425599507, but got 1425603107 for test at line number 644: fromdate
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")' at line number 646
Testing 'strptime("%Y-%m-%dT%H:%M:%SZ")|mktime' at line number 650
*** Expected 1425599507, but got 1425603107 for test at line number 652: strptime("%Y-%m-%dT%H:%M:%SZ")|mktime
This is caused by this upstream bug https://github.com/stedolan/jq/issues/2001 which was fixed by this upstream commit https://github.com/stedolan/jq/commit/3c5b1419a278dfb192666b33197dc182c670290d but this fix is not yet in 1.6-2 as shipped in Ubuntu.
See attached for a debdiff which includes the upstream patch to resolve this. |
|
2021-01-12 22:46:19 |
Brian Murray |
jq (Ubuntu Groovy): status |
Triaged |
Fix Committed |
|
2021-01-12 22:46:21 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-01-12 22:46:24 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2021-01-12 22:46:26 |
Brian Murray |
tags |
patch server-next |
patch server-next verification-needed verification-needed-groovy |
|
2021-01-12 22:51:56 |
Brian Murray |
jq (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2021-01-12 22:51:58 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2021-01-12 22:52:03 |
Brian Murray |
tags |
patch server-next verification-needed verification-needed-groovy |
patch server-next verification-needed verification-needed-focal verification-needed-groovy |
|
2021-01-13 04:36:56 |
Alex Murray |
tags |
patch server-next verification-needed verification-needed-focal verification-needed-groovy |
patch server-next verification-done verification-done-focal verification-done-groovy |
|
2021-01-20 03:21:18 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-01-20 03:23:14 |
Launchpad Janitor |
jq (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-01-20 03:29:35 |
Launchpad Janitor |
jq (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-02-25 09:11:02 |
Bug Watch Updater |
jq (Debian): status |
Unknown |
New |
|
2023-09-01 12:40:46 |
Bug Watch Updater |
jq (Debian): status |
New |
Fix Released |
|