


yituadmin@ytarm64:/yitu/opod/opod_deploy$ kubectl logs test-job--1-wqbvg
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.2.RELEASE)
2024-10-10 19:46:16.039 INFO StartupInfoLogger.java:50 : Starting MicroServiceTest on test-job--1-wqbvg with PID 1 (/sidecar/java/opod-micro-service-test.jar started by root in /)
2024-10-10 19:46:16.043 INFO SpringApplication.java:663 : The following profiles are active: incluster
2024-10-10 19:46:16.108 INFO AbstractApplicationContext.java:590 : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5ae9a829: startup date [Thu Oct 10 19:46:16 CST 2024]; root of context hierarchy
warning no match for this type name: newKVStorageDistributedConfig [Xlint:invalidAbsoluteTypeName]
2024-10-10 19:46:17.171 INFO DefaultListableBeanFactory.java:824 : Overriding bean definition for bean 'newKVStorageDistributedConfig' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; d
ependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=rpcClientBeanConfig; factoryMethodName=newKVStorageDistributedConfig; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [com/ficus/face/product/opod/libs/bean_conf
ig/RpcClientBeanConfig.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=microServiceTest; factoryMethodName=getDistributedKvRpcConfig; initMethodNam
e=null; destroyMethodName=(inferred); defined in com.ficus.face.product.opod.microservice.test.MicroServiceTest]
2024-10-10 19:46:18.254 INFO TomcatWebServer.java:91 : Tomcat initialized with port(s): 8080 (http)
2024-10-10 19:46:18.290 INFO DirectJDKLog.java:180 : Starting service [Tomcat]
2024-10-10 19:46:18.290 INFO DirectJDKLog.java:180 : Starting Servlet Engine: Apache Tomcat/8.5.31
2024-10-10 19:46:18.304 INFO DirectJDKLog.java:180 : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/aarch64:/usr/lib/aarch6
4-linux-gnu/jni:/lib/aarch64-linux-gnu:/usr/lib/aarch64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2024-10-10 19:46:18.418 INFO DirectJDKLog.java:180 : Initializing Spring embedded WebApplicationContext
2024-10-10 19:46:18.418 INFO ServletWebServerApplicationContext.java:285 : Root WebApplicationContext: initialization completed in 2310 ms
2024-10-10 19:46:18.569 INFO ServletRegistrationBean.java:185 : Servlet dispatcherServlet mapped to [/]
2024-10-10 19:46:18.575 INFO AbstractFilterRegistrationBean.java:244 : Mapping filter: 'characterEncodingFilter' to: [/*]
2024-10-10 19:46:18.576 INFO AbstractFilterRegistrationBean.java:244 : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2024-10-10 19:46:18.576 INFO AbstractFilterRegistrationBean.java:244 : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2024-10-10 19:46:18.576 INFO AbstractFilterRegistrationBean.java:244 : Mapping filter: 'requestContextFilter' to: [/*]
2024-10-10 19:46:18.709 INFO MongoDbConfig.java:57 : Instantiating MongoTemplate via MongoDbConfig.java
2024-10-10 19:46:18.929 INFO SLF4JLogger.java:71 : Cluster created with settings {hosts=[opod-mongo:27018], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='10000 ms', maxWaitQueueSize=2500}
2024-10-10 19:46:18.929 INFO SLF4JLogger.java:71 : Adding discovered server opod-mongo:27018 to client view of cluster
2024-10-10 19:46:19.086 WARN CustomConversions.java:216 : Registering converter from class org.joda.time.LocalDateTime to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna ch
eck you annotation setup at the converter implementation.
2024-10-10 19:46:19.092 WARN CustomConversions.java:216 : Registering converter from class org.joda.time.LocalDateTime to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna ch
eck you annotation setup at the converter implementation.
2024-10-10 19:46:19.104 INFO SLF4JLogger.java:71 : Opened connection [connectionId{localValue:1, serverValue:63}] to opod-mongo:27018
2024-10-10 19:46:19.107 INFO SLF4JLogger.java:71 : Monitor thread successfully connected to server with description ServerDescription{address=opod-mongo:27018, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3,
4, 24]}, minWireVersion=0, maxWireVersion=5, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=null, roundTripTimeNanos=1117767}
2024-10-10 19:46:19.108 INFO SLF4JLogger.java:71 : Discovered cluster type of STANDALONE
2024-10-10 19:46:19.114 WARN CustomConversions.java:216 : Registering converter from class org.bson.BsonUndefined to class java.lang.Boolean as reading converter although it doesn't convert from a store-supported type! You might wanna check you ann
otation setup at the converter implementation.
2024-10-10 19:46:19.114 WARN CustomConversions.java:216 : Registering converter from class org.joda.time.LocalDateTime to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna ch
eck you annotation setup at the converter implementation.
2024-10-10 19:46:19.617 INFO AbstractUrlHandlerMapping.java:373 : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-10-10 19:46:20.012 INFO RequestMappingHandlerAdapter.java:574 : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5ae9a829: startup date [Thu Oct 10 19:46:16 CST 2024]; root of
context hierarchy
2024-10-10 19:46:20.111 INFO AbstractHandlerMethodMapping.java:547 : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(java
x.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2024-10-10 19:46:20.112 INFO AbstractHandlerMethodMapping.java:547 : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.servlet.error.BasicError
Controller.error(javax.servlet.http.HttpServletRequest)
2024-10-10 19:46:20.144 INFO AbstractUrlHandlerMapping.java:373 : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-10-10 19:46:20.144 INFO AbstractUrlHandlerMapping.java:373 : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2024-10-10 19:46:20.406 WARN CustomConversions.java:216 : Registering converter from class org.joda.time.LocalDateTime to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna ch
eck you annotation setup at the converter implementation.
2024-10-10 19:46:20.407 WARN CustomConversions.java:216 : Registering converter from class org.joda.time.LocalDateTime to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna ch
eck you annotation setup at the converter implementation.
2024-10-10 19:46:20.637 INFO MBeanExporter.java:433 : Registering beans for JMX exposure on startup
2024-10-10 19:46:20.673 INFO TomcatWebServer.java:206 : Tomcat started on port(s): 8080 (http) with context path ''
2024-10-10 19:46:20.677 INFO StartupInfoLogger.java:59 : Started MicroServiceTest in 5.403 seconds (JVM running for 5.988)
2024-10-10 19:46:21.166 INFO AbstractTestContextBootstrapper.java:308 : Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.ficus.face.product.opod.microservice.test.faceretrieve.FaceRetrieveBasicTest], using SpringBootContextLoader
2024-10-10 19:46:21.168 INFO AbstractContextLoader.java:264 : Could not detect default resource locations for test class [com.ficus.face.product.opod.microservice.test.faceretrieve.FaceRetrieveBasicTest]: no resource found for suffixes {-context.xml, C
ontext.groovy}.
2024-10-10 19:46:21.190 INFO AbstractTestContextBootstrapper.java:248 : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot
.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjection
TestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2024-10-10 19:46:21.204 INFO AbstractTestContextBootstrapper.java:177 : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6436a7db, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionList
ener@460ebd80, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6f3c660a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@74f5ce22, org.springframework.test.context.support.DirtiesContextTestExecutionListener@25
aca718, org.springframework.test.context.transaction.TransactionalTestExecutionListener@16fdec90, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1afdd473, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@40238dd0]
2024-10-10 19:46:21.212 INFO FaceRetrieveBasicTest.java:80 : 读取抓拍数据源 /opt/micro_service/runtime/data/opod/online_data/realtime_full/face_record_rocksDBKV
2024-10-10 19:46:21.293 INFO MicroServiceTest.java:86 : >>>>>>>>>>>>>>>>>>>>>>>>>>
2024-10-10 19:46:21.293 INFO MicroServiceTest.java:87 : 测试总结:
Test run finished after 181 ms
[ 3 containers found ]
[ 0 containers skipped ]
[ 3 containers started ]
[ 0 containers aborted ]
[ 2 containers successful ]
[ 1 containers failed ]
[ 25 tests found ]
[ 0 tests skipped ]
[ 0 tests started ]
[ 0 tests aborted ]
[ 0 tests successful ]
[ 0 tests failed ]
Failures (1):
JUnit Jupiter:人脸检索服务基础集成测试
ClassSource [className = 'com.ficus.face.product.opod.microservice.test.faceretrieve.FaceRetrieveBasicTest', filePosition = null]
=> java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni1826143472106971873.so: /tmp/librocksdbjni1826143472106971873.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
java.lang.ClassLoader$NativeLibrary.load(Native Method)
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
java.lang.Runtime.load0(Runtime.java:810)
java.lang.System.load(System.java:1088)
org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
org.rocksdb.RocksDB.(RocksDB.java:35)
com.ficus.face.product.opod.microservice.test.util.RocksdbUtil.readAllValue(RocksdbUtil.java:57)
com.ficus.face.product.opod.microservice.test.util.RocksdbUtil.readAllEncryptedValue(RocksdbUtil.java:31)
com.ficus.face.product.opod.microservice.test.faceretrieve.FaceRetrieveBasicTest.setUpClass(FaceRetrieveBasicTest.java:81)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686)
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:126)
org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:68)
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$8(ClassBasedTestDescriptor.java:375)
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:373)
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:193)
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:78)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:132)
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
java.util.ArrayList.forEach(ArrayList.java:1259)
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248)
org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211)
org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
com.ficus.face.product.opod.microservice.test.MicroServiceTest.main(MicroServiceTest.java:77)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
2024-10-10 19:46:21.294 INFO MicroServiceTest.java:88 : <<<<<<<<<<<<<<<<<<<<<<<<<<
2024-10-10 19:46:21.297 ERROR MicroServiceTest.java:95 : 测试运行失败
jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException: not all test succeed
2024-10-10 19:46:21.298 INFO AbstractApplicationContext.java:993 : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5ae9a829: startup date [Thu Oct 10 19:46:16 CST 2024]; root of context hierarchy
2024-10-10 19:46:21.300 INFO MBeanExporter.java:451 : Unregistering JMX-exposed beans on shutdown
2024-10-10 19:46:21.377 INFO ClickHouseDriver.java:42 : Driver registered

rocksdb文件arm和x86的都是可以互相使用的
我这里用的测试的jar包在x86环境编译的... jar包我印象中应该是跨平台的吧

No comments yet.