I am trying to set up a Test Controller and Test Agent to be used by developers when they run their unit tests from Visual studio. I have the TA and TC set up and connected to each other. I have created the testsettings file in a project and set the Test execution method to Remote Execution, pointed at the Test Controller. When I try to run a test on the TA i get the following out put in visual studio:
------ Run test started ------
Ignoring test impact data collector settings specified in the .TestSettings file.
Failed to queue test run 'user#MACHINE 2014-08-28 08:46:31': The server has rejected the client credentials.
The logon attempt failed
========== Run test finished: 4 run (0:00:17.353169) ==========
The test controller log is as follows:
V, 2156, 23, 2014/08/28, 08:46:31.215, CONTROLLER\QTController.exe, User CORP\user is system, Admin, or controller user
I, 2156, 23, 2014/08/28, 08:46:31.215, CONTROLLER\QTController.exe, A user has successfully authenticated to obtain the ControllerObject.
I, 2156, 23, 2014/08/28, 08:46:31.262, CONTROLLER\QTController.exe, Testing LoadTestResultConnectString
W, 2156, 23, 2014/08/28, 08:46:46.411, CONTROLLER\QTController.exe, Test of LoadTestResultConnectString failed: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
V, 2156, 23, 2014/08/28, 08:46:46.724, CONTROLLER\QTController.exe, ControllerObject: Hello
V, 2156, 23, 2014/08/28, 08:46:46.724, CONTROLLER\QTController.exe, ControllerObject: Hello
V, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, User CORP\user is system, Admin, or controller user
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerObject: Creating ControllerExecution for TestRun d7489f6d-4608-4b19-abf5-74d773cf3917
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerSpooledJob: creating spooled job for test run 'user#MACHINE 2014-08-28 08:46:31'
I, 2156, 23, 2014/08/28, 08:46:46.756, CONTROLLER\QTController.exe, ControllerObject: Queuing TestRun d7489f6d-4608-4b19-abf5-74d773cf3917
V, 2156, 23, 2014/08/28, 08:46:49.494, CONTROLLER\QTController.exe, ControllerObject.RequireAgentServiceUser: Agent: AGENT of environment [Default] trying to connect.
V, 2156, 23, 2014/08/28, 08:46:49.494, CONTROLLER\QTController.exe, ControllerObject: AgentHello from AGENT
I am not sure why I am getting this logon error when the TA and TC are talking to each other just fine. I think it could have something to do with the LoadTestResultConnectString but I have not been able to find much about it?
I had this problem when trying to run a Load Test on VS 2015 when the controller/agent combo was still using the VS 2013 version of controller and agents.
Easy fix was to start the load test using VS 2013.
Related
I am getting the following error while run the obiee12c configuration assistant.
weblogic.nodemanager.common.ConfigException: Identity key store file not found DemoIdentity.jks
The following is the error log:
<Feb 6, 2021 10:16:38,503 PM JST> <Cannot find identity keystore file <DOMAIN_HOME>/security/DemoIdentity.jks on server AdminServer>
<Feb 6, 2021 10:16:38,504 PM JST> <Inconsistent security configuration, weblogic.management.configuration.ConfigurationException: Cannot find identity keystore file <DOMAIN_HOME>/security/DemoIdentity.jks on server AdminServer>
<Feb 6, 2021 10:16:38,504 PM JST> <Not listening for SSL, weblogic.management.configuration.ConfigurationException: Cannot find identity keystore file <DOMAIN_HOME>/security/DemoIdentity.jks on server AdminServer.>
<Feb 6, 2021 10:16:38,505 PM JST> <The server is unable to create a server socket for listening on channel "DefaultSecure[iiops][5]". The address 127.0.0.1 might be incorrect or another process is using port 7002: java.io.IOException: Cannot find identity keystore file <DOMAIN_HOME>/security/DemoIdentity.jks on server AdminServer>
The following is the workaround to resolve the issue.
Step 1: Browse to the location '<DOMAIN_HOME>\security'
Step 2: Copy the file "DemoIdentity.jks" from '<DOMAIN_HOME>\security' location and paste to '<NODEMANAGER_HOME>\security' location
Step 3: Re-run the obiee12c configuration assistant.
I seriously need your help guys with this error. I have spent days without a headway. kindly help
THIS IS THE OUTPUT
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','Oracle_123','t3://mypc:7001')
Connecting to t3://mypc:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "mydomain15".
Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instead.
wls:/mydomain15/serverConfig/> oid_setup(orcladminPassword='Oracle_123',odsPassword='Oracle_123',realmDN='dc=us,dc=oracle,dc=com')
Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')
Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Traceback (innermost last):
File "", line 1, in ?
File "/D:/Installations/Middleware/Oracle_Home/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
File "D:\Installations\Middleware\Oracle_Home\oid\plugins\wlst\oid-wlst-dependencies.jar\wlstScriptDir/oid_handler.py", line 274, in oid_doSetup
File "D:\Installations\Middleware\Oracle_Home\wlserver\modules\com.oracle.weblogic.management.scripting.jar\weblogic/management/scripting/utils/modules/wlstModule.py", line 38, in invoke
File "C:\Users\PC~1\AppData\Local\Temp\wlst_module16228764592223979273.py", line 753, in wlstInvoke
File "C:\Users\PC~1\AppData\Local\Temp\wlst_module35208756416998744505.py", line 240, in raiseWLSTException
WLSTException: Error occurred while performing invoke : Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
Use dumpStack() to view the full stacktrace :
wls:/mydomain15/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager> dumpStack()
This Exception occurred at Mon Aug 24 23:47:45 GMT 2020.
javax.management.MBeanException: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: java.lang.Exception: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
... 1 more
javax.management.MBeanException: Creation of wallets failed for domain "D:\Installations\Middleware\Oracle_Home\user_projects\domains\mydomain15"
wls:/mydomain1/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager>
KINDLY HELP ME OUT
I'm running Mac OS. I've set up the Payara server with NetBeans. And when I'll try to run the server it never shows the green 'dot' that indicates its online status, instead it shows the 'loading' dot forever.
However, I can access it on http://localhost:4848, but when I try to deploy an application to the server I get this error:
GlassFish Server is running.
Starting GlassFish Server
Initial deploying slit-ee to /Users/christian/slit/slit-ee/dist/gfdeploy/slit-ee
Completed initial distribution of slit-ee
GlassFish Server, deploy, null, false
/Users/christian/slit/slit-ee/nbproject/build-impl.xml:307: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 22 seconds)
And the full server log
objc[1865]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java (0x105e334c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x105efb4e0). One of the two will be used. Which one is undefined.
Launching GlassFish on Felix platform
nov 28, 2016 2:14:21 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime#18808234 in service registry.
#!## LogManagerService.postConstruct : rootFolder=/Users/christian/opt/payara41/glassfish
#!## LogManagerService.postConstruct : templateDir=/Users/christian/opt/payara41/glassfish/lib/templates
#!## LogManagerService.postConstruct : src=/Users/christian/opt/payara41/glassfish/lib/templates/logging.properties
#!## LogManagerService.postConstruct : dest=/Users/christian/opt/payara41/glassfish/domains/payaradomain/config/logging.properties
Info: Running Payara Version: Payara Server 4.1.1.164 #badassfish (build 28)
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Info: Authorization Service has successfully initialized.
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Info: Registered fish.payara.ha.hazelcast.store.HazelcastBackingStoreFactoryProxy for persistence-type = hazelcast in BackingStoreFactoryRegistry
Info: Registered Hazelcast BackingStoreFactory with persistence-type = hazelcast
Info: Grizzly Framework 2.3.28 started in: 47ms - bound to [/0.0.0.0:8080]
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:8181]
Info: Grizzly Framework 2.3.28 started in: 2ms - bound to [/0.0.0.0:4848]
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:3700]
Info: Payara Server 4.1.1.164 #badassfish (28) startup time : Felix (33 542ms), startup services(5 715ms), total(39 257ms)
Info: Payara Notification Service Started with configuration: NotificationExecutionOptions{enabled=true, notifierConfigurationExecutionOptionsList={LOG=NotifierConfigurationExecutionOptions{notifierType=LOG, enabled=true}}}
Info: Cleaning JarFileFactory Cache to prevent jar FD leaks
Info: HV000001: Hibernate Validator 5.1.2.Final
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:7676]
Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl#7bca6fac as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl#129fed45.
Info: /Users/christian/opt/payara41/glassfish/domains/payaradomain/autodeploy/bundles does not exist, please create it.
Info: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://192.168.0.183:8686/jndi/rmi://192.168.0.183:8686/jmxrmi
Is there any security mechanism that prevents this on Mac OS?
It seems that Netbeans cannot connect to the started Payara Server. Maybe your issue is similar to this one with Netbeans and Tomcat on a Mac after some system update: https://discussions.apple.com/thread/7680039?start=0&tstart=0
Here is a quote from that page:
Step 1: Go to system preference >Network>Select your wifi
connection>Advanced>select proxies tab.
There check 3 options 1) Auto proxy Discovery 2)Automatic Proxy
configuration 3) web proxy(http)
Step 2: Go to Netbeans>preferences>General> select use system proxy>
reload> test connection
I found an alternative solution for me:
Go to Netbeans-> Preference-> chose No Proxy.
Test the connection. should success, Press Ok. Then clean and run the application.
No need to change any network configuration on mac.
I'm getting this stack trace.
Default Logging level is set to ERROR
Loping for strBrowserType chrome
Starting ChromeDriver (v2.9.248315) on port 42027
Tests run: 32, Failures: 1, Errors: 0, Skipped: 31, Time elapsed: 67.337 sec <<< FAILURE! - in TestSuite
setupSuite(com.ambab.carworkz.testcases.ServiceEstimatorTestTc) Time elapsed: 66.668 sec <<< FAILURE!
org.openqa.selenium.WebDriverException:
unknown error: unable to discover open pages
(Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 61.06 seconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'ROBER-QA', ip: '192.168.0.70', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_91'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Results:
Failed tests:
ServiceEstimatorTestTc>Base.setupSuite:114 » WebDriver unknown error: unable t...
Tests run: 32, Failures: 1, Errors: 0, Skipped: 31
[ERROR] There are test failures.
I'm running test suite from jenkins in chrome browser that is the time when I'm facing this issue. If I directly run the suite from eclipse IDE then it runs fine. When I run the same test suite in firefox then also it runs fine.
I've installed the latest version of chrome, and chrome driver. Running jenkins job with maven.
Tried using no-sandbox as well as changes in chrome browser setting of automatic detect setting. Jenkins also I'm running the job on master and there is no slave. Tried every possible solution regarding this problem. If any more solution there then please let me know.
I've added this stuff and it solved it in my case. There also may be problem with user that is running jenkins (it should be set to Admin)
ChromeOptions options = new ChromeOptions();
options.AddUserProfilePreference("download.default_directory", DownloadsPath);
options.SetLoggingPreference(LogType.Browser, LogLevel.Severe);
options.AddArguments("ignore-certificate-errors");
options.AddArguments("--allow-running-insecure-content");
options.AddArguments("test-type");
options.AddArguments("start-maximized");
options.AddArguments("--disable-extensions");
options.AddArguments("no-sandbox");
var ChromeService = ChromeDriverService.CreateDefaultService();
ChromeService.HideCommandPromptWindow = true;
instance = new ChromeDriver(ChromeService, options, TimeSpan.FromSeconds(200));
There are many same events all my Hyper V servers environment. I haven't found any solution for this event. If you have the solution for this error can you help me?
>Log Name: Microsoft-Windows-Kernel-EventTracing/Admin
>Source: Microsoft-Windows-Kernel-EventTracing
>Date: 4/28/2016 1:34:27 PM
>Event ID: 2
>Task Category: Session
>Level: Error
>Keywords: Session
>User: NETWORK SERVICE
>Computer: HYPERV01.prod.local
>Description:
>**Session "" failed to start with the following error: 0xC0000022**
You're getting an access denied error upon attempt to start network service. Your permissions are probably restricted.