Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f363e3f1d85e4cd8d919b9222b44c3a8431b7f10+21c70a64d9894c2455aedb4662d61c2d9e09ca22 (85d66a27208cc84e1a3404caf195eb05b4eb4816) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18388068564329472705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3864700658977192805.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-135/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-135/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7345216564902581331.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12624485783974330215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-135/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-135/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1964687825164560849.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5186 in /w/workspace/edgexfoundry_device-gpio_PR-135 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-135 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 Merge succeeded, producing 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a Checking out Revision 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a (PR-135) > git config core.sparsecheckout # timeout=10 > git checkout -f f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a # timeout=10 Commit message: "Merge commit '21c70a64d9894c2455aedb4662d61c2d9e09ca22' into HEAD" > git rev-list --no-walk f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T13:21:37.905Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T13:21:37.940Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T13:21:37.950Z] ========================================================= [2023-03-22T13:21:37.950Z] EdgeX Global Pipelines Version Info [2023-03-22T13:21:37.950Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:21:38.659Z] ------------------- [2023-03-22T13:21:38.659Z] stable info: [2023-03-22T13:21:38.659Z] ------------------- [2023-03-22T13:21:38.659Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T13:21:38.659Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T13:21:38.659Z] Message: update stable to v1.0.245 [2023-03-22T13:21:39.226Z] ------------------- [2023-03-22T13:21:39.226Z] experimental info: [2023-03-22T13:21:39.226Z] ------------------- [2023-03-22T13:21:39.226Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T13:21:39.226Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T13:21:39.226Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T13:21:39.431Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-22T13:21:39.440Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-22T13:21:39.451Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T13:21:39.462Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T13:21:39.473Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T13:21:39.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T13:21:39.495Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T13:21:39.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T13:21:39.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T13:21:39.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T13:21:39.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T13:21:39.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-22T13:21:39.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T13:21:39.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T13:21:39.582Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T13:21:39.591Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T13:21:39.598Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T13:21:39.606Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T13:21:39.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T13:21:39.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T13:21:39.643Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T13:21:39.656Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T13:21:39.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T13:21:39.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T13:21:39.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T13:21:39.719Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T13:21:39.731Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T13:21:39.748Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-135 [Pipeline] echo [2023-03-22T13:21:39.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-135 [Pipeline] echo [2023-03-22T13:21:39.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-135 [Pipeline] echo [2023-03-22T13:21:39.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [Pipeline] echo [2023-03-22T13:21:39.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f1ec12 [Pipeline] echo [2023-03-22T13:21:39.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T13:21:39.851Z] provisioning config files... [2023-03-22T13:21:39.863Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp/config5047233271558853118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:21:40.165Z] ---> docker-login.sh [2023-03-22T13:21:40.165Z] nexus3.edgexfoundry.org:10001 [2023-03-22T13:21:40.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:40.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:40.425Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:40.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:40.425Z] [2023-03-22T13:21:40.425Z] Login Succeeded [2023-03-22T13:21:40.425Z] nexus3.edgexfoundry.org:10002 [2023-03-22T13:21:40.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:40.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:40.425Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:40.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:40.425Z] [2023-03-22T13:21:40.425Z] Login Succeeded [2023-03-22T13:21:40.425Z] nexus3.edgexfoundry.org:10003 [2023-03-22T13:21:40.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:40.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:40.685Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:40.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:40.685Z] [2023-03-22T13:21:40.685Z] Login Succeeded [2023-03-22T13:21:40.685Z] nexus3.edgexfoundry.org:10004 [2023-03-22T13:21:40.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:40.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:40.685Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:40.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:40.685Z] [2023-03-22T13:21:40.685Z] Login Succeeded [2023-03-22T13:21:40.685Z] docker.io [2023-03-22T13:21:40.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:40.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:40.945Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:40.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:40.945Z] [2023-03-22T13:21:40.945Z] Login Succeeded [2023-03-22T13:21:40.945Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T13:21:40.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T13:21:41.315Z] + git rev-list -1 --merges 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a~1..6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [Pipeline] echo [2023-03-22T13:21:41.354Z] -----------> git rev-list -1 --merges 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a~1..6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [2023-03-22T13:21:41.354Z] 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [false] [Pipeline] sh [2023-03-22T13:21:41.641Z] + git log --format=format:%s -1 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [Pipeline] echo [2023-03-22T13:21:41.654Z] ========================================================= [2023-03-22T13:21:41.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T13:21:41.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T13:21:41.980Z] + git log --format=format:%s -1 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a [Pipeline] echo [2023-03-22T13:21:41.991Z] [semverPrep] GIT_COMMIT: 6f1ec1258e2282b3614a3b5c9f7d3a212e26c88a, Commit Message: Merge commit '21c70a64d9894c2455aedb4662d61c2d9e09ca22' into HEAD [Pipeline] echo [2023-03-22T13:21:41.999Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T13:21:42.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T13:21:42.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T13:21:42.342Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T13:21:42.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T13:21:42.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T13:21:42.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T13:21:42.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:21:42.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T13:21:42.693Z] [2023-03-22T13:21:42.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:21:42.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T13:21:42.992Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T13:21:42.992Z] b85a868b505f: Pulling fs layer [2023-03-22T13:21:42.992Z] e2be974225ed: Pulling fs layer [2023-03-22T13:21:42.992Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T13:21:42.992Z] 988bab9f4d93: Pulling fs layer [2023-03-22T13:21:42.992Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T13:21:42.992Z] eaf3925da568: Pulling fs layer [2023-03-22T13:21:42.992Z] bab4dde63d76: Pulling fs layer [2023-03-22T13:21:42.992Z] bde34c3a00c8: Pulling fs layer [2023-03-22T13:21:42.992Z] b352a97aabf1: Pulling fs layer [2023-03-22T13:21:42.992Z] 4872d77fe225: Pulling fs layer [2023-03-22T13:21:42.992Z] 5851b861e8e6: Pulling fs layer [2023-03-22T13:21:42.992Z] b352a97aabf1: Waiting [2023-03-22T13:21:42.992Z] 1469e6f7b9e6: Waiting [2023-03-22T13:21:42.992Z] 5851b861e8e6: Waiting [2023-03-22T13:21:42.992Z] 4872d77fe225: Waiting [2023-03-22T13:21:42.992Z] bde34c3a00c8: Waiting [2023-03-22T13:21:42.992Z] 988bab9f4d93: Waiting [2023-03-22T13:21:42.992Z] eaf3925da568: Waiting [2023-03-22T13:21:42.992Z] bab4dde63d76: Waiting [2023-03-22T13:21:42.992Z] e2be974225ed: Download complete [2023-03-22T13:21:43.255Z] 988bab9f4d93: Download complete [2023-03-22T13:21:43.255Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T13:21:43.255Z] 1469e6f7b9e6: Download complete [2023-03-22T13:21:43.255Z] eaf3925da568: Verifying Checksum [2023-03-22T13:21:43.255Z] eaf3925da568: Download complete [2023-03-22T13:21:43.255Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T13:21:43.255Z] 339a4e72a1f5: Download complete [2023-03-22T13:21:43.255Z] bde34c3a00c8: Verifying Checksum [2023-03-22T13:21:43.255Z] bde34c3a00c8: Download complete [2023-03-22T13:21:43.517Z] b352a97aabf1: Download complete [2023-03-22T13:21:43.517Z] 4872d77fe225: Verifying Checksum [2023-03-22T13:21:43.517Z] 4872d77fe225: Download complete [2023-03-22T13:21:43.517Z] 5851b861e8e6: Verifying Checksum [2023-03-22T13:21:43.517Z] b85a868b505f: Verifying Checksum [2023-03-22T13:21:43.517Z] b85a868b505f: Download complete [2023-03-22T13:21:43.780Z] bab4dde63d76: Verifying Checksum [2023-03-22T13:21:43.780Z] bab4dde63d76: Download complete [2023-03-22T13:21:44.715Z] b85a868b505f: Pull complete [2023-03-22T13:21:44.975Z] e2be974225ed: Pull complete [2023-03-22T13:21:45.541Z] 339a4e72a1f5: Pull complete [2023-03-22T13:21:45.541Z] 988bab9f4d93: Pull complete [2023-03-22T13:21:45.801Z] 1469e6f7b9e6: Pull complete [2023-03-22T13:21:45.801Z] eaf3925da568: Pull complete [2023-03-22T13:21:47.702Z] bab4dde63d76: Pull complete [2023-03-22T13:21:47.702Z] bde34c3a00c8: Pull complete [2023-03-22T13:21:47.961Z] b352a97aabf1: Pull complete [2023-03-22T13:21:47.961Z] 4872d77fe225: Pull complete [2023-03-22T13:21:48.220Z] 5851b861e8e6: Pull complete [2023-03-22T13:21:48.220Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T13:21:48.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T13:21:48.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:21:48.318Z] prd-ubuntu20.04-docker-8c-8g-5186 does not seem to be running inside a container [2023-03-22T13:21:48.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-135 -v /w/workspace/edgexfoundry_device-gpio_PR-135:/w/workspace/edgexfoundry_device-gpio_PR-135:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-135@tmp:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T13:21:51.050Z] $ docker top 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 -eo pid,comm [2023-03-22T13:21:51.114Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-22T13:21:51.114Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T13:21:51.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T13:21:51.156Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T13:21:51.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T13:21:51.268Z] $ docker exec 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 ssh-agent [2023-03-22T13:21:51.384Z] SSH_AUTH_SOCK=/tmp/ssh-S6Akj1uQHMAs/agent.32 [2023-03-22T13:21:51.384Z] SSH_AGENT_PID=38 [2023-03-22T13:21:51.391Z] Running ssh-add (command line suppressed) [2023-03-22T13:21:51.494Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-135@tmp/private_key_9886471890398376103.key (/w/workspace/edgexfoundry_device-gpio_PR-135@tmp/private_key_9886471890398376103.key) [2023-03-22T13:21:51.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T13:21:51.798Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T13:21:51.810Z] $ docker exec --env ******** --env ******** 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 ssh-agent -k [2023-03-22T13:21:51.900Z] unset SSH_AUTH_SOCK; [2023-03-22T13:21:51.900Z] unset SSH_AGENT_PID; [2023-03-22T13:21:51.900Z] echo Agent pid 38 killed; [2023-03-22T13:21:51.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T13:21:51.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T13:21:51.945Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T13:21:52.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T13:21:52.057Z] $ docker exec 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 ssh-agent [2023-03-22T13:21:52.172Z] SSH_AUTH_SOCK=/tmp/ssh-CvCtmAjQcUmy/agent.70 [2023-03-22T13:21:52.172Z] SSH_AGENT_PID=77 [2023-03-22T13:21:52.177Z] Running ssh-add (command line suppressed) [2023-03-22T13:21:52.289Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-135@tmp/private_key_13841991492679080681.key (/w/workspace/edgexfoundry_device-gpio_PR-135@tmp/private_key_13841991492679080681.key) [2023-03-22T13:21:52.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T13:21:52.596Z] + git semver init [2023-03-22T13:21:52.855Z] 2023-03-22 13:21:52,807 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T13:21:52.855Z] 2023-03-22 13:21:52,809 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-135/.semver [2023-03-22T13:21:52.855Z] 2023-03-22 13:21:52,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-135/.semver [2023-03-22T13:21:52.855Z] 2023-03-22 13:21:52,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-135/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-135, universal_newlines=False, shell=None, istream=None) [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,852 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-135/.git/info/exclude [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,854 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-135/.semver/PR-135 with force:False [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,855 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-135/.semver/PR-135 [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,862 [execute] INFO git cat-file --batch-check [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-135/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,866 [execute] INFO git cat-file --batch [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-135/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T13:21:54.237Z] 2023-03-22 13:21:53,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-135/.semver/PR-135 [2023-03-22T13:21:54.237Z] 0.0.0 [Pipeline] } [2023-03-22T13:21:54.243Z] $ docker exec --env ******** --env ******** 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 ssh-agent -k [2023-03-22T13:21:54.332Z] unset SSH_AUTH_SOCK; [2023-03-22T13:21:54.332Z] unset SSH_AGENT_PID; [2023-03-22T13:21:54.332Z] echo Agent pid 77 killed; [2023-03-22T13:21:54.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T13:21:54.650Z] + git semver [Pipeline] } [2023-03-22T13:21:54.920Z] $ docker stop --time=1 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 [2023-03-22T13:21:56.211Z] $ docker rm -f --volumes 82d22efc78415b3c1cd2d7b9e957c28a7295f112313868d7a926f2a5c0974a95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T13:21:56.548Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T13:21:56.758Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T13:21:56.761Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T13:21:56.891Z] provisioning config files... [2023-03-22T13:21:56.900Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp/config2142726790608148291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:21:57.199Z] ---> docker-login.sh [2023-03-22T13:21:57.199Z] nexus3.edgexfoundry.org:10001 [2023-03-22T13:21:57.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:57.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:57.199Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:57.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:57.199Z] [2023-03-22T13:21:57.199Z] Login Succeeded [2023-03-22T13:21:57.199Z] nexus3.edgexfoundry.org:10002 [2023-03-22T13:21:57.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:57.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:57.199Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:57.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:57.199Z] [2023-03-22T13:21:57.199Z] Login Succeeded [2023-03-22T13:21:57.199Z] nexus3.edgexfoundry.org:10003 [2023-03-22T13:21:57.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:57.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:57.464Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:57.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:57.464Z] [2023-03-22T13:21:57.464Z] Login Succeeded [2023-03-22T13:21:57.464Z] nexus3.edgexfoundry.org:10004 [2023-03-22T13:21:57.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:57.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:57.464Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:57.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:57.464Z] [2023-03-22T13:21:57.464Z] Login Succeeded [2023-03-22T13:21:57.464Z] docker.io [2023-03-22T13:21:57.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:21:57.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:21:57.723Z] Configure a credential helper to remove this warning. See [2023-03-22T13:21:57.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:21:57.723Z] [2023-03-22T13:21:57.723Z] Login Succeeded [2023-03-22T13:21:57.723Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T13:21:57.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T13:21:57.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T13:21:57.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T13:21:57.804Z] ========================================================= [2023-03-22T13:21:57.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T13:21:57.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:21:58.104Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T13:21:58.104Z] Sending build context to Docker daemon 16.03MB [2023-03-22T13:21:58.104Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T13:21:58.104Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T13:21:58.104Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T13:21:58.104Z] 63b65145d645: Pulling fs layer [2023-03-22T13:21:58.104Z] a2d21d5440eb: Pulling fs layer [2023-03-22T13:21:58.104Z] 935e6c44a52c: Pulling fs layer [2023-03-22T13:21:58.104Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T13:21:58.104Z] 30dea6a524f1: Pulling fs layer [2023-03-22T13:21:58.104Z] a2aff8979fd8: Pulling fs layer [2023-03-22T13:21:58.104Z] 6808be2612f2: Pulling fs layer [2023-03-22T13:21:58.104Z] f25807f1079a: Pulling fs layer [2023-03-22T13:21:58.104Z] a2aff8979fd8: Waiting [2023-03-22T13:21:58.104Z] 6808be2612f2: Waiting [2023-03-22T13:21:58.104Z] f25807f1079a: Waiting [2023-03-22T13:21:58.104Z] 30dea6a524f1: Waiting [2023-03-22T13:21:58.364Z] a2d21d5440eb: Download complete [2023-03-22T13:21:58.364Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T13:21:58.364Z] 94cc34f8dd06: Download complete [2023-03-22T13:21:58.364Z] 63b65145d645: Verifying Checksum [2023-03-22T13:21:58.364Z] 63b65145d645: Download complete [2023-03-22T13:21:58.364Z] a2aff8979fd8: Verifying Checksum [2023-03-22T13:21:58.364Z] a2aff8979fd8: Download complete [2023-03-22T13:21:58.628Z] 63b65145d645: Pull complete [2023-03-22T13:21:58.628Z] a2d21d5440eb: Pull complete [2023-03-22T13:21:58.890Z] f25807f1079a: Download complete [2023-03-22T13:21:59.151Z] 935e6c44a52c: Verifying Checksum [2023-03-22T13:21:59.151Z] 935e6c44a52c: Download complete [2023-03-22T13:21:59.151Z] 6808be2612f2: Verifying Checksum [2023-03-22T13:21:59.151Z] 6808be2612f2: Download complete [2023-03-22T13:22:02.435Z] 935e6c44a52c: Pull complete [2023-03-22T13:22:02.435Z] 94cc34f8dd06: Pull complete [2023-03-22T13:22:02.435Z] 30dea6a524f1: Pull complete [2023-03-22T13:22:02.435Z] a2aff8979fd8: Pull complete [2023-03-22T13:22:04.964Z] 6808be2612f2: Pull complete [2023-03-22T13:22:05.239Z] f25807f1079a: Pull complete [2023-03-22T13:22:05.239Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T13:22:05.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T13:22:05.239Z] ---> 3b553350e43f [2023-03-22T13:22:05.239Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T13:22:10.510Z] ---> Running in 79801a3d41fc [2023-03-22T13:22:10.510Z] Removing intermediate container 79801a3d41fc [2023-03-22T13:22:10.510Z] ---> 385bfdc96c4c [2023-03-22T13:22:10.510Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T13:22:10.510Z] ---> Running in 56a9011a9d02 [2023-03-22T13:22:10.510Z] Removing intermediate container 56a9011a9d02 [2023-03-22T13:22:10.510Z] ---> 468405908230 [2023-03-22T13:22:10.510Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-22T13:22:10.510Z] ---> Running in 71af1df7b590 [2023-03-22T13:22:10.510Z] Removing intermediate container 71af1df7b590 [2023-03-22T13:22:10.510Z] ---> 2c4593cb536a [2023-03-22T13:22:10.510Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T13:22:10.510Z] ---> Running in f2082ea7d96a [2023-03-22T13:22:10.510Z] Removing intermediate container f2082ea7d96a [2023-03-22T13:22:10.510Z] ---> 613c70e0c0ab [2023-03-22T13:22:10.510Z] Step 7/12 : WORKDIR /device-gpio [2023-03-22T13:22:10.510Z] ---> Running in d762aa7acc83 [2023-03-22T13:22:10.768Z] Removing intermediate container d762aa7acc83 [2023-03-22T13:22:10.768Z] ---> 0b6cca313b35 [2023-03-22T13:22:10.768Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T13:22:10.768Z] ---> Running in 7ad4f03b6b5c [2023-03-22T13:22:11.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T13:22:11.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T13:22:11.286Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T13:22:11.286Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T13:22:11.286Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T13:22:11.286Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T13:22:11.547Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T13:22:11.547Z] OK: 269 MiB in 57 packages [2023-03-22T13:22:11.806Z] Removing intermediate container 7ad4f03b6b5c [2023-03-22T13:22:11.806Z] ---> 0de8801ff264 [2023-03-22T13:22:11.806Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-22T13:22:11.865Z] Still waiting to schedule task [2023-03-22T13:22:11.865Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5187’ is offline [2023-03-22T13:22:12.065Z] ---> e072115a58e0 [2023-03-22T13:22:12.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T13:22:12.065Z] ---> Running in 0879b66b5b6c [2023-03-22T13:22:44.136Z] Removing intermediate container 0879b66b5b6c [2023-03-22T13:22:44.136Z] ---> d574b0a5c456 [2023-03-22T13:22:44.136Z] Step 11/12 : COPY . . [2023-03-22T13:22:44.136Z] ---> 12249a60120e [2023-03-22T13:22:44.136Z] Step 12/12 : RUN ${MAKE} [2023-03-22T13:22:44.136Z] ---> Running in 0317e0e692bb [2023-03-22T13:22:44.136Z] noop [2023-03-22T13:22:44.398Z] Removing intermediate container 0317e0e692bb [2023-03-22T13:22:44.398Z] ---> 118f4f6090c7 [2023-03-22T13:22:44.398Z] Successfully built 118f4f6090c7 [2023-03-22T13:22:44.398Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:22:44.706Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T13:22:44.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:22:44.776Z] prd-ubuntu20.04-docker-8c-8g-5186 does not seem to be running inside a container [2023-03-22T13:22:44.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-135 -v /w/workspace/edgexfoundry_device-gpio_PR-135:/w/workspace/edgexfoundry_device-gpio_PR-135:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-135@tmp:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T13:22:45.138Z] $ docker top bcd4bcdc0bc8e01d3a7b59eb637ec3a758f26063cf58705d494e8f8a4394a9d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T13:22:45.467Z] + go version [2023-03-22T13:22:45.468Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T13:22:45.486Z] $ docker stop --time=1 bcd4bcdc0bc8e01d3a7b59eb637ec3a758f26063cf58705d494e8f8a4394a9d4 [2023-03-22T13:22:46.765Z] $ docker rm -f --volumes bcd4bcdc0bc8e01d3a7b59eb637ec3a758f26063cf58705d494e8f8a4394a9d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:22:47.162Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T13:22:47.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:22:47.223Z] prd-ubuntu20.04-docker-8c-8g-5186 does not seem to be running inside a container [2023-03-22T13:22:47.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-135 -v /w/workspace/edgexfoundry_device-gpio_PR-135:/w/workspace/edgexfoundry_device-gpio_PR-135:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-135@tmp:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T13:22:47.575Z] $ docker top 199c5f58752e71e23ee9f760caf101ab2499f72c1b078199ac939bae0c121d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T13:22:47.907Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-135 [Pipeline] fileExists [Pipeline] sh [2023-03-22T13:22:48.205Z] + make test [2023-03-22T13:22:48.205Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T13:22:52.393Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-22T13:23:02.364Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-22T13:23:02.364Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-22T13:23:02.364Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-22T13:23:02.364Z] FAIL [2023-03-22T13:23:02.364Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-22T13:23:02.382Z] $ docker stop --time=1 199c5f58752e71e23ee9f760caf101ab2499f72c1b078199ac939bae0c121d9a [2023-03-22T13:23:05.557Z] $ docker rm -f --volumes 199c5f58752e71e23ee9f760caf101ab2499f72c1b078199ac939bae0c121d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:23:06.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T13:23:06.070Z] [2023-03-22T13:23:06.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:23:06.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T13:23:06.364Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T13:23:06.364Z] 5eb5b503b376: Pulling fs layer [2023-03-22T13:23:06.364Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T13:23:06.364Z] ec43610c2a17: Pulling fs layer [2023-03-22T13:23:06.364Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T13:23:06.364Z] 33b1e0a273af: Pulling fs layer [2023-03-22T13:23:06.364Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T13:23:06.364Z] 2f39f015ded8: Pulling fs layer [2023-03-22T13:23:06.364Z] 33b1e0a273af: Waiting [2023-03-22T13:23:06.364Z] 3a2ae6a8a46f: Waiting [2023-03-22T13:23:06.364Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T13:23:06.364Z] 5c69ac0246d0: Download complete [2023-03-22T13:23:06.364Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T13:23:06.364Z] 3a2ae6a8a46f: Download complete [2023-03-22T13:23:06.625Z] 33b1e0a273af: Verifying Checksum [2023-03-22T13:23:06.625Z] 33b1e0a273af: Download complete [2023-03-22T13:23:06.625Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T13:23:06.625Z] 5d3b04190fa2: Download complete [2023-03-22T13:23:06.625Z] ec43610c2a17: Verifying Checksum [2023-03-22T13:23:06.625Z] 5eb5b503b376: Verifying Checksum [2023-03-22T13:23:06.625Z] 5eb5b503b376: Download complete [2023-03-22T13:23:07.192Z] 2f39f015ded8: Download complete [2023-03-22T13:23:07.761Z] 5eb5b503b376: Pull complete [2023-03-22T13:23:07.761Z] 5c69ac0246d0: Pull complete [2023-03-22T13:23:08.328Z] ec43610c2a17: Pull complete [2023-03-22T13:23:08.328Z] 3a2ae6a8a46f: Pull complete [2023-03-22T13:23:08.586Z] 33b1e0a273af: Pull complete [2023-03-22T13:23:08.586Z] 5d3b04190fa2: Pull complete [2023-03-22T13:23:12.769Z] 2f39f015ded8: Pull complete [2023-03-22T13:23:12.769Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T13:23:12.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T13:23:12.769Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:23:12.841Z] prd-ubuntu20.04-docker-8c-8g-5186 does not seem to be running inside a container [2023-03-22T13:23:12.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-135 -v /w/workspace/edgexfoundry_device-gpio_PR-135:/w/workspace/edgexfoundry_device-gpio_PR-135:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-135@tmp:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T13:23:17.927Z] $ docker top ad717360aebe61cec5d264d29db34d155fd0ae851481473c3599bf3238f890af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:23:18.286Z] ---> job-cost.sh [2023-03-22T13:23:18.286Z] lf-activate-venv: SKIPPING [2023-03-22T13:23:18.286Z] INFO: No Stack... [2023-03-22T13:23:18.545Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T13:23:18.805Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T13:23:19.088Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-135/archives/cost.csv [2023-03-22T13:23:19.088Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T13:23:19.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [2023-03-22T13:23:19.106Z] Resource [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] did not exist. Created. [2023-03-22T13:23:19.106Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T13:23:19.411Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T13:23:19.448Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T13:23:19.455Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T13:23:19.477Z] $ docker stop --time=1 ad717360aebe61cec5d264d29db34d155fd0ae851481473c3599bf3238f890af [2023-03-22T13:23:20.612Z] $ docker rm -f --volumes ad717360aebe61cec5d264d29db34d155fd0ae851481473c3599bf3238f890af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T13:23:20.708Z] Failed in branch amd64 [2023-03-22T13:24:57.231Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5192 in /w/workspace/edgexfoundry_device-gpio_PR-135 [Pipeline] { [Pipeline] ws [2023-03-22T13:24:57.242Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2023-03-22T13:24:57.274Z] The recommended git tool is: git [2023-03-22T13:25:03.637Z] using credential edgex-jenkins-ssh [2023-03-22T13:25:03.655Z] Cloning the remote Git repository [2023-03-22T13:25:03.708Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-22T13:25:03.815Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2023-03-22T13:25:03.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-22T13:25:03.987Z] > git --version # timeout=10 [2023-03-22T13:25:04.011Z] > git --version # 'git version 2.25.1' [2023-03-22T13:25:04.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T13:25:04.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T13:25:05.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-22T13:25:05.846Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T13:25:06.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-22T13:25:07.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-22T13:25:07.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T13:25:07.068Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T13:25:07.627Z] Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 [2023-03-22T13:25:08.006Z] Merge succeeded, producing 0f1bf94045698b4cef8b8b253f3a23f98c055aef [2023-03-22T13:25:08.007Z] Checking out Revision 0f1bf94045698b4cef8b8b253f3a23f98c055aef (PR-135) [2023-03-22T13:25:07.653Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T13:25:07.741Z] > git checkout -f f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 # timeout=10 [2023-03-22T13:25:07.838Z] > git remote # timeout=10 [2023-03-22T13:25:07.864Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T13:25:07.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T13:25:07.917Z] > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 [2023-03-22T13:25:07.987Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T13:25:08.017Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T13:25:08.036Z] > git checkout -f 0f1bf94045698b4cef8b8b253f3a23f98c055aef # timeout=10 [2023-03-22T13:25:11.722Z] Commit message: "Merge commit '21c70a64d9894c2455aedb4662d61c2d9e09ca22' into HEAD" [2023-03-22T13:25:11.736Z] > git rev-list --no-walk f363e3f1d85e4cd8d919b9222b44c3a8431b7f10 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T13:25:12.869Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T13:25:12.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T13:25:12.869Z] Dload Upload Total Spent Left Speed [2023-03-22T13:25:12.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-03-22T13:25:13.701Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T13:25:14.045Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T13:25:14.046Z] + sudo tee /etc/docker/daemon.new [2023-03-22T13:25:14.046Z] { [2023-03-22T13:25:14.046Z] "registry-mirrors": [ [2023-03-22T13:25:14.046Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T13:25:14.046Z] ], [2023-03-22T13:25:14.046Z] "bip": "10.250.0.254/24", [2023-03-22T13:25:14.046Z] "hosts": [ [2023-03-22T13:25:14.046Z] "tcp://0.0.0.0:5555", [2023-03-22T13:25:14.046Z] "unix:///var/run/docker.sock" [2023-03-22T13:25:14.046Z] ], [2023-03-22T13:25:14.046Z] "mtu": 1458, [2023-03-22T13:25:14.046Z] "selinux-enabled": true, [2023-03-22T13:25:14.046Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T13:25:14.046Z] } [Pipeline] sh [2023-03-22T13:25:14.391Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T13:25:14.730Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T13:25:33.028Z] provisioning config files... [2023-03-22T13:25:33.270Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config6245136963556308135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:25:33.643Z] ---> docker-login.sh [2023-03-22T13:25:33.643Z] nexus3.edgexfoundry.org:10001 [2023-03-22T13:25:34.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:25:34.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:25:34.527Z] Configure a credential helper to remove this warning. See [2023-03-22T13:25:34.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:25:34.527Z] [2023-03-22T13:25:34.527Z] Login Succeeded [2023-03-22T13:25:34.527Z] nexus3.edgexfoundry.org:10002 [2023-03-22T13:25:34.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:25:34.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:25:34.801Z] Configure a credential helper to remove this warning. See [2023-03-22T13:25:34.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:25:34.801Z] [2023-03-22T13:25:34.801Z] Login Succeeded [2023-03-22T13:25:34.801Z] nexus3.edgexfoundry.org:10003 [2023-03-22T13:25:35.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:25:35.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:25:35.349Z] Configure a credential helper to remove this warning. See [2023-03-22T13:25:35.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:25:35.349Z] [2023-03-22T13:25:35.349Z] Login Succeeded [2023-03-22T13:25:35.349Z] nexus3.edgexfoundry.org:10004 [2023-03-22T13:25:35.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:25:35.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:25:35.625Z] Configure a credential helper to remove this warning. See [2023-03-22T13:25:35.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:25:35.625Z] [2023-03-22T13:25:35.625Z] Login Succeeded [2023-03-22T13:25:35.625Z] docker.io [2023-03-22T13:25:35.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T13:25:36.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T13:25:36.172Z] Configure a credential helper to remove this warning. See [2023-03-22T13:25:36.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T13:25:36.172Z] [2023-03-22T13:25:36.172Z] Login Succeeded [2023-03-22T13:25:36.172Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T13:25:36.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T13:25:36.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T13:25:36.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T13:25:36.538Z] ========================================================= [2023-03-22T13:25:36.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T13:25:36.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:25:36.890Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T13:25:37.162Z] Sending build context to Docker daemon 8.099MB [2023-03-22T13:25:37.162Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T13:25:37.162Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-22T13:25:37.436Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T13:25:37.436Z] af6eaf76a39c: Pulling fs layer [2023-03-22T13:25:37.436Z] 55522c791124: Pulling fs layer [2023-03-22T13:25:37.436Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T13:25:37.436Z] 169dfbe0d373: Pulling fs layer [2023-03-22T13:25:37.436Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T13:25:37.436Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T13:25:37.436Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T13:25:37.436Z] 169dfbe0d373: Waiting [2023-03-22T13:25:37.436Z] e1ff8fa3b103: Waiting [2023-03-22T13:25:37.436Z] 52ebb69f0ebf: Waiting [2023-03-22T13:25:37.436Z] 5abe8eddf0d5: Waiting [2023-03-22T13:25:37.436Z] 55522c791124: Verifying Checksum [2023-03-22T13:25:37.436Z] 55522c791124: Download complete [2023-03-22T13:25:37.436Z] 169dfbe0d373: Download complete [2023-03-22T13:25:37.436Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T13:25:37.436Z] e1ff8fa3b103: Download complete [2023-03-22T13:25:37.716Z] af6eaf76a39c: Verifying Checksum [2023-03-22T13:25:38.701Z] af6eaf76a39c: Pull complete [2023-03-22T13:25:38.701Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T13:25:38.701Z] 5abe8eddf0d5: Download complete [2023-03-22T13:25:39.299Z] 55522c791124: Pull complete [2023-03-22T13:25:39.895Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T13:25:39.895Z] ce5c4a1c91eb: Download complete [2023-03-22T13:25:40.167Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T13:25:40.167Z] 52ebb69f0ebf: Download complete [2023-03-22T13:25:50.291Z] ce5c4a1c91eb: Pull complete [2023-03-22T13:25:50.559Z] 169dfbe0d373: Pull complete [2023-03-22T13:25:50.827Z] e1ff8fa3b103: Pull complete [2023-03-22T13:25:57.531Z] 52ebb69f0ebf: Pull complete [2023-03-22T13:25:58.501Z] 5abe8eddf0d5: Pull complete [2023-03-22T13:25:58.501Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T13:25:58.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T13:25:58.769Z] ---> 6cb57ee374ae [2023-03-22T13:25:58.769Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-22T13:26:00.747Z] ---> Running in 60cbc4e9ed8a [2023-03-22T13:26:01.018Z] Removing intermediate container 60cbc4e9ed8a [2023-03-22T13:26:01.018Z] ---> 47613fa57da1 [2023-03-22T13:26:01.018Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T13:26:01.018Z] ---> Running in bf49355c0c9d [2023-03-22T13:26:01.295Z] Removing intermediate container bf49355c0c9d [2023-03-22T13:26:01.295Z] ---> c5d922ff86d6 [2023-03-22T13:26:01.295Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-22T13:26:01.570Z] ---> Running in f69020e533c6 [2023-03-22T13:26:01.840Z] Removing intermediate container f69020e533c6 [2023-03-22T13:26:01.840Z] ---> 9120d117ece6 [2023-03-22T13:26:01.840Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T13:26:01.840Z] ---> Running in 3bb667bd476d [2023-03-22T13:26:02.431Z] Removing intermediate container 3bb667bd476d [2023-03-22T13:26:02.431Z] ---> 9f666c64990c [2023-03-22T13:26:02.431Z] Step 7/12 : WORKDIR /device-gpio [2023-03-22T13:26:02.431Z] ---> Running in c6c843e09fb0 [2023-03-22T13:26:02.703Z] Removing intermediate container c6c843e09fb0 [2023-03-22T13:26:02.703Z] ---> 8e7834df43c1 [2023-03-22T13:26:02.703Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T13:26:02.703Z] ---> Running in 1c88ed02a0d2 [2023-03-22T13:26:04.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T13:26:04.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T13:26:06.125Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T13:26:06.125Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-22T13:26:06.125Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T13:26:06.125Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T13:26:06.125Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T13:26:06.125Z] OK: 268 MiB in 57 packages [2023-03-22T13:26:07.093Z] Removing intermediate container 1c88ed02a0d2 [2023-03-22T13:26:07.093Z] ---> df3e609eb272 [2023-03-22T13:26:07.093Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-22T13:26:07.689Z] ---> d18d1074eb0d [2023-03-22T13:26:07.689Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T13:26:07.689Z] ---> Running in 898f8a1240b5 [2023-03-22T13:27:15.647Z] Removing intermediate container 898f8a1240b5 [2023-03-22T13:27:15.647Z] ---> bdebd4c25cba [2023-03-22T13:27:15.647Z] Step 11/12 : COPY . . [2023-03-22T13:27:16.611Z] ---> 257d166c4580 [2023-03-22T13:27:16.611Z] Step 12/12 : RUN ${MAKE} [2023-03-22T13:27:16.611Z] ---> Running in 96cb576a5e09 [2023-03-22T13:27:17.584Z] noop [2023-03-22T13:27:18.549Z] Removing intermediate container 96cb576a5e09 [2023-03-22T13:27:18.549Z] ---> 852419fc7b75 [2023-03-22T13:27:18.549Z] Successfully built 852419fc7b75 [2023-03-22T13:27:18.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:27:18.901Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T13:27:18.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:27:19.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-5192 does not seem to be running inside a container [2023-03-22T13:27:19.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T13:27:21.063Z] $ docker top f427fa2c244327bea41983da25d3d33104248bfe1ab5699b1d73a5594080446f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T13:27:21.902Z] + go version [2023-03-22T13:27:21.903Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T13:27:21.924Z] $ docker stop --time=1 f427fa2c244327bea41983da25d3d33104248bfe1ab5699b1d73a5594080446f [2023-03-22T13:27:23.527Z] $ docker rm -f --volumes f427fa2c244327bea41983da25d3d33104248bfe1ab5699b1d73a5594080446f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:27:24.072Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T13:27:24.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:27:24.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-5192 does not seem to be running inside a container [2023-03-22T13:27:24.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T13:27:25.530Z] $ docker top 0c9750dace84e680f73ceacf0b10224fca1648a56da6cbf42a70f572f67e02b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T13:27:26.355Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2023-03-22T13:27:26.694Z] + make test [2023-03-22T13:27:26.966Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T13:28:05.906Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-22T13:30:12.910Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-22T13:30:12.910Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-22T13:30:12.910Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-22T13:30:15.504Z] FAIL [2023-03-22T13:30:15.772Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-22T13:30:15.792Z] $ docker stop --time=1 0c9750dace84e680f73ceacf0b10224fca1648a56da6cbf42a70f572f67e02b9 [2023-03-22T13:30:17.694Z] $ docker rm -f --volumes 0c9750dace84e680f73ceacf0b10224fca1648a56da6cbf42a70f572f67e02b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:30:18.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T13:30:18.906Z] [2023-03-22T13:30:18.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:30:19.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T13:30:19.518Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T13:30:19.518Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T13:30:19.518Z] 04944245beec: Pulling fs layer [2023-03-22T13:30:19.518Z] 699f458cf7ca: Pulling fs layer [2023-03-22T13:30:19.518Z] 765212b225bb: Pulling fs layer [2023-03-22T13:30:19.518Z] f23df028b6ca: Pulling fs layer [2023-03-22T13:30:19.518Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T13:30:19.518Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T13:30:19.518Z] f23df028b6ca: Waiting [2023-03-22T13:30:19.518Z] d65c8cfc05b1: Waiting [2023-03-22T13:30:19.518Z] 2437ff75d9bd: Waiting [2023-03-22T13:30:19.518Z] 765212b225bb: Waiting [2023-03-22T13:30:19.518Z] 04944245beec: Verifying Checksum [2023-03-22T13:30:19.518Z] 04944245beec: Download complete [2023-03-22T13:30:19.518Z] 765212b225bb: Verifying Checksum [2023-03-22T13:30:19.518Z] 765212b225bb: Download complete [2023-03-22T13:30:19.518Z] f23df028b6ca: Verifying Checksum [2023-03-22T13:30:19.518Z] f23df028b6ca: Download complete [2023-03-22T13:30:19.518Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T13:30:19.518Z] d65c8cfc05b1: Download complete [2023-03-22T13:30:19.789Z] 699f458cf7ca: Verifying Checksum [2023-03-22T13:30:19.789Z] 699f458cf7ca: Download complete [2023-03-22T13:30:20.060Z] 8998bd30e6a1: Download complete [2023-03-22T13:30:22.654Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T13:30:22.654Z] 2437ff75d9bd: Download complete [2023-03-22T13:30:24.603Z] 8998bd30e6a1: Pull complete [2023-03-22T13:30:24.870Z] 04944245beec: Pull complete [2023-03-22T13:30:26.292Z] 699f458cf7ca: Pull complete [2023-03-22T13:30:26.292Z] 765212b225bb: Pull complete [2023-03-22T13:30:27.256Z] f23df028b6ca: Pull complete [2023-03-22T13:30:27.256Z] d65c8cfc05b1: Pull complete [2023-03-22T13:30:42.498Z] 2437ff75d9bd: Pull complete [2023-03-22T13:30:42.498Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T13:30:42.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T13:30:42.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:30:42.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-5192 does not seem to be running inside a container [2023-03-22T13:30:42.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T13:30:45.451Z] $ docker top 1ce7a76e3f52acf481055bc37958c79b31fa2719b769579bc7a5210dcb4287ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:46.296Z] ---> job-cost.sh [2023-03-22T13:30:46.296Z] lf-activate-venv: SKIPPING [2023-03-22T13:30:46.296Z] INFO: No Stack... [2023-03-22T13:30:46.564Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T13:30:47.525Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T13:30:47.848Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2023-03-22T13:30:47.848Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T13:30:47.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [2023-03-22T13:30:47.927Z] Resource [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] did not exist. Created. [2023-03-22T13:30:47.927Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T13:30:48.275Z] /w/workspace/device-gpio/2@tmp/durable-f1350393/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T13:30:48.924Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T13:30:48.939Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T13:30:49.382Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T13:30:49.388Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-135-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T13:30:49.408Z] $ docker stop --time=1 1ce7a76e3f52acf481055bc37958c79b31fa2719b769579bc7a5210dcb4287ed [2023-03-22T13:30:50.889Z] $ docker rm -f --volumes 1ce7a76e3f52acf481055bc37958c79b31fa2719b769579bc7a5210dcb4287ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T13:30:51.136Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-22T13:30:51.742Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-135/archives ] [2023-03-22T13:30:51.742Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-135/archives [2023-03-22T13:30:51.742Z] total 16 [2023-03-22T13:30:51.742Z] drwxr-xr-x 3 root root 4096 Mar 22 13:23 . [2023-03-22T13:30:51.742Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 13:23 .. [2023-03-22T13:30:51.742Z] drwxr-xr-x 2 root root 4096 Mar 22 13:23 cost [2023-03-22T13:30:51.742Z] -rw-r--r-- 1 root root 83 Mar 22 13:23 cost.csv [2023-03-22T13:30:51.742Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-135/archives [2023-03-22T13:30:51.742Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-135/archives [2023-03-22T13:30:51.742Z] total 16 [2023-03-22T13:30:51.742Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 13:23 . [2023-03-22T13:30:51.742Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 13:23 .. [2023-03-22T13:30:51.742Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 13:23 cost [2023-03-22T13:30:51.742Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 22 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:52.030Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:52.885Z] ---> package-listing.sh [2023-03-22T13:30:52.885Z] ++ facter osfamily [2023-03-22T13:30:52.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T13:30:53.144Z] + OS_FAMILY=debian [2023-03-22T13:30:53.144Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-135 [2023-03-22T13:30:53.144Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T13:30:53.144Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T13:30:53.144Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T13:30:53.144Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T13:30:53.144Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-135 ']' [2023-03-22T13:30:53.144Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T13:30:53.144Z] + case "${OS_FAMILY}" in [2023-03-22T13:30:53.144Z] + dpkg -l [2023-03-22T13:30:53.144Z] + grep '^ii' [2023-03-22T13:30:53.144Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T13:30:53.144Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T13:30:53.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T13:30:53.144Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-135 ']' [2023-03-22T13:30:53.144Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-135/archives/ [2023-03-22T13:30:53.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-135/archives/ [Pipeline] echo [2023-03-22T13:30:53.154Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T13:30:53.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T13:30:53.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T13:30:53.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T13:30:54.043Z] prd-ubuntu20.04-docker-8c-8g-5186 does not seem to be running inside a container [2023-03-22T13:30:54.080Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-135 -v /w/workspace/edgexfoundry_device-gpio_PR-135:/w/workspace/edgexfoundry_device-gpio_PR-135:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-135@tmp:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T13:30:54.298Z] $ docker top 4b28ea39785bf87b8d279c2c3a81795a6aabd0075bf52013100351a21a94ba0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T13:30:54.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T13:30:54.903Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T13:30:55.186Z] + ls /var/log/sa-host [2023-03-22T13:30:55.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T13:30:55.263Z] provisioning config files... [2023-03-22T13:30:55.272Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-135@tmp/config17632852149823753517tmp [Pipeline] { [Pipeline] echo [2023-03-22T13:30:55.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:55.562Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T13:30:55.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:55.891Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T13:30:55.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:56.182Z] ---> sudo-logs.sh [2023-03-22T13:30:56.182Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T13:30:56.202Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:56.479Z] ---> job-cost.sh [2023-03-22T13:30:56.480Z] lf-activate-venv: SKIPPING [2023-03-22T13:30:56.480Z] DEBUG: total: 0.2199999988079071 [2023-03-22T13:30:56.480Z] INFO: Retrieving Stack Cost... [2023-03-22T13:30:57.050Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T13:30:57.308Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T13:30:57.318Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T13:30:57.595Z] ---> logs-deploy.sh [2023-03-22T13:30:57.595Z] lf-activate-venv: SKIPPING [2023-03-22T13:30:57.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-135/2 [2023-03-22T13:30:57.595Z] INFO: archiving workspace using pattern(s): [2023-03-22T13:30:58.530Z] Archives upload complete. [2023-03-22T13:30:58.788Z] INFO: archiving logs to Nexus