Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CApiConnectionTest.Interrupt failing on test with ASan #1669

Closed
rfdavid opened this issue Jun 13, 2023 · 1 comment
Closed

CApiConnectionTest.Interrupt failing on test with ASan #1669

rfdavid opened this issue Jun 13, 2023 · 1 comment

Comments

@rfdavid
Copy link
Collaborator

rfdavid commented Jun 13, 2023

CApiConnectionTest.Interrupt is failing on CI (Run test with ASan)

https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710

19/702 Test  #14: CApiConnectionTest.Interrupt ....................................................................................***Failed    2.89 sec
Running main() from /home/runner/actions-runner/_work/kuzu/kuzu/build/debug/_deps/googletest-src/googletest/src/gtest_main.cc
Note: Google Test filter = CApiConnectionTest.Interrupt
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CApiConnectionTest
[ RUN      ] CApiConnectionTest.Interrupt
cypherScript: /home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/schema.cypher
Starting to execute query: create node table person (ID INt64, fName StRING, gender INT64, isStudent BoOLEAN, isWorker BOOLEAN, age INT64, eyeSight DOUBLE, birthdate DATE, registerTime TIMESTAMP, lastJobDuration interval, workedHours INT64[], usedNames STRING[], courseScoresPerTerm INT64[][], grades INT64[4], height float, PRIMARY KEY (ID));
[2023-06-13 01:27:05.441] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.441] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.441] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.441] [catalog] [info] Initializing catalog done.
Executed query: create node table person (ID INt64, fName StRING, gender INT64, isStudent BoOLEAN, isWorker BOOLEAN, age INT64, eyeSight DOUBLE, birthdate DATE, registerTime TIMESTAMP, lastJobDuration interval, workedHours INT64[], usedNames STRING[], courseScoresPerTerm INT64[][], grades INT64[4], height float, PRIMARY KEY (ID));
Starting to execute query: create node table organisation (ID INT64, name STRING, orgCode INT64, mark DOUBLE, score INT64, history STRING, licenseValidInterval INTERVAL, rating DOUBLE, state STRUCT(revenue INT16, location STRING[], stock STRUCT(price INT64[], volume INT64)), PRIMARY KEY (ID));
[2023-06-13 01:27:05.461] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.461] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.461] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.462] [catalog] [info] Initializing catalog done.
Executed query: create node table organisation (ID INT64, name STRING, orgCode INT64, mark DOUBLE, score INT64, history STRING, licenseValidInterval INTERVAL, rating DOUBLE, state STRUCT(revenue INT16, location STRING[], stock STRUCT(price INT64[], volume INT64)), PRIMARY KEY (ID));
Starting to execute query: create node table movies (name STRING, length INT32, note STRING, description STRUCT(rating DOUBLE, views INT64, release TIMESTAMP, film DATE), PRIMARY KEY (name));
[2023-06-13 01:27:05.478] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.478] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.478] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.479] [catalog] [info] Initializing catalog done.
Executed query: create node table movies (name STRING, length INT32, note STRING, description STRUCT(rating DOUBLE, views INT64, release TIMESTAMP, film DATE), PRIMARY KEY (name));
Starting to execute query: create rel table knows (FROM person TO person, date DATE, meetTime TIMESTAMP, validInterval INTERVAL, comments STRING[], MANY_MANY);
[2023-06-13 01:27:05.495] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.495] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.495] [storage] [info] Initializing NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.495] [storage] [info] Reading NodesStatisticsAndDeletedIDs from /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.
[2023-06-13 01:27:05.495] [storage] [info] Initialized NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.495] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.496] [catalog] [info] Initializing catalog done.
Executed query: create rel table knows (FROM person TO person, date DATE, meetTime TIMESTAMP, validInterval INTERVAL, comments STRING[], MANY_MANY);
Starting to execute query: create rel table studyAt (FROM person TO organisation, year INT64, places STRING[], length INT16,MANY_ONE);
[2023-06-13 01:27:05.514] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.514] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.514] [storage] [info] Initializing NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.514] [storage] [info] Reading NodesStatisticsAndDeletedIDs from /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.
[2023-06-13 01:27:05.514] [storage] [info] Initialized NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.514] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.515] [catalog] [info] Initializing catalog done.
Executed query: create rel table studyAt (FROM person TO organisation, year INT64, places STRING[], length INT16,MANY_ONE);
Starting to execute query: create rel table workAt (FROM person TO organisation, year INT64, grading DOUBLE[2], rating float, MANY_ONE);
[2023-06-13 01:27:05.[56](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:57)8] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.569] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.569] [storage] [info] Initializing NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.569] [storage] [info] Reading NodesStatisticsAndDeletedIDs from /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.
[2023-06-13 01:27:05.569] [storage] [info] Initialized NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.569] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.569] [catalog] [info] Initializing catalog done.
Executed query: create rel table workAt (FROM person TO organisation, year INT64, grading DOUBLE[2], rating float, MANY_ONE);
Starting to execute query: create rel table meets (FROM person TO person, location FLOAT[2], times INT, MANY_ONE);
[2023-06-13 01:27:05.[58](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:59)5] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.585] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.585] [storage] [info] Initializing NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.585] [storage] [info] Reading NodesStatisticsAndDeletedIDs from /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.
[2023-06-13 01:27:05.585] [storage] [info] Initialized NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.585] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.586] [catalog] [info] Initializing catalog done.
Executed query: create rel table meets (FROM person TO person, location FLOAT[2], times INT, MANY_ONE);
Starting to execute query: create rel table marries (FROM person TO person, usedAddress STRING[], address INT16[2], note STRING, ONE_ONE);
[2023-06-13 01:27:05.[60](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:61)2] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686[61](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:62)9[62](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:63)5391/rels.statistics.wal.
[2023-06-13 01:27:05.602] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.603] [storage] [info] Initializing NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.603] [storage] [info] Reading NodesStatisticsAndDeletedIDs from /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.
[2023-06-13 01:27:05.603] [storage] [info] Initialized NodesStatisticsAndDeletedIDs.
[2023-06-13 01:27:05.603] [catalog] [info] Initializing catalog.
[2023-06-13 01:27:05.603] [catalog] [info] Initializing catalog done.
Executed query: create rel table marries (FROM person TO person, usedAddress STRING[], address INT16[2], note STRING, ONE_ONE);
cypherScript: /home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/copy.cypher
Starting to execute query: COPY person FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vPerson.csv" (HeaDER=true, deLim=',');
[2023-06-13 01:27:05.[64](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:65)4] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt168[66](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:67)19625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.645] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1[68](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:69)6619625391/nodes.statistics_and_deleted.ids.wal.
Executed query: COPY person FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vPerson.csv" (HeaDER=true, deLim=',');
Starting to execute query: COPY organisation FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vOrganisation.csv";
[2023-06-13 01:27:05.[73](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:74)5] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.735] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
Executed query: COPY organisation FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vOrganisation.csv";
Starting to execute query: COPY movies FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vMovies.csv";
[2023-06-13 01:27:05.7[75](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:76)] [storage] [info] Writing NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
[2023-06-13 01:27:05.[77](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:78)5] [storage] [info] Wrote NodesStatisticsAndDeletedIDs to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/nodes.statistics_and_deleted.ids.wal.
Executed query: COPY movies FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/vMovies.csv";
Starting to execute query: COPY knows FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eKnows.csv";
[2023-06-13 01:27:05.[80](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:81)1] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.801] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
Executed query: COPY knows FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eKnows.csv";
Starting to execute query: COPY studyAt FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eStudyAt.csv" (HeaDER=true);
[2023-06-13 01:27:05.[82](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:83)8] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.828] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
Executed query: COPY studyAt FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eStudyAt.csv" (HeaDER=true);
Starting to execute query: COPY workAt FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eWorkAt.csv"
[2023-06-13 01:27:05.[85](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:86)3] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt16[86](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:87)619625391/rels.statistics.wal.
[2023-06-13 01:27:05.853] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
Executed query: COPY workAt FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eWorkAt.csv"
Starting to execute query: COPY meets FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eMeets.csv"
[2023-06-13 01:27:05.[87](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:88)5] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
[2023-06-13 01:27:05.875] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt1686619625391/rels.statistics.wal.
Executed query: COPY meets FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eMeets.csv"
Starting to execute query: COPY marries FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eMarries.csv"
[2023-06-13 01:27:05.[89](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:90)2] [storage] [info] Writing RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt16866196253[91](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:92)/rels.statistics.wal.
[2023-06-13 01:27:05.8[92](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:93)] [storage] [info] Wrote RelsStatistics to /home/runner/actions-runner/_work/kuzu/kuzu/test/unittest_temp_CApiConnectionTest.Interrupt168661[96](https://github.com/kuzudb/kuzu/actions/runs/5250096526/jobs/9483855710#step:6:97)25391/rels.statistics.wal.
Executed query: COPY marries FROM "/home/runner/actions-runner/_work/kuzu/kuzu/dataset/tinysnb/eMarries.csv"
AddressSanitizer:DEADLYSIGNAL
@andyfengHKU
Copy link
Contributor

Fixed in #1828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants