Bug 6707 - Add ptest for curl
Summary: Add ptest for curl
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Yogesh Tyagi
QA Contact: Apoorv
URL:
Whiteboard: NEWCOMER
Depends on:
Blocks:
 
Reported: 2014-09-11 11:04 UTC by Paul Eggleton
Modified: 2022-07-08 03:04 UTC (History)
13 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2014-09-11 11:04:25 UTC
A regression seems to have been found in 1.6 to do with curl and fetching from https via gnutls. This suggests to me we ought to enable curl's test suite using ptest and have it run regularly.

Here's an upstream page describing the test run script:

http://curl.haxx.se/dev/runtests.html
Comment 1 Paul Eggleton 2014-09-11 13:35:33 UTC
FYI bug 6708 is the one that prompted this.
Comment 2 Cristian Iorga 2015-02-26 09:09:03 UTC
Investigation started.
Comment 3 Cristian Iorga 2015-02-26 09:14:07 UTC
Implementation in progress.

This enhancement poses a lot of challenges:
1. there is a stunnel ptest incompatatibility that needs to be resolved;
2. the ptests are dependent on bash. My intention is to de-bash this, if possible;
3. There is an extensive lost of build-time and run-time dependencies added to the original curl recipe if ptest will be supported (some of those dependencies are heavy ones.)
Comment 4 Cristian Iorga 2015-02-26 10:05:30 UTC
stunnel-based tests will be set to off for now, as stunnel is not part of oe-core and we want to avoid having external dependencies.
Comment 5 Cristian Iorga 2015-06-23 08:40:17 UTC
Although most part of the functionality is implemented for this feature, the state of networking in qemu machines makes the curl tests very hard to set up in an automated manner.
YP autobuilders machines are behind a network proxy, so moreover the curl tests will be non-functional.
As such, this feature will be completed in 1.9M2 stage of the project, after qemu machines will get proper networking functionality.
Comment 6 Cristian Iorga 2016-02-17 07:43:35 UTC
Unfinished implementation:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=ciorga/YB6707
Comment 7 Ross Burton 2016-07-12 16:54:17 UTC
Reassigning to Team Finland (care of Jussi).
Comment 8 Maxin B. John 2016-12-12 13:12:23 UTC
Patch sent to oe-core:

http://lists.openembedded.org/pipermail/openembedded-core/2016-December/130037.html
Comment 11 Armin Kuster 2018-11-12 17:40:40 UTC
taking as I be the pkg maintainer
Comment 12 Ross Burton 2022-04-01 11:16:16 UTC
Patches were submitted some time ago but never merged, so it shouldn't be too difficult to rebase those to current master.
Comment 13 Komal Pal 2022-04-18 06:18:18 UTC
Just want to get latest update for this issue, if it is not resolved yet, I want to work on this