Skip to content

Broken builds marked passing within seconds #2486

@mbland

Description

@mbland

I just noticed the build for bazel-contrib/rules_scala#1817 just "passed" within 6s:

2026-03-03 21:10:56 INFO   Updating BUILDKITE_COMMIT to "c9301206595f2b1f2a74134103643bd0c1809574"
Traceback (most recent call last):
  File "bazelci.py", line 4756, in <module>
    sys.exit(main())
  File "bazelci.py", line 4673, in main
    configs = fetch_configs(args.http_config, args.file_config)
  File "bazelci.py", line 1040, in fetch_configs
    return load_config(http_url, file_config, bazel_version=bazel_version)
  File "bazelci.py", line 1107, in load_config
    expand_task_config(config)
  File "bazelci.py", line 1060, in expand_task_config
    attributes = get_matrix_attributes(config["tasks"][task])
  File "bazelci.py", line 938, in get_matrix_attributes
    res = match_matrix_attr_pattern(subvalue)
  File "bazelci.py", line 921, in match_matrix_attr_pattern
    return re.match(r"^\${{\s*(\w+)\s*}}$", s)
  File "/usr/lib/python3.6/re.py", line 172, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object

This behavior apparently began this past weekend:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions