diff --git a/tests/manual/tests_via_nomad/asapo-test_filegen_filemon.nomad b/tests/manual/tests_via_nomad/asapo-test_filegen_filemon.nomad new file mode 100644 index 0000000000000000000000000000000000000000..c5181c44bac5d2d960fd4d8f154398accc23b828 --- /dev/null +++ b/tests/manual/tests_via_nomad/asapo-test_filegen_filemon.nomad @@ -0,0 +1,163 @@ +job "asapo-test" { + datacenters = [ + "dc1"] + + type = "batch" + + group "filegen-windows" { + + constraint { + attribute = "${attr.kernel.name}" + value = "windows" + } + + count = 1 + + task "filegen" { + driver = "raw_exec" + + config { + command = "local/filegen_win.exe" + args = [ + "1", + "1M", + "10", + "c:/tmp/asapo/test_in/test_folder/file_win"] + } + + artifact { + source = "http://nims.desy.de/extra/asapo/filegen_win.exe" + mode = "file" + destination = "local/filegen_win.exe" + } + } + + + } + #windows + + group "filegen-linux" { + + constraint { + attribute = "${attr.kernel.name}" + value = "linux" + } + + constraint { + attribute = "${meta.location}" + value = "petra3" + } + + count = 1 + + task "filegen" { + driver = "raw_exec" + + config { + command = "local/filegen_linux" + args = [ + "1", + "1M", + "10", + "/tmp/asapo/test_in/test_folder/file_lin_"] + } + + artifact { + source = "http://nims.desy.de/extra/asapo/filegen_linux" + mode = "file" + destination = "local/filegen_linux" + } + } + + } + + + group "worker-linux1" { + + constraint { + attribute = "${attr.kernel.name}" + value = "linux" + } + + # constraint { + # attribute = "${meta.location}" + # operator = "!=" + # value = "petra3" + # } + + count = 1 + + task "worker-linux" { + driver = "raw_exec" + + config { + command = "local/getnext_broker" + args = [ + "psana002:8400", + "asapo_test1", + "16", + "oTsKsj8i6WcW_gVzeIFvZCtSfMErjDELJEyAI23n7Ik=", + "30000"] + } + + resources { + cpu = 5000 + memory = 128 + network { + mbits = 10000 + } + } + + artifact { + source = "http://nims.desy.de/extra/asapo/getnext_broker" + } + } + + } + # worker-linux1 + + + group "worker-linux2" { + + constraint { + attribute = "${attr.kernel.name}" + value = "linux" + } + + # constraint { + # attribute = "${meta.location}" + # operator = "!=" + # value = "petra3" + # } + + count = 1 + + task "worker-linux" { + driver = "raw_exec" + + config { + command = "local/getnext_broker" + args = [ + "psana002:8400", + "asapo_test2", + "16", + "yzgAcLmijSLWIm8dBiGNCbc0i42u5HSm-zR6FRqo__Y=", + "30000"] + } + resources { + cpu = 5000 + memory = 128 + network { + mbits = 10000 + } + } + + artifact { + source = "http://nims.desy.de/extra/asapo/getnext_broker" + } + } + + } + # worker-linux2 + +} diff --git a/tests/manual/tests_via_nomad/asapo-test_filemon_producer_toreceiver.nomad b/tests/manual/tests_via_nomad/asapo-test_filemon_producer_toreceiver.nomad index 99bb0952c2286d056b62528d06c538c2aa5a20f9..eb22e67a00db405f26d60bfba1a36980dafbc028 100644 --- a/tests/manual/tests_via_nomad/asapo-test_filemon_producer_toreceiver.nomad +++ b/tests/manual/tests_via_nomad/asapo-test_filemon_producer_toreceiver.nomad @@ -1,4 +1,4 @@ -job "asapo-produceronly" { +job "asapo-filemon-producer" { datacenters = [ "dc1"] @@ -34,7 +34,7 @@ job "asapo-produceronly" { "Tag":"test_tag", "BeamtimeID":"asapo_test1", "Mode":"tcp", - "NThreads":1, + "NThreads":8, "LogLevel":"debug", "RootMonitoredFolder":"c:\\tmp\\asapo\\test_in", "MonitoredSubFolders":["test_folder"], @@ -90,7 +90,7 @@ job "asapo-produceronly" { "Tag":"test_tag", "BeamtimeID":"asapo_test2", "Mode":"tcp", - "NThreads":1, + "NThreads":8, "LogLevel":"debug", "RootMonitoredFolder":"/tmp/asapo/test_in", "MonitoredSubFolders":["test_folder"],