-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1055 from arjclark/relative_end_point
#981: final cycle specification as an offset.
- Loading branch information
Showing
11 changed files
with
323 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
#C: THIS FILE IS PART OF THE CYLC SUITE ENGINE. | ||
#C: Copyright (C) 2008-2014 Hilary Oliver, NIWA | ||
#C: | ||
#C: This program is free software: you can redistribute it and/or modify | ||
#C: it under the terms of the GNU General Public License as published by | ||
#C: the Free Software Foundation, either version 3 of the License, or | ||
#C: (at your option) any later version. | ||
#C: | ||
#C: This program is distributed in the hope that it will be useful, | ||
#C: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
#C: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
#C: GNU General Public License for more details. | ||
#C: | ||
#C: You should have received a copy of the GNU General Public License | ||
#C: along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
#------------------------------------------------------------------------------- | ||
# Test specifying final cycle as an offset | ||
. $(dirname $0)/test_header | ||
#------------------------------------------------------------------------------- | ||
set_test_number 2 | ||
#------------------------------------------------------------------------------- | ||
install_suite $TEST_NAME_BASE $TEST_NAME_BASE | ||
#------------------------------------------------------------------------------- | ||
TEST_NAME=$TEST_NAME_BASE-validate | ||
run_ok $TEST_NAME cylc validate $SUITE_NAME | ||
#------------------------------------------------------------------------------- | ||
TEST_NAME=$TEST_NAME_BASE-run | ||
suite_run_ok $TEST_NAME cylc run --reference-test --debug $SUITE_NAME | ||
#------------------------------------------------------------------------------- | ||
purge_suite $SUITE_NAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
2014-08-05T12:04:31+01 DEBUG - Initializing process pool, size 8 | ||
2014-08-05T12:04:31+01 INFO - port:7781 | ||
2014-08-05T12:04:31+01 INFO - Suite starting at 2014-08-05T12:04:31+01 | ||
2014-08-05T12:04:31+01 INFO - Log event clock: real time | ||
2014-08-05T12:04:31+01 INFO - Run mode: live | ||
2014-08-05T12:04:31+01 INFO - Initial point: 20100101T0000+01 | ||
2014-08-05T12:04:31+01 INFO - Final point: 20100106T0000+01 | ||
2014-08-05T12:04:31+01 DEBUG - request handling thread starting | ||
2014-08-05T12:04:31+01 INFO - Cold Start 20100101T0000+01 | ||
2014-08-05T12:04:31+01 DEBUG - [foo.20100101T0000+01] -released to the task pool | ||
2014-08-05T12:04:31+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:31+01 DEBUG - [foo.20100101T0000+01] -(setting:queued) | ||
2014-08-05T12:04:31+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:31+01 DEBUG - [foo.20100101T0000+01] -(setting:ready) | ||
2014-08-05T12:04:31+01 DEBUG - [foo.20100101T0000+01] -incrementing submit number | ||
2014-08-05T12:04:31+01 INFO - [foo.20100101T0000+01] -triggered off [] | ||
2014-08-05T12:04:31+01 DEBUG - END TASK PROCESSING (took 0.0146241188049 sec) | ||
2014-08-05T12:04:32+01 INFO - [foo.20100101T0000+01] -submit_method_id=28482 | ||
2014-08-05T12:04:32+01 INFO - [foo.20100101T0000+01] -submission succeeded | ||
2014-08-05T12:04:32+01 DEBUG - [foo.20100101T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:32+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:32+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:32+01 DEBUG - [foo.20100101T0000+01] -forced spawning | ||
2014-08-05T12:04:32+01 DEBUG - END TASK PROCESSING (took 0.0114269256592 sec) | ||
2014-08-05T12:04:33+01 DEBUG - [foo.20100102T0000+01] -released to the task pool | ||
2014-08-05T12:04:33+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:33+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:33+01 DEBUG - END TASK PROCESSING (took 0.00534605979919 sec) | ||
2014-08-05T12:04:33+01 INFO - [foo.20100101T0000+01] -(current:submitted)> foo.20100101T0000+01 started at 2014-08-05T12:04:32+01 | ||
2014-08-05T12:04:33+01 DEBUG - [foo.20100101T0000+01] -(setting:running) | ||
2014-08-05T12:04:33+01 INFO - [foo.20100101T0000+01] -(current:running)> foo.20100101T0000+01 succeeded at 2014-08-05T12:04:33+01 | ||
2014-08-05T12:04:33+01 DEBUG - [foo.20100101T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:34+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:34+01 DEBUG - [foo.20100102T0000+01] -(setting:queued) | ||
2014-08-05T12:04:34+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:34+01 DEBUG - [foo.20100102T0000+01] -(setting:ready) | ||
2014-08-05T12:04:34+01 DEBUG - [foo.20100102T0000+01] -incrementing submit number | ||
2014-08-05T12:04:34+01 INFO - [foo.20100102T0000+01] -triggered off ['foo.20100101T0000+01'] | ||
2014-08-05T12:04:34+01 DEBUG - [foo.20100101T0000+01] -task proxy removed | ||
2014-08-05T12:04:34+01 DEBUG - END TASK PROCESSING (took 0.018651008606 sec) | ||
2014-08-05T12:04:35+01 INFO - [foo.20100102T0000+01] -submit_method_id=28621 | ||
2014-08-05T12:04:35+01 INFO - [foo.20100102T0000+01] -submission succeeded | ||
2014-08-05T12:04:35+01 DEBUG - [foo.20100102T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:36+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:36+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:36+01 DEBUG - [foo.20100102T0000+01] -forced spawning | ||
2014-08-05T12:04:36+01 DEBUG - END TASK PROCESSING (took 0.0133910179138 sec) | ||
2014-08-05T12:04:36+01 INFO - [foo.20100102T0000+01] -(current:submitted)> foo.20100102T0000+01 started at 2014-08-05T12:04:35+01 | ||
2014-08-05T12:04:36+01 DEBUG - [foo.20100102T0000+01] -(setting:running) | ||
2014-08-05T12:04:37+01 DEBUG - [foo.20100103T0000+01] -released to the task pool | ||
2014-08-05T12:04:37+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:37+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:37+01 DEBUG - END TASK PROCESSING (took 0.00515794754028 sec) | ||
2014-08-05T12:04:37+01 INFO - [foo.20100102T0000+01] -(current:running)> foo.20100102T0000+01 succeeded at 2014-08-05T12:04:36+01 | ||
2014-08-05T12:04:37+01 DEBUG - [foo.20100102T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:38+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:38+01 DEBUG - [foo.20100103T0000+01] -(setting:queued) | ||
2014-08-05T12:04:38+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:38+01 DEBUG - [foo.20100103T0000+01] -(setting:ready) | ||
2014-08-05T12:04:38+01 DEBUG - [foo.20100103T0000+01] -incrementing submit number | ||
2014-08-05T12:04:38+01 INFO - [foo.20100103T0000+01] -triggered off ['foo.20100102T0000+01'] | ||
2014-08-05T12:04:38+01 DEBUG - [foo.20100102T0000+01] -task proxy removed | ||
2014-08-05T12:04:38+01 DEBUG - END TASK PROCESSING (took 0.0154209136963 sec) | ||
2014-08-05T12:04:39+01 INFO - [foo.20100103T0000+01] -submit_method_id=28763 | ||
2014-08-05T12:04:39+01 INFO - [foo.20100103T0000+01] -submission succeeded | ||
2014-08-05T12:04:39+01 DEBUG - [foo.20100103T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:39+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:39+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:39+01 DEBUG - [foo.20100103T0000+01] -forced spawning | ||
2014-08-05T12:04:39+01 DEBUG - END TASK PROCESSING (took 0.0126049518585 sec) | ||
2014-08-05T12:04:39+01 INFO - [foo.20100103T0000+01] -(current:submitted)> foo.20100103T0000+01 started at 2014-08-05T12:04:38+01 | ||
2014-08-05T12:04:39+01 DEBUG - [foo.20100103T0000+01] -(setting:running) | ||
2014-08-05T12:04:40+01 DEBUG - [foo.20100104T0000+01] -released to the task pool | ||
2014-08-05T12:04:40+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:40+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:40+01 DEBUG - END TASK PROCESSING (took 0.00577998161316 sec) | ||
2014-08-05T12:04:40+01 INFO - [foo.20100103T0000+01] -(current:running)> foo.20100103T0000+01 succeeded at 2014-08-05T12:04:39+01 | ||
2014-08-05T12:04:40+01 DEBUG - [foo.20100103T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:41+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:41+01 DEBUG - [foo.20100104T0000+01] -(setting:queued) | ||
2014-08-05T12:04:41+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:41+01 DEBUG - [foo.20100104T0000+01] -(setting:ready) | ||
2014-08-05T12:04:41+01 DEBUG - [foo.20100104T0000+01] -incrementing submit number | ||
2014-08-05T12:04:41+01 INFO - [foo.20100104T0000+01] -triggered off ['foo.20100103T0000+01'] | ||
2014-08-05T12:04:41+01 DEBUG - [foo.20100103T0000+01] -task proxy removed | ||
2014-08-05T12:04:41+01 DEBUG - END TASK PROCESSING (took 0.0161001682281 sec) | ||
2014-08-05T12:04:42+01 INFO - [foo.20100104T0000+01] -submit_method_id=28904 | ||
2014-08-05T12:04:42+01 INFO - [foo.20100104T0000+01] -submission succeeded | ||
2014-08-05T12:04:42+01 DEBUG - [foo.20100104T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:42+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:42+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:42+01 DEBUG - [foo.20100104T0000+01] -forced spawning | ||
2014-08-05T12:04:42+01 DEBUG - END TASK PROCESSING (took 0.0274260044098 sec) | ||
2014-08-05T12:04:42+01 INFO - [foo.20100104T0000+01] -(current:submitted)> foo.20100104T0000+01 started at 2014-08-05T12:04:41+01 | ||
2014-08-05T12:04:42+01 DEBUG - [foo.20100104T0000+01] -(setting:running) | ||
2014-08-05T12:04:43+01 DEBUG - [foo.20100105T0000+01] -released to the task pool | ||
2014-08-05T12:04:43+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:43+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:43+01 DEBUG - END TASK PROCESSING (took 0.0056037902832 sec) | ||
2014-08-05T12:04:43+01 INFO - [foo.20100104T0000+01] -(current:running)> foo.20100104T0000+01 succeeded at 2014-08-05T12:04:42+01 | ||
2014-08-05T12:04:43+01 DEBUG - [foo.20100104T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:44+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:44+01 DEBUG - [foo.20100105T0000+01] -(setting:queued) | ||
2014-08-05T12:04:44+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:44+01 DEBUG - [foo.20100105T0000+01] -(setting:ready) | ||
2014-08-05T12:04:44+01 DEBUG - [foo.20100105T0000+01] -incrementing submit number | ||
2014-08-05T12:04:44+01 INFO - [foo.20100105T0000+01] -triggered off ['foo.20100104T0000+01'] | ||
2014-08-05T12:04:44+01 DEBUG - [foo.20100104T0000+01] -task proxy removed | ||
2014-08-05T12:04:44+01 DEBUG - END TASK PROCESSING (took 0.0160040855408 sec) | ||
2014-08-05T12:04:45+01 INFO - [foo.20100105T0000+01] -submit_method_id=29049 | ||
2014-08-05T12:04:45+01 INFO - [foo.20100105T0000+01] -submission succeeded | ||
2014-08-05T12:04:45+01 DEBUG - [foo.20100105T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:45+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:45+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:45+01 DEBUG - [foo.20100105T0000+01] -forced spawning | ||
2014-08-05T12:04:45+01 DEBUG - END TASK PROCESSING (took 0.0133059024811 sec) | ||
2014-08-05T12:04:45+01 INFO - [foo.20100105T0000+01] -(current:submitted)> foo.20100105T0000+01 started at 2014-08-05T12:04:44+01 | ||
2014-08-05T12:04:45+01 DEBUG - [foo.20100105T0000+01] -(setting:running) | ||
2014-08-05T12:04:46+01 DEBUG - [foo.20100106T0000+01] -released to the task pool | ||
2014-08-05T12:04:46+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:46+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:46+01 DEBUG - END TASK PROCESSING (took 0.00688409805298 sec) | ||
2014-08-05T12:04:46+01 INFO - [foo.20100105T0000+01] -(current:running)> foo.20100105T0000+01 succeeded at 2014-08-05T12:04:45+01 | ||
2014-08-05T12:04:46+01 DEBUG - [foo.20100105T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:47+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:47+01 DEBUG - [foo.20100106T0000+01] -(setting:queued) | ||
2014-08-05T12:04:47+01 DEBUG - 1 task(s) ready | ||
2014-08-05T12:04:47+01 DEBUG - [foo.20100106T0000+01] -(setting:ready) | ||
2014-08-05T12:04:47+01 DEBUG - [foo.20100106T0000+01] -incrementing submit number | ||
2014-08-05T12:04:47+01 INFO - [foo.20100106T0000+01] -triggered off ['foo.20100105T0000+01'] | ||
2014-08-05T12:04:47+01 DEBUG - [foo.20100105T0000+01] -task proxy removed | ||
2014-08-05T12:04:47+01 DEBUG - END TASK PROCESSING (took 0.0164649486542 sec) | ||
2014-08-05T12:04:48+01 INFO - [foo.20100106T0000+01] -submit_method_id=29187 | ||
2014-08-05T12:04:48+01 INFO - [foo.20100106T0000+01] -submission succeeded | ||
2014-08-05T12:04:48+01 DEBUG - [foo.20100106T0000+01] -(setting:submitted) | ||
2014-08-05T12:04:48+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:48+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:48+01 DEBUG - [foo.20100106T0000+01] -forced spawning | ||
2014-08-05T12:04:48+01 INFO - [foo.20100107T0000+01] -holding (beyond suite stop point) 20100106T0000+01 | ||
2014-08-05T12:04:48+01 DEBUG - [foo.20100107T0000+01] -(setting:held) | ||
2014-08-05T12:04:48+01 DEBUG - END TASK PROCESSING (took 0.0190420150757 sec) | ||
2014-08-05T12:04:48+01 INFO - [foo.20100106T0000+01] -(current:submitted)> foo.20100106T0000+01 started at 2014-08-05T12:04:47+01 | ||
2014-08-05T12:04:48+01 DEBUG - [foo.20100106T0000+01] -(setting:running) | ||
2014-08-05T12:04:49+01 DEBUG - [foo.20100107T0000+01] -released to the task pool | ||
2014-08-05T12:04:49+01 DEBUG - BEGIN TASK PROCESSING | ||
2014-08-05T12:04:49+01 DEBUG - 0 task(s) ready | ||
2014-08-05T12:04:49+01 DEBUG - END TASK PROCESSING (took 0.00570511817932 sec) | ||
2014-08-05T12:04:49+01 INFO - [foo.20100106T0000+01] -(current:running)> foo.20100106T0000+01 succeeded at 2014-08-05T12:04:48+01 | ||
2014-08-05T12:04:49+01 DEBUG - [foo.20100106T0000+01] -(setting:succeeded) | ||
2014-08-05T12:04:49+01 DEBUG - Closing process pool | ||
2014-08-05T12:04:50+01 INFO - Suite shutting down at 2014-08-05T12:04:50+01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[cylc] | ||
cycle point time zone = +01 | ||
[[reference test]] | ||
required run mode = live | ||
live mode suite timeout = 1.0 # minutes | ||
[scheduling] | ||
initial cycle point = 20100101T00 | ||
final cycle point = +P5D | ||
[[dependencies]] | ||
[[[T00]]] | ||
graph = "foo[-P1D] => foo" | ||
[runtime] | ||
[[foo]] | ||
command scripting = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
#C: THIS FILE IS PART OF THE CYLC SUITE ENGINE. | ||
#C: Copyright (C) 2008-2014 Hilary Oliver, NIWA | ||
#C: | ||
#C: This program is free software: you can redistribute it and/or modify | ||
#C: it under the terms of the GNU General Public License as published by | ||
#C: the Free Software Foundation, either version 3 of the License, or | ||
#C: (at your option) any later version. | ||
#C: | ||
#C: This program is distributed in the hope that it will be useful, | ||
#C: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
#C: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
#C: GNU General Public License for more details. | ||
#C: | ||
#C: You should have received a copy of the GNU General Public License | ||
#C: along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
#------------------------------------------------------------------------------- | ||
# Test specifying final cycle as the next instance of T06 | ||
. $(dirname $0)/test_header | ||
#------------------------------------------------------------------------------- | ||
set_test_number 2 | ||
#------------------------------------------------------------------------------- | ||
install_suite $TEST_NAME_BASE $TEST_NAME_BASE | ||
#------------------------------------------------------------------------------- | ||
TEST_NAME=$TEST_NAME_BASE-validate | ||
run_ok $TEST_NAME cylc validate $SUITE_NAME | ||
#------------------------------------------------------------------------------- | ||
TEST_NAME=$TEST_NAME_BASE-run | ||
suite_run_ok $TEST_NAME cylc run --reference-test --debug $SUITE_NAME | ||
#------------------------------------------------------------------------------- | ||
purge_suite $SUITE_NAME |
Oops, something went wrong.