tysonnorris commented on issue #3151: invoker should not reuse warm container 
of a deleted action
URL: 
https://github.com/apache/incubator-openwhisk/issues/3151#issuecomment-356135063
 
 
   The code is pretty simple: `function main(){return {};}`
   I haven't been able to script it to crash; I'll investigate update here (or 
create a new issue) if I get it to the point of reproducing on demand.
   
   Here's an invoker log of one of the failures; you can see the pause previous 
to the failure
   ```
   [2018-01-05T18:33:44.163Z] [INFO] [#tid_145829] [DockerContainer] sending 
arguments to /guest/runscope at 
ContainerId(fad17fd8ab3aab47c7bed3ff94185534e33028b8e2d6754164597d0aea709f19) 
ContainerAddress(172.17.0.4,8080) [marker:invoker_activationRun_start:317]
   [2018-01-05T18:33:44.166Z] [INFO] [#tid_145829] [DockerContainer] running 
result: ok [marker:invoker_activationRun_finish:320:2]
   [2018-01-05T18:33:44.167Z] [INFO] [#tid_145829] [ContainerProxy]  
[marker:invoker_collectLogs_start:321]
   [2018-01-05T18:33:44.169Z] [INFO] [#tid_145829] [ContainerProxy]  
[marker:invoker_collectLogs_finish:323:2]
   [2018-01-05T18:33:44.169Z] [INFO] [#tid_145829] [InvokerReactive] recording 
the activation result to the data store
   [2018-01-05T18:33:44.170Z] [INFO] [#tid_145829] [CouchDbRestStore] [PUT] 
'whisk_dev_activations' saving document: 'id: 
guest/3bc9f8f49288445489f8f49288d454e5, rev: null' 
[marker:database_saveDocument_start:324]
   [2018-01-05T18:33:44.170Z] [INFO] [??] [CouchDbRestStore] 
'whisk_dev_activations' saving 1 documents 
[marker:database_saveDocumentBulk_start:4954249]
   [2018-01-05T18:33:44.170Z] [INFO] [#tid_145829] [InvokerReactive] posted 
completion of activation 3bc9f8f49288445489f8f49288d454e5
   [2018-01-05T18:33:44.211Z] [INFO] [??] [CouchDbRestStore] 
'whisk_dev_activations' completed 1 documents 
[marker:database_saveDocumentBulk_finish:4954290:41]
   [2018-01-05T18:33:44.211Z] [INFO] [#tid_145829] [CouchDbRestStore] [PUT] 
'whisk_dev_activations' completed document: 'id: 
guest/3bc9f8f49288445489f8f49288d454e5, rev: null', response: 'id: 
guest/3bc9f8f49288445489f8f49288d454e5, rev: 
1-4309f65af7d429a0180e0900f2819484' [marker:database_saveDocument_finish:365:41]
   [2018-01-05T18:33:44.212Z] [INFO] [#tid_145829] [InvokerReactive] recorded 
activation
   [2018-01-05T18:33:44.233Z] [INFO] [#sid_102] [DockerClientWithFileAccess] 
running /usr/bin/docker pause 
fad17fd8ab3aab47c7bed3ff94185534e33028b8e2d6754164597d0aea709f19 
[marker:invoker_docker.pause_start:4954311]
   [2018-01-05T18:33:44.255Z] [INFO] [#sid_102] [DockerClientWithFileAccess]  
[marker:invoker_docker.pause_finish:4954333:22]
   [2018-01-05T18:39:09.096Z] [INFO] [#sid_110] [MessageFeed] processing 
invoker0[0][5488] (1/16)
   [2018-01-05T18:39:09.097Z] [INFO] [#tid_145858] [InvokerReactive]  
[marker:invoker_activation_start:63]
   [2018-01-05T18:39:09.097Z] [INFO] [#tid_145858] [InvokerReactive] 
guest/runscope guest a41299b5a70140369299b5a701703614
   [2018-01-05T18:39:09.158Z] [INFO] [#tid_145858] [WhiskAction] [GET] serving 
from datastore: CacheKey(guest/runscope) [marker:database_cacheMiss_count:64]
   [2018-01-05T18:39:09.158Z] [INFO] [#tid_145858] [CouchDbRestStore] [GET] 
'whisk_dev_whisks' finding document: 'id: guest/runscope, rev: 
13167-bbc547b503cc59e3df35bc3351a91f17' [marker:database_getDocument_start:64]
   [2018-01-05T18:39:09.431Z] [INFO] [#tid_145858] [CouchDbRestStore] [GET] 
'whisk_dev_whisks' completed: found document 'id: guest/runscope, rev: 
13167-bbc547b503cc59e3df35bc3351a91f17' 
[marker:database_getDocument_finish:396:332]
   [2018-01-05T18:39:09.431Z] [INFO] [#tid_145858] [DockerClientWithFileAccess] 
running /usr/bin/docker unpause 
fad17fd8ab3aab47c7bed3ff94185534e33028b8e2d6754164597d0aea709f19 
[marker:invoker_docker.unpause_start:397]
   [2018-01-05T18:39:09.454Z] [INFO] [#tid_145858] [DockerClientWithFileAccess] 
 [marker:invoker_docker.unpause_finish:420:23]
   [2018-01-05T18:39:09.454Z] [INFO] [#tid_145858] [DockerContainer] sending 
arguments to /guest/runscope at 
ContainerId(fad17fd8ab3aab47c7bed3ff94185534e33028b8e2d6754164597d0aea709f19) 
ContainerAddress(172.17.0.4,8080) [marker:invoker_activationRun_start:420]
   [2018-01-05T18:39:21.654Z] [INFO] [#tid_145858] [DockerContainer] running 
result: ConnectionError(java.net.SocketException: Connection reset) 
[marker:invoker_activationRun_finish:12620:3]
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to