Bug 1068967 - FTBFS: self check 172 failing
Summary: FTBFS: self check 172 failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: 19
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1063693
TreeView+ depends on / blocked
 
Reported: 2014-02-23 15:57 UTC by Karsten Hopp
Modified: 2014-03-09 04:45 UTC (History)
2 users (show)

Fixed In Version: curl-7.29.0-15.fc19
Clone Of:
: 1076446 (view as bug list)
Environment:
Last Closed: 2014-02-28 18:30:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2014-02-23 15:57:15 UTC
Description of problem:
test 172...[HTTP with cookies file and custom added cookie]
../src/curl --output log/curl172.out  --include --trace-ascii log/trace172 --trace-time http://127.0.0.1:3290/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool" >log/stdout172 2>log/stderr172
CMD (0): ../src/curl --output log/curl172.out  --include --trace-ascii log/trace172 --trace-time http://127.0.0.1:3290/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool" >log/stdout172 2>log/stderr172
 172: protocol FAILED:
--- log/check-expected	2014-02-22 21:45:25.760006237 -0700
+++ log/check-generated	2014-02-22 21:45:25.760006237 -0700
@@ -1,5 +1,5 @@
 GET /we/want/172 HTTP/1.1[CR][LF]
 Host: 127.0.0.1:3290[CR][LF]
 Accept: */*[CR][LF]
-Cookie: nodomain=value; partmatch=present; tool=curl; name=fool[CR][LF]
+Cookie: partmatch=present; tool=curl; name=fool[CR][LF]
 [CR][LF]
== Contents of files in the log/ dir after test 172
=== Start of file check-expected
 GET /we/want/172 HTTP/1.1[CR][LF]
 Host: 127.0.0.1:3290[CR][LF]
 Accept: */*[CR][LF]
 Cookie: nodomain=value; partmatch=present; tool=curl; name=fool[CR][LF]
 [CR][LF]
=== End of file check-expected
=== Start of file check-generated
 GET /we/want/172 HTTP/1.1[CR][LF]
 Host: 127.0.0.1:3290[CR][LF]
 Accept: */*[CR][LF]
 Cookie: partmatch=present; tool=curl; name=fool[CR][LF]
 [CR][LF]
=== End of file check-generated
=== Start of file curl172.out
 HTTP/1.1 200 OK
 Content-Length: 4
 Connection: close
 boo
=== End of file curl172.out
=== Start of file http_server.log
 21:45:25.725799 ====> Client connect
 21:45:25.725948 TCP_NODELAY set
 21:45:25.725999 accept_connection 3 returned 4
 21:45:25.726057 accept_connection 3 returned 0
 21:45:25.726832 Read 138 bytes
 21:45:25.726889 Process 138 bytes request
 21:45:25.726957 Got request: GET /we/want/172 HTTP/1.1
 21:45:25.727003 Requested test number 172 part 0
 21:45:25.727079 - request found to be complete
 21:45:25.727190 Wrote request (138 bytes) input to log/server.input
 21:45:25.727261 Send response test172 section <data>
 21:45:25.727441 Sent off 61 bytes
 21:45:25.727543 Response sent (61 bytes) and written to log/server.response
 21:45:25.727605 => persistant connection request ended, awaits new request
 21:45:25.728032 Connection closed by client
 21:45:25.728092 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file jar172.txt
 # Netscape HTTP Cookie File
 # http://curl.haxx.se/docs/http-cookies.html
 # This file was generated by libcurl! Edit at your own risk.
 .127.0.0.1	TRUE	/silly/	FALSE	0	ismatch	this
 .127.0.0.1	TRUE	/	FALSE	0	partmatch	present
 127.0.0.1	FALSE	/we/want/	FALSE	1391252187	nodomain	value
=== End of file jar172.txt
=== Start of file server.input
 GET /we/want/172 HTTP/1.1
 User-Agent: curl/7.35.0
 Host: 127.0.0.1:3290
 Accept: */*
 Cookie: partmatch=present; tool=curl; name=fool
=== End of file server.input
=== Start of file server.response
 HTTP/1.1 200 OK
 Content-Length: 4
 Connection: close
 boo
=== End of file server.response
=== Start of file stderr172
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
 
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 100     4  100     4    0     0   1619      0 --:--:-- --:--:-- --:--:--  2000
=== End of file stderr172
=== Start of file trace172
 21:45:25.725265 == Info: Hostname was NOT found in DNS cache
 21:45:25.725531 == Info:   Trying 127.0.0.1...
 21:45:25.726767 == Info: Connected to 127.0.0.1 (127.0.0.1) port 3290 (#0)
 21:45:25.726830 => Send header, 138 bytes (0x8a)
 0000: GET /we/want/172 HTTP/1.1
 001b: User-Agent: curl/7.35.0
 0034: Host: 127.0.0.1:3290
 004a: Accept: */*
 0057: Cookie: partmatch=present; tool=curl; name=fool
 0088: 
 21:45:25.727459 <= Recv header, 17 bytes (0x11)
 0000: HTTP/1.1 200 OK
 21:45:25.727582 <= Recv header, 19 bytes (0x13)
 0000: Content-Length: 4
 21:45:25.727612 <= Recv header, 19 bytes (0x13)
 0000: Connection: close
 21:45:25.727639 <= Recv header, 2 bytes (0x2)
 0000: 
 21:45:25.727663 <= Recv data, 4 bytes (0x4)
 0000: boo.
 21:45:25.727994 == Info: Closing connection 0
=== End of file trace172

Version-Release number of selected component (if applicable):
curl-7.35.0-1.fc21

How reproducible:


Steps to Reproduce:
1. ppc-koji build --scratch f21 curl-7.35.0-1.fc21.src.rpm
2.
3.

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1675248

Expected results:


Additional info:

Comment 1 Kamil Dudka 2014-02-23 21:30:33 UTC
This failure is by no means specific to PPC.  The problem is that the cookie used by test172 has expired.  The following upstream commit will fix it:

https://github.com/bagder/curl/commit/ffb8a21d

Comment 2 Kamil Dudka 2014-02-25 11:54:49 UTC
fixed in curl-7.35.0-2.fc21

Comment 3 Fedora Update System 2014-02-25 13:17:19 UTC
curl-7.32.0-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/curl-7.32.0-5.fc20

Comment 4 Fedora Update System 2014-02-25 13:17:35 UTC
curl-7.29.0-14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/curl-7.29.0-14.fc19

Comment 5 Fedora Update System 2014-02-26 14:05:45 UTC
Package curl-7.29.0-14.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing curl-7.29.0-14.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3142/curl-7.29.0-14.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-02-28 18:30:37 UTC
curl-7.32.0-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-03-05 16:51:43 UTC
curl-7.29.0-15.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/curl-7.29.0-15.fc19

Comment 8 Fedora Update System 2014-03-05 16:52:07 UTC
curl-7.32.0-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/curl-7.32.0-6.fc20

Comment 9 Fedora Update System 2014-03-08 03:33:06 UTC
curl-7.32.0-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-03-09 04:45:56 UTC
curl-7.29.0-15.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.