summaryrefslogtreecommitdiff
path: root/jenkins
diff options
context:
space:
mode:
authorTCWG BuildSlave <tcwg-buildslave@linaro.org>2022-10-09 01:55:49 +0000
committerTCWG BuildSlave <tcwg-buildslave@linaro.org>2022-10-09 01:55:49 +0000
commit25d1c9dc87e47268ee16f88a79a7429c80c8db24 (patch)
tree5a6d3a87dba4ff593fd230eafb0aec1a2bc0d981 /jenkins
parent2ee7d3a6fc72ee7f8faef9c3abc132f5d048c233 (diff)
21: onsuccess: #679: 21399: Success after linux: 13022 commits
BUILD_URL: https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/679/ Success after linux: 13022 commits: Results changed to -10 # build_abe binutils: -9 # build_kernel_llvm: -5 # build_abe qemu: -2 # linux_n_obj: 21399 from -10 # build_abe binutils: -9 # build_kernel_llvm: -5 # build_abe qemu: -2 # linux_n_obj: 21253 # First few build errors in logs: # 00:21:45 fs/ntfs3/namei.c:445:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] # 00:21:46 fs/ntfs3/namei.c:434:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] # 00:21:46 make[2]: *** [scripts/Makefile.build:249: fs/ntfs3/namei.o] Error 1 # 00:22:07 make[1]: *** [scripts/Makefile.build:465: fs/ntfs3] Error 2 # 00:47:48 make: *** [Makefile:1852: fs] Error 2
Diffstat (limited to 'jenkins')
-rwxr-xr-xjenkins/dashboard-push.sh5
-rw-r--r--jenkins/jira-status.draft4
-rw-r--r--jenkins/mail-body.draft341
-rw-r--r--jenkins/mail-recipients.draft1
-rw-r--r--jenkins/mail-subject.draft1
-rwxr-xr-xjenkins/notify.sh3
6 files changed, 5 insertions, 350 deletions
diff --git a/jenkins/dashboard-push.sh b/jenkins/dashboard-push.sh
index b280925..ecfabe4 100755
--- a/jenkins/dashboard-push.sh
+++ b/jenkins/dashboard-push.sh
@@ -5,3 +5,8 @@ if [ -e $(dirname $0)/../dashboard/squad/dashboard-push-squad.sh ]; then
wait $! || true
fi
+if [ -e $(dirname $0)/../dashboard/squad-vs-first/dashboard-push-squad.sh ]; then
+ $(dirname $0)/../dashboard/squad-vs-first/dashboard-push-squad.sh &
+ wait $! || true
+fi
+
diff --git a/jenkins/jira-status.draft b/jenkins/jira-status.draft
deleted file mode 100644
index 4edfb8d..0000000
--- a/jenkins/jira-status.draft
+++ /dev/null
@@ -1,4 +0,0 @@
-[LLVM-647]
-#INTERESTING_COMMIT_STATUS#
-
-Details: https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/678/artifact/artifacts/jenkins/mail-body.txt/*view*/
diff --git a/jenkins/mail-body.draft b/jenkins/mail-body.draft
deleted file mode 100644
index c851ad8..0000000
--- a/jenkins/mail-body.draft
+++ /dev/null
@@ -1,341 +0,0 @@
-Failure after v6.0-rc7-4-ga3a956c78efa: fs/ntfs3: Add option "nocase":
-
-Results changed to
--10
-# build_abe binutils:
--9
-# build_kernel_llvm:
--5
-# build_abe qemu:
--2
-# linux_n_obj:
-21253
-# First few build errors in logs:
-# 00:21:45 fs/ntfs3/namei.c:445:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
-# 00:21:46 fs/ntfs3/namei.c:434:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
-# 00:21:46 make[2]: *** [scripts/Makefile.build:249: fs/ntfs3/namei.o] Error 1
-# 00:22:07 make[1]: *** [scripts/Makefile.build:465: fs/ntfs3] Error 2
-# 00:47:48 make: *** [Makefile:1852: fs] Error 2
-
-from
--10
-# build_abe binutils:
--9
-# build_kernel_llvm:
--5
-# build_abe qemu:
--2
-# linux_n_obj:
-21329
-# linux build successful:
-all
-
-THIS IS THE END OF INTERESTING STUFF. BELOW ARE LINKS TO BUILDS, REPRODUCTION INSTRUCTIONS, AND THE RAW COMMIT.
-
-For latest status see comments in https://linaro.atlassian.net/browse/LLVM-647 .
-#INTERESTING_COMMIT_STATUS#
-
-Bad build: https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/678/artifact/artifacts
-Good build: https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/677/artifact/artifacts
-
-Reproduce current build:
-<cut>
-mkdir -p investigate-linux-a3a956c78efaa202b1d75190136671cf6e87bfbe
-cd investigate-linux-a3a956c78efaa202b1d75190136671cf6e87bfbe
-
-# Fetch scripts
-git clone https://git.linaro.org/toolchain/jenkins-scripts
-
-# Fetch manifests for bad and good builds
-mkdir -p bad/artifacts good/artifacts
-curl -o bad/artifacts/manifest.sh https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/678/artifact/artifacts/manifest.sh --fail
-curl -o good/artifacts/manifest.sh https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/677/artifact/artifacts/manifest.sh --fail
-
-# Reproduce bad build
-(cd bad; ../jenkins-scripts/tcwg_kernel-build.sh ^^ true %%rr[top_artifacts] artifacts)
-# Reproduce good build
-(cd good; ../jenkins-scripts/tcwg_kernel-build.sh ^^ true %%rr[top_artifacts] artifacts)
-</cut>
-
-Full commit (up to 1000 lines):
-<cut>
-commit a3a956c78efaa202b1d75190136671cf6e87bfbe
-Author: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
-Date: Fri Sep 23 12:42:18 2022 +0300
-
- fs/ntfs3: Add option "nocase"
-
- This commit adds mount option and additional functions.
-
- Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
----
- fs/ntfs3/index.c | 2 +-
- fs/ntfs3/namei.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++
- fs/ntfs3/ntfs_fs.h | 4 ++
- fs/ntfs3/super.c | 6 +++
- fs/ntfs3/upcase.c | 12 +++++
- 5 files changed, 162 insertions(+), 1 deletion(-)
-
-diff --git a/fs/ntfs3/index.c b/fs/ntfs3/index.c
-index 440328147e7e..613036f9c6e6 100644
---- a/fs/ntfs3/index.c
-+++ b/fs/ntfs3/index.c
-@@ -47,7 +47,7 @@ static int cmp_fnames(const void *key1, size_t l1, const void *key2, size_t l2,
- if (l2 < fsize2)
- return -1;
-
-- both_case = f2->type != FILE_NAME_DOS /*&& !sbi->options.nocase*/;
-+ both_case = f2->type != FILE_NAME_DOS && !sbi->options->nocase;
- if (!l1) {
- const struct le_str *s2 = (struct le_str *)&f2->name_len;
-
-diff --git a/fs/ntfs3/namei.c b/fs/ntfs3/namei.c
-index bc22cc321a74..315763eb05ff 100644
---- a/fs/ntfs3/namei.c
-+++ b/fs/ntfs3/namei.c
-@@ -7,6 +7,7 @@
-
- #include <linux/fs.h>
- #include <linux/nls.h>
-+#include <linux/ctype.h>
-
- #include "debug.h"
- #include "ntfs.h"
-@@ -355,6 +356,138 @@ struct dentry *ntfs3_get_parent(struct dentry *child)
- return ERR_PTR(-ENOENT);
- }
-
-+/*
-+ * dentry_operations::d_hash
-+ */
-+static int ntfs_d_hash(const struct dentry *dentry, struct qstr *name)
-+{
-+ struct ntfs_sb_info *sbi;
-+ const char *n = name->name;
-+ unsigned int len = name->len;
-+ unsigned long hash;
-+ struct cpu_str *uni;
-+ unsigned int c;
-+ int err;
-+
-+ /* First try fast implementation. */
-+ hash = init_name_hash(dentry);
-+
-+ for (;;) {
-+ if (!len--) {
-+ name->hash = end_name_hash(hash);
-+ return 0;
-+ }
-+
-+ c = *n++;
-+ if (c >= 0x80)
-+ break;
-+
-+ hash = partial_name_hash(toupper(c), hash);
-+ }
-+
-+ /*
-+ * Try slow way with current upcase table
-+ */
-+ uni = __getname();
-+ if (!uni)
-+ return -ENOMEM;
-+
-+ sbi = dentry->d_sb->s_fs_info;
-+
-+ err = ntfs_nls_to_utf16(sbi, name->name, name->len, uni, NTFS_NAME_LEN,
-+ UTF16_HOST_ENDIAN);
-+ if (err < 0)
-+ goto out;
-+
-+ if (!err) {
-+ err = -EINVAL;
-+ goto out;
-+ }
-+
-+ hash = ntfs_names_hash(uni->name, uni->len, sbi->upcase,
-+ init_name_hash(dentry));
-+ name->hash = end_name_hash(hash);
-+ err = 0;
-+
-+out:
-+ __putname(uni);
-+ return err;
-+}
-+
-+/*
-+ * dentry_operations::d_compare
-+ */
-+static int ntfs_d_compare(const struct dentry *dentry, unsigned int len1,
-+ const char *str, const struct qstr *name)
-+{
-+ struct ntfs_sb_info *sbi;
-+ int ret;
-+ const char *n1 = str;
-+ const char *n2 = name->name;
-+ unsigned int len2 = name->len;
-+ unsigned int lm = min(len1, len2);
-+ unsigned char c1, c2;
-+ struct cpu_str *uni1, *uni2;
-+
-+ /* First try fast implementation. */
-+ for (;;) {
-+ if (!lm--) {
-+ ret = len1 == len2 ? 0 : 1;
-+ goto out;
-+ }
-+
-+ if ((c1 = *n1++) == (c2 = *n2++))
-+ continue;
-+
-+ if (c1 >= 0x80 || c2 >= 0x80)
-+ break;
-+
-+ if (toupper(c1) != toupper(c2)) {
-+ ret = 1;
-+ goto out;
-+ }
-+ }
-+
-+ /*
-+ * Try slow way with current upcase table
-+ */
-+ sbi = dentry->d_sb->s_fs_info;
-+ uni1 = __getname();
-+ if (!uni1)
-+ return -ENOMEM;
-+
-+ ret = ntfs_nls_to_utf16(sbi, str, len1, uni1, NTFS_NAME_LEN,
-+ UTF16_HOST_ENDIAN);
-+ if (ret < 0)
-+ goto out;
-+
-+ if (!ret) {
-+ ret = -EINVAL;
-+ goto out;
-+ }
-+
-+ uni2 = Add2Ptr(uni1, 2048);
-+
-+ ret = ntfs_nls_to_utf16(sbi, name->name, name->len, uni2, NTFS_NAME_LEN,
-+ UTF16_HOST_ENDIAN);
-+ if (ret < 0)
-+ goto out;
-+
-+ if (!ret) {
-+ ret = -EINVAL;
-+ goto out;
-+ }
-+
-+ ret = !ntfs_cmp_names(uni1->name, uni1->len, uni2->name, uni2->len,
-+ sbi->upcase, false)
-+ ? 0
-+ : 1;
-+
-+out:
-+ __putname(uni1);
-+ return ret;
-+}
-+
- // clang-format off
- const struct inode_operations ntfs_dir_inode_operations = {
- .lookup = ntfs_lookup,
-@@ -382,4 +515,10 @@ const struct inode_operations ntfs_special_inode_operations = {
- .get_acl = ntfs_get_acl,
- .set_acl = ntfs_set_acl,
- };
-+
-+const struct dentry_operations ntfs_dentry_ops = {
-+ .d_hash = ntfs_d_hash,
-+ .d_compare = ntfs_d_compare,
-+};
-+
- // clang-format on
-diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h
-index cd680ada50ab..6c1c7ef3b2d6 100644
---- a/fs/ntfs3/ntfs_fs.h
-+++ b/fs/ntfs3/ntfs_fs.h
-@@ -101,6 +101,7 @@ struct ntfs_mount_options {
- unsigned force : 1; /* RW mount dirty volume. */
- unsigned noacsrules : 1; /* Exclude acs rules. */
- unsigned prealloc : 1; /* Preallocate space when file is growing. */
-+ unsigned nocase : 1; /* case insensitive. */
- };
-
- /* Special value to unpack and deallocate. */
-@@ -721,6 +722,7 @@ struct dentry *ntfs3_get_parent(struct dentry *child);
-
- extern const struct inode_operations ntfs_dir_inode_operations;
- extern const struct inode_operations ntfs_special_inode_operations;
-+extern const struct dentry_operations ntfs_dentry_ops;
-
- /* Globals from record.c */
- int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
-@@ -840,6 +842,8 @@ int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2,
- const u16 *upcase, bool bothcase);
- int ntfs_cmp_names_cpu(const struct cpu_str *uni1, const struct le_str *uni2,
- const u16 *upcase, bool bothcase);
-+unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
-+ unsigned long hash);
-
- /* globals from xattr.c */
- #ifdef CONFIG_NTFS3_FS_POSIX_ACL
-diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
-index 87d9eabf9847..d72a27abf1c8 100644
---- a/fs/ntfs3/super.c
-+++ b/fs/ntfs3/super.c
-@@ -253,6 +253,7 @@ enum Opt {
- Opt_iocharset,
- Opt_prealloc,
- Opt_noacsrules,
-+ Opt_nocase,
- Opt_err,
- };
-
-@@ -272,6 +273,7 @@ static const struct fs_parameter_spec ntfs_fs_parameters[] = {
- fsparam_flag_no("showmeta", Opt_showmeta),
- fsparam_flag_no("prealloc", Opt_prealloc),
- fsparam_flag_no("acsrules", Opt_noacsrules),
-+ fsparam_flag_no("nocase", Opt_nocase),
- fsparam_string("iocharset", Opt_iocharset),
- {}
- };
-@@ -383,6 +385,9 @@ static int ntfs_fs_parse_param(struct fs_context *fc,
- case Opt_noacsrules:
- opts->noacsrules = result.negated ? 1 : 0;
- break;
-+ case Opt_nocase:
-+ opts->nocase = result.negated ? 1 : 0;
-+ break;
- default:
- /* Should not be here unless we forget add case. */
- return -EINVAL;
-@@ -936,6 +941,7 @@ static int ntfs_fill_super(struct super_block *sb, struct fs_context *fc)
- sb->s_export_op = &ntfs_export_ops;
- sb->s_time_gran = NTFS_TIME_GRAN; // 100 nsec
- sb->s_xattr = ntfs_xattr_handlers;
-+ sb->s_d_op = sbi->options->nocase ? &ntfs_dentry_ops : NULL;
-
- sbi->options->nls = ntfs_load_nls(sbi->options->nls_name);
- if (IS_ERR(sbi->options->nls)) {
-diff --git a/fs/ntfs3/upcase.c b/fs/ntfs3/upcase.c
-index b5e8256fd710..7681eefacb4b 100644
---- a/fs/ntfs3/upcase.c
-+++ b/fs/ntfs3/upcase.c
-@@ -102,3 +102,15 @@ int ntfs_cmp_names_cpu(const struct cpu_str *uni1, const struct le_str *uni2,
- diff2 = l1 - l2;
- return diff2 ? diff2 : diff1;
- }
-+
-+/* Helper function for ntfs_d_hash. */
-+unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
-+ unsigned long hash)
-+{
-+ while (len--) {
-+ unsigned int c = upcase_unicode_char(upcase, *name++);
-+ hash = partial_name_hash(c, hash);
-+ }
-+
-+ return hash;
-+}
-</cut>
diff --git a/jenkins/mail-recipients.draft b/jenkins/mail-recipients.draft
deleted file mode 100644
index 0cdff7f..0000000
--- a/jenkins/mail-recipients.draft
+++ /dev/null
@@ -1 +0,0 @@
-Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,cc:llvm@lists.linux.dev,cc:arnd@linaro.org
diff --git a/jenkins/mail-subject.draft b/jenkins/mail-subject.draft
deleted file mode 100644
index b29143a..0000000
--- a/jenkins/mail-subject.draft
+++ /dev/null
@@ -1 +0,0 @@
-[TCWG CI] Failure after v6.0-rc7-4-ga3a956c78efa: fs/ntfs3: Add option "nocase"
diff --git a/jenkins/notify.sh b/jenkins/notify.sh
deleted file mode 100755
index adc1e28..0000000
--- a/jenkins/notify.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-/home/tcwg-buildslave/workspace/tcwg_kernel_0/jenkins-scripts/round-robin-notify.sh --artifacts "artifacts/jenkins" --BUILD_URL "https://ci.linaro.org/job/tcwg_kernel-llvm-build-llvm-master-aarch64-next-allyesconfig/678/" --ci_project "tcwg_kernel" --ci_config "llvm-master-aarch64-next-allyesconfig" --current_project "linux" --first_bad "a3a956c78efaa202b1d75190136671cf6e87bfbe" --last_good "ae6b47b5653e986e1dcaeb1ca7d13a04aeefdcfe" --summary "artifacts/mail/jira-body.txt"