quadratic-funding / mpc-phase2-suite

The MPC suite of tools for conducting zkSNARK Phase 2 Trusted Setup ceremonies
MIT License
16 stars 6 forks source link

CI failure on `Test Prod` workflow #312

Closed baumstern closed 1 year ago

baumstern commented 1 year ago

After merging https://github.com/quadratic-funding/mpc-phase2-suite/pull/308, recent 3 CI runs failed (e.g. https://github.com/quadratic-funding/mpc-phase2-suite/actions/runs/4102529987).

Error log:

2023-02-06T10:12:08.8952691Z   ● Database › getAllCollectionDocs › should allow any authenticated user to query the ceremonies collection
2023-02-06T10:12:08.8953179Z 
2023-02-06T10:12:08.8953496Z     assert.strictEqual(received, expected)
2023-02-06T10:12:08.8953861Z 
2023-02-06T10:12:08.8954172Z       Expected value to strictly be equal to:
2023-02-06T10:12:08.8954674Z         undefined
2023-02-06T10:12:08.8955117Z       Received:
2023-02-06T10:12:08.8968752Z       ***"_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": ***"automaticDataCollectionEnabled": false, "name": "[DEFAULT]"***, "_container": ***"name": "[DEFAULT]", "providers": [Map]***, "_isDeleted": false, "_name": "[DEFAULT]", "_options": ***"apiKey": "***", "appId": "***", "authDomain": "***", "messagingSenderId": "***", "projectId": "***"***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_snapshot": ***"docChanges": [***"doc": ***"data": [ObjectValue], "documentState": 0, "documentType": 1, "key": [DocumentKey], "readTime": [SnapshotVersion], "version": [SnapshotVersion]***, "type": 0***, ***"doc": ***"data": [ObjectValue], "documentState": 0, "documentType": 1, "key": [DocumentKey], "readTime": [SnapshotVersion], "version": [SnapshotVersion]***, "type": 0***], "docs": ***"comparator": [Function anonymous], "keyedMap": ***"comparator": [Function comparator], "root": ***"color": false, "key": [DocumentKey], "left": [LLRBNode], "right": [LLRBEmptyNode], "size": 2, "value": [MutableDocument]***, "sortedSet": ***"comparator": [Function anonymous], "root": ***"color": false, "key": [MutableDocument], "left": [LLRBNode], "right": [LLRBEmptyNode], "size": 2, "value": null***, "excludesMetadataChanges": false, "fromCache": false, "hasCachedResults": true, "mutatedKeys": ***"comparator": [Function comparator], "data": ***"comparator": [Function comparator], "root": ***"size": 0***, "oldDocs": ***"comparator": [Function anonymous], "keyedMap": ***"comparator": [Function comparator], "root": ***"size": 0***, "sortedSet": ***"comparator": [Function anonymous], "root": ***"size": 0***, "query": ***"collectionGroup": null, "endAt": null, "explicitOrderBy": [], "filters": [***"field": [FieldPath$1], "op": "==", "value": [Object]***], "limit": null, "limitType": "F", "memoizedOrderBy": [***"dir": "asc", "field": [FieldPath$1]***], "memoizedTarget": ***"collectionGroup": null, "endAt": null, "filters": [[FieldFilter]], "limit": null, "memoizedCanonicalId": "ceremonies|f:state==OPENED|ob:__name__asc", "orderBy": [[OrderBy]], "path": ***"len": 1, "offset": 0, "segments": [Array]***, "startAt": null***, "path": ***"len": 1, "offset": 0, "segments": ["ceremonies"]***, "startAt": null***, "syncStateChanged": true***, "_userDataWriter": ***"firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "metadata": ***"fromCache": false, "hasPendingWrites": false***, "query": ***"_query": ***"collectionGroup": null, "endAt": null, "explicitOrderBy": [], "filters": [***"field": [FieldPath$1], "op": "==", "value": [Object]***], "limit": null, "limitType": "F", "memoizedOrderBy": [***"dir": "asc", "field": [FieldPath$1]***], "memoizedTarget": ***"collectionGroup": null, "endAt": null, "filters": [[FieldFilter]], "limit": null, "memoizedCanonicalId": "ceremonies|f:state==OPENED|ob:__name__asc", "orderBy": [[OrderBy]], "path": ***"len": 1, "offset": 0, "segments": [Array]***, "startAt": null***, "path": ***"len": 1, "offset": 0, "segments": ["ceremonies"]***, "startAt": null***, "converter": null, "firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "type": "query"***
2023-02-06T10:12:08.8977320Z       Message:
2023-02-06T10:12:08.8978064Z         expected promise to be rejected but it was fulfilled with QuerySnapshot*** …(5) ***
2023-02-06T10:12:08.8978593Z       Difference:
2023-02-06T10:12:08.8979174Z         Comparing two different types of values. Expected undefined but received object.
2023-02-06T10:12:08.8979548Z 
2023-02-06T10:12:08.8980034Z   ● Database › fromQueryToFirebaseDocumentInfo › should return data for a valid collection
2023-02-06T10:12:08.8980430Z 
2023-02-06T10:12:08.8980681Z     assert.strictEqual(received, expected)
2023-02-06T10:12:08.8980965Z 
2023-02-06T10:12:08.8981208Z       Expected value to strictly be equal to:
2023-02-06T10:12:08.8981641Z         undefined
2023-02-06T10:12:08.8981996Z       Received:
2023-02-06T10:12:08.9003029Z         [***"_converter": null, "_document": ***"data": ***"value": ***"mapValue": [Object]***, "documentState": 0, "documentType": 1, "key": ***"path": ***"len": 2, "offset": 5, "segments": [Array]***, "readTime": ***"timestamp": [Object]***, "version": ***"timestamp": [Object]***, "_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_firestoreImpl": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_key": ***"path": ***"len": 2, "offset": 5, "segments": ["projects", "***", "databases", "(default)", "documents", "ceremonies", "0000000000000000000C"]***, "_userDataWriter": ***"firestore": ***"app": [FirebaseAppImpl], "databaseId": [DatabaseId], "settings": [FirestoreSettingsImpl]***, "metadata": ***"fromCache": false, "hasPendingWrites": false***, ***"_converter": null, "_document": ***"data": ***"value": ***"mapValue": [Object]***, "documentState": 0, "documentType": 1, "key": ***"path": ***"len": 2, "offset": 5, "segments": [Array]***, "readTime": ***"timestamp": [Object]***, "version": ***"timestamp": [Object]***, "_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_firestoreImpl": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_key": ***"path": ***"len": 2, "offset": 5, "segments": ["projects", "***", "databases", "(default)", "documents", "ceremonies", "0000000000000000000D"]***, "_userDataWriter": ***"firestore": ***"app": [FirebaseAppImpl], "databaseId": [DatabaseId], "settings": [FirestoreSettingsImpl]***, "metadata": ***"fromCache": false, "hasPendingWrites": false***, ***"_converter": null, "_document": ***"data": ***"value": ***"mapValue": [Object]***, "documentState": 0, "documentType": 1, "key": ***"path": ***"len": 2, "offset": 5, "segments": [Array]***, "readTime": ***"timestamp": [Object]***, "version": ***"timestamp": [Object]***, "_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_firestoreImpl": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_key": ***"path": ***"len": 2, "offset": 5, "segments": ["projects", "***", "databases", "(default)", "documents", "ceremonies", "7EZs0NLqxU3BZpNWined"]***, "_userDataWriter": ***"firestore": ***"app": [FirebaseAppImpl], "databaseId": [DatabaseId], "settings": [FirestoreSettingsImpl]***, "metadata": ***"fromCache": false, "hasPendingWrites": false***, ***"_converter": null, "_document": ***"data": ***"value": ***"mapValue": [Object]***, "documentState": 0, "documentType": 1, "key": ***"path": ***"len": 2, "offset": 5, "segments": [Array]***, "readTime": ***"timestamp": [Object]***, "version": ***"timestamp": [Object]***, "_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_firestoreImpl": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_key": ***"path": ***"len": 2, "offset": 5, "segments": ["projects", "***", "databases", "(default)", "documents", "ceremonies", "fCN1XWwv2Y3W2eftqV7g"]***, "_userDataWriter": ***"firestore": ***"app": [FirebaseAppImpl], "databaseId": [DatabaseId], "settings": [FirestoreSettingsImpl]***, "metadata": ***"fromCache": false, "hasPendingWrites": false***]
2023-02-06T10:12:08.9014556Z       Message:
2023-02-06T10:12:08.9015332Z         expected promise to be rejected but it was fulfilled with [ QueryDocumentSnapshot*** …(7) ***, …(3) ]
2023-02-06T10:12:08.9015880Z       Difference:
2023-02-06T10:12:08.9016455Z         Comparing two different types of values. Expected undefined but received array.
2023-02-06T10:12:08.9016820Z 
2023-02-06T10:12:08.9017283Z   ● Database › getDocumentById › should an authenticated user to get a ceremonies document
2023-02-06T10:12:08.9017654Z 
2023-02-06T10:12:08.9017889Z     assert.strictEqual(received, expected)
2023-02-06T10:12:08.9018170Z 
2023-02-06T10:12:08.9018408Z       Expected value to strictly be equal to:
2023-02-06T10:12:08.9018827Z         undefined
2023-02-06T10:12:08.9019179Z       Received:
2023-02-06T10:12:08.9028094Z       ***"_converter": null, "_document": ***"data": ***"value": ***"mapValue": ***"fields": [Object]***, "documentState": 0, "documentType": 1, "key": ***"path": ***"len": 2, "offset": 5, "segments": ["projects", "***", "databases", "(default)", "documents", "users", "PrtTd9AcYDSoetjUCSJ30IJGZiH2"]***, "readTime": ***"timestamp": ***"nanoseconds": 402019000, "seconds": 1675678325***, "version": ***"timestamp": ***"nanoseconds": 844763000, "seconds": 1675678309***, "_firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": ***"automaticDataCollectionEnabled": false, "name": "[DEFAULT]"***, "_container": ***"name": "[DEFAULT]", "providers": [Map]***, "_isDeleted": false, "_name": "[DEFAULT]", "_options": ***"apiKey": "***", "appId": "***", "authDomain": "***", "messagingSenderId": "***", "projectId": "***"***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_firestoreImpl": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": ***"automaticDataCollectionEnabled": false, "name": "[DEFAULT]"***, "_container": ***"name": "[DEFAULT]", "providers": [Map]***, "_isDeleted": false, "_name": "[DEFAULT]", "_options": ***"apiKey": "***", "appId": "***", "authDomain": "***", "messagingSenderId": "***", "projectId": "***"***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "_key": ***"path": ***"len": 2, "offset": 0, "segments": ["users", "PrtTd9AcYDSoetjUCSJ30IJGZiH2"]***, "_userDataWriter": ***"firestore": ***"app": ***"_automaticDataCollectionEnabled": false, "_config": [Object], "_container": [ComponentContainer], "_isDeleted": false, "_name": "[DEFAULT]", "_options": [Object]***, "databaseId": ***"database": "(default)", "projectId": "***"***, "settings": ***"cacheSizeBytes": 41943040, "credentials": undefined, "experimentalAutoDetectLongPolling": false, "experimentalForceLongPolling": false, "host": "firestore.googleapis.com", "ignoreUndefinedProperties": false, "ssl": true, "useFetchStreams": true***, "metadata": ***"fromCache": false, "hasPendingWrites": false***
2023-02-06T10:12:08.9032778Z       Message:
2023-02-06T10:12:08.9033472Z         expected promise to be rejected but it was fulfilled with DocumentSnapshot*** …(7) ***
2023-02-06T10:12:08.9034003Z       Difference:
2023-02-06T10:12:08.9034578Z         Comparing two different types of values. Expected undefined but received object.
2023-02-06T10:12:08.9034935Z 
baumstern commented 1 year ago

Closing since this is stale issue