Page MenuHomePhabricator

Please link some tools maintained by Legoktm to their Gerrit repos in toolsadmin
Closed, ResolvedPublic

Description

The following Gerrit repositories should be linked to their corresponding tools in Tool labs.

  • labs/tools/wikibugs2 -> tools.wikibugs
  • labs/tools/forrestbot -> tools.forrestbot
  • labs/tools/extreg-wos -> tools.extreg-wos
  • integration/dashboard -> tools.ci

Event Timeline

Is it okay if I just list all the other tools I own that need linking in this bug instead of filing more?

  • labs/tools/forrestbot -> tools.forrestbot
  • labs/tools/extreg-wos -> tools.extreg-wos
  • integration/dashboard -> tools.ci
Legoktm renamed this task from Please link labs/tools/wikibugs2 to wikibugs tool in toolsadmin to Please link some tools to their Gerrit repos in toolsadmin.Aug 30 2016, 6:24 AM
Legoktm updated the task description. (Show Details)
bd808 renamed this task from Please link some tools to their Gerrit repos in toolsadmin to Please link some tools maintained by Legoktm to their Gerrit repos in toolsadmin.Aug 30 2016, 4:05 PM
bd808 triaged this task as Medium priority.Aug 31 2016, 12:21 AM

Tried to do the first one, got an error. Request ID 9a6f4826b14448c28cf39024b36c68bd
Tool: wikibugs
Name: labs-tools-wikibugs2
Phid: PHID-REPO-7gfle35moyddw2pzartr
Created by: Legoktm

Logstash shows this stack trace:

Traceback (most recent call last):
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/options.py", line 618, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/sites.py", line 233, in inner
    return view(request, *args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/options.py", line 1518, in add_view
    return self.changeform_view(request, None, form_url, extra_context)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/utils/decorators.py", line 34, in _wrapper
    return bound_func(*args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/utils/decorators.py", line 30, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/lib/python3.4/contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/options.py", line 1472, in changeform_view
    self.log_addition(request, new_object)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/options.py", line 813, in log_addition
    action_flag=ADDITION
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/admin/models.py", line 24, in log_action
    e.save()
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/base.py", line 734, in save
    force_update=force_update, update_fields=update_fields)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/base.py", line 762, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/base.py", line 846, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/base.py", line 885, in _do_insert
    using=using, raw=raw)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/query.py", line 920, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 974, in execute_sql
    cursor.execute(sql, params)
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/backends/utils.py", line 59, in execute
    self.db.validate_no_broken_transaction()
  File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/db/backends/base/base.py", line 327, in validate_no_broken_transaction
    "An error occurred in the current transaction. You can't "
django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.

Tried to do the first one, got an error. Request ID 9a6f4826b14448c28cf39024b36c68bd
Tool: wikibugs
Name: labs-tools-wikibugs2
Phid: PHID-REPO-7gfle35moyddw2pzartr
Created by: Legoktm

Logstash shows this stack trace:

This is T144296: Admin console fails to add new diffusionrepo entries. It will be fixed in the next Striker deploy.