Validating /home/andrea/pyot/pyot/media/scripts/red.py ...
Deploy mapReduce task:
map = map -- inputs=[<Resource: bbbb::200:0:0:2 - /sensors/light>, <Resource: bbbb::200:0:0:4 - /sensors/light>, <Resource: bbbb::200:0:0:5 - /sensors/light>, <Resource: bbbb::200:0:0:8 - /sensors/light>, <Resource: bbbb::200:0:0:a - /sensors/light>, <Resource: bbbb::200:0:0:3 - /sensors/light>, <Resource: bbbb::200:0:0:6 - /sensors/light>, <Resource: bbbb::200:0:0:7 - /sensors/light>, <Resource: bbbb::200:0:0:9 - /sensors/light>] -- period=60
reduce = red
output = bbbb::200:0:0:b - /actuator
state = CREATED
...on network: bbbb::/64 - cooja@pyot
Bfs successors 6lbr
Visiting host bbbb::200:0:0:6 --> [<Resource: bbbb::200:0:0:8 - /sensors/light>, <Resource: bbbb::200:0:0:6 - /sensors/light>] 2 inputs
Visiting host bbbb::200:0:0:5 --> [<Resource: bbbb::200:0:0:5 - /sensors/light>, <Resource: bbbb::200:0:0:a - /sensors/light>, <Resource: bbbb::200:0:0:9 - /sensors/light>] 3 inputs
**** Allocating a reducer on bbbb::200:0:0:5
selected inputs [<Resource: bbbb::200:0:0:5 - /sensors/light>, <Resource: bbbb::200:0:0:a - /sensors/light>, <Resource: bbbb::200:0:0:9 - /sensors/light>]
first put result = 2.01
PF put result = 2.04
IS put result = 2.04 coap://[bbbb::200:0:0:5]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:a]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:9]/sensors/light
Visiting host bbbb::200:0:0:4 --> [<Resource: bbbb::200:0:0:4 - /sensors/light>, <Resource: bbbb::200:0:0:7 - /sensors/light>] 2 inputs
Visiting host bbbb::200:0:0:3 --> [<Resource: bbbb::200:0:0:8 - /sensors/light>, <Resource: bbbb::200:0:0:3 - /sensors/light>, <Resource: bbbb::200:0:0:6 - /sensors/light>, <Resource: bbbb::200:0:0:5 - /tasks/red/lo>] 4 inputs
**** Allocating a reducer on bbbb::200:0:0:3
selected inputs [<Resource: bbbb::200:0:0:8 - /sensors/light>, <Resource: bbbb::200:0:0:3 - /sensors/light>, <Resource: bbbb::200:0:0:6 - /sensors/light>, <Resource: bbbb::200:0:0:5 - /tasks/red/lo>]
first put result = 2.01
PF put result = 2.04
IS put result = 2.04 coap://[bbbb::200:0:0:8]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:3]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:6]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:5]/tasks/red/lo
Visiting host bbbb::200:0:0:2 --> [<Resource: bbbb::200:0:0:2 - /sensors/light>, <Resource: bbbb::200:0:0:4 - /sensors/light>, <Resource: bbbb::200:0:0:7 - /sensors/light>, <Resource: bbbb::200:0:0:3 - /tasks/red/lo>] 4 inputs
**** Allocating a reducer on bbbb::200:0:0:2
selected inputs [<Resource: bbbb::200:0:0:2 - /sensors/light>, <Resource: bbbb::200:0:0:4 - /sensors/light>, <Resource: bbbb::200:0:0:7 - /sensors/light>, <Resource: bbbb::200:0:0:3 - /tasks/red/lo>]
first put result = 2.01
PF put result = 2.04
OD put result = 2.04
IS put result = 2.04 coap://[bbbb::200:0:0:2]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:4]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:7]/sensors/light
IS put result = 2.04 coap://[bbbb::200:0:0:3]/tasks/red/lo
1 - Successfully installed mapreduce task on networkbbbb::/64 - cooja@pyot