regro / cf-scripts

Flagship repo for cf-regro-autotick-bot
Other
53 stars 75 forks source link

oneDNN didn't receive an update #2245

Open igorsafo opened 8 months ago

igorsafo commented 8 months ago

oneDNN recently released a new version v3.4 and cf-graph-countyfair updated the latest version, but the feedstock didn't get any PRs.

beckermr commented 8 months ago

Thanks for the report. The bot has been having some trouble running lately so it may have made a mistake.

igorsafo commented 8 months ago

@beckermr The latest release (3.4.1) also didn't receive an update, but I see that cf-graph-countyfair is updated to the latest version. Is there a dashboard or something where I can find the bot status? I need to understand whether I need to create a PR manually or the bot issue will be fixed and the PR will appear as a result.

beckermr commented 8 months ago

The dashboard/status page is here: https://conda-forge.org/status/.

beckermr commented 8 months ago

If you look down the version status section, open up the errors, and find the oneDNN entry, you will see this:

7.00 attempts - The recipe did not change in the version migration, a URL did not hash, or there is jinja2 syntax the bot cannot handle!

Please check the URLs in your recipe with version '3.4.1' to make sure they exist!

We also found the following errors:

 - We found a problem parsing the recipe for version '3.4.1': 

ParserError('while parsing a block mapping',   in "<unicode string>", line 41, column 7:
          home: https://github.com/oneapi- ... 
          ^ (line: 41), "expected <block end>, but found '<scalar>'",   in "<unicode string>", line 58, column 11:
              In this package oneDNN is built  ... 
              ^ (line: 58))

traceback:
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/update_recipe/version.py", line 409, in update_version
    cmeta = CondaMetaYAML(raw_meta_yaml)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/recipe_parser/_parser.py", line 514, in __init__
    self.meta = self._parser.load("".join(lines))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/main.py", line 451, in load
    return constructor.get_single_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 114, in get_single_data
    node = self.composer.get_single_node()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 72, in get_single_node
    document = self.compose_document()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 94, in compose_document
    node = self.compose_node(None, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_mapping_node(anchor)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 128, in compose_node
    node = self.compose_sequence_node(anchor)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 173, in compose_sequence_node
    node.value.append(self.compose_node(node, index))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_mapping_node(anchor)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 211, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_mapping_node(anchor)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/composer.py", line 204, in compose_mapping_node
    while not self.parser.check_event(MappingEndEvent):
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 141, in check_event
    self.current_event = self.state()
                         ^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/parser.py", line 614, in parse_block_mapping_key
    raise ParserError(

I think the jinja2 in this yaml block needs to be indented:

https://github.com/conda-forge/onednn-feedstock/blob/8df7765c5d0b180e3e638a2898076e1aa248ed26/recipe/meta.yaml#L47-L70

igorsafo commented 8 months ago

The dashboard/status page is here: https://conda-forge.org/status/.

Wow, this is a great dashboard! Thanks, I will take it from here.

densamoilov commented 4 months ago

Hi @beckermr, it seems that there are still some problems with migrating to the new versions. The error message says the following:

"Could not find all output sections in meta.yaml! Found 4 sections for outputs names = {'onednn', 'onednn-cpu-omp', 'onednn-dpcpp', 'onednn-cpu-threadpool', 'onednn-cpu-tbb'}."

I'm not sure what output section is missing and how to approach the issue. Can you please give me some pointers?

densamoilov commented 4 months ago

@beckermr, friendly ping.