Skip to content

Instantly share code, notes, and snippets.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for olympia-web-amodev1.amo.us-east-1.dev.mozaws.net has changed,
and the key for the corresponding IP address 34.227.157.154
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
diff --git a/src/olympia/devhub/tests/test_views_validation.py b/src/olympia/devhub/tests/test_views_validation.py
index 355456f3b5..93ee20ad0f 100644
--- a/src/olympia/devhub/tests/test_views_validation.py
+++ b/src/olympia/devhub/tests/test_views_validation.py
@@ -276,6 +276,13 @@ class TestFileValidation(TestCase):
assert link.text == 'https://bugzilla.mozilla.org/'
assert link.attrib['href'] == 'https://bugzilla.mozilla.org/'
+ def test_can_see_json_results_for_deleted_addon(self):
+ self.client.logout()
Traceback (most recent call last): File "/deps/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch response = handler(request, *args, **kwargs) File "/deps/lib/python3.6/site-packages/rest_framework/generics.py", line 199, in get return self.list(request, *args, **kwargs) File "/deps/lib/python3.6/site-packages/rest_framework/mixins.py", line 40, in list page = self.paginate_queryset(queryset) File "/deps/lib/python3.6/site-packages/rest_framework/generics.py", line 171, in paginate_queryset return self.paginator.paginate_queryset(queryset, self.request, view=self) File "/deps/lib/python3.6/site-packages/rest_framework/pagination.py", line 206, in paginate_queryset self.page = paginator.page(page_number) File "/code/src/olympia/amo/pagination.py", line 77, in page result = self.object_list[bottom:top].execute() File "/deps/lib/python3.6/site-packages/elasticsearch_dsl/search.py", line 639, in execute **self._params File "/deps/lib/python3.6/site-packages/elasticsearch/client/utils.py",
FAIL tests/unit/amo/components/TestInstallWarning.js
FAIL tests/unit/amo/components/TestInstallWarning.js
● Test suite failed to run
TypeError: getConsoleOutput is not a function
21 | // prettier-ignore
22 | this.log(
> 23 | ` ${TITLE_BULLET}Console\n\n${getConsoleOutput(
| ^
render() {
const { version } = this.props;
return (
<LinterProvider
versionId={version.id}
validationURL={version.validationURL}
selectedPath={version.selectedPath}
>
{this.renderWithMessages}
~/Documents/gitRepos/addons-server[master*]$ docker-compose logs elasticsearch
WARNING: The CIRCLECI variable is not set. Defaulting to a blank string.
Attaching to addons-server_elasticsearch_1
elasticsearch_1 | [2020-01-07T21:23:16,975][INFO ][o.e.n.Node ] [] initializing ...
elasticsearch_1 | [2020-01-07T21:23:17,305][INFO ][o.e.e.NodeEnvironment ] [J2wjORB] using [1] data paths, mounts [[/ (overlay)]], net usable_space [47.2gb], net total_space [58.4gb], spins? [possibly], types [overlay]
elasticsearch_1 | [2020-01-07T21:23:17,306][INFO ][o.e.e.NodeEnvironment ] [J2wjORB] heap size [494.9mb], compressed ordinary object pointers [true]
elasticsearch_1 | [2020-01-07T21:23:17,315][INFO ][o.e.n.Node ] node name [J2wjORB] derived from node ID [J2wjORBoRtez7UyZkoso5A]; set [node.name] to override
elasticsearch_1 | [2020-01-07T21:23:17,315][INFO ][o.e.n.Node ] version[5.4.1], pid[1], build[2cfe0df/2017-05-29T16:05:51.443Z], OS[Linux/4.9.184-linuxkit/
{"Timestamp": 1578432989214824704, "Type": "PIL.PngImagePlugin", "Logger": "http_app_addons", "Hostname": "6d864fed9eaa", "EnvVersion": "2.0", "Severity": 7, "Pid": 1428, "Fields": {"uid": "", "remoteAddressChain": "", "msg": "STREAM b'IHDR' 16 13"}, "severity": 100}
{"Timestamp": 1578432989216493312, "Type": "PIL.PngImagePlugin", "Logger": "http_app_addons", "Hostname": "6d864fed9eaa", "EnvVersion": "2.0", "Severity": 7, "Pid": 1428, "Fields": {"uid": "", "remoteAddressChain": "", "msg": "STREAM b'IDAT' 41 1413"}, "severity": 100}
{"Timestamp": 1578432989258680832, "Type": "z.amo", "Logger": "http_app_addons", "Hostname": "6d864fed9eaa", "EnvVersion": "2.0", "Severity": 6, "Pid": 1428, "Fields": {"uid": "<anon>", "remoteAddressChain": "", "msg": "Optimizing image: /code/src/olympia/../../storage/shared_storage/uploads/previews/full/0/5.png"}, "severity": 200}
{"Timestamp": 1578432989727889152, "Type": "z.amo", "Logger": "http_app_addons", "Hostname": "6d864fed9eaa", "EnvVersion": "2.0", "Severity": 6, "Pid":
22"}, "severity": 200}
{"Timestamp": 1578424948294715904, "Type": "z.task", "Logger": "http_app_addons", "Hostname": "3b4862b183dc", "EnvVersion": "2.0", "Severity": 6, "Pid": 1692, "Fields": {"uid": "<anon>", "remoteAddressChain": "", "msg": "starting task timer; id=f5ceff4f-dea0-45fc-9313-2861136d0eb5; name=olympia.ratings.tasks.addon_bayesian_rating; current_dt=2020-01-07 19:22:28.292954"}, "severity": 200}
{"Timestamp": 1578424948298687232, "Type": "z.task", "Logger": "http_app_addons", "Hostname": "3b4862b183dc", "EnvVersion": "2.0", "Severity": 6, "Pid": 1692, "Fields": {"uid": "<anon>", "remoteAddressChain": "", "msg": "[1@None] Updating bayesian ratings."}, "severity": 200}
{"Timestamp": 1578424948445936384, "Type": "celery.app.trace", "Logger": "http_app_addons", "Hostname": "3b4862b183dc", "EnvVersion": "2.0", "Severity": 6, "Pid": 1692, "Fields": {"data": {"id": "f5ceff4f-dea0-45fc-9313-2861136d0eb5", "name": "olympia.ratings.tasks.addon_bayesian_rating", "return_value": "None", "runtime": 0.152622
{
"page_size": 25,
"page_count": 1,
"count": 10,
"next": null,
"previous": null,
"results": [
{
"id": 622,
"filename": "manifest.json",
// Props of the <DiffView> component:
type DiffProps = {
children: (hunks: HunkInfo[]) => ReactNode;
className?: string;
diffType: string;
hunks: Hunks;
tokens?: Tokens;
viewType: ViewType;
gutterType?: 'default' | 'anchor' | 'none';