Wind River Support Network

HomeDefectsLIN1021-6734
Fixed

LIN1021-6734 : curl-ptest: test case 2081 failed

Created: Oct 17, 2023    Updated: Dec 26, 2023
Resolved Date: Oct 19, 2023
Found In Version: 10.21.20.19
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

enable curl-ptest:
root@intel-x86-64:/usr/lib64/curl/ptest/tests# ./runtests.pl 2081
/bin/bash: line 10: cd: ../../../curl-7.75.0: No such file or directory
make: *** [Makefile:570: ../../../curl-7.75.0/tests/data/Makefile.in] Error 1
 * 
 ** 
 *** 
 **** 
 ***** 
 ****** 
 ******* 
 ******** 
 ********* System characteristics ********
 * curl 7.75.0 (x86_64-wrs-linux-gnu)
 * libcurl/7.75.0 GnuTLS/3.7.2 zlib/1.2.11 libidn2/2.3.0
 * Features: alt-svc AsynchDNS Debug HTTPS-proxy IDN IPv6 Largefile libz NTLM SSL TLS-SRP UnixSockets
 * Disabled:
 * Host: intel-x86-64
 * System: Linux intel-x86-64 5.10.189-yocto-standard #1 SMP PREEMPT Tue Aug 22 10:16:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
 * OS: linux
 * Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
 * Env:
 * Seed: 232057
*****************************************
Warning: test2081 not present in tests/data/Makefile.inc
test 2081...[Automatic referrer credential and anchor stripping check]

2081: stdout FAILED:
— log/check-expected 2023-10-18 02:49:05.948913000 +0000
+++ log/check-generated 2023-10-18 02:49:05.946913000 +0000
@@ -3,8 +3,10 @@
Content-Length: 62[LF]
Connection: close[LF]
[LF]
-HTTP/1.1 200 This is another weirdo text message swsclose[LF]
-Connection: close[LF]
+HTTP/1.1 200 OK[LF]
+Date: Thu, 09 Nov 2010 14:49:00 GMT[LF]
+Server: test-server/fake swsclose[LF]
+Content-Type: text/html[LF]
+Funny-head: yesyes[LF]
[LF]
-Thanks for following.[LF]
[http://127.0.0.1:41921/we/want/our/%TESTNUMBER[LF]]
 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%

TESTFAIL: These test cases failed: 2081

TESTDONE: 1 tests were considered during 1 seconds.
root@intel-x86-64:/usr/lib64/curl/ptest/tests#

Steps to Reproduce

1) setup --machines --intel-x86-64 --distro --dl-layers --templates feature/ptest --accept-eula=yes
2) source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env
3) vim conf/local.conf
EXTRA_IMAGE_FEATURES_append += " dbg-pkgs"
DISTRO_FEATURES_append = " ptest"
EXTRA_IMAGE_FEATURES += "ptest-pkgs"
IMAGE_FSTYPES_remove += " hddimg live"
IMAGE_INSTALL_append += " curl-ptest ptest-runner"
4) bitbake wrlinux-image-std
Live chat
Online