1
0
Fork 0
Commit graph

502 commits

Author SHA1 Message Date
Christian Kühnel
54fa9b1556 added more queries 2021-12-14 11:40:34 +01:00
Christian Kühnel
4ae48e963d added buildbot daily success rates 2021-12-14 11:40:34 +01:00
Christian Kühnel
c2526bc84c moved queries to subfolder 2021-12-14 11:40:34 +01:00
Christian Kühnel
0beb4a43ff added sql statemet for bulidbot view
This statement adds a VIEW "buildbot_overview" containing all relevant
 information for a build. I plan to extend this file with additional
 views when needed.
2021-12-14 11:40:34 +01:00
dependabot[bot]
96653261f3 Bump lxml from 4.6.3 to 4.6.5 in /scripts/metrics
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 11:40:06 +01:00
Mikhail Goncharov
4df2c2116c enable flang on windows 2021-11-24 15:36:54 +01:00
Danila Malyutin
c608b6cb91 Don't attempt to build parallel-libs project as it was removed from LLVM
db0486c46f
2021-10-23 08:48:11 +02:00
Mikhail Goncharov
bd2fd477b4 cleanup deps 2021-10-04 19:19:38 +02:00
Mikhail Goncharov
77cbb15b64 fix excessive environment copying 2021-10-04 16:58:52 +02:00
Mikhail Goncharov
b69eb6f364 don't check clang-tidy
it seems quite unreliable
2021-10-04 16:44:40 +02:00
Mikhail Goncharov
fea73f5174 fix environment assignment and update check- definitions 2021-10-04 16:36:02 +02:00
Mikhail Goncharov
7907aeb6a0 fix usage of get_all_enabled_projects 2021-10-04 16:15:16 +02:00
Mikhail Goncharov
df318ccf4f fix project resolutions
and some of the typing issues found by mypy
2021-10-04 16:07:06 +02:00
Mikhail Goncharov
3b7d720763 add post checkout to run git gc 2021-09-30 12:46:36 +02:00
Mikhail Goncharov
fc8bf86cbb disable libcxx on windows 2021-09-29 17:06:15 +02:00
Mehdi Amini
30be93ac21 Fix fallback more in choose_projects
When a path can't be mapped, we fallback to a "all" project.
This was broken by the recent changes to be more selective on the
testing.
2021-09-29 15:58:56 +02:00
Mehdi Amini
4ec28b0bf7 Mark libc as unsupported on Windows 2021-09-29 15:58:56 +02:00
Mikhail Goncharov
53a2c6835b remove libc for win
there is no such target for clang "check-libc"
2021-09-29 14:43:48 +02:00
Mikhail Goncharov
6e2f418a2a remove libcxxabi from win builds 2021-09-29 13:41:42 +02:00
Mikhail Goncharov
1cc122d5f9 disable check-libc and check-cxxabi 2021-09-29 11:15:54 +02:00
Mikhail Goncharov
25f12dacbd disable libunwind on windows 2021-09-21 14:30:29 +02:00
Mehdi Amini
6e624c30f9 Change the premerge checks to only check the affected projects
The current setup is configuring the "affected projects" as well
as their dependencies, and run `ninja all` followed by
`ninja check-all`.

This is quite a pessimization for leaf project which don't need to
build and run the tests for their dependencies.
For example a patch affecting only MLIR shouldn't need to build
and run LLVM and clang tests.
This patch changes this by running checks only for the affected
project. For example a patch touching `mlir` is affecting `mlir`
and `flang`. However `flang` depends on `clang`. So the list of
projects to configure is `mlir;flang;clang;llvm;`, but we want
to test only mlir and flang ; we'll run only `ninja check-mlir
check-flang`.

In practice in this example running `ninja all` builds 5658 targets
and `ninja check-all` after that adds 716 more targets. On the other
hands `ninja check-flang check-mlir` results in 3997 targets total.

Concretely the contract with premerge_checks.py is changed so that
the expected argument for the --projects flag is only the list of
affected project, dependencies are automatically added.
2021-09-21 14:28:38 +02:00
dependabot[bot]
eb5f0871c9 Bump urllib3 from 1.26.4 to 1.26.5 in /scripts/metrics
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 13:13:48 +02:00
Mehdi Amini
4cb0b28fb1 Remove llgo from the list of projects
It has been deleted from the LLVM repo a while ago:
372bfc65de
2021-09-21 13:13:07 +02:00
Mehdi Amini
65ab98ea2f Fix llvm-dependencies.yaml: the debuginfo-tests has been renamed into cross-project-tests 2021-09-17 15:51:13 +02:00
Mikhail Goncharov
3329564f50 Run bazel build on mainline 2021-09-03 15:54:53 +02:00
Mikhail Goncharov
307a6e71ee Only override 'head' alias
For branch runs buildkite assigns a correct commit hash.
For #344.
2021-08-30 18:26:46 +02:00
Kostya Serebryany
587255bfb4 Update clang-tidy.ignore
Extend the wildcard to match more .inc files in sanitizer_common.
2021-08-23 14:11:36 +02:00
Anders Waldenborg
1d9dbf5568 make clang_tidy_report handle diffs text files with invalid utf-8
"git diff" handles text files encoded that is not valid UTF-8 (e.g
using ISO-8859-1) as text files and produces a diff of those (rather
saying "Binary files a/x and b/x differ").

This means that the diff output may contain such characters. Files
that did would cause clang_tidy_report.py do hit an UnicodeDecodeError
when reading the diff, including if it was on removed lines and
regardless if it was in the ignore file.

By specifying errors mode "replace" for decode() method the bytes
that are not a valid utf-8 encoding are replaced with the unicode
replacement question mark (U+FFFD). When parsing the diff
clang-tidy-diff is only looking at filenames and line numbers of the
diff, so this shouldn't be a problem if it doesn't get the exact same
byte sequence inside the actual change.
2021-08-17 14:18:39 +02:00
Anders Waldenborg
d41a6769fc fix "clang-format/tidy" mixup in doc comment [NFC] 2021-08-17 14:18:39 +02:00
Mikhail Goncharov
49be688a27 script to sync fork llvm-premerge-tests/llvm-project
- uniformly append env variables

- resolve current HEAD and pass it as BUILDKITE_COMMIT to script
generators. Add it as ph_commit_sha.
2021-08-11 16:25:29 +02:00
Geoffrey Martin-Noble
8bc6bb7d5d Switch Bazel premerge checks to use llvm-bazel-premerge queue
I created a new queue for the pre-merge checks so that they won't compete for resources
with the post-merge build already running. Obviously that creates some inefficiency, but is
a simple way to make sure neither build gets starved (in particular, we know that the
current setup of 4 agents running on a single 32-core VM is enough to handle the commit
traffic on the main branch whereas pre-merge testing volume is likely to be more
unpredictable.
2021-07-29 17:57:11 +02:00
Geoffrey Martin-Noble
c47e555d0f Correctly skip project classification for utils/
`project` is a list here, not a string.
2021-07-29 10:42:12 +02:00
Mikhail Goncharov
0522d2b402 Revert "Disable openmp tests"
This reverts commit 6d1a03c400.

Offending https://reviews.llvm.org/D105719 was reverted upstream.
2021-07-28 17:28:28 +02:00
Mikhail Goncharov
6c2410440e Run bazel builds in premerge
if user is a member of "bazel_build" https://reviews.llvm.org/project/view/107/
or modified /utils/bazel/*

For #328
2021-07-28 16:01:44 +02:00
Nikita Popov
6d1a03c400 Disable openmp tests
libarcher tests (part of openmp) have been broken for the past few weeks, and nobody seems to care. As such, disable the openmp project. I hope this is the right place to do so.
2021-07-26 09:55:29 +02:00
Mikhail Goncharov
c1b5c95071 Ignore changes in 'utils'
Blaze build check should be done via separate pipeline

For #325
2021-07-23 09:35:22 +02:00
Mikhail Goncharov
1b116862e6 Fix modified projects resolution when there are unmapped changes
for #325
2021-07-23 09:30:53 +02:00
Thomas Lively
75ca275b10 Ignore clang/lib/Headers/wasm_simd128.h
See https://reviews.llvm.org/D106500 for an example of the spurious positives I would like to ignore.
2021-07-22 16:23:11 +02:00
Mikhail Goncharov
4ec41ed8a8 enable flang 2021-06-30 15:44:56 +02:00
Mikhail Goncharov
ff4e998ef4 update buildkite monitoring 2021-06-28 10:16:36 +02:00
Mikhail Goncharov
19e290d0cb store builds in runnings state and check them later
That removes a wrong assumption that everything interesting is
located within first few pages. Should also reduce API load a bit (as we
will not load additional 5+ pages just in case.
2021-06-24 17:09:42 +02:00
Mikhail Goncharov
d11188e407 use same db for all tables 2021-06-18 12:21:41 +02:00
Mikhail Goncharov
8e156990fc dont pass 'testing' parameter from startup 2021-06-01 17:37:20 +02:00
Mikhail Goncharov
530c8bd77c debugging container start 2021-06-01 17:32:09 +02:00
Mikhail Goncharov
8960ff7dc9 Pre-checkout for windows
Kill all running processes in BUILDKITE_BUILD_PATH and force unlock git
folder.
2021-06-01 15:26:23 +02:00
Mikhail Goncharov
a44473098c cron jobs for buildbot and phab monitoring
+ fix phabricator / buildbot uptime monitoring

+ data is stored in separate databases
2021-05-20 21:44:19 +02:00
Christian Kühnel
46b7b8d8b7 fixed handling of empty responses 2021-05-20 17:35:19 +02:00
Christian Kühnel
915e8076d6 storing builder information 2021-05-20 17:35:19 +02:00
Christian Kühnel
3a8be70f79 speedup of build import 2021-05-20 17:35:19 +02:00