Skip to content

Test suite failed on test_client_fastify #391

@phracek

Description

@phracek

Container platform

Podman/Docker

Version

NodeJS -16

OS version of the container image

RHEL 9

Bugzilla, Jira

No response

Description

The test suite is failing on RHEL9.

This is a similar problem to pino #381

 [PASSED] for 'clients' test_client_cloudevents (00:01:52)
 [FAILED] for 'clients' test_client_fastify (00:07:04)
 [PASSED] for 'binary' test_run_binary_application (00:02:18)

Tests for ubi9/nodejs-16:1 failed.
errexit on line 38, common/test.sh

The test is causing failure and our nightly builds and normal tests by each PR brings more time to analyze a problem.
It would be nice to fix it or removing. Or maybe let's add two tests. First one for fastify which will be stable and has to passed and second one which will be used from the latest fastify repo and in case of failure it will be marked as unstable

Reproducer

-----------------------------------------------
Running test test_client_fastify (starting at 2023-05-24 22:03:28-04:00) ... 
-----------------------------------------------
Running fastify client test
Running fastify test suite
Cloning into '/tmp/daily_scl_tests-rhel9-test/s2i-nodejs-container/test/fastify'...
STEP 1/11: FROM ubi9/nodejs-16:1
STEP 2/11: LABEL "io.openshift.s2i.build.image"="ubi9/nodejs-16:1"       "io.openshift.s2i.build.source-location"="file:///tmp/daily_scl_tests-rhel9-test/s2i-nodejs-container/test/fastify"
--> 1adfb0f719c
STEP 3/11: USER root

[snipped]

> fastify@4.17.0 test:typescript
> tsc test/types/import.ts && tsd


  test/types/type-provider.test-d.ts:114:4
  ✖  114:4   Parameter type number | undefined is not identical to argument type any.                            
  ✖  114:35  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  114:35  req.body is of type unknown.                                                                        
  ✖  115:4   Parameter type string | undefined is not identical to argument type any.                            
  ✖  115:35  req.body is of type unknown.                                                                        
  ✖  116:4   Parameter type boolean | undefined is not identical to argument type any.                           
  ✖  116:36  req.body is of type unknown.                                                                        
  ✖  141:4   Parameter type number | undefined is not identical to argument type any.                            
  ✖  141:35  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  141:35  req.body is of type unknown.                                                                        
  ✖  142:4   Parameter type string | undefined is not identical to argument type any.                            
  ✖  142:35  req.body is of type unknown.                                                                        
  ✖  143:4   Parameter type boolean | undefined is not identical to argument type any.                           
  ✖  143:36  req.body is of type unknown.                                                                        
  ✖  515:17  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  526:2   Type instantiation is excessively deep and possibly infinite.                                       
  ✖  537:0   Type instantiation is excessively deep and possibly infinite.                                       
  ✖  537:17  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  567:0   Type instantiation is excessively deep and possibly infinite.                                       
  ✖  567:0   Found an error that tsd does not currently support (ts2589), consider creating an issue on GitHub.  
  ✖  567:12  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  587:0   Found an error that tsd does not currently support (ts2589), consider creating an issue on GitHub.  
  ✖  587:12  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  615:17  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  640:17  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  673:0   Found an error that tsd does not currently support (ts2589), consider creating an issue on GitHub.  
  ✖  673:12  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  690:0   Found an error that tsd does not currently support (ts2589), consider creating an issue on GitHub.  
  ✖  690:12  Type instantiation is excessively deep and possibly infinite.                                       
  ✖  704:0   Found an error that tsd does not currently support (ts2589), consider creating an issue on GitHub.  
  ✖  704:12  Type instantiation is excessively deep and possibly infinite.                                       

  31 errors

S2I image 'ubi9/nodejs-16:1' test FAILED (exit code: 1)
Test for image 'ubi9/nodejs-16:1' FAILED (exit code: 1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions