AppScale / gts

AppScale is an easy-to-manage serverless platform for building and running scalable web and mobile applications on any infrastructure.
https://www.appscale.com/community/
Apache License 2.0
2.42k stars 277 forks source link

Datastore missing entity_pb import #3223

Closed sjones4 closed 4 years ago

sjones4 commented 4 years ago

Add missing entity_pb import to address issue shown in hawkeye test log output:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1415, in _execute
    result = yield result
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/scripts/datastore.py", line 196, in post
    version_id=request.headers.get('Version'))
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/scripts/datastore.py", line 248, in remote_request
    response, errcode, errdetail = yield self.run_query(http_request_data)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/scripts/datastore.py", line 430, in run_query
    yield datastore_access._dynamic_run_query(query, clone_qr_pb)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/fdb/fdb_datastore.py", line 277, in _dynamic_run_query
    entries, more_iterator_results = yield iterator.next_page()
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
    value = future.result()
  File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
    raise_exc_info(self._exc_info)
  File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 879, in run
    yielded = self.gen.send(value)
  File "/usr/local/lib/python2.7/dist-packages/appscale/datastore/fdb/indexes.py", line 326, in next_page
    prop_value = entity_pb.PropertyValue()
NameError: global name 'entity_pb' is not defined
sjones4 commented 4 years ago

Daily build nos. 7129 7130

Two builds as the Datastore-Benchmark test failed on the first run. Demo is that hawkeye test logs no longer show this error.