Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-923

Pressing "Show" in "Instructions" column on scheduler page for qt/qtsvg repo causes a python exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • master
    • Scheduler
    • None

    Description

      1) Go to http://coin/coin/scheduler
      2) Select qt/qtsvg project
      3) Click List configurations
      4) Click "Show" link all the way to the right of any confiugration
      5) Observe "angular.js:15697 SyntaxError: Unexpected end of JSON input" error in js console

      Python exception traceback with a custom print() to show more details

      >>> project is qt/qtbase
      Could not include project: 'qt/qtbase', are you sure that it is a dependency of 'qt/qtsvg'?'
      Traceback (most recent call last):
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/thriftpy2/server.py", line 95, in handle
          self.processor.process(iprot, oprot)
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/thriftpy2/thrift.py", line 321, in process
          result.success = call()
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/thriftpy2/thrift.py", line 287, in call
          return f(*(args.__dict__[k] for k in api_args))
        File "/home/alcroito/tqtc-coin-ci-clone/src/utils.py", line 627, in wrapper
          return future_result.result()
        File "/home/alcroito/Dev/python3.10.0/lib/python3.10/concurrent/futures/_base.py", line 445, in result
          return self.__get_result()
        File "/home/alcroito/Dev/python3.10.0/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
          raise self._exception
        File "/home/alcroito/tqtc-coin-ci-clone/src/utils.py", line 622, in gather_return_value
          future_result.set_result(await func(*args, **keys))
        File "/home/alcroito/tqtc-coin-ci-clone/src/platform_configurations.py", line 654, in get_agent_instructions
          return await self._get_agent_instructions(moduleConfig)
        File "/home/alcroito/tqtc-coin-ci-clone/src/platform_configurations.py", line 658, in _get_agent_instructions
          return await module.instructions(moduleConfig)
        File "/home/alcroito/tqtc-coin-ci-clone/src/modules_migration_helper.py", line 86, in instructions
          return await self._module(moduleConfig.workItemConfiguration.features).instructions(moduleConfig)
        File "/home/alcroito/tqtc-coin-ci-clone/src/modules_custom.py", line 701, in instructions
          implicit_build_instructions = self._binary_and_source_dependency_install_instructions(self._repository_state, moduleConfig.workItemConfiguration, self.config.tags)
        File "/home/alcroito/tqtc-coin-ci-clone/src/modules_custom.py", line 802, in config
          self._config = self._parse_yaml(self._file_content)
        File "/home/alcroito/tqtc-coin-ci-clone/src/modules_custom.py", line 813, in _parse_yaml
          parsed_content = yaml.load(file_content, CLoader_with_includes)
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/__init__.py", line 81, in load
          return loader.get_single_data()
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 51, in get_single_data
          return self.construct_document(node)
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 60, in construct_document
          for dummy in generator:
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 408, in construct_yaml_seq
          data.extend(self.construct_sequence(node))
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 129, in construct_sequence
          return [self.construct_object(child, deep=deep)
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 129, in <listcomp>
          return [self.construct_object(child, deep=deep)
        File "/home/alcroito/tqtc-coin-ci-clone/.venv/lib/python3.10/site-packages/yaml/constructor.py", line 100, in construct_object
          data = constructor(self, node)
        File "/home/alcroito/tqtc-coin-ci-clone/src/modules_custom.py", line 361, in include
          assert repo, f"Could not include project: '{project}', are you sure that it is a dependency of '{self._repository_state.project}'?'"
      AssertionError: Could not include project: 'qt/qtbase', are you sure that it is a dependency of 'qt/qtsvg'?'
      webserver:api.go:923: Error getting build instructions: EOF
      

      Attachments

        Activity

          People

            tosaario Toni Saario
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: