[Pkg-javascript-devel] Bug#1093444: node-request: FTBFS: not ok 1011 should be strictly equal

Santiago Vila sanvila at debian.org
Sat Jan 18 19:24:42 GMT 2025


Package: src:node-request
Version: 2.88.1-6
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
rm ./node_modules/.cache
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files

[... snipped ...]

ok 847 should be strictly equal
ok 848 should be strictly equal
ok 849 should be strictly equal
# cleanup
# setup
# testGet
ok 850 should be strictly equal
ok 851 should be deeply equivalent
# testGetChunkBreak
ok 852 should be strictly equal
ok 853 should be deeply equivalent
# testGetBuffer
ok 854 should be strictly equal
ok 855 should be strictly equal
# testGetJSON
ok 856 should be strictly equal
ok 857 should be deeply equivalent
# testPutString
ok 858 should be strictly equal
# testPutBuffer
ok 859 should be strictly equal
# testPutJSON
ok 860 should be strictly equal
# testPutMultipart
ok 861 should be strictly equal
# cleanup
# setup
# piped redirect
ok 862 should be strictly equal
ok 863 should be strictly equal
# cleanup
# setup
# pool
ok 864 should be strictly equal
ok 865 should be strictly equal
ok 866 should be strictly equal
ok 867 should be strictly equal
# forever
ok 868 should be strictly equal
ok 869 should be strictly equal
ok 870 should be strictly equal
ok 871 should be strictly equal
# forever, should use same agent in sequential requests
ok 872 should be strictly equal
# forever, should use same agent in sequential requests(with pool.maxSockets)
ok 873 should be strictly equal
ok 874 should be strictly equal
# forever, should use same agent in request() and request.verb
ok 875 should be strictly equal
ok 876 should be strictly equal
# should use different agent if pool option specified
ok 877 should be strictly equal
ok 878 should be strictly equal
ok 879 should not be strictly equal
# cleanup
# setup
# promisify convenience method
ok 880 should be strictly equal
# promisify request function
ok 881 should be strictly equal
# promisify all methods
ok 882 should be strictly equal
# cleanup
# setup
# proxy
ok 883 should be strictly equal
ok 884 should be strictly equal
ok 885 should be strictly equal
ok 886 should be strictly equal
ok 887 the request must be made to the proxy server
# cleanup
# setup
# adding a querystring - using qs
ok 888 should be strictly equal
# adding a querystring - using querystring
ok 889 should be strictly equal
# replacing a querystring value - using qs
ok 890 should be strictly equal
# replacing a querystring value - using querystring
ok 891 should be strictly equal
# appending a querystring value to the ones present in the uri - using qs
ok 892 should be strictly equal
# appending a querystring value to the ones present in the uri - using querystring
ok 893 should be strictly equal
# leaving a querystring alone - using qs
ok 894 should be strictly equal
# leaving a querystring alone - using querystring
ok 895 should be strictly equal
# giving empty qs property - using qs
ok 896 should be strictly equal
# giving empty qs property - using querystring
ok 897 should be strictly equal
# modifying the qs after creating the request - using qs
ok 898 should be strictly equal
# modifying the qs after creating the request - using querystring
ok 899 should be strictly equal
# a query with an object for a value - using qs
ok 900 should be strictly equal
# a query with an object for a value - using querystring
ok 901 should be strictly equal
# a query with an array for a value - using qs
ok 902 should be strictly equal
# a query with an array for a value - using querystring
ok 903 should be strictly equal
# pass options to the qs module via the qsParseOptions key - using qs
ok 904 should be strictly equal
# pass options to the qs module via the qsParseOptions key - using querystring
ok 905 should be strictly equal
# pass options to the qs module via the qsStringifyOptions key - using qs
ok 906 should be strictly equal
# pass options to the qs module via the qsStringifyOptions key - using querystring
ok 907 should be strictly equal
# pass options to the querystring module via the qsParseOptions key - using qs
ok 908 should be strictly equal
# pass options to the querystring module via the qsParseOptions key - using querystring
ok 909 should be strictly equal
# pass options to the querystring module via the qsStringifyOptions key - using qs
ok 910 should be strictly equal
# pass options to the querystring module via the qsStringifyOptions key - using querystring
ok 911 should be strictly equal
# qs rfc3986 qs
ok 912 should be strictly equal
ok 913 should be strictly equal
ok 914 should be strictly equal
# qs rfc3986 qs + json
ok 915 should be strictly equal
ok 916 should be strictly equal
ok 917 should be strictly equal
# qs rfc3986 form
ok 918 should be strictly equal
ok 919 should be strictly equal
# qs rfc3986 form + json
ok 920 should be strictly equal
ok 921 should be strictly equal
# qs rfc3986 qs + form
ok 922 should be strictly equal
ok 923 should be strictly equal
ok 924 should be strictly equal
# qs rfc3986 qs + form + json
ok 925 should be strictly equal
ok 926 should be strictly equal
ok 927 should be strictly equal
# qs rfc3986 body + header + json
ok 928 should be strictly equal
ok 929 should be strictly equal
# qs rfc3986 body + json
ok 930 should be strictly equal
ok 931 should be strictly equal
# qs rfc3986 json object
ok 932 should be strictly equal
ok 933 should be strictly equal
# querystring rfc3986 qs
ok 934 should be strictly equal
ok 935 should be strictly equal
ok 936 should be strictly equal
# querystring rfc3986 qs + json
ok 937 should be strictly equal
ok 938 should be strictly equal
ok 939 should be strictly equal
# querystring rfc3986 form
ok 940 should be strictly equal
ok 941 should be strictly equal
# querystring rfc3986 form + json
ok 942 should be strictly equal
ok 943 should be strictly equal
# querystring rfc3986 qs + form
ok 944 should be strictly equal
ok 945 should be strictly equal
ok 946 should be strictly equal
# querystring rfc3986 qs + form + json
ok 947 should be strictly equal
ok 948 should be strictly equal
ok 949 should be strictly equal
# querystring rfc3986 body + header + json
ok 950 should be strictly equal
ok 951 should be strictly equal
# querystring rfc3986 body + json
ok 952 should be strictly equal
ok 953 should be strictly equal
# querystring rfc3986 json object
ok 954 should be strictly equal
ok 955 should be strictly equal
# before
# request body stream
ok 956 null
ok 957 should be strictly equal
# after
# setup
# should timeout
ok 958 should not be strictly equal
ok 959 Error ETIMEDOUT or ESOCKETTIMEDOUT
# should set connect to false
ok 960 should not be strictly equal
ok 961 Error ETIMEDOUT or ESOCKETTIMEDOUT
ok 962 Read Timeout Error should set 'connect' property to false
# should timeout with events
ok 963 should be strictly equal
ok 964 should not be strictly equal
ok 965 Error ETIMEDOUT or ESOCKETTIMEDOUT
# should not timeout
ok 966 should be strictly equal
ok 967 should be strictly equal
ok 968 Connect listener should not exist
# no timeout
ok 969 should be strictly equal
ok 970 should be strictly equal
# negative timeout
# float timeout
ok 971 should not be strictly equal
ok 972 Error ETIMEDOUT or ESOCKETTIMEDOUT
# connect timeout with non-timeout error
ok 973 should not be strictly equal
ok 974 Connect listener should not exist
# request timeout with keep-alive connection
ok 975 Socket should be new
ok 976 should be strictly equal
ok 977 Socket should already be connected
ok 978 should not be strictly equal
ok 979 Error ETIMEDOUT or ESOCKETTIMEDOUT
ok 980 Error should have been a request timeout error
# cleanup
# setup
# non-redirected request is timed
ok 981 should be strictly equal
ok 982 should be strictly equal
ok 983 should be strictly equal
ok 984 should be strictly equal
ok 985 should be strictly equal
ok 986 should be strictly equal
ok 987 should be strictly equal
ok 988 should be strictly equal
ok 989 should be strictly equal
ok 990 should be strictly equal
ok 991 should be strictly equal
ok 992 should be strictly equal
ok 993 should be strictly equal
ok 994 should be strictly equal
ok 995 should be strictly equal
ok 996 should be strictly equal
ok 997 should be strictly equal
ok 998 should be strictly equal
ok 999 should be strictly equal
ok 1000 should be strictly equal
ok 1001 should be strictly equal
ok 1002 should be strictly equal
ok 1003 should be deeply equivalent
ok 1004 should be deeply equivalent
# redirected request is timed with rollup
ok 1005 should be strictly equal
ok 1006 should be strictly equal
ok 1007 should be strictly equal
ok 1008 should be strictly equal
ok 1009 should be strictly equal
ok 1010 should be strictly equal
not ok 1011 should be strictly equal
  ---
    operator: equal
    expected: true
    actual:   false
    at: Request._callback (/<<PKGBUILDDIR>>/tests/test-timing.js:89:7)
    stack: |-
      Error: should be strictly equal
          at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:312:48)
          at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:95:17)
          at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:476:7)
          at Test.bound [as equal] (/usr/share/nodejs/tape/lib/test.js:95:17)
          at Request._callback (/<<PKGBUILDDIR>>/tests/test-timing.js:89:7)
          at self.callback (/<<PKGBUILDDIR>>/request.js:185:22)
          at Request.emit (node:events:518:28)
          at Request.<anonymous> (/<<PKGBUILDDIR>>/request.js:1161:10)
          at Request.emit (node:events:518:28)
          at IncomingMessage.<anonymous> (/<<PKGBUILDDIR>>/request.js:1083:12)
          at Object.onceWrapper (node:events:632:28)
          at IncomingMessage.emit (node:events:530:35)
          at endReadableNT (node:internal/streams/readable:1698:12)
          at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
  ...
# keepAlive is timed
ok 1012 should be strictly equal
ok 1013 should be strictly equal
ok 1014 should be strictly equal
ok 1015 should be strictly equal
ok 1016 should be strictly equal
ok 1017 should be strictly equal
ok 1018 should be strictly equal
ok 1019 should be strictly equal
ok 1020 should be strictly equal
ok 1021 should be strictly equal
ok 1022 should be strictly equal
ok 1023 should be strictly equal
# cleanup
# setup
# request().toJSON()
ok 1024 should be strictly equal
ok 1025 should be strictly equal
ok 1026 should be strictly equal
ok 1027 should be strictly equal
ok 1028 should be strictly equal
ok 1029 should be strictly equal
ok 1030 should be strictly equal
# cleanup
# setup
# unix socket connection
ok 1031 no error in connection
ok 1032 got HTTP 200 OK response
ok 1033 expected response body is received
# unix socket connection with qs
ok 1034 no error in connection
ok 1035 got HTTP 200 OK response
ok 1036 expected response body is received
# cleanup
# test baseurl="http://localhost:32861" uri=""
ok 1037 should be strictly equal
ok 1038 should be strictly equal
ok 1039 should be strictly equal
# test baseurl="http://localhost:32861/" uri=""
ok 1040 should be strictly equal
ok 1041 should be strictly equal
ok 1042 should be strictly equal
# test baseurl="http://localhost:32861" uri="/"
ok 1043 should be strictly equal
ok 1044 should be strictly equal
ok 1045 should be strictly equal
# test baseurl="http://localhost:32861/" uri="/"
ok 1046 should be strictly equal
ok 1047 should be strictly equal
ok 1048 should be strictly equal
# test baseurl="http://localhost:32861/api" uri=""
ok 1049 should be strictly equal
ok 1050 should be strictly equal
ok 1051 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri=""
ok 1052 should be strictly equal
ok 1053 should be strictly equal
ok 1054 should be strictly equal
# test baseurl="http://localhost:32861/api" uri="/"
ok 1055 should be strictly equal
ok 1056 should be strictly equal
ok 1057 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri="/"
ok 1058 should be strictly equal
ok 1059 should be strictly equal
ok 1060 should be strictly equal
# test baseurl="http://localhost:32861/api" uri="resource"
ok 1061 should be strictly equal
ok 1062 should be strictly equal
ok 1063 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri="resource"
ok 1064 should be strictly equal
ok 1065 should be strictly equal
ok 1066 should be strictly equal
# test baseurl="http://localhost:32861/api" uri="/resource"
ok 1067 should be strictly equal
ok 1068 should be strictly equal
ok 1069 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri="/resource"
ok 1070 should be strictly equal
ok 1071 should be strictly equal
ok 1072 should be strictly equal
# test baseurl="http://localhost:32861/api" uri="resource/"
ok 1073 should be strictly equal
ok 1074 should be strictly equal
ok 1075 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri="resource/"
ok 1076 should be strictly equal
ok 1077 should be strictly equal
ok 1078 should be strictly equal
# test baseurl="http://localhost:32861/api" uri="/resource/"
ok 1079 should be strictly equal
ok 1080 should be strictly equal
ok 1081 should be strictly equal
# test baseurl="http://localhost:32861/api/" uri="/resource/"
ok 1082 should be strictly equal
ok 1083 should be strictly equal
ok 1084 should be strictly equal
# cleanup
# #125: headers.cookie with no cookie jar
ok 1085 should be strictly equal
ok 1086 should be strictly equal
ok 1087 should be strictly equal
# #125: headers.cookie + cookie jar
ok 1088 should be strictly equal
ok 1089 should be strictly equal
ok 1090 should be strictly equal
# #794: ignore cookie parsing and domain errors
ok 1091 should be strictly equal
ok 1092 should be strictly equal
ok 1093 should be strictly equal
# #784: override content-type when json is used
ok 1094 should be strictly equal
ok 1095 should be strictly equal
ok 1096 should be strictly equal
# neither headers.cookie nor a cookie jar is specified
ok 1097 should be strictly equal
ok 1098 should be strictly equal
ok 1099 should be strictly equal
# cleanup
# basic proxy
ok 1100 should be strictly equal
ok 1101 should be strictly equal
ok 1102 should be strictly equal
ok 1103 should be strictly equal
ok 1104 should be strictly equal
# proxy auth without uri auth
ok 1105 should be strictly equal
ok 1106 should be strictly equal
ok 1107 should be strictly equal
ok 1108 should be strictly equal
ok 1109 should be strictly equal
# HTTP_PROXY environment variable and http: url
ok 1110 should be strictly equal
ok 1111 should be strictly equal
ok 1112 should be strictly equal
ok 1113 should be strictly equal
# http_proxy environment variable and http: url
ok 1114 should be strictly equal
ok 1115 should be strictly equal
ok 1116 should be strictly equal
ok 1117 should be strictly equal
# HTTP_PROXY environment variable and https: url
ok 1118 should be strictly equal
ok 1119 should be strictly equal
ok 1120 should be strictly equal
ok 1121 should be strictly equal
# http_proxy environment variable and https: url
ok 1122 should be strictly equal
ok 1123 should be strictly equal
ok 1124 should be strictly equal
ok 1125 should be strictly equal
# HTTPS_PROXY environment variable and https: url
ok 1126 should be strictly equal
ok 1127 should be strictly equal
ok 1128 should be strictly equal
ok 1129 should be strictly equal
# https_proxy environment variable and https: url
ok 1130 should be strictly equal
ok 1131 should be strictly equal
ok 1132 should be strictly equal
ok 1133 should be strictly equal
# multiple environment variables and https: url
ok 1134 should be strictly equal
ok 1135 should be strictly equal
ok 1136 should be strictly equal
ok 1137 should be strictly equal
# NO_PROXY ignored with explicit proxy passed
ok 1138 should be strictly equal
ok 1139 should be strictly equal
ok 1140 should be strictly equal
ok 1141 should be strictly equal
# NO_PROXY does not override HTTP_PROXY if no hostnames match
ok 1142 should be strictly equal
ok 1143 should be strictly equal
ok 1144 should be strictly equal
ok 1145 should be strictly equal
# NO_PROXY only overrides HTTP_PROXY if the port matches
ok 1146 should be strictly equal
ok 1147 should be strictly equal
ok 1148 should be strictly equal
ok 1149 should be strictly equal
# http_proxy with length of one more than the URL
ok 1150 should be strictly equal
ok 1151 should be strictly equal
ok 1152 should be strictly equal
ok 1153 should be strictly equal
# uri auth without proxy auth
ok 1154 should be strictly equal
ok 1155 should be strictly equal
ok 1156 should be strictly equal
ok 1157 should be strictly equal
ok 1158 should be strictly equal
ok 1159 should be strictly equal
# cleanup

1..1159
# tests 1159
# pass  1156
# fail  3

dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-request, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list