Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2717

Test entire workflow for submitting, accepting, installing, updating an App

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      0.25
    • Sprint:
      Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22, Winter 3 Jan 25 - Feb 5, Winter 4 Feb 8 - Feb 19

      Description

      Please use the most up-to-date devappstore instance to walk through the entire workflow of:

      • Submit first version of an app while logged in using google (not admin user)
      • Accept the app (log in as "admin" user, first)
      • Log out of "admin"
      • Install the App into IGB using the app store, check the "downloads" value has incremented
      • Log back in as the developer, upload and release next version of the App
      • Reload the App's page and check that the App button changes to show there is a new version available

        Attachments

          Activity

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Epic Link IGBF-2563 [ 18746 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          Hide
          ssegu Sai Supreeth Segu (Inactive) added a comment -

          Everything is working fine but I got some error in the log. I believe this happened when I logged out from the site.
          [Tue Dec 29 20:15:22.233229 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/defaulttags.py", line 876, in eval
          [Tue Dec 29 20:15:22.233233 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] return self.value.resolve(context, ignore_failures=True)
          [Tue Dec 29 20:15:22.233239 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 671, in resolve
          [Tue Dec 29 20:15:22.233246 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] obj = self.var.resolve(context)
          [Tue Dec 29 20:15:22.233252 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 796, in resolve
          [Tue Dec 29 20:15:22.233257 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] value = self._resolve_lookup(context)
          [Tue Dec 29 20:15:22.233262 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 872, in _resolve_lookup
          [Tue Dec 29 20:15:22.233266 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] exc_info=True,
          [Tue Dec 29 20:15:22.233285 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] Message: "Exception while resolving variable '%s' in template '%s'."
          [Tue Dec 29 20:15:22.233290 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] Arguments: ('expect_app_name', 'submit_app/upload_form.html')

          Show
          ssegu Sai Supreeth Segu (Inactive) added a comment - Everything is working fine but I got some error in the log. I believe this happened when I logged out from the site. [Tue Dec 29 20:15:22.233229 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/defaulttags.py", line 876, in eval [Tue Dec 29 20:15:22.233233 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] return self.value.resolve(context, ignore_failures=True) [Tue Dec 29 20:15:22.233239 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 671, in resolve [Tue Dec 29 20:15:22.233246 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] obj = self.var.resolve(context) [Tue Dec 29 20:15:22.233252 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 796, in resolve [Tue Dec 29 20:15:22.233257 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] value = self._resolve_lookup(context) [Tue Dec 29 20:15:22.233262 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 872, in _resolve_lookup [Tue Dec 29 20:15:22.233266 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] exc_info=True, [Tue Dec 29 20:15:22.233285 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] Message: "Exception while resolving variable '%s' in template '%s'." [Tue Dec 29 20:15:22.233290 2020] [wsgi:error] [pid 8914:tid 139649139300096] [remote 173.66.23.228:54967] Arguments: ('expect_app_name', 'submit_app/upload_form.html')
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Request for further clarification:

          • Can you investigate a bit more to find out which specific action by the user triggers the error?

          Suggestion:
          Log in to the EC2 and use "tail -f" to observe new error messages getting added to the log as they occur, as follows:

          sudo su # change to root user
          tail -f /var/log/apache2/error.log
          
          Show
          ann.loraine Ann Loraine added a comment - Request for further clarification: Can you investigate a bit more to find out which specific action by the user triggers the error? Suggestion: Log in to the EC2 and use "tail -f" to observe new error messages getting added to the log as they occur, as follows: sudo su # change to root user tail -f / var /log/apache2/error.log
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ] Sai Supreeth Segu [ ssegu ]
          ann.loraine Ann Loraine made changes -
          Description Please use https://devappstore5.bioviz.org to walk through the entire workflow of:

          * Submit first version of an app while logged in using google (not admin user)
          * Accept the app (log in as "admin" user, first)
          * Log out of "admin"
          * Install the App into IGB using the app store, check the "downloads" value has incremented
          * Log back in as the developer, upload and release next version of the App
          * Reload the App's page and check that the App button changes to show there is a new version available
          Please use the most up-to-date devappstore instance to walk through the entire workflow of:

          * Submit first version of an app while logged in using google (not admin user)
          * Accept the app (log in as "admin" user, first)
          * Log out of "admin"
          * Install the App into IGB using the app store, check the "downloads" value has incremented
          * Log back in as the developer, upload and release next version of the App
          * Reload the App's page and check that the App button changes to show there is a new version available
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          ssegu Sai Supreeth Segu (Inactive) added a comment - - edited

          'is_pending_replace' and 'expect_app_name' are the two errors I am facing. These actions are triggering when I am trying to submit the app or resubmitting the same app.

          Show
          ssegu Sai Supreeth Segu (Inactive) added a comment - - edited 'is_pending_replace' and 'expect_app_name' are the two errors I am facing. These actions are triggering when I am trying to submit the app or resubmitting the same app.
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ann.loraine Ann Loraine made changes -
          Sprint Winter 1 Dec 28 - Jan 8 [ 111 ] Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22 [ 111, 112 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Sprint Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22 [ 111, 112 ] Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22, Winter 3 Jan 25 - Feb 5 [ 111, 112, 113 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          Hide
          ann.loraine Ann Loraine added a comment -

          Please review the latest code deployed on devappstore3 and devappstore5 for the same error and report back.
          attn: Sai Supreeth Segu

          Show
          ann.loraine Ann Loraine added a comment - Please review the latest code deployed on devappstore3 and devappstore5 for the same error and report back. attn: Sai Supreeth Segu
          ann.loraine Ann Loraine made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          ssegu Sai Supreeth Segu (Inactive) added a comment -

          I can still see an error for 'expect_app_name' and error for 'is_pending_replace' is resolved
          cc: Dr.[~aloraine]

          Show
          ssegu Sai Supreeth Segu (Inactive) added a comment - I can still see an error for 'expect_app_name' and error for 'is_pending_replace' is resolved cc: Dr. [~aloraine]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Please indicate:

          • The host you used for testing
          • The specific errors you observed
          • The actions you performed to trigger the error
          • The specific version (commit hash) that was tested
          Show
          ann.loraine Ann Loraine added a comment - Please indicate: The host you used for testing The specific errors you observed The actions you performed to trigger the error The specific version (commit hash) that was tested
          ann.loraine Ann Loraine made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          ssegu Sai Supreeth Segu (Inactive) added a comment -

          I have tested the workflow on devappstore3 website and the specific error is:

          Traceback (most recent call last):
          File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 850, in _resolve_lookup
          (bit, current)) # missing attribute
          django.template.base.VariableDoesNotExist: Failed lookup for key [is_pending_replace] in [

          {'True': True, 'False': False, 'None': None}

          , {'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7fc5591457b8>>, 'request': <WSGIRequest: GET '/submit_app/confirm/18'>, 'user': <SimpleLazyObject: <User: ssegu>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5591a9e80>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5590def98>, 'DEFAULT_MESSAGE_LEVELS':

          {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}

          , 'backends': <LazyDict: <function backends.<locals>.<lambda> at 0x7fc559145598>>, 'REDIRECT_FIELD_NAME': 'next', 'REDIRECT_FIELD_VALUE': None, 'REDIRECT_QUERYSTRING': ''}, {},

          {'pending': <AppPending: Super Simple IGB App>, 'app_summary': 'This is a <b>new version of a released App.</b> If you choose to submit it, your new version will appear right away in the App Store.', 'info_msg': None}

          ,

          {'block': <Block Node: content. Contents: [<TextNode: '\n<div class="col-md-12">\n'>, <Variable Node: pending.release_file_name>, <TextNode: '</td>\n <tr>\n '>, <Variable Node: pending.Bundle_Name>, <TextNode: '\n <but'>, <Variable Node: pending.Bundle_SymbolicName>, <TextNode: '\n <but'>, <Variable Node: pending.Bundle_Version>, <TextNode: '\n <but'>, <Variable Node: app_summary |safe>, <TextNode: '\n </td>\n '>, <IfNode>, <TextNode: '\n </div>\n\n <div cla'>, <IfNode>, <TextNode: '\n </p>\n </d'>, <django.template.defaulttags.URLNode object at 0x7fc5590521d0>, <TextNode: '" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc559052e10>, <TextNode: '\n <input type'>, <django.template.defaulttags.URLNode object at 0x7fc559078208>, <TextNode: '" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc559078358>, <TextNode: '\n <input type'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'common/img/loading.gif">\n'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'common/js/doc_link.js"></'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'submit_app/js/app_summary'>]>}

          ]

          The actions performed to trigger the error:
          Login to the application with my personal gmail address
          Submit an app which is already there but a higher version of the app.

          The current commit hash:
          834c1e4 (HEAD -> master, origin/master, origin/HEAD) Merged in IGBF-2735 (pull request #270)
          3c88622 Merged in IGBF-2728 (pull request #268)

          Show
          ssegu Sai Supreeth Segu (Inactive) added a comment - I have tested the workflow on devappstore3 website and the specific error is: Traceback (most recent call last): File "/home/ubuntu/appstore/venv/lib/python3.6/site-packages/django/template/base.py", line 850, in _resolve_lookup (bit, current)) # missing attribute django.template.base.VariableDoesNotExist: Failed lookup for key [is_pending_replace] in [ {'True': True, 'False': False, 'None': None} , {'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7fc5591457b8>>, 'request': <WSGIRequest: GET '/submit_app/confirm/18'>, 'user': <SimpleLazyObject: <User: ssegu>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fc5591a9e80>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fc5590def98>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40} , 'backends': <LazyDict: <function backends.<locals>.<lambda> at 0x7fc559145598>>, 'REDIRECT_FIELD_NAME': 'next', 'REDIRECT_FIELD_VALUE': None, 'REDIRECT_QUERYSTRING': ''}, {}, {'pending': <AppPending: Super Simple IGB App>, 'app_summary': 'This is a <b>new version of a released App.</b> If you choose to submit it, your new version will appear right away in the App Store.', 'info_msg': None} , {'block': <Block Node: content. Contents: [<TextNode: '\n<div class="col-md-12">\n'>, <Variable Node: pending.release_file_name>, <TextNode: '</td>\n <tr>\n '>, <Variable Node: pending.Bundle_Name>, <TextNode: '\n <but'>, <Variable Node: pending.Bundle_SymbolicName>, <TextNode: '\n <but'>, <Variable Node: pending.Bundle_Version>, <TextNode: '\n <but'>, <Variable Node: app_summary |safe>, <TextNode: '\n </td>\n '>, <IfNode>, <TextNode: '\n </div>\n\n <div cla'>, <IfNode>, <TextNode: '\n </p>\n </d'>, <django.template.defaulttags.URLNode object at 0x7fc5590521d0>, <TextNode: '" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc559052e10>, <TextNode: '\n <input type'>, <django.template.defaulttags.URLNode object at 0x7fc559078208>, <TextNode: '" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc559078358>, <TextNode: '\n <input type'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'common/img/loading.gif">\n'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'common/js/doc_link.js"></'>, <PrefixNode for 'STATIC_URL'>, <TextNode: 'submit_app/js/app_summary'>]>} ] The actions performed to trigger the error: Login to the application with my personal gmail address Submit an app which is already there but a higher version of the app. The current commit hash: 834c1e4 (HEAD -> master, origin/master, origin/HEAD) Merged in IGBF-2735 (pull request #270) 3c88622 Merged in IGBF-2728 (pull request #268)
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ssegu Sai Supreeth Segu (Inactive) made changes -
          Assignee Sai Supreeth Segu [ ssegu ]
          ann.loraine Ann Loraine made changes -
          Sprint Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22, Winter 3 Jan 25 - Feb 5 [ 111, 112, 113 ] Winter 1 Dec 28 - Jan 8, Winter 2 Jan 11 - Jan 22, Winter 3 Jan 25 - Feb 5, Winter 4 Feb 8 - Feb 19 [ 111, 112, 113, 114 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          ann.loraine Ann Loraine made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          ann.loraine Ann Loraine made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Assignee Sai Supreeth Segu [ ssegu ]

            People

            • Assignee:
              ssegu Sai Supreeth Segu (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: