[
https://issues.apache.org/jira/browse/AIRAVATA-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519499#comment-16519499
]
Eroma edited comment on AIRAVATA-2625 at 6/21/18 8:49 PM:
----------------------------------------------------------
Test Environment: [http://149.165.168.200:8008/]
Test Cases
# Define reading output text from an output file in application interface. -
PASS
## Value: Should have the name of the file read from. File name should be
exactly how it appears in the experiment summary.
## Allocation Argument: This field will have the text to read from the file.
Any line or lines starting from the text filled here will be displayed in the
experiment summary.
## If the value is defined incorrectly nothing will be derived and no errors
will be displayed. – PASS
## If the file name is incorrect still no errors will be displayed – PASS
## Gateway admin need to make sure both the file to read from and the text is
correctly entered in to the application interface.
# Add a filed from an existing output (gamess.stdout) file. The complete line
which start from the added text is derived and displayed in the experiment
summary. (e.g.parsed-out: REPLICATED MEMORY= 1000000 WORDS (ON EVERY NODE).) -
PASS
# Add multiple fields from the same file to be read from the output file. Each
text to derive need to be added as separate outputs in the application
interface. Added multiple fields will be displayed in the experiment summary. –
PASS
# Add multiple fields from different files to read and display in experiment
summary. - PASS
# Add a text to derive from a single file but it appears in multiple places in
the file. All the lines the particular text appears will be displayed. – PASS
# Add a text which is in middle of a line as the reading text from one of the
input files. – The complete line which the text belong will be derived and
displayed. Not staring from the text given and forward but the complete line it
appears will be displayed. – PASS
# Add a new application (NEK5000) in to application catalog and launch a job.
This job does not have text outputs defined to be read from files. Job got
launched and submitted successfully. Job completed successfully and all defined
outputs transferred to the gateway – PASS.
# Add a text output to be read from defined file (compiler.out) in the above
new application. Clone the above experiment and submit a new experiment. The
new experiment and job completed. The experiment summary displays the defined
text outputs. The give text appears in multiple times in the file and all those
lines are derived and displayed – PASS
# NOTE: If you want to derive multiple text from single file, provide the text
separating with commas and no spaces.
# Tested in both PBS and SLURM machines. - PASS
# Try to read from .tar file. Give a string from a file in the tar. This will
not work. In order to read a direct file need to be provided. No errors,
exceptions thrown. Simply no text will be derived and displayed. Expected
behavior. - PASS
was (Author: eroma_a):
Test Environment: [http://149.165.168.200:8008/]
Test Cases
# Define reading output text from an output file in application interface. -
PASS
## Value: Should have the name of the file read from. File name should be
exactly how it appears in the experiment summary.
## Allocation Argument: This field will have the text to read from the file.
Any line or lines starting from the text filled here will be displayed in the
experiment summary.
## If the value is defined incorrectly nothing will be derived and no errors
will be displayed. – PASS
## If the file name is incorrect still no errors will be displayed – PASS
## Gateway admin need to make sure both the file to read from and the text is
correctly entered in to the application interface.
# Add a filed from an existing output (gamess.stdout) file. The complete line
which start from the added text is derived and displayed in the experiment
summary. (e.g.parsed-out: REPLICATED MEMORY= 1000000 WORDS (ON EVERY NODE).) -
PASS
# Add multiple fields from the same file to be read from the output file. Each
text to derive need to be added as separate outputs in the application
interface. Added multiple fields will be displayed in the experiment summary. –
PASS
# Add multiple fields from different files to read and display in experiment
summary. - PASS
# Add a text to derive from a single file but it appears in multiple places in
the file. All the lines the particular text appears will be displayed. – PASS
# Add a text which is in middle of a line as the reading text from one of the
input files. – The complete line which the text belong will be derived and
displayed. Not staring from the text given and forward but the complete line it
appears will be displayed. – PASS
# Add a new application (NEK5000) in to application catalog and launch a job.
This job does not have text outputs defined to be read from files. Job got
launched and submitted successfully. Job completed successfully and all defined
outputs transferred to the gateway – PASS.
# Add a text output to be read from defined file (compiler.out) in the above
new application. Clone the above experiment and submit a new experiment. The
new experiment and job completed. The experiment summary displays the defined
text outputs. The give text appears in multiple times in the file and all those
lines are derived and displayed – PASS
# NOTE: If you want to derive multiple text from single file, provide the text
separating with commas and no spaces.
# Tested in both PBS and SLURM machines. - PASS
# Try to read from .tar file. Give a string from a file in the tar. This will
not work. In order to read a direct file need to be provided. No errors,
exceptions thrown. Simply no text will be derived and displayed. Expected
behavior. - PASS
#
> Derive and present Text outputs in Experiment summary
> -----------------------------------------------------
>
> Key: AIRAVATA-2625
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2625
> Project: Airavata
> Issue Type: Bug
> Components: Airavata System
> Affects Versions: 0.18
> Reporter: Eroma
> Assignee: Dimuthu Upeksha
> Priority: Major
>
> Currently the available application outputs are in the form of stdout, stderr
> and URI (files). Going forward to have text (String, Integer, Float) outputs
> directly in the experiment summary.
> These text outputs to be displayed as key+value pairs and when defining
> should be defined a file to derive from, e.g. stdout
> At a given time from a single file one or many of these key+value pairs could
> be derived. Also gateway admin can define multiple files to derive multiple
> of these values.
> These would be displayed to user in experiment summary and in detailed
> experiment summary in admin dashboard experiment statistics.
> These should also be displayed to any other gateway user it is shared with.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)