You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/12 23:20:15 UTC

[GitHub] andrewnet opened a new issue #3098: Unexpected "action developer error " - Initialization has failed due to: Zipped actions must contain either package.json or index.js at the root.

andrewnet opened a new issue #3098: Unexpected "action developer error " - Initialization has failed due to: Zipped actions must contain either package.json or index.js at the root.
URL: https://github.com/apache/incubator-openwhisk/issues/3098
 
 
   We executed a performance run over the weekend. When when analyzed the result, we found 3 out of 332465 activation (all for the same Java action) have status `action developer error` and error `Initialization has failed due to: Zipped actions must contain either package.json or index.js at the root.`
   
   ```
   {
       "namespace": "Entity_discovery_qa",
       "name": "action_create_asset_yp-qa",
       "version": "0.0.41",
       "subject": "discopro@us.ibm.com",
       "activationId": "a142e20c0c274a1082e20c0c271a1014",
       "start": 1512959207519,
       "end": 1512959211053,
       "duration": 3534,
       "response": {
           "status": "action developer error",
           "statusCode": 0,
           "success": false,
           "result": {
               "error": "Initialization has failed due to: Zipped actions must contain either package.json or index.js at the root."
           }
       },
       "logs": [],
       "annotations": [
           {
               "key": "limits",
               "value": {
                   "logs": 10,
                   "memory": 256,
                   "timeout": 300000
               }
           },
           {
               "key": "path",
               "value": "Entity_discovery_qa/action_create_asset_yp-qa"
           },
           {
               "key": "kind",
               "value": "java"
           }
       ],
       "publish": false
   }
   ```
   
   These activation should have been successful as all of these 332465 activation go through the same route. Note that these activation failed in the middle of the long test, so it can't be a case where we are updating the Java action.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services