SAP Knowledge Base Article - Preview

3376562 - Build is failed with Could not find the junit slave tenant - SAP Commerce Cloud

Symptom

Build failing:

Target exception: java.lang.IllegalStateException: Could not find the junit slave tenant, please configure junit tenant in platform/tenant_{tenantID}.properties or config/local_tenant_{tenantID}.properties
INFO d.h.c.e.Executor [Thread-24] stdout:      [java] 
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:91)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHBlock.evalBlock(BSHBlock.java:125)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHBlock.eval(BSHBlock.java:75)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHBlock.eval(BSHBlock.java:41)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHTryStatement.eval(BSHTryStatement.java:80)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Interpreter.eval(Interpreter.java:659)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Interpreter.eval(Interpreter.java:750)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Interpreter.eval(Interpreter.java:739)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:42)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  ... 6 more
INFO d.h.c.e.Executor [Thread-24] stdout:      [java] Caused by: java.lang.IllegalStateException: Could not find the junit slave tenant, please configure junit tenant in platform/tenant_{tenantID}.properties or config/local_tenant_{tenantID}.properties
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at de.hybris.platform.core.Registry.getSlaveJunitTenant(Registry.java:204)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at de.hybris.platform.util.Utilities.setJUnitTenant(Utilities.java:1422)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at de.hybris.platform.core.Initialization.initializeTestSystem(Initialization.java:238)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Reflect.invokeMethod(Reflect.java:131)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Reflect.invokeStaticMethod(Reflect.java:95)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.Name.invokeMethod(Name.java:868)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69)
INFO d.h.c.e.Executor [Thread-24] stdout:      [java]  ... 16 more
INFO d.h.c.e.Executor [Thread-24] stdout:      [java] shutting down hybris registry..
INFO d.h.c.e.Executor [Thread-25] stderr: 
INFO d.h.c.e.Executor [Thread-25] stderr: BUILD FAILED


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

junit, slave, tenant, bsh, build, failed, Could not find the junit slave tenant, please configure junit tenant , KBA , CEC-SCC-CLA-BUI , Build Process , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.