Hi,
In the beginning, we have first certification test case failed at SetupNfsTests,
below are the log messages about failure, seems to be referred to Configuration parameters:
...
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] ,120 INFO [main] - 'LogResultListener.onTestStart():76' Running test: configureNfsHosts
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] ,232 INFO [pool-4-thread-2] - 'DrTestVcEnvManager.setupDatastores():292' Adding datastore RecoPH to host kevinesxic.qa.qxxx.com.tw
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] ,242 INFO [pool-4-thread-1] - 'DrTestVcEnvManager.setupDatastores():292' Adding datastore replica_for_reco to host kevinesxie.qa.qxxx.com.tw
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] ,763 INFO [main] - 'LogResultListener.logMethodResult():238' TestNGMethod Outcome: FAILURE, configureNfsHosts
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] ,764 ERROR [main] - 'LogResultListener.logException():256' Exception thrown in configureNfsHosts: com.vmware.srm.main.core.test.TestException: Exception occurred in one of the threads: List of exceptions:
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] [0]: com.vmware.srm.main.core.test.TestException: Unable to find NFS datastore replica_for_reco
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.addDatastore(DrTestVcEnvManager.java:348)
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.setupDatastores(DrTestVcEnvManager.java:294)
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.setupDatastores(DrTestVcEnvManager.java:267)
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.tests.bat.env.BatEnvTests.configureHosts(BatEnvTests.java:469)
2015-12-14 19:58:11 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.tests.bat.env.BatEnvTests$7.run(BatEnvTests.java:233)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.main.util.task.SimpleCallable.call(SimpleCallable.java:36)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.main.util.task.SimpleCallable.call(SimpleCallable.java:17)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.FutureTask.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.lang.Thread.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng]
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] [1]: com.vmware.srm.main.core.test.TestException: Unable to find NFS datastore RecoPH
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.addDatastore(DrTestVcEnvManager.java:348)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.setupDatastores(DrTestVcEnvManager.java:302)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.core.test.base.DrTestVcEnvManager.setupDatastores(DrTestVcEnvManager.java:267)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.tests.bat.env.BatEnvTests.configureHosts(BatEnvTests.java:469)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.tests.bat.env.BatEnvTests$8.run(BatEnvTests.java:242)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.main.util.task.SimpleCallable.call(SimpleCallable.java:36)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at com.vmware.srm.main.util.task.SimpleCallable.call(SimpleCallable.java:17)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.FutureTask.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng] at java.lang.Thread.run(Unknown Source)
2015-12-14 19:58:12 CST [ SRA ] [0] INFO: [java] [testng]
...
Could anyone kindly help us to point out what's/where's wrong with Configuration parameters setting ?
Below is some of our Configuration parameters setup in the test, If you need extra information, please let us know, thanks.
Dictionary object holds test parameter information
Volume path to empty NFS datastore for FVT for NFSDATASTOREVOLUMEPATH replica_for_prot
Number of parallel workflows to run during FVT for NUMBEROFPARALLELWORKFLOWS 2
SRA opaque values for protected site array [ Note : Please input either NA or None, if this is not applicable for SRA ] for PROTECTEDSITEOPAQUEVALUES NA
SRA opaque values for recovery site array [ Note : Please input either NA or None, if this is not applicable for SRA ] for RECOVERYSITEOPAQUEVALUES NA
Name of empty datastore on replicated LUN for FVT for REPLICATEDNFSDATASTORE replica_for_reco
XML ID for SRA address tag(s) for SRAADDRESSTAG NA
SRA Name for SRANAME workbench353srm
Enter the SRM Version (eg : If SRM 6.0, enter 6.0 ) for SRMVERSION 6.0
...
Thank you very much,
Nicole
REPLICATEDNFSDATASTORE NFSDATASTOREVOLUMEPATH
Be careful about assigning above values, First one is used for datastore name and second one represent for export path of NFS.
Thanks piyushkv for the good advices,
It seems to be something working with changing assigned values for the trial:
NFSDATASTOREVOLUMEPATH: /nfs-share/replica_for_reco
REPLICATEDNFSDATASTORE: replica_for_reco
Afterwards, the failure log: "Unable to find NFS datastore replica_for_reco" did disappear.
However, more failure logs appeared as below:
[testng] ,694 INFO [pool-4-thread-2] - 'DrTestVcEnvManager.setupDatastores():292' Adding datastore RecoPH to host kevinesxic.qa.qxxx.com
[testng] ,713 INFO [pool-4-thread-1] - 'DrTestVcEnvManager.setupDatastores():292' Adding datastore replica_for_reco to host kevinesxie.qa.qxxx.com
[testng] ,054 INFO [pool-4-thread-1] - 'DatastoreConfigurer.configureNfs():104' Datastore already exists as specified.
[java] [testng] ,055 INFO [pool-4-thread-1] - 'DrTestVcEnvManager.setupDatastores():292' Adding datastore ProtPH to host kevinesxie.qa.qxxx.com
[testng] ,568 INFO [main] - 'LogResultListener.logMethodResult():238' TestNGMethod Outcome: FAILURE, configureNfsHosts
[testng] ,568 ERROR [main] - 'LogResultListener.logException():256' Exception thrown in configureNfsHosts: com.vmware.srm.main.core.test.TestException: Exception occurred in one of the threads: List of exceptions:
[testng] [0]: com.vmware.srm.main.core.test.TestException: Unable to find NFS datastore ProtPH
...
[testng]
[testng] [1]: com.vmware.srm.main.core.test.TestException: Unable to find NFS datastore RecoPH
For "Datastore already exists as specified", we have tried the case: to set "replica_for_reco" NFS datastore unmounted beforehand, it still did not work (that will appear "Unable to find NFS datastore replica_for_reco" again)
Still cannot know why, any idea on this ?
Moreover, do you have any idea why always appearing "Unable to find NFS datastore ProtPH and RecoPH" ? even though in Configuration parameters, no fields about them. And we are sure we have NFS (we also tried LUN type) datastore "ProtPH" and "RecoPH" mounted on Protected Site and Recovery Site respectively already.
Thanks very much.
Nicole.
Looks like it is searching for placeholder datastore. Are you sure your placeholder datastores are NFS? If not please make them as NFS.