mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
447 stars 107 forks source link

Flaky "socket hang up" #551

Closed caiocssta closed 2 years ago

caiocssta commented 2 years ago

Hey! I'm running both server and actor in a docker container in an Azure pipeline, and facing a flaky behavior for the tests. Sometimes it works completely fine, and other times I get the following error:

2022-03-22T11:21:32.5119755Z ##[section]Starting: Execute OpenTest tests
2022-03-22T11:21:32.5127828Z ==============================================================================
2022-03-22T11:21:32.5128174Z Task         : Command line
2022-03-22T11:21:32.5128509Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2022-03-22T11:21:32.5128823Z Version      : 2.200.2
2022-03-22T11:21:32.5129057Z Author       : Microsoft Corporation
2022-03-22T11:21:32.5129406Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2022-03-22T11:21:32.5129816Z ==============================================================================
2022-03-22T11:21:32.7704772Z Generating script.
2022-03-22T11:21:32.7727054Z ========================== Starting Command Output ===========================
2022-03-22T11:21:32.7866819Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/ed249b63-8e92-4678-ab2d-244e33b0d59b.sh
2022-03-22T11:21:33.1773264Z Error:  socket hang up
2022-03-22T11:21:33.2001658Z node:internal/errors:692
2022-03-22T11:21:33.2002712Z   const ex = new Error(msg);
2022-03-22T11:21:33.2003205Z              ^
2022-03-22T11:21:33.2003545Z 
2022-03-22T11:21:33.2003994Z Error: socket hang up
2022-03-22T11:21:33.2004592Z     at connResetException (node:internal/errors:692:14)
2022-03-22T11:21:33.2005271Z     at Socket.socketOnEnd (node:_http_client:466:23)
2022-03-22T11:21:33.2005908Z     at Socket.emit (node:events:539:35)
2022-03-22T11:21:33.2006576Z     at endReadableNT (node:internal/streams/readable:1342:12)
2022-03-22T11:21:33.2007307Z     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
2022-03-22T11:21:33.2008626Z   code: 'ECONNRESET',
2022-03-22T11:21:33.2009132Z   config: {
2022-03-22T11:21:33.2010273Z     url: 'http://localhost:3000/api/session',
2022-03-22T11:21:33.2011156Z     method: 'post',
2022-03-22T11:21:33.2011950Z     data: '{"template":{"name":"ContactCenters","path":"."}}',
2022-03-22T11:21:33.2012550Z     headers: {
2022-03-22T11:21:33.2013281Z       Accept: 'application/json, text/plain, */*',
2022-03-22T11:21:33.2014097Z       'Content-Type': 'application/json;charset=utf-8',
2022-03-22T11:21:33.2014962Z       'User-Agent': 'axios/0.19.2',
2022-03-22T11:21:33.2015669Z       'Content-Length': 49
2022-03-22T11:21:33.2016151Z     },
2022-03-22T11:21:33.2016682Z     transformRequest: [ [Function: transformRequest] ],
2022-03-22T11:21:33.2017930Z     transformResponse: [ [Function: transformResponse] ],
2022-03-22T11:21:33.2018517Z     timeout: 0,
2022-03-22T11:21:33.2019017Z     adapter: [Function: httpAdapter],
2022-03-22T11:21:33.2019783Z     xsrfCookieName: 'XSRF-TOKEN',
2022-03-22T11:21:33.2041994Z     xsrfHeaderName: 'X-XSRF-TOKEN',
2022-03-22T11:21:33.2043063Z     maxContentLength: -1,
2022-03-22T11:21:33.2043575Z     validateStatus: [Function: validateStatus]
2022-03-22T11:21:33.2043990Z   },
2022-03-22T11:21:33.2044453Z   request: <ref *2> Writable {
2022-03-22T11:21:33.2047385Z     _writableState: WritableState {
2022-03-22T11:21:33.2047760Z       objectMode: false,
2022-03-22T11:21:33.2048052Z       highWaterMark: 16384,
2022-03-22T11:21:33.2048360Z       finalCalled: false,
2022-03-22T11:21:33.2048637Z       needDrain: false,
2022-03-22T11:21:33.2048904Z       ending: false,
2022-03-22T11:21:33.2049177Z       ended: false,
2022-03-22T11:21:33.2049439Z       finished: false,
2022-03-22T11:21:33.2049724Z       destroyed: false,
2022-03-22T11:21:33.2050001Z       decodeStrings: true,
2022-03-22T11:21:33.2050530Z       defaultEncoding: 'utf8',
2022-03-22T11:21:33.2050829Z       length: 0,
2022-03-22T11:21:33.2051083Z       writing: false,
2022-03-22T11:21:33.2051349Z       corked: 0,
2022-03-22T11:21:33.2051593Z       sync: true,
2022-03-22T11:21:33.2051870Z       bufferProcessing: false,
2022-03-22T11:21:33.2052206Z       onwrite: [Function: bound onwrite],
2022-03-22T11:21:33.2052504Z       writecb: null,
2022-03-22T11:21:33.2052773Z       writelen: 0,
2022-03-22T11:21:33.2053053Z       afterWriteTickInfo: null,
2022-03-22T11:21:33.2053700Z       buffered: [],
2022-03-22T11:21:33.2053979Z       bufferedIndex: 0,
2022-03-22T11:21:33.2054251Z       allBuffers: true,
2022-03-22T11:21:33.2054530Z       allNoop: true,
2022-03-22T11:21:33.2054788Z       pendingcb: 0,
2022-03-22T11:21:33.2055053Z       constructed: true,
2022-03-22T11:21:33.2055347Z       prefinished: false,
2022-03-22T11:21:33.2055632Z       errorEmitted: false,
2022-03-22T11:21:33.2055910Z       emitClose: true,
2022-03-22T11:21:33.2056197Z       autoDestroy: true,
2022-03-22T11:21:33.2056462Z       errored: null,
2022-03-22T11:21:33.2056737Z       closed: false,
2022-03-22T11:21:33.2057008Z       closeEmitted: false,
2022-03-22T11:21:33.2057299Z       [Symbol(kOnFinished)]: []
2022-03-22T11:21:33.2057560Z     },
2022-03-22T11:21:33.2057829Z     _events: [Object: null prototype] {
2022-03-22T11:21:33.2058184Z       response: [Function: handleResponse],
2022-03-22T11:21:33.2058534Z       error: [Function: handleRequestError]
2022-03-22T11:21:33.2058931Z     },
2022-03-22T11:21:33.2059191Z     _eventsCount: 2,
2022-03-22T11:21:33.2059478Z     _maxListeners: undefined,
2022-03-22T11:21:33.2059765Z     _options: {
2022-03-22T11:21:33.2060228Z       protocol: 'http:',
2022-03-22T11:21:33.2060520Z       maxRedirects: 21,
2022-03-22T11:21:33.2060826Z       maxBodyLength: 10485760,
2022-03-22T11:21:33.2061266Z       path: '/api/session',
2022-03-22T11:21:33.2061698Z       method: 'POST',
2022-03-22T11:21:33.2061961Z       headers: {
2022-03-22T11:21:33.2062438Z         Accept: 'application/json, text/plain, */*',
2022-03-22T11:21:33.2063027Z         'Content-Type': 'application/json;charset=utf-8',
2022-03-22T11:21:33.2063553Z         'User-Agent': 'axios/0.19.2',
2022-03-22T11:21:33.2064029Z         'Content-Length': 49
2022-03-22T11:21:33.2064289Z       },
2022-03-22T11:21:33.2064529Z       agent: undefined,
2022-03-22T11:21:33.2064869Z       agents: { http: undefined, https: undefined },
2022-03-22T11:21:33.2065191Z       auth: undefined,
2022-03-22T11:21:33.2065636Z       hostname: 'localhost',
2022-03-22T11:21:33.2066061Z       port: '3000',
2022-03-22T11:21:33.2066338Z       nativeProtocols: {
2022-03-22T11:21:33.2066756Z         'http:': {
2022-03-22T11:21:33.2067102Z           _connectionListener: [Function: connectionListener],
2022-03-22T11:21:33.2067445Z           METHODS: [
2022-03-22T11:21:33.2067901Z             'ACL',         'BIND',       'CHECKOUT',
2022-03-22T11:21:33.2068398Z             'CONNECT',     'COPY',       'DELETE',
2022-03-22T11:21:33.2068902Z             'GET',         'HEAD',       'LINK',
2022-03-22T11:21:33.2069395Z             'LOCK',        'M-SEARCH',   'MERGE',
2022-03-22T11:21:33.2069919Z             'MKACTIVITY',  'MKCALENDAR', 'MKCOL',
2022-03-22T11:21:33.2070436Z             'MOVE',        'NOTIFY',     'OPTIONS',
2022-03-22T11:21:33.2070941Z             'PATCH',       'POST',       'PROPFIND',
2022-03-22T11:21:33.2071455Z             'PROPPATCH',   'PURGE',      'PUT',
2022-03-22T11:21:33.2071955Z             'REBIND',      'REPORT',     'SEARCH',
2022-03-22T11:21:33.2072487Z             'SOURCE',      'SUBSCRIBE',  'TRACE',
2022-03-22T11:21:33.2072996Z             'UNBIND',      'UNLINK',     'UNLOCK',
2022-03-22T11:21:33.2073441Z             'UNSUBSCRIBE'
2022-03-22T11:21:33.2073704Z           ],
2022-03-22T11:21:33.2073945Z           STATUS_CODES: {
2022-03-22T11:21:33.2074380Z             '100': 'Continue',
2022-03-22T11:21:33.2074847Z             '101': 'Switching Protocols',
2022-03-22T11:21:33.2075312Z             '102': 'Processing',
2022-03-22T11:21:33.2075775Z             '103': 'Early Hints',
2022-03-22T11:21:33.2076197Z             '200': 'OK',
2022-03-22T11:21:33.2078141Z             '201': 'Created',
2022-03-22T11:21:33.2078669Z             '202': 'Accepted',
2022-03-22T11:21:33.2079173Z             '203': 'Non-Authoritative Information',
2022-03-22T11:21:33.2079676Z             '204': 'No Content',
2022-03-22T11:21:33.2084867Z             '205': 'Reset Content',
2022-03-22T11:21:33.2086188Z             '206': 'Partial Content',
2022-03-22T11:21:33.2086972Z             '207': 'Multi-Status',
2022-03-22T11:21:33.2087442Z             '208': 'Already Reported',
2022-03-22T11:21:33.2087910Z             '226': 'IM Used',
2022-03-22T11:21:33.2088367Z             '300': 'Multiple Choices',
2022-03-22T11:21:33.2088859Z             '301': 'Moved Permanently',
2022-03-22T11:21:33.2089306Z             '302': 'Found',
2022-03-22T11:21:33.2089735Z             '303': 'See Other',
2022-03-22T11:21:33.2090198Z             '304': 'Not Modified',
2022-03-22T11:21:33.2090645Z             '305': 'Use Proxy',
2022-03-22T11:21:33.2091125Z             '307': 'Temporary Redirect',
2022-03-22T11:21:33.2091617Z             '308': 'Permanent Redirect',
2022-03-22T11:21:33.2092077Z             '400': 'Bad Request',
2022-03-22T11:21:33.2092548Z             '401': 'Unauthorized',
2022-03-22T11:21:33.2093014Z             '402': 'Payment Required',
2022-03-22T11:21:33.2093484Z             '403': 'Forbidden',
2022-03-22T11:21:33.2093923Z             '404': 'Not Found',
2022-03-22T11:21:33.2094508Z             '405': 'Method Not Allowed',
2022-03-22T11:21:33.2095003Z             '406': 'Not Acceptable',
2022-03-22T11:21:33.2095521Z             '407': 'Proxy Authentication Required',
2022-03-22T11:21:33.2096037Z             '408': 'Request Timeout',
2022-03-22T11:21:33.2096486Z             '409': 'Conflict',
2022-03-22T11:21:33.2096907Z             '410': 'Gone',
2022-03-22T11:21:33.2097372Z             '411': 'Length Required',
2022-03-22T11:21:33.2097853Z             '412': 'Precondition Failed',
2022-03-22T11:21:33.2098395Z             '413': 'Payload Too Large',
2022-03-22T11:21:33.2098863Z             '414': 'URI Too Long',
2022-03-22T11:21:33.2099347Z             '415': 'Unsupported Media Type',
2022-03-22T11:21:33.2099867Z             '416': 'Range Not Satisfiable',
2022-03-22T11:21:33.2100357Z             '417': 'Expectation Failed',
2022-03-22T11:21:33.2100837Z             '418': "I'm a Teapot",
2022-03-22T11:21:33.2101309Z             '421': 'Misdirected Request',
2022-03-22T11:21:33.2101810Z             '422': 'Unprocessable Entity',
2022-03-22T11:21:33.2102282Z             '423': 'Locked',
2022-03-22T11:21:33.2103166Z             '424': 'Failed Dependency',
2022-03-22T11:21:33.2103754Z             '425': 'Too Early',
2022-03-22T11:21:33.2104221Z             '426': 'Upgrade Required',
2022-03-22T11:21:33.2104715Z             '428': 'Precondition Required',
2022-03-22T11:21:33.2105224Z             '429': 'Too Many Requests',
2022-03-22T11:21:33.2105743Z             '431': 'Request Header Fields Too Large',
2022-03-22T11:21:33.2106303Z             '451': 'Unavailable For Legal Reasons',
2022-03-22T11:21:33.2106816Z             '500': 'Internal Server Error',
2022-03-22T11:21:33.2107297Z             '501': 'Not Implemented',
2022-03-22T11:21:33.2107773Z             '502': 'Bad Gateway',
2022-03-22T11:21:33.2108250Z             '503': 'Service Unavailable',
2022-03-22T11:21:33.2108749Z             '504': 'Gateway Timeout',
2022-03-22T11:21:33.2109258Z             '505': 'HTTP Version Not Supported',
2022-03-22T11:21:33.2109799Z             '506': 'Variant Also Negotiates',
2022-03-22T11:21:33.2110303Z             '507': 'Insufficient Storage',
2022-03-22T11:21:33.2110778Z             '508': 'Loop Detected',
2022-03-22T11:21:33.2111290Z             '509': 'Bandwidth Limit Exceeded',
2022-03-22T11:21:33.2111766Z             '510': 'Not Extended',
2022-03-22T11:21:33.2112295Z             '511': 'Network Authentication Required'
2022-03-22T11:21:33.2112602Z           },
2022-03-22T11:21:33.2112924Z           Agent: [Function: Agent] { defaultMaxSockets: Infinity },
2022-03-22T11:21:33.2113337Z           ClientRequest: [Function: ClientRequest],
2022-03-22T11:21:33.2113716Z           IncomingMessage: [Function: IncomingMessage],
2022-03-22T11:21:33.2114118Z           OutgoingMessage: [Function: OutgoingMessage],
2022-03-22T11:21:33.2114466Z           Server: [Function: Server],
2022-03-22T11:21:33.2114809Z           ServerResponse: [Function: ServerResponse],
2022-03-22T11:21:33.2115346Z           createServer: [Function: createServer],
2022-03-22T11:21:33.2115729Z           validateHeaderName: [Function: __node_internal_],
2022-03-22T11:21:33.2116153Z           validateHeaderValue: [Function: __node_internal_],
2022-03-22T11:21:33.2116501Z           get: [Function: get],
2022-03-22T11:21:33.2116804Z           request: [Function: request],
2022-03-22T11:21:33.2117131Z           maxHeaderSize: [Getter],
2022-03-22T11:21:33.2117440Z           globalAgent: [Getter/Setter]
2022-03-22T11:21:33.2117722Z         },
2022-03-22T11:21:33.2118125Z         'https:': {
2022-03-22T11:21:33.2118421Z           Agent: [Function: Agent],
2022-03-22T11:21:33.2118732Z           globalAgent: Agent {
2022-03-22T11:21:33.2119046Z             _events: [Object: null prototype],
2022-03-22T11:21:33.2119370Z             _eventsCount: 2,
2022-03-22T11:21:33.2119664Z             _maxListeners: undefined,
2022-03-22T11:21:33.2120132Z             defaultPort: 443,
2022-03-22T11:21:33.2162375Z             protocol: 'https:',
2022-03-22T11:21:33.2162976Z             options: [Object: null prototype],
2022-03-22T11:21:33.2163384Z             requests: [Object: null prototype] {},
2022-03-22T11:21:33.2163734Z             sockets: [Object: null prototype] {},
2022-03-22T11:21:33.2164085Z             freeSockets: [Object: null prototype] {},
2022-03-22T11:21:33.2164436Z             keepAliveMsecs: 1000,
2022-03-22T11:21:33.2164727Z             keepAlive: false,
2022-03-22T11:21:33.2165030Z             maxSockets: Infinity,
2022-03-22T11:21:33.2165325Z             maxFreeSockets: 256,
2022-03-22T11:21:33.2165812Z             scheduling: 'lifo',
2022-03-22T11:21:33.2166140Z             maxTotalSockets: Infinity,
2022-03-22T11:21:33.2166446Z             totalSocketCount: 0,
2022-03-22T11:21:33.2166759Z             maxCachedSessions: 100,
2022-03-22T11:21:33.2167062Z             _sessionCache: [Object],
2022-03-22T11:21:33.2167365Z             [Symbol(kCapture)]: false
2022-03-22T11:21:33.2167644Z           },
2022-03-22T11:21:33.2167917Z           Server: [Function: Server],
2022-03-22T11:21:33.2168266Z           createServer: [Function: createServer],
2022-03-22T11:21:33.2168590Z           get: [Function: get],
2022-03-22T11:21:33.2168887Z           request: [Function: request]
2022-03-22T11:21:33.2169160Z         }
2022-03-22T11:21:33.2169369Z       },
2022-03-22T11:21:33.2169797Z       pathname: '/api/session'
2022-03-22T11:21:33.2170059Z     },
2022-03-22T11:21:33.2170298Z     _redirectCount: 0,
2022-03-22T11:21:33.2170585Z     _redirects: [],
2022-03-22T11:21:33.2170861Z     _requestBodyLength: 49,
2022-03-22T11:21:33.2171171Z     _requestBodyBuffers: [
2022-03-22T11:21:33.2171417Z       {
2022-03-22T11:21:33.2171681Z         data: Buffer(49) [Uint8Array] [
2022-03-22T11:21:33.2172051Z           123,  34, 116, 101, 109, 112, 108,  97, 116, 101,
2022-03-22T11:21:33.2172432Z            34,  58, 123,  34, 110,  97, 109, 101,  34,  58,
2022-03-22T11:21:33.2172821Z            34,  67, 111, 110, 116,  97,  99, 116,  67, 101,
2022-03-22T11:21:33.2173764Z           110, 116, 101, 114, 115,  34,  44,  34, 112,  97,
2022-03-22T11:21:33.2174313Z           116, 104,  34,  58,  34,  46,  34, 125, 125
2022-03-22T11:21:33.2174782Z         ],
2022-03-22T11:21:33.2175044Z         encoding: undefined
2022-03-22T11:21:33.2175306Z       }
2022-03-22T11:21:33.2175510Z     ],
2022-03-22T11:21:33.2175950Z     _onNativeResponse: [Function (anonymous)],
2022-03-22T11:21:33.2176339Z     _currentRequest: <ref *1> ClientRequest {
2022-03-22T11:21:33.2176684Z       _events: [Object: null prototype] {
2022-03-22T11:21:33.2177184Z         response: [Function: bound onceWrapper] {
2022-03-22T11:21:33.2177547Z           listener: [Function (anonymous)]
2022-03-22T11:21:33.2177818Z         },
2022-03-22T11:21:33.2178103Z         abort: [Function (anonymous)],
2022-03-22T11:21:33.2178426Z         aborted: [Function (anonymous)],
2022-03-22T11:21:33.2178763Z         error: [Function (anonymous)],
2022-03-22T11:21:33.2179084Z         socket: [Function (anonymous)],
2022-03-22T11:21:33.2179815Z         timeout: [Function (anonymous)]
2022-03-22T11:21:33.2180106Z       },
2022-03-22T11:21:33.2180345Z       _eventsCount: 6,
2022-03-22T11:21:33.2181644Z       _maxListeners: undefined,
2022-03-22T11:21:33.2181952Z       outputData: [],
2022-03-22T11:21:33.2182214Z       outputSize: 0,
2022-03-22T11:21:33.2182495Z       writable: true,
2022-03-22T11:21:33.2182761Z       destroyed: false,
2022-03-22T11:21:33.2183322Z       _last: true,
2022-03-22T11:21:33.2183615Z       chunkedEncoding: false,
2022-03-22T11:21:33.2183911Z       shouldKeepAlive: false,
2022-03-22T11:21:33.2184258Z       maxRequestsOnConnectionReached: false,
2022-03-22T11:21:33.2184594Z       _defaultKeepAlive: true,
2022-03-22T11:21:33.2184934Z       useChunkedEncodingByDefault: true,
2022-03-22T11:21:33.2185240Z       sendDate: false,
2022-03-22T11:21:33.2185610Z       _removedConnection: false,
2022-03-22T11:21:33.2187106Z       _removedContLen: false,
2022-03-22T11:21:33.2187414Z       _removedTE: false,
2022-03-22T11:21:33.2187940Z       _contentLength: null,
2022-03-22T11:21:33.2188220Z       _hasBody: true,
2022-03-22T11:21:33.2188882Z       _trailer: '',
2022-03-22T11:21:33.2189173Z       finished: true,
2022-03-22T11:21:33.2189443Z       _headerSent: true,
2022-03-22T11:21:33.2189729Z       _closed: false,
2022-03-22T11:21:33.2189991Z       socket: Socket {
2022-03-22T11:21:33.2190261Z         connecting: false,
2022-03-22T11:21:33.2190549Z         _hadError: true,
2022-03-22T11:21:33.2190813Z         _parent: null,
2022-03-22T11:21:33.2191235Z         _host: 'localhost',
2022-03-22T11:21:33.2191564Z         _readableState: ReadableState {
2022-03-22T11:21:33.2191871Z           objectMode: false,
2022-03-22T11:21:33.2192177Z           highWaterMark: 16384,
2022-03-22T11:21:33.2192535Z           buffer: BufferList { head: null, tail: null, length: 0 },
2022-03-22T11:21:33.2192882Z           length: 0,
2022-03-22T11:21:33.2193126Z           pipes: [],
2022-03-22T11:21:33.2193377Z           flowing: true,
2022-03-22T11:21:33.2193662Z           ended: true,
2022-03-22T11:21:33.2193926Z           endEmitted: true,
2022-03-22T11:21:33.2194232Z           reading: false,
2022-03-22T11:21:33.2194526Z           constructed: true,
2022-03-22T11:21:33.2194794Z           sync: false,
2022-03-22T11:21:33.2195176Z           needReadable: false,
2022-03-22T11:21:33.2195472Z           emittedReadable: false,
2022-03-22T11:21:33.2195777Z           readableListening: false,
2022-03-22T11:21:33.2196189Z           resumeScheduled: false,
2022-03-22T11:21:33.2196483Z           errorEmitted: false,
2022-03-22T11:21:33.2196860Z           emitClose: false,
2022-03-22T11:21:33.2197140Z           autoDestroy: true,
2022-03-22T11:21:33.2197413Z           destroyed: true,
2022-03-22T11:21:33.2197779Z           errored: null,
2022-03-22T11:21:33.2198041Z           closed: true,
2022-03-22T11:21:33.2198329Z           closeEmitted: true,
2022-03-22T11:21:33.2198806Z           defaultEncoding: 'utf8',
2022-03-22T11:21:33.2199125Z           awaitDrainWriters: null,
2022-03-22T11:21:33.2199449Z           multiAwaitDrain: false,
2022-03-22T11:21:33.2199742Z           readingMore: false,
2022-03-22T11:21:33.2200202Z           dataEmitted: false,
2022-03-22T11:21:33.2200476Z           decoder: null,
2022-03-22T11:21:33.2200740Z           encoding: null,
2022-03-22T11:21:33.2201040Z           [Symbol(kPaused)]: false
2022-03-22T11:21:33.2201293Z         },
2022-03-22T11:21:33.2201579Z         _events: [Object: null prototype] {
2022-03-22T11:21:33.2201974Z           end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
2022-03-22T11:21:33.2202353Z           free: [Function: onFree],
2022-03-22T11:21:33.2202742Z           close: [ [Function: onClose], [Function: socketCloseListener] ],
2022-03-22T11:21:33.2203129Z           timeout: [Function: onTimeout],
2022-03-22T11:21:33.2203479Z           agentRemove: [Function: onRemove],
2022-03-22T11:21:33.2203828Z           error: [Function: socketErrorListener],
2022-03-22T11:21:33.2204175Z           data: [Function: socketOnData],
2022-03-22T11:21:33.2204670Z           drain: [Function: ondrain]
2022-03-22T11:21:33.2204928Z         },
2022-03-22T11:21:33.2205187Z         _eventsCount: 8,
2022-03-22T11:21:33.2205478Z         _maxListeners: undefined,
2022-03-22T11:21:33.2205797Z         _writableState: WritableState {
2022-03-22T11:21:33.2206121Z           objectMode: false,
2022-03-22T11:21:33.2206410Z           highWaterMark: 16384,
2022-03-22T11:21:33.2206716Z           finalCalled: false,
2022-03-22T11:21:33.2206996Z           needDrain: false,
2022-03-22T11:21:33.2207263Z           ending: false,
2022-03-22T11:21:33.2207540Z           ended: false,
2022-03-22T11:21:33.2207804Z           finished: false,
2022-03-22T11:21:33.2208090Z           destroyed: true,
2022-03-22T11:21:33.2208372Z           decodeStrings: false,
2022-03-22T11:21:33.2208856Z           defaultEncoding: 'utf8',
2022-03-22T11:21:33.2209158Z           length: 0,
2022-03-22T11:21:33.2209418Z           writing: false,
2022-03-22T11:21:33.2209789Z           corked: 0,
2022-03-22T11:21:33.2210043Z           sync: false,
2022-03-22T11:21:33.2210325Z           bufferProcessing: false,
2022-03-22T11:21:33.2210662Z           onwrite: [Function: bound onwrite],
2022-03-22T11:21:33.2210963Z           writecb: null,
2022-03-22T11:21:33.2211235Z           writelen: 0,
2022-03-22T11:21:33.2211518Z           afterWriteTickInfo: null,
2022-03-22T11:21:33.2211801Z           buffered: [],
2022-03-22T11:21:33.2212081Z           bufferedIndex: 0,
2022-03-22T11:21:33.2212358Z           allBuffers: true,
2022-03-22T11:21:33.2212643Z           allNoop: true,
2022-03-22T11:21:33.2212904Z           pendingcb: 0,
2022-03-22T11:21:33.2213171Z           constructed: true,
2022-03-22T11:21:33.2213469Z           prefinished: false,
2022-03-22T11:21:33.2213753Z           errorEmitted: false,
2022-03-22T11:21:33.2214047Z           emitClose: false,
2022-03-22T11:21:33.2214325Z           autoDestroy: true,
2022-03-22T11:21:33.2214597Z           errored: null,
2022-03-22T11:21:33.2214883Z           closed: true,
2022-03-22T11:21:33.2215153Z           closeEmitted: true,
2022-03-22T11:21:33.2215446Z           [Symbol(kOnFinished)]: []
2022-03-22T11:21:33.2215717Z         },
2022-03-22T11:21:33.2215966Z         allowHalfOpen: false,
2022-03-22T11:21:33.2216264Z         _sockname: null,
2022-03-22T11:21:33.2216539Z         _pendingData: null,
2022-03-22T11:21:33.2216988Z         _pendingEncoding: '',
2022-03-22T11:21:33.2217288Z         server: null,
2022-03-22T11:21:33.2217548Z         _server: null,
2022-03-22T11:21:33.2217824Z         parser: null,
2022-03-22T11:21:33.2218109Z         _httpMessage: [Circular *1],
2022-03-22T11:21:33.2218432Z         write: [Function: writeAfterFIN],
2022-03-22T11:21:33.2218775Z         [Symbol(async_id_symbol)]: 4,
2022-03-22T11:21:33.2219086Z         [Symbol(kHandle)]: null,
2022-03-22T11:21:33.2219417Z         [Symbol(lastWriteQueueSize)]: 0,
2022-03-22T11:21:33.2219729Z         [Symbol(timeout)]: null,
2022-03-22T11:21:33.2220031Z         [Symbol(kBuffer)]: null,
2022-03-22T11:21:33.2220350Z         [Symbol(kBufferCb)]: null,
2022-03-22T11:21:33.2220657Z         [Symbol(kBufferGen)]: null,
2022-03-22T11:21:33.2220982Z         [Symbol(kCapture)]: false,
2022-03-22T11:21:33.2221292Z         [Symbol(kSetNoDelay)]: false,
2022-03-22T11:21:33.2221614Z         [Symbol(kSetKeepAlive)]: false,
2022-03-22T11:21:33.2221975Z         [Symbol(kSetKeepAliveInitialDelay)]: 0,
2022-03-22T11:21:33.2222307Z         [Symbol(kBytesRead)]: 0,
2022-03-22T11:21:33.2222630Z         [Symbol(kBytesWritten)]: 255
2022-03-22T11:21:33.2222893Z       },
2022-03-22T11:21:33.2223354Z       _header: 'POST /api/session HTTP/1.1\r\n' +
2022-03-22T11:21:33.2223926Z         'Accept: application/json, text/plain, */*\r\n' +
2022-03-22T11:21:33.2224509Z         'Content-Type: application/json;charset=utf-8\r\n' +
2022-03-22T11:21:33.2225062Z         'User-Agent: axios/0.19.2\r\n' +
2022-03-22T11:21:33.2225533Z         'Content-Length: 49\r\n' +
2022-03-22T11:21:33.2226021Z         'Host: localhost:3000\r\n' +
2022-03-22T11:21:33.2226602Z         'Connection: close\r\n' +
2022-03-22T11:21:33.2227001Z         '\r\n',
2022-03-22T11:21:33.2227284Z       _keepAliveTimeout: 0,
2022-03-22T11:21:33.2227596Z       _onPendingData: [Function: nop],
2022-03-22T11:21:33.2227891Z       agent: Agent {
2022-03-22T11:21:33.2228199Z         _events: [Object: null prototype] {
2022-03-22T11:21:33.2228525Z           free: [Function (anonymous)],
2022-03-22T11:21:33.2228888Z           newListener: [Function: maybeEnableKeylog]
2022-03-22T11:21:33.2229181Z         },
2022-03-22T11:21:33.2229422Z         _eventsCount: 2,
2022-03-22T11:21:33.2229726Z         _maxListeners: undefined,
2022-03-22T11:21:33.2230016Z         defaultPort: 80,
2022-03-22T11:21:33.2230456Z         protocol: 'http:',
2022-03-22T11:21:33.2230801Z         options: [Object: null prototype] { path: null },
2022-03-22T11:21:33.2231163Z         requests: [Object: null prototype] {},
2022-03-22T11:21:33.2231888Z         sockets: [Object: null prototype] { 'localhost:3000:': [ [Socket] ] },
2022-03-22T11:21:33.2232330Z         freeSockets: [Object: null prototype] {},
2022-03-22T11:21:33.2232672Z         keepAliveMsecs: 1000,
2022-03-22T11:21:33.2232958Z         keepAlive: false,
2022-03-22T11:21:33.2233241Z         maxSockets: Infinity,
2022-03-22T11:21:33.2233547Z         maxFreeSockets: 256,
2022-03-22T11:21:33.2233977Z         scheduling: 'lifo',
2022-03-22T11:21:33.2234299Z         maxTotalSockets: Infinity,
2022-03-22T11:21:33.2234602Z         totalSocketCount: 1,
2022-03-22T11:21:33.2234897Z         [Symbol(kCapture)]: false
2022-03-22T11:21:33.2235169Z       },
2022-03-22T11:21:33.2235420Z       socketPath: undefined,
2022-03-22T11:21:33.2235852Z       method: 'POST',
2022-03-22T11:21:33.2236144Z       maxHeaderSize: undefined,
2022-03-22T11:21:33.2236461Z       insecureHTTPParser: undefined,
2022-03-22T11:21:33.2236927Z       path: '/api/session',
2022-03-22T11:21:33.2237206Z       _ended: false,
2022-03-22T11:21:33.2237479Z       res: null,
2022-03-22T11:21:33.2237737Z       aborted: false,
2022-03-22T11:21:33.2238002Z       timeoutCb: null,
2022-03-22T11:21:33.2238307Z       upgradeOrConnect: false,
2022-03-22T11:21:33.2238585Z       parser: null,
2022-03-22T11:21:33.2238876Z       maxHeadersCount: null,
2022-03-22T11:21:33.2239166Z       reusedSocket: false,
2022-03-22T11:21:33.2239587Z       host: 'localhost',
2022-03-22T11:21:33.2240290Z       protocol: 'http:',
2022-03-22T11:21:33.2240608Z       _redirectable: [Circular *2],
2022-03-22T11:21:33.2240938Z       [Symbol(kCapture)]: false,
2022-03-22T11:21:33.2241249Z       [Symbol(kNeedDrain)]: false,
2022-03-22T11:21:33.2241546Z       [Symbol(corked)]: 0,
2022-03-22T11:21:33.2241891Z       [Symbol(kOutHeaders)]: [Object: null prototype] {
2022-03-22T11:21:33.2441733Z         accept: [ 'Accept', 'application/json, text/plain, */*' ],
2022-03-22T11:21:33.2443784Z         'content-type': [ 'Content-Type', 'application/json;charset=utf-8' ],
2022-03-22T11:21:33.2444508Z         'user-agent': [ 'User-Agent', 'axios/0.19.2' ],
2022-03-22T11:21:33.2445086Z         'content-length': [ 'Content-Length', 49 ],
2022-03-22T11:21:33.2445658Z         host: [ 'Host', 'localhost:3000' ]
2022-03-22T11:21:33.2445959Z       }
2022-03-22T11:21:33.2446186Z     },
2022-03-22T11:21:33.2446711Z     _currentUrl: 'http://localhost:3000/api/session',
2022-03-22T11:21:33.2447097Z     [Symbol(kCapture)]: false
2022-03-22T11:21:33.2447366Z   },
2022-03-22T11:21:33.2447608Z   response: undefined,
2022-03-22T11:21:33.2447903Z   isAxiosError: true,
2022-03-22T11:21:33.2448201Z   toJSON: [Function (anonymous)]
2022-03-22T11:21:33.2448457Z }
2022-03-22T11:21:33.2448563Z 
2022-03-22T11:21:33.2448793Z Node.js v17.7.2
2022-03-22T11:21:33.2493076Z ##[error]Bash exited with code '1'.
2022-03-22T11:21:33.2578683Z ##[section]Finishing: Execute OpenTest tests