gluster / centosci Goto Github PK
View Code? Open in Web Editor NEWCentos CI jobs for Gluster project
License: MIT License
Centos CI jobs for Gluster project
License: MIT License
While trying to run the nightly-builds.sh on centos-8.2 got the below error :
# jobs/scripts/nightly-builds/nightly-builds.sh
Last metadata expiration check: 0:01:19 ago on Fri 09 Oct 2020 05:31:32 PM IST.
Package git-2.18.4-2.el8_2.x86_64 is already installed.
Package mock-2.6-1.el8.noarch is already installed.
Package createrepo_c-0.15.1-2.el8.x86_64 is already installed.
.
.
.
CentOS-8 - Gluster 8 14 kB/s | 22 kB 00:01
No match for argument: python-devel
No match for argument: userspace-rcu-devel
Error: Unable to find a match: python-devel userspace-rcu-devel
All failures were at same point. See below for one such occurrence from a run:
+ git fetch --unshallow origin
+ git fetch origin pull/165/head:pr_165
From https://github.com/gluster/samba-integration
* [new ref] refs/pull/165/head -> pr_165
+ git checkout pr_165
Switched to branch 'pr_165'
+ git rebase origin/samba-build
First, rewinding head to replay your work on top of it...
Applying: Use wildcard in master spec file
+ '[' 0 -ne 0 ']'
+ proceed=0
+ read -r -d '' -a FILES_CHANGED
++ git diff --name-only origin/samba-build
Build step 'Execute shell' marked build as failure
In addition to el8, it would be great to have el9 builds for GlusterFS. From a consumer perspective we build and test Samba with GlusterFS integration using nightly builds repo for devel branch. These Samba builds are used in samba-container project eventually getting consumed by samba-operator. Moving forward our plan is to create el9 builds for which corresponding GlusterFS builds will be a prerequisite.
On triggering "/run tests", Centos-ci is failing with no inventory is available. The issues are seen from today morning. Till yesterday the runs are getting successful.
Last successful build was: https://ci.centos.org/job/gluster_glusto-patch-check/2224/
after that seeing continuous failures.
Ref failure: https://ci.centos.org/job/gluster_glusto-patch-check/2228/console
log snippet:
12:04:27 > git rev-list --no-walk 830967b066c8f37cccdde3cdf45dec815641e542 # timeout=10
12:04:27 [gluster_glusto-patch-check] $ /bin/sh -xe /tmp/jenkins4256445127212979055.sh
12:04:27 + set +x
12:04:38 The requested operation failed as no inventory is available.
12:04:38 Build step 'Execute shell' marked build as failure
12:04:38 Archiving artifacts
12:04:38 Archiving artifacts
12:04:38 Performing Post build task...
12:04:38 Match found for :Building remotely : True
12:04:38 Logical operation result is TRUE
12:04:38 Running script : # cico-node-done-from-ansible.sh
12:04:38 # A script that releases nodes from a SSID file written by
12:04:38 SSID_FILE=${SSID_FILE:-$WORKSPACE/cico-ssid}
12:04:38
12:04:38 for ssid in $(cat ${SSID_FILE})
12:04:38 do
12:04:38 cico -q node done $ssid
12:04:38 done
12:04:38
12:04:38 [gluster_glusto-patch-check] $ /bin/sh -xe /tmp/jenkins5753623299420350755.sh
12:04:38 + SSID_FILE=/home/gluster/workspace/gluster_glusto-patch-check/cico-ssid
12:04:38 ++ cat /home/gluster/workspace/gluster_glusto-patch-check/cico-ssid
12:04:38 cat: /home/gluster/workspace/gluster_glusto-patch-check/cico-ssid: No such file or directory
12:04:38 POST BUILD TASK : SUCCESS
12:04:38 END OF POST BUILD TASK : 0
12:04:39 Finished: FAILURE
It needs to add the trigger word as well.
gluster rpmbuild fails with the following error :
git rev-parse refs/remotes/origin/devel^{commit} # timeout=10
git rev-parse origin/devel^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
https://ci.centos.org/job/gluster_anteater_gcs/ - Please disable this.
https://github.com/gluster/gcs - GCS project is archieved.
Recent commit which introduced --release option to cico
command resulted in different failures:
Centos-CI is failing for glusto-tests with the below error
16:48:35 [gluster_glusto-patch-check] $ /bin/sh -xe /tmp/jenkins4150740014090108549.sh
16:48:35 + SSID_FILE=/home/gluster/workspace/gluster_glusto-patch-check/cico-ssid
16:48:35 ++ cat /home/gluster/workspace/gluster_glusto-patch-check/cico-ssid
16:48:35 cat: /home/gluster/workspace/gluster_glusto-patch-check/cico-ssid: No such file or directory
POST BUILD TASK : SUCCESS
16:48:35 END OF POST BUILD TASK : 0
16:48:35 Finished: FAILURE
Glusto Patch Check job : https://ci.centos.org/job/gluster_glusto-patch-check/ is currently using glusterfs builds from master branch. Please update the job to use latest devel build.
used this repo file to install gluster-block from the nightly build
http://artifacts.ci.centos.org/gluster/gluster-block-nightly/gluster-block.repo
but facing below issue
failure: repodata/repomd.xml from gluster-block-nightly-master: [Errno 256] No more mirrors to try. http://artifacts.ci.centos.org/gluster/gluster-block-nightly/master/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Nightly build fails with illegal choice error, below is the exact error message :
java.lang.IllegalArgumentException: Illegal choice for parameter GITHUB_BRANCH: release-8
centos ci job for centos8 failing
https://ci.centos.org/job/gluster_build-rpms/13950/console
Glusto-tests jobs fail with the below error:
Traceback (most recent call last):
File \"/usr/bin/pip2\", line 9, in <module>
load_entry_point('pip==21.0', 'console_scripts', 'pip2')()
File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 2566, in load_entry_point
return ep.load()\n File \"/usr/lib/python2.7/site-packages/pkg_resources.py\", line 2260, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File \"/usr/lib/python2.7/site-packages/pip/_internal/cli/main.py\", line 60
sys.stderr.write(f\"ERROR: {exc}\")
^SyntaxError: invalid syntax\n"}
Job link: https://ci.centos.org/job/gluster_glusto-patch-check/2755/consoleFull
Now that the devel branch is the branch where check-in's are done we need to pull the code from "devel" branch instead of "master" branch.
Despite having changed the branch from origin/master
to origin/main
for the nightly-samba-builds job in #143 (and others as well), the jobs still fail like this:
Cloning the remote Git repository
Cloning repository https://github.com/gluster/centosci.git
> git init /home/gluster/workspace/gluster_nightly-samba-rpm-builds # timeout=10
Fetching upstream changes from https://github.com/gluster/centosci.git
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
> git fetch --tags --progress https://github.com/gluster/centosci.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/gluster/centosci.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse origin/master^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Seems like there is some problem with the system still having the master branch located somewhere.
See e.g. https://ci.centos.org/view/Gluster/job/gluster_nightly-samba-rpm-builds/391/console (latest nightly) or https://ci.centos.org/view/Gluster/job/gluster_nightly-samba-rpm-builds/390/console triggered from gluster/samba-integration#137
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.