-
Notifications
You must be signed in to change notification settings - Fork 504
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
fix docker mysql ci not stable #1710
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change-Id: I8795ddcd9598829375801a06eb539634197fc3e4
Codecov Report
@@ Coverage Diff @@
## master #1710 +/- ##
=============================================
+ Coverage 49.53% 66.95% +17.41%
- Complexity 5350 7104 +1754
=============================================
Files 423 423
Lines 35488 35528 +40
Branches 4948 4944 -4
=============================================
+ Hits 17580 23787 +6207
+ Misses 15975 9349 -6626
- Partials 1933 2392 +459
Continue to review full report at Codecov.
|
Change-Id: I58f39aeb3194d2afb7f79809b3f4fcffe4d9ca98
mysql ci error [INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.baidu.hugegraph.core.CoreTestSuite
2021-12-27 07:41:40 [main] [WARN] c.b.h.c.HugeConfig - The config option 'jdbc.sslmode' is redundant, please ensure it has been registered
2021-12-27 07:41:40 [main] [WARN] c.b.h.c.HugeConfig - The config option 'expired.delete_batch' is redundant, please ensure it has been registered
2021-12-27 07:41:40 [main] [WARN] c.b.h.c.HugeConfig - The config option 'test.tinkerpop.filter' is redundant, please ensure it has been registered
2021-12-27 07:41:40 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Failed to open database 'hugegraph', try to init database later
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.HugeGraph - Graph 'hugegraph' has been cleared
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Failed to open database 'hugegraph', try to init database later
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph?useSSL=false&characterEncoding=utf-8&rewriteBatchedStatements=true&useServerPrepStmts=false&autoReconnect=true&maxReconnects=10&initialTimeout=5'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph?useSSL=false&characterEncoding=utf-8&rewriteBatchedStatements=true&useServerPrepStmts=false&autoReconnect=true&maxReconnects=10&initialTimeout=5'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph?useSSL=false&characterEncoding=utf-8&rewriteBatchedStatements=true&useServerPrepStmts=false&autoReconnect=true&maxReconnects=10&initialTimeout=5'
2021-12-27 07:41:41 [main] [INFO] o.c.o.l.Uns - OHC using JNA OS native malloc/free
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/hugegraph?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=10000'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
2021-12-27 07:41:41 [main] [INFO] c.b.h.HugeGraph - Graph 'hugegraph' has been cleared
2021-12-27 07:41:41 [main] [INFO] c.b.h.HugeGraph - Close graph standardhugegraph[hugegraph]
2021-12-27 07:41:42 [main] [INFO] c.b.h.b.s.m.MysqlStore - Connect to the jdbc url: 'jdbc:mysql://127.0.0.1:3306/?useSSL=false&socketTimeout=1'
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.828 s <<< FAILURE! - in com.baidu.hugegraph.core.CoreTestSuite
Error: com.baidu.hugegraph.core.CoreTestSuite Time elapsed: 3.823 s <<< ERROR!
com.baidu.hugegraph.backend.BackendException: Failed to obtain table info
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:69)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure
The last packet successfully received from the server was 2 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:69)
Caused by: java.net.SocketTimeoutException: Read timed out
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:69)
2021-12-27 07:41:42 [hugegraph-shutdown] [INFO] c.b.h.HugeGraph - HugeGraph is shutting down
[INFO]
[INFO] Results:
[INFO]
Error: Errors:
Error: CoreTestSuite.init:69 » Backend Failed to obtain table info
[INFO]
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] |
Change-Id: I178514bc708c550925a316d75f8872d186cf27bd
Change-Id: I0982ac89b258a050fdfd90bb50cea06d1ad5559b
unit ci error: Error: Tests run: 390, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 636.568 s <<< FAILURE! - in com.baidu.hugegraph.unit.UnitTestSuite
Error: testIntFixedSetBySegmentsConcurrent(com.baidu.hugegraph.unit.util.collection.IntSetTest) Time elapsed: 0.024 s <<< ERROR!
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<10000> but was:<9999>
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntSetConcurrent(IntSetTest.java:145)
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntFixedSetBySegmentsConcurrent(IntSetTest.java:78)
Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: expected:<10000> but was:<9999>
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntSetConcurrent(IntSetTest.java:145)
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntFixedSetBySegmentsConcurrent(IntSetTest.java:78)
Caused by: java.lang.AssertionError: expected:<10000> but was:<9999>
at com.baidu.hugegraph.unit.util.collection.IntSetTest.lambda$testIntSetConcurrent$6(IntSetTest.java:152)
2021-12-27 08:50:16 [hugegraph-shutdown] [INFO] c.b.h.HugeGraph - HugeGraph is shutting down
[INFO]
[INFO] Results:
[INFO]
Error: Errors:
Error: IntSetTest.testIntFixedSetBySegmentsConcurrent:78->testIntSetConcurrent:145->BaseUnitTest.runWithThreads:70 » Runtime
[INFO]
Error: Tests run: 390, Failures: 0, Errors: 1, Skipped: 1 |
Change-Id: I617e1c6745c3d5d48cf9fe0c1767f039bac2df96
Change-Id: Id197fd1010d8f30ca4c31946d7f56ae1d3915219
Co-authored-by: imbajin <0x00@imbajin.com> Change-Id: Icea0b9637ff940d5a0312a9bef299fb799a2e7d5
coderzc
previously approved these changes
Dec 27, 2021
mysql ci error Error: Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.31 s <<< FAILURE! - in com.baidu.hugegraph.core.CoreTestSuite
Error: com.baidu.hugegraph.core.CoreTestSuite Time elapsed: 2.309 s <<< ERROR!
com.baidu.hugegraph.backend.BackendException: Failed to obtain database info
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:68)
Caused by: com.baidu.hugegraph.backend.BackendException: Failed to access jdbc:mysql://127.0.0.1:3306/?characterEncoding=utf-8&rewriteBatchedStatements=true&useServerPrepStmts=false&autoReconnect=false&maxReconnects=10&initialTimeout=5&socketTimeout=0&useSSL=false
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:68)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:68)
Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
at com.baidu.hugegraph.core.CoreTestSuite.init(CoreTestSuite.java:68) |
Change-Id: I4b283681f066ab8d11644172b86f89d782f98343
unit ci error: Error: Tests run: 390, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 736.396 s <<< FAILURE! - in com.baidu.hugegraph.unit.UnitTestSuite
Error: testIntFixedSetBySegments(com.baidu.hugegraph.unit.util.collection.IntSetTest) Time elapsed: 0.007 s <<< ERROR!
java.lang.ArithmeticException: / by zero
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntSet(IntSetTest.java:86)
at com.baidu.hugegraph.unit.util.collection.IntSetTest.testIntFixedSetBySegments(IntSetTest.java:57)
2021-12-27 11:59:11 [hugegraph-shutdown] [INFO] c.b.h.HugeGraph - HugeGraph is shutting down
[INFO]
[INFO] Results:
[INFO]
Error: Errors:
Error: IntSetTest.testIntFixedSetBySegments:57->testIntSet:86 Arithmetic / by zero
[INFO]
Error: Tests run: 390, Failures: 0, Errors: 1, Skipped: 1 |
zhoney
approved these changes
Dec 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #1672
Change-Id: I8795ddcd9598829375801a06eb539634197fc3e4