X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/97e83f57d51ddc111fca108acfaca4443730126f..eba5ae1edf4ba60747de3d624ab2a34bdc2f5b84:/examples/msg/cloud-masterworker/cloud-masterworker.tesh diff --git a/examples/msg/cloud-masterworker/cloud-masterworker.tesh b/examples/msg/cloud-masterworker/cloud-masterworker.tesh index d4b71a5b48..58500f14a9 100644 --- a/examples/msg/cloud-masterworker/cloud-masterworker.tesh +++ b/examples/msg/cloud-masterworker/cloud-masterworker.tesh @@ -2,59 +2,59 @@ p Testing the Cloud API with a simple master/workers -$ $SG_TEST_EXENV ${bindir:=.}/cloud-masterworker$EXEEXT --log=no_loc ${srcdir:=.}/platform.xml -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] # Launch 2 VMs -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] create VM00 on PM(Intel) -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] put a process (WRK00) on VM00 +$ $SG_TEST_EXENV ${bindir:=.}/cloud-masterworker$EXEEXT --log=no_loc ${srcdir:=.}/cluster.xml +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] # Launch 2 VMs +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] create VM00 on PM(node-69.acme.org) +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] put a process (WRK00) on VM00 > [VM00:WRK00:(2) 0.000000] [msg_test/INFO] WRK00 is listening on mailbox(MBOX:WRK00) -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] create VM01 on PM(Provost) -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] put a process (WRK01) on VM01 +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] create VM01 on PM(node-97.acme.org) +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] put a process (WRK01) on VM01 > [VM01:WRK01:(3) 0.000000] [msg_test/INFO] WRK01 is listening on mailbox(MBOX:WRK01) -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] # Send a task to 2 worker process -> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Send task(Task00) to mailbox(MBOX:WRK00) -> [VM00:WRK00:(2) 23.846402] [msg_test/INFO] WRK00 received task(Task00) from mailbox(MBOX:WRK00) -> [Jacquelin:master:(1) 23.846402] [msg_test/INFO] Send task(Task01) to mailbox(MBOX:WRK01) -> [VM00:WRK00:(2) 23.919218] [msg_test/INFO] WRK00 executed task(Task00) -> [VM01:WRK01:(3) 48.653760] [msg_test/INFO] WRK01 received task(Task01) from mailbox(MBOX:WRK01) -> [Jacquelin:master:(1) 48.653760] [msg_test/INFO] # Suspend all VMs -> [Jacquelin:master:(1) 48.653760] [msg_test/INFO] suspend VM00 -> [Jacquelin:master:(1) 48.653760] [msg_test/INFO] suspend VM01 -> [Jacquelin:master:(1) 48.653760] [msg_test/INFO] # Wait a while -> [Jacquelin:master:(1) 50.653760] [msg_test/INFO] # Resume all VMs -> [Jacquelin:master:(1) 50.653760] [msg_test/INFO] # Sleep long enough for everyone to be done with previous batch of work -> [VM01:WRK01:(3) 50.726576] [msg_test/INFO] WRK01 executed task(Task01) -> [Jacquelin:master:(1) 1000.000000] [msg_test/INFO] # Add one more process on each VM -> [Jacquelin:master:(1) 1000.000000] [msg_test/INFO] put a process (WRK02) on VM00 -> [VM00:WRK02:(4) 1000.000000] [msg_test/INFO] WRK02 is listening on mailbox(MBOX:WRK02) -> [Jacquelin:master:(1) 1000.000000] [msg_test/INFO] put a process (WRK03) on VM01 -> [VM01:WRK03:(5) 1000.000000] [msg_test/INFO] WRK03 is listening on mailbox(MBOX:WRK03) -> [Jacquelin:master:(1) 1000.000000] [msg_test/INFO] # Send a task to 4 worker process -> [Jacquelin:master:(1) 1000.000000] [msg_test/INFO] Send task(Task00) to mailbox(MBOX:WRK00) -> [VM00:WRK00:(2) 1023.846402] [msg_test/INFO] WRK00 received task(Task00) from mailbox(MBOX:WRK00) -> [Jacquelin:master:(1) 1023.846402] [msg_test/INFO] Send task(Task01) to mailbox(MBOX:WRK01) -> [VM00:WRK00:(2) 1023.919218] [msg_test/INFO] WRK00 executed task(Task00) -> [VM01:WRK01:(3) 1048.653760] [msg_test/INFO] WRK01 received task(Task01) from mailbox(MBOX:WRK01) -> [Jacquelin:master:(1) 1048.653760] [msg_test/INFO] Send task(Task02) to mailbox(MBOX:WRK02) -> [VM01:WRK01:(3) 1048.726576] [msg_test/INFO] WRK01 executed task(Task01) -> [VM00:WRK02:(4) 1072.500163] [msg_test/INFO] WRK02 received task(Task02) from mailbox(MBOX:WRK02) -> [Jacquelin:master:(1) 1072.500163] [msg_test/INFO] Send task(Task03) to mailbox(MBOX:WRK03) -> [VM00:WRK02:(4) 1072.572978] [msg_test/INFO] WRK02 executed task(Task02) -> [VM01:WRK03:(5) 1097.307521] [msg_test/INFO] WRK03 received task(Task03) from mailbox(MBOX:WRK03) -> [Jacquelin:master:(1) 1097.307521] [msg_test/INFO] # Migrate all VMs to PM(Intel) -> [Intel:__pr_mig_tx:VM00(Intel-Intel):(7) 1097.307521] [msg_vm/WARNING] use the default max_downtime value 30ms -> [VM01:WRK03:(5) 1097.380336] [msg_test/INFO] WRK03 executed task(Task03) -> [Provost:__pr_mig_tx:VM01(Provost-Intel):(9) 1100.382717] [msg_vm/WARNING] use the default max_downtime value 30ms -> [Jacquelin:master:(1) 3567.161124] [msg_test/INFO] # Migrate all VMs to PM(Provost) -> [Intel:__pr_mig_tx:VM00(Intel-Provost):(11) 3567.161124] [msg_vm/WARNING] use the default max_downtime value 30ms -> [Intel:__pr_mig_tx:VM01(Intel-Provost):(13) 6034.900487] [msg_vm/WARNING] use the default max_downtime value 30ms -> [Jacquelin:master:(1) 8502.639850] [msg_test/INFO] # Shutdown the half of worker processes gracefuly. The remaining half will be forcibly killed. -> [VM00:WRK00:(2) 8504.519504] [msg_test/INFO] WRK00 received task(finalize) from mailbox(MBOX:WRK00) -> [VM01:WRK01:(3) 8506.399157] [msg_test/INFO] WRK01 received task(finalize) from mailbox(MBOX:WRK01) -> [Jacquelin:master:(1) 8506.399157] [msg_test/INFO] # Wait a while before effective shutdown. -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] # Shutdown and destroy all the VMs. The remaining worker processes will be forcibly killed. -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] shutdown VM00 -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] destroy VM00 -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] shutdown VM01 -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] destroy VM01 -> [Jacquelin:master:(1) 8508.399157] [msg_test/INFO] # Goodbye now! -> [8508.399157] [msg_test/INFO] Bye (simulation time 8508.4) +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] # Send a task to 2 worker process +> [node-77.acme.org:master:(1) 0.000000] [msg_test/INFO] Send task(Task00) to mailbox(MBOX:WRK00) +> [VM00:WRK00:(2) 0.090280] [msg_test/INFO] WRK00 received task(Task00) from mailbox(MBOX:WRK00) +> [node-77.acme.org:master:(1) 0.090280] [msg_test/INFO] Send task(Task01) to mailbox(MBOX:WRK01) +> [VM00:WRK00:(2) 0.100280] [msg_test/INFO] WRK00 executed task(Task00) +> [VM01:WRK01:(3) 0.180560] [msg_test/INFO] WRK01 received task(Task01) from mailbox(MBOX:WRK01) +> [node-77.acme.org:master:(1) 0.180560] [msg_test/INFO] # Suspend all VMs +> [node-77.acme.org:master:(1) 0.180560] [msg_test/INFO] suspend VM00 +> [node-77.acme.org:master:(1) 0.180560] [msg_test/INFO] suspend VM01 +> [node-77.acme.org:master:(1) 0.180560] [msg_test/INFO] # Wait a while +> [node-77.acme.org:master:(1) 2.180560] [msg_test/INFO] # Resume all VMs +> [node-77.acme.org:master:(1) 2.180560] [msg_test/INFO] # Sleep long enough for everyone to be done with previous batch of work +> [VM01:WRK01:(3) 2.190560] [msg_test/INFO] WRK01 executed task(Task01) +> [node-77.acme.org:master:(1) 10.000000] [msg_test/INFO] # Add one more process on each VM +> [node-77.acme.org:master:(1) 10.000000] [msg_test/INFO] put a process (WRK02) on VM00 +> [VM00:WRK02:(4) 10.000000] [msg_test/INFO] WRK02 is listening on mailbox(MBOX:WRK02) +> [node-77.acme.org:master:(1) 10.000000] [msg_test/INFO] put a process (WRK03) on VM01 +> [VM01:WRK03:(5) 10.000000] [msg_test/INFO] WRK03 is listening on mailbox(MBOX:WRK03) +> [node-77.acme.org:master:(1) 10.000000] [msg_test/INFO] # Send a task to 4 worker process +> [node-77.acme.org:master:(1) 10.000000] [msg_test/INFO] Send task(Task00) to mailbox(MBOX:WRK00) +> [VM00:WRK00:(2) 10.090280] [msg_test/INFO] WRK00 received task(Task00) from mailbox(MBOX:WRK00) +> [node-77.acme.org:master:(1) 10.090280] [msg_test/INFO] Send task(Task01) to mailbox(MBOX:WRK01) +> [VM00:WRK00:(2) 10.100280] [msg_test/INFO] WRK00 executed task(Task00) +> [VM01:WRK01:(3) 10.180560] [msg_test/INFO] WRK01 received task(Task01) from mailbox(MBOX:WRK01) +> [node-77.acme.org:master:(1) 10.180560] [msg_test/INFO] Send task(Task02) to mailbox(MBOX:WRK02) +> [VM01:WRK01:(3) 10.190560] [msg_test/INFO] WRK01 executed task(Task01) +> [VM00:WRK02:(4) 10.270841] [msg_test/INFO] WRK02 received task(Task02) from mailbox(MBOX:WRK02) +> [node-77.acme.org:master:(1) 10.270841] [msg_test/INFO] Send task(Task03) to mailbox(MBOX:WRK03) +> [VM00:WRK02:(4) 10.280841] [msg_test/INFO] WRK02 executed task(Task02) +> [VM01:WRK03:(5) 10.361121] [msg_test/INFO] WRK03 received task(Task03) from mailbox(MBOX:WRK03) +> [node-77.acme.org:master:(1) 10.361121] [msg_test/INFO] # Migrate all VMs to PM(node-69.acme.org) +> [node-69.acme.org:__pr_mig_tx:VM00(node-69.acme.org-node-69.acme.org):(7) 10.361121] [msg_vm/WARNING] use the default max_downtime value 30ms +> [VM01:WRK03:(5) 10.371121] [msg_test/INFO] WRK03 executed task(Task03) +> [node-97.acme.org:__pr_mig_tx:VM01(node-97.acme.org-node-69.acme.org):(9) 19.682922] [msg_vm/WARNING] use the default max_downtime value 30ms +> [node-77.acme.org:master:(1) 28.561942] [msg_test/INFO] # Migrate all VMs to PM(node-97.acme.org) +> [node-69.acme.org:__pr_mig_tx:VM00(node-69.acme.org-node-97.acme.org):(11) 28.561942] [msg_vm/WARNING] use the default max_downtime value 30ms +> [node-69.acme.org:__pr_mig_tx:VM01(node-69.acme.org-node-97.acme.org):(13) 37.440963] [msg_vm/WARNING] use the default max_downtime value 30ms +> [node-77.acme.org:master:(1) 46.319984] [msg_test/INFO] # Shutdown the half of worker processes gracefully. The remaining half will be forcibly killed. +> [VM00:WRK00:(2) 46.327790] [msg_test/INFO] WRK00 received task(finalize) from mailbox(MBOX:WRK00) +> [VM01:WRK01:(3) 46.335596] [msg_test/INFO] WRK01 received task(finalize) from mailbox(MBOX:WRK01) +> [node-77.acme.org:master:(1) 46.335596] [msg_test/INFO] # Wait a while before effective shutdown. +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] # Shutdown and destroy all the VMs. The remaining worker processes will be forcibly killed. +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] shutdown VM00 +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] destroy VM00 +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] shutdown VM01 +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] destroy VM01 +> [node-77.acme.org:master:(1) 48.335596] [msg_test/INFO] # Goodbye now! +> [48.335596] [msg_test/INFO] Bye (simulation time 48.3356)