Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pulp_installer CI error #1089

Merged
merged 1 commit into from
Jan 4, 2022
Merged

Fix pulp_installer CI error #1089

merged 1 commit into from
Jan 4, 2022

Conversation

fao89
Copy link
Contributor

@fao89 fao89 commented Dec 21, 2021

Traceback (most recent call last):
    File "/usr/local/lib/pulp/bin/pulpcore-manager", line 33, in <module>
      sys.exit(load_entry_point('pulpcore', 'console_scripts', 'pulpcore-manager')())
    File "/var/lib/pulp/devel/pulpcore/pulpcore/app/manage.py", line 11, in manage
      execute_from_command_line(sys.argv)
    File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
      utility.execute()
    File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
      django.setup()
    File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/__init__.py", line 24, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/apps/registry.py", line 122, in populate
      app_config.ready()
    File "/var/lib/pulp/devel/galaxy_ng/galaxy_ng/app/__init__.py", line 12, in ready
      super().ready()
    File "/var/lib/pulp/devel/pulpcore/pulpcore/app/apps.py", line 96, in ready
      self.import_viewsets()
    File "/var/lib/pulp/devel/pulpcore/pulpcore/app/apps.py", line 140, in import_viewsets
      self.viewsets_module = import_module(viewsets_module_name)
    File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 783, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/var/lib/pulp/devel/galaxy_ng/galaxy_ng/app/viewsets.py", line 6, in <module>
      from galaxy_ng.app.api.ui import serializers
    File "/var/lib/pulp/devel/galaxy_ng/galaxy_ng/app/api/ui/serializers/__init__.py", line 4, in <module>
      from .collection import (
    File "/var/lib/pulp/devel/galaxy_ng/galaxy_ng/app/api/ui/serializers/collection.py", line 46, in <module>
      class CollectionMetadataSerializer(Serializer):
    File "/var/lib/pulp/devel/galaxy_ng/galaxy_ng/app/api/ui/serializers/collection.py", line 57, in CollectionMetadataSerializer
      authors = serializers.ListField(serializers.CharField())
  TypeError: __init__() takes 1 positional argument but 2 were given

https://github.com/pulp/pulp_installer/runs/4590178588?check_suite_focus=true#step:7:1634

@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@rochacbruno
Copy link
Member

/retest

@newswangerd newswangerd added the backport-4.4 This PR should be backported to stable-4.4 (2.1) label Jan 4, 2022
@newswangerd newswangerd merged commit 029dca6 into ansible:master Jan 4, 2022
@patchback
Copy link

patchback bot commented Jan 4, 2022

Backport to stable-4.4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4.4/029dca68b399139886c38e924fa7fee652228b37/pr-1089

Backported as #1091

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

newswangerd pushed a commit that referenced this pull request Jun 28, 2022
https://github.com/pulp/pulp_installer/runs/4590178588?check_suite_focus=true#step:7:1634

No-Issue

(cherry picked from commit 029dca6)

Co-authored-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>
Co-authored-by: Andrew Crosby <acrosby@redhat.com>
@github-actions github-actions bot added the backported-4.4 This PR has been backported to stable-4.4 (2.1) label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.4 This PR should be backported to stable-4.4 (2.1) backported-4.4 This PR has been backported to stable-4.4 (2.1)
Projects
None yet
5 participants