airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adham...@apache.org
Subject airavata git commit: Yaml implementation for sub types in enviroment setup
Date Tue, 06 Jun 2017 17:45:55 GMT
Repository: airavata
Updated Branches:
  refs/heads/feature-workload-mgmt f37895ca5 -> 0451ae385


Yaml implementation for sub types in enviroment setup


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/0451ae38
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/0451ae38
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/0451ae38

Branch: refs/heads/feature-workload-mgmt
Commit: 0451ae385f03f2ef9efd45bb796f1f310681a39b
Parents: f37895c
Author: Ajinkya Dhamnaskar <adhamnas@apache.org>
Authored: Tue Jun 6 13:40:15 2017 -0400
Committer: Ajinkya Dhamnaskar <adhamnas@apache.org>
Committed: Tue Jun 6 13:40:15 2017 -0400

----------------------------------------------------------------------
 modules/worker/task-envsetup/pom.xml            |   6 +
 .../config/EnvironmentSetupConfigException.java |  31 +++++
 .../config/EnvironmentSetupTaskConfig.java      |  28 ++++
 .../config/EnvironmentSetupYamlConfig.java      |  58 +++++++++
 .../envsetup/facade/EnvironmentSetupFacade.java |  34 +++++
 .../envsetup/utils/EnvironmentSetupFactory.java |  39 ++++++
 .../src/main/resources/env-setup-config.yaml    |  23 ++++
 .../src/test/java/TestEnvironmentSetup.java     |  50 +++++++
 .../task-envsetup/src/test/java/TestUtils.java  |  11 ++
 .../test-output/Default Suite/airavata.html     | 129 +++++++++++++++++++
 .../Default Suite/airavata.properties           |   1 +
 .../test-output/Default Suite/classes.html      |  50 +++++++
 .../test-output/Default Suite/groups.html       |   4 +
 .../test-output/Default Suite/index.html        |   6 +
 .../test-output/Default Suite/main.html         |   2 +
 .../Default Suite/methods-alphabetical.html     |  68 ++++++++++
 .../Default Suite/methods-not-run.html          |   2 +
 .../test-output/Default Suite/methods.html      |  68 ++++++++++
 .../Default Suite/reporter-output.html          |   1 +
 .../test-output/Default Suite/testng.xml.html   |   1 +
 .../test-output/Default Suite/toc.html          |  30 +++++
 .../worker/task-envsetup/test-output/index.html |   9 ++
 .../old/Default Suite/airavata.properties       |   1 +
 .../test-output/old/Default Suite/classes.html  |  38 ++++++
 .../test-output/old/Default Suite/groups.html   |   4 +
 .../test-output/old/Default Suite/index.html    |   6 +
 .../test-output/old/Default Suite/main.html     |   2 +
 .../old/Default Suite/methods-alphabetical.html |  26 ++++
 .../old/Default Suite/methods-not-run.html      |   2 +
 .../test-output/old/Default Suite/methods.html  |  26 ++++
 .../old/Default Suite/reporter-output.html      |   1 +
 .../old/Default Suite/testng.xml.html           |   1 +
 .../test-output/old/Default Suite/toc.html      |  30 +++++
 .../task-envsetup/test-output/old/index.html    |   9 ++
 .../test-output/testng-results.xml              | 126 ++++++++++++++++++
 .../worker/task-envsetup/test-output/testng.css |   9 ++
 36 files changed, 932 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/pom.xml
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/pom.xml b/modules/worker/task-envsetup/pom.xml
index b123958..e8c0fbd 100644
--- a/modules/worker/task-envsetup/pom.xml
+++ b/modules/worker/task-envsetup/pom.xml
@@ -19,6 +19,7 @@
     <properties>
         <jcraft.version>0.1.53</jcraft.version>
         <net.schmizz.version>0.6.1</net.schmizz.version>
+        <testng.version>6.9.10</testng.version>
     </properties>
 
     <dependencies>
@@ -52,5 +53,10 @@
             <artifactId>ganymed-ssh2</artifactId>
             <version>262</version>
         </dependency>
+        <dependency>
+            <groupId>org.testng</groupId>
+            <artifactId>testng</artifactId>
+            <version>${testng.version}</version>
+        </dependency>
     </dependencies>
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupConfigException.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupConfigException.java b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupConfigException.java
new file mode 100644
index 0000000..46ad2fa
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupConfigException.java
@@ -0,0 +1,31 @@
+package org.apache.airavata.worker.task.envsetup.config;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Created by Ajinkya on 6/1/17.
+ */
+public class EnvironmentSetupConfigException extends Exception {
+
+    private static final Logger log = LoggerFactory.getLogger(EnvironmentSetupConfigException.class);
+
+    /**
+     *
+     */
+    private static final long serialVersionUID = 1L;
+
+    public EnvironmentSetupConfigException(String s) {
+        super(s);
+    }
+
+    public EnvironmentSetupConfigException(Exception e) {
+        super(e);
+        log.error(e.getMessage(),e);
+    }
+
+    public EnvironmentSetupConfigException(String s, Throwable throwable) {
+        super(s, throwable);
+        log.error(s,throwable);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupTaskConfig.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupTaskConfig.java b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupTaskConfig.java
new file mode 100644
index 0000000..891e49a
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupTaskConfig.java
@@ -0,0 +1,28 @@
+package org.apache.airavata.worker.task.envsetup.config;
+
+import org.apache.airavata.model.task.TaskTypes;
+
+/**
+ * Created by Ajinkya on 6/1/17.
+ */
+public class EnvironmentSetupTaskConfig {
+    private TaskTypes taskType;
+    private String taskClass;
+
+    public TaskTypes getTaskType() {
+        return taskType;
+    }
+
+    public void setTaskType(TaskTypes taskType) {
+        this.taskType = taskType;
+    }
+
+    public String getTaskClass() {
+        return taskClass;
+    }
+
+    public void setTaskClass(String taskClass) {
+        this.taskClass = taskClass;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupYamlConfig.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupYamlConfig.java b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupYamlConfig.java
new file mode 100644
index 0000000..62f9b5d
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/config/EnvironmentSetupYamlConfig.java
@@ -0,0 +1,58 @@
+package org.apache.airavata.worker.task.envsetup.config;
+
+import org.apache.airavata.model.task.TaskTypes;
+import org.yaml.snakeyaml.Yaml;
+
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Created by Ajinkya on 6/1/17.
+ */
+public class EnvironmentSetupYamlConfig {
+
+    private static final String TASK_CLASS = "taskClass";
+    private static final String ENV_SETUP_TASKS = "envSetupTasks";
+    private static final String TASK_TYPE = "type";
+    private List<EnvironmentSetupTaskConfig> envSetupTasks = new ArrayList<>();
+
+    public EnvironmentSetupYamlConfig() throws EnvironmentSetupConfigException {
+        InputStream resourceAsStream = EnvironmentSetupYamlConfig.class.getClassLoader().
+                getResourceAsStream("env-setup-config.yaml");
+        parse(resourceAsStream);
+    }
+
+    private void parse(InputStream resourceAsStream) throws EnvironmentSetupConfigException {
+        if (resourceAsStream == null) {
+            throw new EnvironmentSetupConfigException("Configuration file{env-setup-config.yaml} is not fund");
+        }
+        Yaml yaml = new Yaml();
+        Object load = yaml.load(resourceAsStream);
+        if (load == null) {
+            throw new EnvironmentSetupConfigException("Yaml configuration object null");
+        }
+
+        if (load instanceof Map) {
+            Map<String, Object> loadMap = (Map<String, Object>) load;
+            String identifier;
+
+            List<Map<String, Object>> envSetupYamls = (List<Map<String, Object>>) loadMap.get(ENV_SETUP_TASKS);
+            EnvironmentSetupTaskConfig environmentSetupTaskConfig;
+            if (envSetupYamls != null) {
+                for (Map<String, Object> envSetupConfig : envSetupYamls) {
+                    environmentSetupTaskConfig = new EnvironmentSetupTaskConfig();
+                    identifier = ((String) envSetupConfig.get(TASK_TYPE));
+                    environmentSetupTaskConfig.setTaskType(TaskTypes.valueOf(identifier));
+                    environmentSetupTaskConfig.setTaskClass(((String) envSetupConfig.get(TASK_CLASS)));
+                    envSetupTasks.add(environmentSetupTaskConfig);
+                }
+            }
+        }
+    }
+
+    public List<EnvironmentSetupTaskConfig> getEnvironmentSetupTasks() {
+        return envSetupTasks;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/facade/EnvironmentSetupFacade.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/facade/EnvironmentSetupFacade.java b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/facade/EnvironmentSetupFacade.java
new file mode 100644
index 0000000..671b5cf
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/facade/EnvironmentSetupFacade.java
@@ -0,0 +1,34 @@
+package org.apache.airavata.worker.task.envsetup.facade;
+
+import org.apache.airavata.model.status.TaskStatus;
+import org.apache.airavata.model.task.TaskTypes;
+import org.apache.airavata.worker.core.context.TaskContext;
+import org.apache.airavata.worker.core.task.Task;
+import org.apache.airavata.worker.core.task.TaskException;
+
+import java.util.Map;
+
+/**
+ * Created by Ajinkya on 6/1/17.
+ */
+public class EnvironmentSetupFacade implements Task {
+    @Override
+    public void init(Map<String, String> propertyMap) throws TaskException {
+
+    }
+
+    @Override
+    public TaskStatus execute(TaskContext taskContext) {
+        return null;
+    }
+
+    @Override
+    public TaskStatus recover(TaskContext taskContext) {
+        return null;
+    }
+
+    @Override
+    public TaskTypes getType() {
+        return null;
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/utils/EnvironmentSetupFactory.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/utils/EnvironmentSetupFactory.java b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/utils/EnvironmentSetupFactory.java
new file mode 100644
index 0000000..53449ce
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/java/org/apache/airavata/worker/task/envsetup/utils/EnvironmentSetupFactory.java
@@ -0,0 +1,39 @@
+package org.apache.airavata.worker.task.envsetup.utils;
+
+import org.apache.airavata.model.data.movement.DataMovementProtocol;
+import org.apache.airavata.model.task.TaskTypes;
+import org.apache.airavata.worker.core.task.Task;
+import org.apache.airavata.worker.task.envsetup.config.EnvironmentSetupConfigException;
+import org.apache.airavata.worker.task.envsetup.config.EnvironmentSetupTaskConfig;
+import org.apache.airavata.worker.task.envsetup.config.EnvironmentSetupYamlConfig;
+
+import java.lang.reflect.Constructor;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Ajinkya on 6/1/17.
+ */
+public class EnvironmentSetupFactory {
+
+    private static boolean isEnvSetupConfigurationLoaded = false;
+    private static Map<TaskTypes, Task> envSetupTask = new HashMap<>();
+
+    public static void loadConfiguration() throws EnvironmentSetupConfigException {
+        if (!isEnvSetupConfigurationLoaded) {
+            EnvironmentSetupYamlConfig config = new EnvironmentSetupYamlConfig();
+            try {
+                for (EnvironmentSetupTaskConfig envSetupTaskConfig : config.getEnvironmentSetupTasks()) {
+                    String taskClass = envSetupTaskConfig.getTaskClass();
+                    Class<?> aClass = Class.forName(taskClass);
+                    Constructor<?> constructor = aClass.getConstructor();
+                    Task task = (Task) constructor.newInstance();
+                    envSetupTask.put(envSetupTaskConfig.getTaskType(), task);
+                }
+            }catch (Exception e) {
+                throw new EnvironmentSetupConfigException("Data staging config issue", e);
+            }
+            isEnvSetupConfigurationLoaded =  true;
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/main/resources/env-setup-config.yaml
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/main/resources/env-setup-config.yaml b/modules/worker/task-envsetup/src/main/resources/env-setup-config.yaml
new file mode 100644
index 0000000..2701c0d
--- /dev/null
+++ b/modules/worker/task-envsetup/src/main/resources/env-setup-config.yaml
@@ -0,0 +1,23 @@
+##################################################################
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+################################################################
+
+envSetupTasks:
+   - type: ENV_SETUP
+     taskClass: org.apache.airavata.worker.task.envsetup.impl.EnvironmentSetupTask

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/test/java/TestEnvironmentSetup.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/test/java/TestEnvironmentSetup.java b/modules/worker/task-envsetup/src/test/java/TestEnvironmentSetup.java
new file mode 100644
index 0000000..dd00e58
--- /dev/null
+++ b/modules/worker/task-envsetup/src/test/java/TestEnvironmentSetup.java
@@ -0,0 +1,50 @@
+import org.testng.Assert;
+import org.testng.annotations.*;
+
+/**
+ * Created by Ajinkya on 4/17/17.
+ */
+public class TestEnvironmentSetup {
+
+    @BeforeClass
+    public void beforeClass(){
+        System.out.println("@BeforeClass");
+    }
+
+    @AfterClass
+    public void afterClass(){
+        System.out.println("@AfterClass");
+    }
+
+    @BeforeMethod
+    public void beforeMethod(){
+        System.out.println("@BeforeMethod");
+    }
+
+    @AfterMethod
+    public void AfterMethod(){
+        System.out.println("@AfterMethod");
+    }
+
+    @DataProvider(name = "DataProvider")
+
+    public static Object[][] credentials() {
+
+        return new Object[][] { { "myName1"}, {"myName2"}, {"myName3"}};
+
+    }
+
+    @Test(invocationCount = 3, threadPoolSize = 3, description = "test", suiteName = "Suit1", dataProvider = "DataProvider", groups = { "fast" })
+    public void test(String myName){
+        System.out.println(myName);
+        System.out.println(Thread.currentThread().getId());
+        Assert.assertEquals("1", "1");
+    }
+
+    @Test(invocationCount = 1, threadPoolSize = 3, description = "test2", timeOut = 2000, groups = { "slow" })
+    public void test2() throws InterruptedException {
+        Thread.sleep(1000);
+        Assert.assertEquals("hello", "hello");
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/src/test/java/TestUtils.java
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/src/test/java/TestUtils.java b/modules/worker/task-envsetup/src/test/java/TestUtils.java
new file mode 100644
index 0000000..cfb89e5
--- /dev/null
+++ b/modules/worker/task-envsetup/src/test/java/TestUtils.java
@@ -0,0 +1,11 @@
+import org.apache.airavata.worker.core.context.TaskContext;
+
+/**
+ * Created by Ajinkya on 4/17/17.
+ */
+public class TestUtils {
+
+//    public static final TaskContext getTaskContext(){
+//
+//    }
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/airavata.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/airavata.html b/modules/worker/task-envsetup/test-output/Default Suite/airavata.html
new file mode 100644
index 0000000..0059dcf
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/airavata.html	
@@ -0,0 +1,129 @@
+<html>
+<head>
+<title>TestNG:  airavata</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+
+<style type="text/css">
+.log { display: none;} 
+.stack-trace { display: none;} 
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+  current = e.style.display;
+  if (current == 'block') {
+    e.style.display = 'none';
+    return 0;
+  }
+  else {
+    e.style.display = 'block';
+    return 1;
+  }
+}
+
+function toggleBox(szDivId, elem, msg1, msg2)
+{
+  var res = -1;  if (document.getElementById) {
+    res = flip(document.getElementById(szDivId));
+  }
+  else if (document.all) {
+    // this is the way old msie versions work
+    res = flip(document.all[szDivId]);
+  }
+  if(elem) {
+    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
+  }
+
+}
+
+function toggleAllBoxes() {
+  if (document.getElementsByTagName) {
+    d = document.getElementsByTagName('div');
+    for (i = 0; i < d.length; i++) {
+      if (d[i].className == 'log') {
+        flip(d[i]);
+      }
+    }
+  }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>airavata</h2><table border='1' align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>10/0/0</td>
+</tr><tr>
+<td>Started on:</td><td>Fri Apr 21 00:40:15 EDT 2017</td>
+</tr>
+<tr><td>Total time:</td><td>1 seconds (1088 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="30%"><b>Exception</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td><b>Instance</b></td>
+</tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName1</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName1</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName1</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName2</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName2</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName2</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName3</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName3</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test()'><b>test</b><br>Test class: TestEnvironmentSetup<br>Test method: test<br>Parameters: myName3</td>
+<td></td>
+<td>0</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+<tr>
+<td title='TestEnvironmentSetup.test2()'><b>test2</b><br>Test class: TestEnvironmentSetup<br>Test method: test2</td>
+<td></td>
+<td>1</td>
+<td>TestEnvironmentSetup@59a6e353</td></tr>
+</table><p>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/airavata.properties
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/airavata.properties b/modules/worker/task-envsetup/test-output/Default Suite/airavata.properties
new file mode 100644
index 0000000..f0a82e0
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/airavata.properties	
@@ -0,0 +1 @@
+[SuiteResult airavata]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/classes.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/classes.html b/modules/worker/task-envsetup/test-output/Default Suite/classes.html
new file mode 100644
index 0000000..396cccd
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/classes.html	
@@ -0,0 +1,50 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>TestEnvironmentSetup</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test2</td>
+<td>slow </td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>fast </td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeMethod</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>AfterMethod</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>afterClass</td>
+<td>&nbsp;</td></tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/groups.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/groups.html b/modules/worker/task-envsetup/test-output/Default Suite/groups.html
new file mode 100644
index 0000000..9ecbd79
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/groups.html	
@@ -0,0 +1,4 @@
+<h2>Groups used for this test run</h2><table border="1">
+<tr> <td align="center"><b>Group name</b></td><td align="center"><b>Methods</b></td></tr><tr><td>fast</td><td>TestEnvironmentSetup.test(java.lang.String)<br/></td></tr>
+<tr><td>slow</td><td>TestEnvironmentSetup.test2()<br/></td></tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/index.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/index.html b/modules/worker/task-envsetup/test-output/Default Suite/index.html
new file mode 100644
index 0000000..24a3e50
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/index.html	
@@ -0,0 +1,6 @@
+<html><head><title>Results for Default Suite</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/main.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/main.html b/modules/worker/task-envsetup/test-output/Default Suite/main.html
new file mode 100644
index 0000000..7c40dd5
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/main.html	
@@ -0,0 +1,2 @@
+<html><head><title>Results for Default Suite</title></head>
+<body>Select a result on the left-hand pane.</body></html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/methods-alphabetical.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/methods-alphabetical.html b/modules/worker/task-envsetup/test-output/Default Suite/methods-alphabetical.html
new file mode 100644
index 0000000..e95d288
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/methods-alphabetical.html	
@@ -0,0 +1,68 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>2</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>2</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>4</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>4</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:20</td>   <td>1021</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:20</td>   <td>1021</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-19</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>4</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>6</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>-3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>1</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>3</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>4</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>6</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test2()">test2</td> 
+  <td>main@457233904</td>   <td></td> </tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/methods-not-run.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/methods-not-run.html b/modules/worker/task-envsetup/test-output/Default Suite/methods-not-run.html
new file mode 100644
index 0000000..54b14cb
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/methods-not-run.html	
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/methods.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/methods.html b/modules/worker/task-envsetup/test-output/Default Suite/methods.html
new file mode 100644
index 0000000..e12a4df
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/methods.html	
@@ -0,0 +1,68 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>16</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>19</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>20</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>21</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@818813539</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>21</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1598459808</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>22</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>22</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>23</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>23</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>23</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)">test</td> 
+  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>23</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>TestNG@1093506171</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>25</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.beforeMethod()">&gt;&gt;beforeMethod</td> 
+<td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:19</td>   <td>25</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test2()">test2</td> 
+  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:20</td>   <td>1040</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.AfterMethod()">&lt;&lt;AfterMethod</td> 
+<td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+<tr bgcolor="e579dc">  <td>17/04/17 16:42:20</td>   <td>1040</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;TestEnvironmentSetup.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@457233904</td>   <td></td> </tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/reporter-output.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/reporter-output.html b/modules/worker/task-envsetup/test-output/Default Suite/reporter-output.html
new file mode 100644
index 0000000..063bc2e
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/reporter-output.html	
@@ -0,0 +1 @@
+<h2>Reporter output</h2><table></table>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/testng.xml.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/testng.xml.html b/modules/worker/task-envsetup/test-output/Default Suite/testng.xml.html
new file mode 100644
index 0000000..ed43f7c
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/testng.xml.html	
@@ -0,0 +1 @@
+<html><head><title>testng.xml for Default Suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;name="Default&nbsp;Suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;name="airavata"&nbsp;preserve-order="false"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestEnvironmentSetup"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;<br/>&lt;/suite&gt;<br/></tt></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/Default Suite/toc.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/Default Suite/toc.html b/modules/worker/task-envsetup/test-output/Default Suite/toc.html
new file mode 100644
index 0000000..8d4198b
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/Default Suite/toc.html	
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Default Suite</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Default Suite</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1 class</a></td>
+<td>2 methods:<br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>2 groups</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-passed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>airavata (10/0/0)</td><td valign='top' align='right'>
+  <a href='airavata.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/index.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/index.html b/modules/worker/task-envsetup/test-output/index.html
new file mode 100644
index 0000000..4fc38ec
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/index.html
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet" type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>10</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
+<tr align='center' class='invocation-passed'><td><a href='Default Suite/index.html'>Default Suite</a></td>
+<td>10</td><td>0</td><td>0</td><td><a href='Default Suite/testng.xml.html'>Link</a></td></tr></table></body></html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/airavata.properties
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/airavata.properties b/modules/worker/task-envsetup/test-output/old/Default Suite/airavata.properties
new file mode 100644
index 0000000..233de07
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/airavata.properties	
@@ -0,0 +1 @@
+[SuiteResult context=airavata]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/classes.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/classes.html b/modules/worker/task-envsetup/test-output/old/Default Suite/classes.html
new file mode 100644
index 0000000..924797f
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/classes.html	
@@ -0,0 +1,38 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>TestEnvironmentSetup</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test2</td>
+<td>slow </td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>fast </td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>credentials</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/groups.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/groups.html b/modules/worker/task-envsetup/test-output/old/Default Suite/groups.html
new file mode 100644
index 0000000..9b41a62
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/groups.html	
@@ -0,0 +1,4 @@
+<h2>Groups used for this test run</h2><table border="1">
+<tr> <td align="center"><b>Group name</b></td><td align="center"><b>Methods</b></td></tr><tr><td>fast</td><td>TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]<br/></td></tr>
+<tr><td>slow</td><td>TestEnvironmentSetup.test2()[pri:0, instance:TestEnvironmentSetup@59a6e353]<br/></td></tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/index.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/index.html b/modules/worker/task-envsetup/test-output/old/Default Suite/index.html
new file mode 100644
index 0000000..24a3e50
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/index.html	
@@ -0,0 +1,6 @@
+<html><head><title>Results for Default Suite</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/main.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/main.html b/modules/worker/task-envsetup/test-output/old/Default Suite/main.html
new file mode 100644
index 0000000..7c40dd5
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/main.html	
@@ -0,0 +1,2 @@
+<html><head><title>Results for Default Suite</title></head>
+<body>Select a result on the left-hand pane.</body></html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/methods-alphabetical.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/methods-alphabetical.html b/modules/worker/task-envsetup/test-output/old/Default Suite/methods-alphabetical.html
new file mode 100644
index 0000000..9aa9cc1
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/methods-alphabetical.html	
@@ -0,0 +1,26 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.credentials()[pri:0, instance:TestEnvironmentSetup@59a6e353]">&gt;&gt;credentials</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@1020923989</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>47</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>48</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>47</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>50</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test2()[pri:0, instance:TestEnvironmentSetup@59a6e353]">test2</td> 
+  <td>main@1020923989</td>   <td></td> </tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/methods-not-run.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/methods-not-run.html b/modules/worker/task-envsetup/test-output/old/Default Suite/methods-not-run.html
new file mode 100644
index 0000000..54b14cb
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/methods-not-run.html	
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/methods.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/methods.html b/modules/worker/task-envsetup/test-output/old/Default Suite/methods.html
new file mode 100644
index 0000000..9aa9cc1
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/methods.html	
@@ -0,0 +1,26 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;TestEnvironmentSetup.credentials()[pri:0, instance:TestEnvironmentSetup@59a6e353]">&gt;&gt;credentials</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@1020923989</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>42</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>46</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>47</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@1500935830</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>48</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@23687180</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>47</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]">test</td> 
+  <td>TestNG@22784715</td>   <td></td> </tr>
+<tr bgcolor="a6d1ae">  <td>17/04/21 00:40:15</td>   <td>50</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="TestEnvironmentSetup.test2()[pri:0, instance:TestEnvironmentSetup@59a6e353]">test2</td> 
+  <td>main@1020923989</td>   <td></td> </tr>
+</table>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/reporter-output.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/reporter-output.html b/modules/worker/task-envsetup/test-output/old/Default Suite/reporter-output.html
new file mode 100644
index 0000000..063bc2e
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/reporter-output.html	
@@ -0,0 +1 @@
+<h2>Reporter output</h2><table></table>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/testng.xml.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/testng.xml.html b/modules/worker/task-envsetup/test-output/old/Default Suite/testng.xml.html
new file mode 100644
index 0000000..51cd397
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/testng.xml.html	
@@ -0,0 +1 @@
+<html><head><title>testng.xml for Default Suite</title></head><body><tt>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;guice-stage="DEVELOPMENT"&nbsp;name="Default&nbsp;Suite"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;name="airavata"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="TestEnvironmentSetup"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;&nbsp;&lt;!--&nbsp;airavata&nbsp;--&gt;<br/>&lt;/suite&gt;&nbsp;&lt;!--&nbsp;Default&nbsp;Suite&nbsp;--&gt;<br/></tt></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/Default Suite/toc.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/Default Suite/toc.html b/modules/worker/task-envsetup/test-output/old/Default Suite/toc.html
new file mode 100644
index 0000000..8d4198b
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/Default Suite/toc.html	
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Default Suite</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Default Suite</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1 class</a></td>
+<td>2 methods:<br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>2 groups</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-passed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>airavata (10/0/0)</td><td valign='top' align='right'>
+  <a href='airavata.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/old/index.html
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/old/index.html b/modules/worker/task-envsetup/test-output/old/index.html
new file mode 100644
index 0000000..4fc38ec
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/old/index.html
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet" type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>10</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
+<tr align='center' class='invocation-passed'><td><a href='Default Suite/index.html'>Default Suite</a></td>
+<td>10</td><td>0</td><td>0</td><td><a href='Default Suite/testng.xml.html'>Link</a></td></tr></table></body></html>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/testng-results.xml
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/testng-results.xml b/modules/worker/task-envsetup/test-output/testng-results.xml
new file mode 100644
index 0000000..73a51e6
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/testng-results.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testng-results skipped="0" failed="0" total="10" passed="10">
+  <reporter-output>
+  </reporter-output>
+  <suite name="Default Suite" duration-ms="1088" started-at="2017-04-21T04:40:15Z" finished-at="2017-04-21T04:40:16Z">
+    <groups>
+      <group name="fast">
+        <method signature="TestEnvironmentSetup.test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" class="TestEnvironmentSetup"/>
+      </group> <!-- fast -->
+      <group name="slow">
+        <method signature="TestEnvironmentSetup.test2()[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test2" class="TestEnvironmentSetup"/>
+      </group> <!-- slow -->
+    </groups>
+    <test name="airavata" duration-ms="1088" started-at="2017-04-21T04:40:15Z" finished-at="2017-04-21T04:40:16Z">
+      <class name="TestEnvironmentSetup">
+        <test-method status="PASS" signature="credentials()[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="credentials" is-config="true" duration-ms="28" started-at="2017-04-21T00:40:15Z" finished-at="2017-04-21T00:40:15Z">
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- credentials -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="3" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName1]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="3" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName1]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="3" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName1]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="1" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName2]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="1" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName2]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="1" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName2]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="1" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName3]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="1" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName3]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test(java.lang.String)[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test" duration-ms="0" started-at="2017-04-21T00:40:15Z" description="test" data-provider="DataProvider" finished-at="2017-04-21T00:40:15Z">
+          <params>
+            <param index="0">
+              <value>
+                <![CDATA[myName3]]>
+              </value>
+            </param>
+          </params>
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test -->
+        <test-method status="PASS" signature="test2()[pri:0, instance:TestEnvironmentSetup@59a6e353]" name="test2" duration-ms="1011" started-at="2017-04-21T00:40:15Z" description="test2" finished-at="2017-04-21T00:40:16Z">
+          <reporter-output>
+          </reporter-output>
+        </test-method> <!-- test2 -->
+      </class> <!-- TestEnvironmentSetup -->
+    </test> <!-- airavata -->
+  </suite> <!-- Default Suite -->
+</testng-results>

http://git-wip-us.apache.org/repos/asf/airavata/blob/0451ae38/modules/worker/task-envsetup/test-output/testng.css
----------------------------------------------------------------------
diff --git a/modules/worker/task-envsetup/test-output/testng.css b/modules/worker/task-envsetup/test-output/testng.css
new file mode 100644
index 0000000..3904800
--- /dev/null
+++ b/modules/worker/task-envsetup/test-output/testng.css
@@ -0,0 +1,9 @@
+.invocation-failed,  .test-failed  { background-color: #DD0000; }
+.invocation-percent, .test-percent { background-color: #006600; }
+.invocation-passed,  .test-passed  { background-color: #00AA00; }
+.invocation-skipped, .test-skipped { background-color: #CCCC00; }
+
+.main-page {
+  font-size: x-large;
+}
+


Mime
View raw message