Pull request #65 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 67094d5594f8852302d3ef281899762e698ebc29+9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 (ce0852e295cdf8ba07faf4cf28ef803978d0d778) 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-ssh2808749986353800710.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4142476831231992249.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6430307866818956878.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10960195282598059685.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1724531896246533952.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3985136647864103491.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117989’ Running on prd-ubuntu20.04-docker-8c-8g-117992 in /w/workspace/edgexfoundry_device-gpio_PR-65 [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-65 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 into PR head commit 67094d5594f8852302d3ef281899762e698ebc29 Merge succeeded, producing 67094d5594f8852302d3ef281899762e698ebc29 Checking out Revision 67094d5594f8852302d3ef281899762e698ebc29 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f 67094d5594f8852302d3ef281899762e698ebc29 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67094d5594f8852302d3ef281899762e698ebc29 # timeout=10 Commit message: "docs: Levski Change Log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-02T22:04:44.188Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T22:04:44.383Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T22:04:44.484Z] ========================================================= [2022-11-02T22:04:44.484Z] EdgeX Global Pipelines Version Info [2022-11-02T22:04:44.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:04:45.231Z] ------------------- [2022-11-02T22:04:45.231Z] stable info: [2022-11-02T22:04:45.231Z] ------------------- [2022-11-02T22:04:45.231Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T22:04:45.231Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T22:04:45.231Z] Message: update stable to v1.0.244 [2022-11-02T22:04:45.803Z] ------------------- [2022-11-02T22:04:45.803Z] experimental info: [2022-11-02T22:04:45.803Z] ------------------- [2022-11-02T22:04:45.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T22:04:45.803Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T22:04:45.803Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T22:04:46.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-11-02T22:04:46.098Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-11-02T22:04:46.132Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T22:04:46.167Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T22:04:46.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T22:04:46.245Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T22:04:46.281Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T22:04:46.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-02T22:04:46.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T22:04:46.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T22:04:46.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T22:04:46.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-11-02T22:04:46.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T22:04:46.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T22:04:46.579Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T22:04:46.616Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T22:04:46.654Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T22:04:46.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T22:04:46.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T22:04:46.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T22:04:46.808Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-02T22:04:46.845Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-02T22:04:46.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T22:04:46.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T22:04:46.966Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T22:04:47.009Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T22:04:47.051Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T22:04:47.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo [2022-11-02T22:04:47.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo [2022-11-02T22:04:47.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo [2022-11-02T22:04:47.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67094d5594f8852302d3ef281899762e698ebc29 [Pipeline] echo [2022-11-02T22:04:47.247Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67094d5 [Pipeline] echo [2022-11-02T22:04:47.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T22:04:47.397Z] provisioning config files... [2022-11-02T22:04:47.411Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/config15707053750579752692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:04:47.759Z] ---> docker-login.sh [2022-11-02T22:04:47.759Z] nexus3.edgexfoundry.org:10001 [2022-11-02T22:04:48.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:04:48.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:04:48.021Z] Configure a credential helper to remove this warning. See [2022-11-02T22:04:48.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:04:48.021Z] [2022-11-02T22:04:48.021Z] Login Succeeded [2022-11-02T22:04:48.021Z] nexus3.edgexfoundry.org:10002 [2022-11-02T22:04:48.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:04:48.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:04:48.021Z] Configure a credential helper to remove this warning. See [2022-11-02T22:04:48.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:04:48.021Z] [2022-11-02T22:04:48.021Z] Login Succeeded [2022-11-02T22:04:48.021Z] nexus3.edgexfoundry.org:10003 [2022-11-02T22:04:48.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:04:48.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:04:48.281Z] Configure a credential helper to remove this warning. See [2022-11-02T22:04:48.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:04:48.281Z] [2022-11-02T22:04:48.281Z] Login Succeeded [2022-11-02T22:04:48.281Z] nexus3.edgexfoundry.org:10004 [2022-11-02T22:04:48.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:04:48.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:04:48.281Z] Configure a credential helper to remove this warning. See [2022-11-02T22:04:48.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:04:48.281Z] [2022-11-02T22:04:48.281Z] Login Succeeded [2022-11-02T22:04:48.281Z] docker.io [2022-11-02T22:04:48.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:04:48.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:04:48.803Z] Configure a credential helper to remove this warning. See [2022-11-02T22:04:48.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:04:48.803Z] [2022-11-02T22:04:48.803Z] Login Succeeded [2022-11-02T22:04:48.803Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T22:04:48.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T22:04:49.449Z] + git rev-list -1 --merges 67094d5594f8852302d3ef281899762e698ebc29~1..67094d5594f8852302d3ef281899762e698ebc29 [Pipeline] echo [2022-11-02T22:04:49.493Z] -----------> git rev-list -1 --merges 67094d5594f8852302d3ef281899762e698ebc29~1..67094d5594f8852302d3ef281899762e698ebc29 67094d5594f8852302d3ef281899762e698ebc29 [false] [Pipeline] sh [2022-11-02T22:04:49.802Z] + git log --format=format:%s -1 67094d5594f8852302d3ef281899762e698ebc29 [Pipeline] echo [2022-11-02T22:04:49.836Z] ========================================================= [2022-11-02T22:04:49.836Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T22:04:49.836Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T22:04:50.250Z] + git log --format=format:%s -1 67094d5594f8852302d3ef281899762e698ebc29 [Pipeline] echo [2022-11-02T22:04:50.283Z] [semverPrep] GIT_COMMIT: 67094d5594f8852302d3ef281899762e698ebc29, Commit Message: docs: Levski Change Log [Pipeline] echo [2022-11-02T22:04:50.312Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T22:04:50.671Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T22:04:50.671Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T22:04:50.671Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T22:04:50.671Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T22:04:50.671Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-02T22:04:50.671Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T22:04:50.671Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:04:51.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T22:04:51.142Z] [2022-11-02T22:04:51.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:04:51.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T22:04:51.515Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T22:04:51.515Z] b85a868b505f: Pulling fs layer [2022-11-02T22:04:51.515Z] e2be974225ed: Pulling fs layer [2022-11-02T22:04:51.515Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T22:04:51.515Z] 988bab9f4d93: Pulling fs layer [2022-11-02T22:04:51.515Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T22:04:51.515Z] eaf3925da568: Pulling fs layer [2022-11-02T22:04:51.515Z] bab4dde63d76: Pulling fs layer [2022-11-02T22:04:51.515Z] bde34c3a00c8: Pulling fs layer [2022-11-02T22:04:51.515Z] b352a97aabf1: Pulling fs layer [2022-11-02T22:04:51.515Z] 4872d77fe225: Pulling fs layer [2022-11-02T22:04:51.515Z] 5851b861e8e6: Pulling fs layer [2022-11-02T22:04:51.515Z] 1469e6f7b9e6: Waiting [2022-11-02T22:04:51.515Z] bab4dde63d76: Waiting [2022-11-02T22:04:51.515Z] b352a97aabf1: Waiting [2022-11-02T22:04:51.515Z] bde34c3a00c8: Waiting [2022-11-02T22:04:51.515Z] 988bab9f4d93: Waiting [2022-11-02T22:04:51.515Z] 4872d77fe225: Waiting [2022-11-02T22:04:51.515Z] eaf3925da568: Waiting [2022-11-02T22:04:51.515Z] 5851b861e8e6: Waiting [2022-11-02T22:04:51.515Z] e2be974225ed: Verifying Checksum [2022-11-02T22:04:51.515Z] e2be974225ed: Download complete [2022-11-02T22:04:51.515Z] 988bab9f4d93: Verifying Checksum [2022-11-02T22:04:51.515Z] 988bab9f4d93: Download complete [2022-11-02T22:04:51.776Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T22:04:51.776Z] 1469e6f7b9e6: Download complete [2022-11-02T22:04:51.776Z] 339a4e72a1f5: Verifying Checksum [2022-11-02T22:04:51.776Z] 339a4e72a1f5: Download complete [2022-11-02T22:04:51.776Z] eaf3925da568: Verifying Checksum [2022-11-02T22:04:51.776Z] eaf3925da568: Download complete [2022-11-02T22:04:51.776Z] bde34c3a00c8: Verifying Checksum [2022-11-02T22:04:51.776Z] b352a97aabf1: Download complete [2022-11-02T22:04:51.776Z] 4872d77fe225: Verifying Checksum [2022-11-02T22:04:51.776Z] 4872d77fe225: Download complete [2022-11-02T22:04:51.776Z] 5851b861e8e6: Verifying Checksum [2022-11-02T22:04:51.776Z] 5851b861e8e6: Download complete [2022-11-02T22:04:51.776Z] b85a868b505f: Verifying Checksum [2022-11-02T22:04:51.776Z] b85a868b505f: Download complete [2022-11-02T22:04:52.036Z] bab4dde63d76: Download complete [2022-11-02T22:04:52.974Z] b85a868b505f: Pull complete [2022-11-02T22:04:53.232Z] e2be974225ed: Pull complete [2022-11-02T22:04:53.799Z] 339a4e72a1f5: Pull complete [2022-11-02T22:04:53.799Z] 988bab9f4d93: Pull complete [2022-11-02T22:04:54.059Z] 1469e6f7b9e6: Pull complete [2022-11-02T22:04:54.059Z] eaf3925da568: Pull complete [2022-11-02T22:04:55.970Z] bab4dde63d76: Pull complete [2022-11-02T22:04:55.970Z] bde34c3a00c8: Pull complete [2022-11-02T22:04:55.970Z] b352a97aabf1: Pull complete [2022-11-02T22:04:55.970Z] 4872d77fe225: Pull complete [2022-11-02T22:04:56.229Z] 5851b861e8e6: Pull complete [2022-11-02T22:04:56.229Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T22:04:56.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T22:04:56.229Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:04:56.456Z] prd-ubuntu20.04-docker-8c-8g-117992 does not seem to be running inside a container [2022-11-02T22:04:56.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-65 -v /w/workspace/edgexfoundry_device-gpio_PR-65:/w/workspace/edgexfoundry_device-gpio_PR-65:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-65@tmp:/w/workspace/edgexfoundry_device-gpio_PR-65@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T22:04:57.717Z] $ docker top bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 -eo pid,comm [2022-11-02T22:04:57.772Z] 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). [2022-11-02T22:04:57.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T22:04:57.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T22:04:57.885Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T22:04:58.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T22:04:58.015Z] $ docker exec bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 ssh-agent [2022-11-02T22:04:58.143Z] SSH_AUTH_SOCK=/tmp/ssh-GIz57a1p5HRO/agent.31 [2022-11-02T22:04:58.143Z] SSH_AGENT_PID=37 [2022-11-02T22:04:58.150Z] Running ssh-add (command line suppressed) [2022-11-02T22:04:58.250Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-65@tmp/private_key_5511170891866162719.key (/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/private_key_5511170891866162719.key) [2022-11-02T22:04:58.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T22:04:58.594Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T22:04:58.621Z] $ docker exec --env ******** --env ******** bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 ssh-agent -k [2022-11-02T22:04:58.736Z] unset SSH_AUTH_SOCK; [2022-11-02T22:04:58.737Z] unset SSH_AGENT_PID; [2022-11-02T22:04:58.737Z] echo Agent pid 37 killed; [2022-11-02T22:04:58.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T22:04:58.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T22:04:58.835Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T22:04:58.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T22:04:58.953Z] $ docker exec bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 ssh-agent [2022-11-02T22:04:59.062Z] SSH_AUTH_SOCK=/tmp/ssh-Kvo8e5yOimW8/agent.70 [2022-11-02T22:04:59.062Z] SSH_AGENT_PID=76 [2022-11-02T22:04:59.067Z] Running ssh-add (command line suppressed) [2022-11-02T22:04:59.171Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-65@tmp/private_key_11483719155645074513.key (/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/private_key_11483719155645074513.key) [2022-11-02T22:04:59.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T22:04:59.544Z] + git semver init [2022-11-02T22:04:59.804Z] 2022-11-02 22:04:59,738 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T22:04:59.804Z] 2022-11-02 22:04:59,738 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-65/.semver [2022-11-02T22:04:59.804Z] 2022-11-02 22:04:59,739 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-65/.semver [2022-11-02T22:04:59.804Z] 2022-11-02 22:04:59,739 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-65/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-65, universal_newlines=False, shell=None, istream=None) [2022-11-02T22:05:00.743Z] 2022-11-02 22:05:00,729 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-65/.git/info/exclude [2022-11-02T22:05:00.743Z] 2022-11-02 22:05:00,730 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-65/.semver/PR-65 with force:False [2022-11-02T22:05:00.743Z] 2022-11-02 22:05:00,730 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-65/.semver/PR-65 [2022-11-02T22:05:00.743Z] 2022-11-02 22:05:00,735 [execute] INFO git cat-file --batch-check [2022-11-02T22:05:00.743Z] 2022-11-02 22:05:00,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-65/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T22:05:01.002Z] 2022-11-02 22:05:00,742 [execute] INFO git cat-file --batch [2022-11-02T22:05:01.002Z] 2022-11-02 22:05:00,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-65/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T22:05:01.002Z] 2022-11-02 22:05:00,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-65/.semver/PR-65 [2022-11-02T22:05:01.002Z] 0.0.0 [Pipeline] } [2022-11-02T22:05:01.027Z] $ docker exec --env ******** --env ******** bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 ssh-agent -k [2022-11-02T22:05:01.127Z] unset SSH_AUTH_SOCK; [2022-11-02T22:05:01.128Z] unset SSH_AGENT_PID; [2022-11-02T22:05:01.128Z] echo Agent pid 76 killed; [2022-11-02T22:05:01.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T22:05:01.560Z] + git semver [Pipeline] } [2022-11-02T22:05:01.843Z] $ docker stop --time=1 bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 [2022-11-02T22:05:03.154Z] $ docker rm -f bd713dddde683ee28f8877325686415a48ed58e4fc7eed620c544098f4f1e5a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T22:05:03.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T22:05:03.784Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T22:05:03.801Z] [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 [2022-11-02T22:05:04.424Z] provisioning config files... [2022-11-02T22:05:04.434Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/config16096392747893389418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:05:04.786Z] ---> docker-login.sh [2022-11-02T22:05:04.786Z] nexus3.edgexfoundry.org:10001 [2022-11-02T22:05:04.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:05:04.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:05:04.786Z] Configure a credential helper to remove this warning. See [2022-11-02T22:05:04.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:05:04.786Z] [2022-11-02T22:05:04.786Z] Login Succeeded [2022-11-02T22:05:04.786Z] nexus3.edgexfoundry.org:10002 [2022-11-02T22:05:04.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:05:04.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:05:04.786Z] Configure a credential helper to remove this warning. See [2022-11-02T22:05:04.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:05:04.786Z] [2022-11-02T22:05:04.786Z] Login Succeeded [2022-11-02T22:05:04.786Z] nexus3.edgexfoundry.org:10003 [2022-11-02T22:05:05.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:05:05.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:05:05.048Z] Configure a credential helper to remove this warning. See [2022-11-02T22:05:05.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:05:05.048Z] [2022-11-02T22:05:05.048Z] Login Succeeded [2022-11-02T22:05:05.048Z] nexus3.edgexfoundry.org:10004 [2022-11-02T22:05:05.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:05:05.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:05:05.048Z] Configure a credential helper to remove this warning. See [2022-11-02T22:05:05.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:05:05.048Z] [2022-11-02T22:05:05.048Z] Login Succeeded [2022-11-02T22:05:05.048Z] docker.io [2022-11-02T22:05:05.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:05:05.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:05:05.568Z] Configure a credential helper to remove this warning. See [2022-11-02T22:05:05.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:05:05.568Z] [2022-11-02T22:05:05.568Z] Login Succeeded [2022-11-02T22:05:05.568Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T22:05:05.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T22:05:05.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T22:05:05.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T22:05:05.860Z] ========================================================= [2022-11-02T22:05:05.860Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T22:05:05.860Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:05:06.331Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T22:05:06.331Z] Sending build context to Docker daemon 15.9MB [2022-11-02T22:05:06.331Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T22:05:06.331Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T22:05:06.331Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T22:05:06.331Z] 213ec9aee27d: Pulling fs layer [2022-11-02T22:05:06.331Z] 4583459ba037: Pulling fs layer [2022-11-02T22:05:06.331Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T22:05:06.331Z] 53926ce57604: Pulling fs layer [2022-11-02T22:05:06.331Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T22:05:06.331Z] 22ff95d597cd: Pulling fs layer [2022-11-02T22:05:06.331Z] 12d6caf4c0d1: Pulling fs layer [2022-11-02T22:05:06.331Z] 96b7cbca73a9: Pulling fs layer [2022-11-02T22:05:06.331Z] a7acece74701: Pulling fs layer [2022-11-02T22:05:06.331Z] 21b2b0c7a3f4: Waiting [2022-11-02T22:05:06.331Z] 53926ce57604: Waiting [2022-11-02T22:05:06.331Z] 96b7cbca73a9: Waiting [2022-11-02T22:05:06.331Z] a7acece74701: Waiting [2022-11-02T22:05:06.591Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T22:05:06.591Z] 93c1e223e6f2: Download complete [2022-11-02T22:05:06.591Z] 4583459ba037: Verifying Checksum [2022-11-02T22:05:06.591Z] 4583459ba037: Download complete [2022-11-02T22:05:06.591Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T22:05:06.591Z] 21b2b0c7a3f4: Download complete [2022-11-02T22:05:06.591Z] 22ff95d597cd: Verifying Checksum [2022-11-02T22:05:06.591Z] 213ec9aee27d: Download complete [2022-11-02T22:05:06.591Z] 12d6caf4c0d1: Download complete [2022-11-02T22:05:06.591Z] 213ec9aee27d: Pull complete [2022-11-02T22:05:06.851Z] 4583459ba037: Pull complete [2022-11-02T22:05:06.851Z] 93c1e223e6f2: Pull complete [2022-11-02T22:05:07.115Z] a7acece74701: Download complete [2022-11-02T22:05:07.377Z] 96b7cbca73a9: Verifying Checksum [2022-11-02T22:05:07.377Z] 96b7cbca73a9: Download complete [2022-11-02T22:05:07.377Z] 53926ce57604: Verifying Checksum [2022-11-02T22:05:07.377Z] 53926ce57604: Download complete [2022-11-02T22:05:11.560Z] 53926ce57604: Pull complete [2022-11-02T22:05:11.560Z] 21b2b0c7a3f4: Pull complete [2022-11-02T22:05:11.560Z] 22ff95d597cd: Pull complete [2022-11-02T22:05:11.560Z] 12d6caf4c0d1: Pull complete [2022-11-02T22:05:13.463Z] 96b7cbca73a9: Pull complete [2022-11-02T22:05:14.402Z] a7acece74701: Pull complete [2022-11-02T22:05:14.402Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-02T22:05:14.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T22:05:14.402Z] ---> db6d94c90886 [2022-11-02T22:05:14.402Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T22:05:15.781Z] ---> Running in b37e36d6ce7d [2022-11-02T22:05:15.781Z] Removing intermediate container b37e36d6ce7d [2022-11-02T22:05:15.781Z] ---> 496323810975 [2022-11-02T22:05:15.781Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T22:05:15.781Z] ---> Running in f2bf6ca95240 [2022-11-02T22:05:16.039Z] Removing intermediate container f2bf6ca95240 [2022-11-02T22:05:16.039Z] ---> ad1699cc81c6 [2022-11-02T22:05:16.039Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T22:05:16.039Z] ---> Running in 064fda3f077b [2022-11-02T22:05:16.039Z] Removing intermediate container 064fda3f077b [2022-11-02T22:05:16.039Z] ---> 4cd25406ecee [2022-11-02T22:05:16.039Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T22:05:16.039Z] ---> Running in 38d8647562db [2022-11-02T22:05:16.297Z] Removing intermediate container 38d8647562db [2022-11-02T22:05:16.297Z] ---> a7cb7a4c89e1 [2022-11-02T22:05:16.297Z] Step 7/12 : WORKDIR /device-gpio [2022-11-02T22:05:16.297Z] ---> Running in 667d5cbdd92c [2022-11-02T22:05:16.297Z] Removing intermediate container 667d5cbdd92c [2022-11-02T22:05:16.297Z] ---> 16d93b8a53bc [2022-11-02T22:05:16.297Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T22:05:16.297Z] ---> Running in 651580eaff3a [2022-11-02T22:05:16.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T22:05:16.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T22:05:16.816Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T22:05:17.077Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T22:05:17.077Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T22:05:17.077Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T22:05:17.077Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T22:05:17.077Z] OK: 216 MiB in 55 packages [2022-11-02T22:05:17.336Z] Removing intermediate container 651580eaff3a [2022-11-02T22:05:17.336Z] ---> 7e1994d4177b [2022-11-02T22:05:17.336Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T22:05:17.595Z] ---> a81418e89824 [2022-11-02T22:05:17.595Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T22:05:17.595Z] ---> Running in c28c9c9d7474 [2022-11-02T22:05:19.233Z] Still waiting to schedule task [2022-11-02T22:05:19.233Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117990’ is offline [2022-11-02T22:05:35.682Z] Removing intermediate container c28c9c9d7474 [2022-11-02T22:05:35.682Z] ---> 58a33925e437 [2022-11-02T22:05:35.682Z] Step 11/12 : COPY . . [2022-11-02T22:05:35.682Z] ---> d7664ca37e7c [2022-11-02T22:05:35.682Z] Step 12/12 : RUN ${MAKE} [2022-11-02T22:05:35.682Z] ---> Running in f7e4af4c89bf [2022-11-02T22:05:35.682Z] noop [2022-11-02T22:05:35.682Z] Removing intermediate container f7e4af4c89bf [2022-11-02T22:05:35.682Z] ---> 56b894df4732 [2022-11-02T22:05:35.682Z] Successfully built 56b894df4732 [2022-11-02T22:05:35.682Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:05:36.116Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T22:05:36.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:05:36.258Z] prd-ubuntu20.04-docker-8c-8g-117992 does not seem to be running inside a container [2022-11-02T22:05:36.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-65 -v /w/workspace/edgexfoundry_device-gpio_PR-65:/w/workspace/edgexfoundry_device-gpio_PR-65:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-65@tmp:/w/workspace/edgexfoundry_device-gpio_PR-65@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-x86_64 cat [2022-11-02T22:05:36.624Z] $ docker top ff54bc2cca3f3ffd634ec0610385157943d72ff671a5ad546890bad145411fa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T22:05:37.015Z] + go version [2022-11-02T22:05:37.015Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T22:05:37.050Z] $ docker stop --time=1 ff54bc2cca3f3ffd634ec0610385157943d72ff671a5ad546890bad145411fa2 [2022-11-02T22:05:38.323Z] $ docker rm -f ff54bc2cca3f3ffd634ec0610385157943d72ff671a5ad546890bad145411fa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:05:38.974Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T22:05:38.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:05:39.114Z] prd-ubuntu20.04-docker-8c-8g-117992 does not seem to be running inside a container [2022-11-02T22:05:39.140Z] $ 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-65 -v /w/workspace/edgexfoundry_device-gpio_PR-65:/w/workspace/edgexfoundry_device-gpio_PR-65:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-65@tmp:/w/workspace/edgexfoundry_device-gpio_PR-65@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-x86_64 cat [2022-11-02T22:05:39.489Z] $ docker top ca9f42523b5959901eb1d31a144bb676871f80294523edcb5e77aa354f874467 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T22:05:39.875Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-65 [Pipeline] fileExists [Pipeline] sh [2022-11-02T22:05:40.229Z] + make test [2022-11-02T22:05:40.229Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-02T22:05:40.487Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-02T22:05:50.463Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-02T22:05:50.463Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-02T22:05:55.728Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-02T22:05:55.728Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T22:05:58.259Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T22:05:58.259Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T22:05:58.259Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T22:05:58.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T22:05:58.325Z] $ docker stop --time=1 ca9f42523b5959901eb1d31a144bb676871f80294523edcb5e77aa354f874467 [2022-11-02T22:05:59.946Z] $ docker rm -f ca9f42523b5959901eb1d31a144bb676871f80294523edcb5e77aa354f874467 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T22:06:00.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T22:06:00.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T22:06:01.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T22:06:01.461Z] + ls -al . [2022-11-02T22:06:01.461Z] total 172 [2022-11-02T22:06:01.461Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 22:05 . [2022-11-02T22:06:01.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:04 .. [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 2 22:04 .dockerignore [2022-11-02T22:06:01.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 22:05 .git [2022-11-02T22:06:01.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:04 .github [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 2 22:04 .gitignore [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 22:04 .golangci.yml [2022-11-02T22:06:01.461Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 22:05 .semver [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 2 22:04 Attribution.txt [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 2 22:04 CHANGELOG.md [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 2 22:04 Dockerfile [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 22:04 GOVERNANCE.md [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 2 22:04 Jenkinsfile [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 22:04 LICENSE [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 2 22:04 Makefile [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 22:04 OWNERS.md [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 2 22:04 README.md [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 22:05 VERSION [2022-11-02T22:06:01.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:04 bin [2022-11-02T22:06:01.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:04 cmd [2022-11-02T22:06:01.461Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 2 22:05 coverage.out [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 3448 Nov 2 22:04 go.mod [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 45075 Nov 2 22:04 go.sum [2022-11-02T22:06:01.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:04 internal [2022-11-02T22:06:01.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:04 snap [2022-11-02T22:06:01.461Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:06:01.855Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=67094d5594f8852302d3ef281899762e698ebc29 --label arch=amd64 --label version=0.0.0 . [2022-11-02T22:06:01.855Z] Sending build context to Docker daemon 15.9MB [2022-11-02T22:06:01.855Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T22:06:01.855Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-02T22:06:01.855Z] ---> 56b894df4732 [2022-11-02T22:06:01.855Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-02T22:06:01.855Z] ---> Running in 0ce20e467215 [2022-11-02T22:06:02.115Z] Removing intermediate container 0ce20e467215 [2022-11-02T22:06:02.115Z] ---> 46c33c19f7b5 [2022-11-02T22:06:02.115Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T22:06:02.115Z] ---> Running in 6b66f2692313 [2022-11-02T22:06:02.115Z] Removing intermediate container 6b66f2692313 [2022-11-02T22:06:02.115Z] ---> 4a1d2b8737f8 [2022-11-02T22:06:02.115Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T22:06:02.115Z] ---> Running in 2907539b8494 [2022-11-02T22:06:02.375Z] Removing intermediate container 2907539b8494 [2022-11-02T22:06:02.375Z] ---> b610c0d11da6 [2022-11-02T22:06:02.375Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T22:06:02.375Z] ---> Running in 38c95bffc56c [2022-11-02T22:06:02.375Z] Removing intermediate container 38c95bffc56c [2022-11-02T22:06:02.375Z] ---> 2bdd980eb929 [2022-11-02T22:06:02.375Z] Step 7/25 : WORKDIR /device-gpio [2022-11-02T22:06:02.375Z] ---> Running in 6c8cbeecfaa9 [2022-11-02T22:06:02.635Z] Removing intermediate container 6c8cbeecfaa9 [2022-11-02T22:06:02.635Z] ---> 3f0c96737dbc [2022-11-02T22:06:02.635Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T22:06:02.635Z] ---> Running in 53176e5565cf [2022-11-02T22:06:02.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T22:06:02.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T22:06:03.153Z] OK: 216 MiB in 55 packages [2022-11-02T22:06:03.413Z] Removing intermediate container 53176e5565cf [2022-11-02T22:06:03.413Z] ---> 3bf5fbeb7106 [2022-11-02T22:06:03.413Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-02T22:06:03.413Z] ---> f09979f5a203 [2022-11-02T22:06:03.413Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T22:06:03.672Z] ---> Running in 57dca8795852 [2022-11-02T22:06:04.240Z] Removing intermediate container 57dca8795852 [2022-11-02T22:06:04.240Z] ---> e21c6e0836c6 [2022-11-02T22:06:04.240Z] Step 11/25 : COPY . . [2022-11-02T22:06:04.811Z] ---> 412cbd6c2706 [2022-11-02T22:06:04.811Z] Step 12/25 : RUN ${MAKE} [2022-11-02T22:06:04.811Z] ---> Running in 47413141c993 [2022-11-02T22:06:05.071Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-02T22:06:23.153Z] Removing intermediate container 47413141c993 [2022-11-02T22:06:23.153Z] ---> 705ec0b42930 [2022-11-02T22:06:23.153Z] Step 13/25 : FROM alpine:3.16 [2022-11-02T22:06:23.719Z] 3.16: Pulling from library/alpine [2022-11-02T22:06:23.977Z] 213ec9aee27d: Already exists [2022-11-02T22:06:24.236Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T22:06:24.236Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T22:06:24.236Z] ---> 9c6f07244728 [2022-11-02T22:06:24.236Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-02T22:06:24.236Z] ---> Running in f5b56298543b [2022-11-02T22:06:24.236Z] Removing intermediate container f5b56298543b [2022-11-02T22:06:24.236Z] ---> d35796247dfa [2022-11-02T22:06:24.236Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-02T22:06:24.236Z] ---> Running in 7742c5c93cea [2022-11-02T22:06:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T22:06:24.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T22:06:24.755Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T22:06:24.755Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T22:06:24.755Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T22:06:25.013Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T22:06:25.013Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T22:06:25.013Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T22:06:25.013Z] OK: 8 MiB in 19 packages [2022-11-02T22:06:25.271Z] Removing intermediate container 7742c5c93cea [2022-11-02T22:06:25.271Z] ---> 68fc97702975 [2022-11-02T22:06:25.271Z] Step 16/25 : WORKDIR / [2022-11-02T22:06:25.271Z] ---> Running in 2efeef74239c [2022-11-02T22:06:25.529Z] Removing intermediate container 2efeef74239c [2022-11-02T22:06:25.529Z] ---> 83df6183e057 [2022-11-02T22:06:25.529Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-02T22:06:25.529Z] ---> b47d9e8ae4c8 [2022-11-02T22:06:25.529Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-02T22:06:25.789Z] ---> 2c02222201f8 [2022-11-02T22:06:25.789Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-02T22:06:26.356Z] ---> 0eb2115a1c73 [2022-11-02T22:06:26.356Z] Step 20/25 : EXPOSE 59910 [2022-11-02T22:06:26.356Z] ---> Running in d4af2b5a3c23 [2022-11-02T22:06:26.356Z] Removing intermediate container d4af2b5a3c23 [2022-11-02T22:06:26.356Z] ---> e402e3907942 [2022-11-02T22:06:26.356Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-02T22:06:26.356Z] ---> Running in 1232a1bb7663 [2022-11-02T22:06:26.356Z] Removing intermediate container 1232a1bb7663 [2022-11-02T22:06:26.356Z] ---> ed29daf506e3 [2022-11-02T22:06:26.356Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T22:06:26.356Z] ---> Running in 9aac122d26dd [2022-11-02T22:06:26.617Z] Removing intermediate container 9aac122d26dd [2022-11-02T22:06:26.617Z] ---> c8e9ddb62285 [2022-11-02T22:06:26.617Z] Step 23/25 : LABEL arch=amd64 [2022-11-02T22:06:26.617Z] ---> Running in 79f9b1330ca2 [2022-11-02T22:06:26.617Z] Removing intermediate container 79f9b1330ca2 [2022-11-02T22:06:26.617Z] ---> f192ec646dd9 [2022-11-02T22:06:26.617Z] Step 24/25 : LABEL git_sha=67094d5594f8852302d3ef281899762e698ebc29 [2022-11-02T22:06:26.617Z] ---> Running in 57f2e037b46e [2022-11-02T22:06:26.617Z] Removing intermediate container 57f2e037b46e [2022-11-02T22:06:26.617Z] ---> 5b34a26e1915 [2022-11-02T22:06:26.617Z] Step 25/25 : LABEL version=0.0.0 [2022-11-02T22:06:26.875Z] ---> Running in c19983ddfdcd [2022-11-02T22:06:26.875Z] Removing intermediate container c19983ddfdcd [2022-11-02T22:06:26.875Z] ---> 06d09ff684ab [2022-11-02T22:06:26.875Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T22:06:26.875Z] Successfully built 06d09ff684ab [2022-11-02T22:06:26.875Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:06:27.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T22:06:27.689Z] [2022-11-02T22:06:27.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:06:28.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T22:06:28.055Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T22:06:28.055Z] 5eb5b503b376: Pulling fs layer [2022-11-02T22:06:28.055Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T22:06:28.055Z] ec43610c2a17: Pulling fs layer [2022-11-02T22:06:28.055Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T22:06:28.055Z] 33b1e0a273af: Pulling fs layer [2022-11-02T22:06:28.055Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T22:06:28.055Z] 2f39f015ded8: Pulling fs layer [2022-11-02T22:06:28.055Z] 3a2ae6a8a46f: Waiting [2022-11-02T22:06:28.055Z] 5d3b04190fa2: Waiting [2022-11-02T22:06:28.055Z] 33b1e0a273af: Waiting [2022-11-02T22:06:28.055Z] 5c69ac0246d0: Verifying Checksum [2022-11-02T22:06:28.055Z] 5c69ac0246d0: Download complete [2022-11-02T22:06:28.055Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-02T22:06:28.055Z] 3a2ae6a8a46f: Download complete [2022-11-02T22:06:28.055Z] ec43610c2a17: Verifying Checksum [2022-11-02T22:06:28.055Z] ec43610c2a17: Download complete [2022-11-02T22:06:28.055Z] 33b1e0a273af: Verifying Checksum [2022-11-02T22:06:28.055Z] 33b1e0a273af: Download complete [2022-11-02T22:06:28.314Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T22:06:28.314Z] 5d3b04190fa2: Download complete [2022-11-02T22:06:28.314Z] 5eb5b503b376: Verifying Checksum [2022-11-02T22:06:28.314Z] 5eb5b503b376: Download complete [2022-11-02T22:06:28.880Z] 2f39f015ded8: Download complete [2022-11-02T22:06:29.447Z] 5eb5b503b376: Pull complete [2022-11-02T22:06:29.447Z] 5c69ac0246d0: Pull complete [2022-11-02T22:06:29.707Z] ec43610c2a17: Pull complete [2022-11-02T22:06:29.966Z] 3a2ae6a8a46f: Pull complete [2022-11-02T22:06:29.966Z] 33b1e0a273af: Pull complete [2022-11-02T22:06:30.225Z] 5d3b04190fa2: Pull complete [2022-11-02T22:06:34.418Z] 2f39f015ded8: Pull complete [2022-11-02T22:06:34.418Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T22:06:34.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T22:06:34.418Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:06:34.629Z] prd-ubuntu20.04-docker-8c-8g-117992 does not seem to be running inside a container [2022-11-02T22:06:34.656Z] $ 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-65 -v /w/workspace/edgexfoundry_device-gpio_PR-65:/w/workspace/edgexfoundry_device-gpio_PR-65:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-65@tmp:/w/workspace/edgexfoundry_device-gpio_PR-65@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:latest cat [2022-11-02T22:06:36.002Z] $ docker top 5715374db28ebaa43f2b1f1f73e42953e110a08824949a4cb386f3854d84bf1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:06:36.414Z] ---> job-cost.sh [2022-11-02T22:06:36.414Z] lf-activate-venv: SKIPPING [2022-11-02T22:06:36.414Z] INFO: No Stack... [2022-11-02T22:06:36.984Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T22:06:37.244Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T22:06:37.556Z] + + cutcat -d, /w/workspace/edgexfoundry_device-gpio_PR-65/archives/cost.csv -f6 [2022-11-02T22:06:37.556Z] [Pipeline] lock [2022-11-02T22:06:37.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [2022-11-02T22:06:37.601Z] Resource [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] did not exist. Created. [2022-11-02T22:06:37.601Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T22:06:37.981Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T22:06:38.029Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T22:06:38.057Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T22:06:38.134Z] $ docker stop --time=1 5715374db28ebaa43f2b1f1f73e42953e110a08824949a4cb386f3854d84bf1f [2022-11-02T22:06:39.298Z] $ docker rm -f 5715374db28ebaa43f2b1f1f73e42953e110a08824949a4cb386f3854d84bf1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T22:06:48.027Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117994 in /w/workspace/edgexfoundry_device-gpio_PR-65 [Pipeline] { [Pipeline] ws [2022-11-02T22:06:48.069Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-11-02T22:06:48.144Z] The recommended git tool is: git [2022-11-02T22:06:53.639Z] using credential edgex-jenkins-ssh [2022-11-02T22:06:53.675Z] Cloning the remote Git repository [2022-11-02T22:06:53.712Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-11-02T22:06:53.785Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-11-02T22:06:53.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-02T22:06:53.930Z] > git --version # timeout=10 [2022-11-02T22:06:53.951Z] > git --version # 'git version 2.25.1' [2022-11-02T22:06:53.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T22:06:54.001Z] Verifying host key using known hosts file [2022-11-02T22:06:54.185Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T22:06:54.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T22:06:57.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-02T22:06:57.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T22:06:57.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-02T22:06:58.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-02T22:06:58.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T22:06:58.036Z] Verifying host key using known hosts file [2022-11-02T22:06:58.043Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T22:06:58.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T22:06:58.662Z] Merging remotes/origin/main commit 9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 into PR head commit 67094d5594f8852302d3ef281899762e698ebc29 [2022-11-02T22:06:58.901Z] Merge succeeded, producing 67094d5594f8852302d3ef281899762e698ebc29 [2022-11-02T22:06:58.902Z] Checking out Revision 67094d5594f8852302d3ef281899762e698ebc29 (PR-65) [2022-11-02T22:06:58.684Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T22:06:58.706Z] > git checkout -f 67094d5594f8852302d3ef281899762e698ebc29 # timeout=10 [2022-11-02T22:06:58.788Z] > git remote # timeout=10 [2022-11-02T22:06:58.807Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T22:06:58.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T22:06:58.831Z] Verifying host key using known hosts file [2022-11-02T22:06:58.838Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T22:06:58.846Z] > git merge 9f661ec1c3164105e4e9f6d2e6777a7d1fb3d9a7 # timeout=10 [2022-11-02T22:06:58.875Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T22:06:58.905Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T22:06:58.917Z] > git checkout -f 67094d5594f8852302d3ef281899762e698ebc29 # timeout=10 [2022-11-02T22:07:02.374Z] Commit message: "docs: Levski Change Log" [2022-11-02T22:07:02.429Z] > git --version # timeout=10 [2022-11-02T22:07:02.446Z] > git --version # 'git version 2.25.1' [2022-11-02T22:07:02.471Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T22:07:03.501Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T22:07:03.501Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T22:07:03.501Z] Dload Upload Total Spent Left Speed [2022-11-02T22:07:03.501Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-11-02T22:07:04.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T22:07:04.595Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T22:07:04.595Z] + sudo tee /etc/docker/daemon.new [2022-11-02T22:07:04.595Z] { [2022-11-02T22:07:04.595Z] "registry-mirrors": [ [2022-11-02T22:07:04.595Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T22:07:04.595Z] ], [2022-11-02T22:07:04.595Z] "bip": "10.250.0.254/24", [2022-11-02T22:07:04.595Z] "hosts": [ [2022-11-02T22:07:04.595Z] "tcp://0.0.0.0:5555", [2022-11-02T22:07:04.595Z] "unix:///var/run/docker.sock" [2022-11-02T22:07:04.595Z] ], [2022-11-02T22:07:04.595Z] "mtu": 1458, [2022-11-02T22:07:04.595Z] "selinux-enabled": true, [2022-11-02T22:07:04.595Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T22:07:04.595Z] } [Pipeline] sh [2022-11-02T22:07:04.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T22:07:05.300Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T22:07:23.642Z] provisioning config files... [2022-11-02T22:07:23.667Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6443605681063128331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:07:24.051Z] ---> docker-login.sh [2022-11-02T22:07:24.051Z] nexus3.edgexfoundry.org:10001 [2022-11-02T22:07:24.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:07:24.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:07:24.639Z] Configure a credential helper to remove this warning. See [2022-11-02T22:07:24.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:07:24.639Z] [2022-11-02T22:07:24.639Z] Login Succeeded [2022-11-02T22:07:24.639Z] nexus3.edgexfoundry.org:10002 [2022-11-02T22:07:24.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:07:24.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:07:24.909Z] Configure a credential helper to remove this warning. See [2022-11-02T22:07:24.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:07:24.909Z] [2022-11-02T22:07:24.909Z] Login Succeeded [2022-11-02T22:07:24.909Z] nexus3.edgexfoundry.org:10003 [2022-11-02T22:07:25.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:07:25.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:07:25.446Z] Configure a credential helper to remove this warning. See [2022-11-02T22:07:25.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:07:25.446Z] [2022-11-02T22:07:25.446Z] Login Succeeded [2022-11-02T22:07:25.446Z] nexus3.edgexfoundry.org:10004 [2022-11-02T22:07:25.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:07:25.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:07:25.719Z] Configure a credential helper to remove this warning. See [2022-11-02T22:07:25.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:07:25.719Z] [2022-11-02T22:07:25.719Z] Login Succeeded [2022-11-02T22:07:25.719Z] docker.io [2022-11-02T22:07:25.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T22:07:26.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T22:07:26.252Z] Configure a credential helper to remove this warning. See [2022-11-02T22:07:26.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T22:07:26.252Z] [2022-11-02T22:07:26.252Z] Login Succeeded [2022-11-02T22:07:26.252Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T22:07:26.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T22:07:26.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T22:07:26.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T22:07:26.607Z] ========================================================= [2022-11-02T22:07:26.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T22:07:26.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:07:27.087Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-02T22:07:27.355Z] Sending build context to Docker daemon 8.016MB [2022-11-02T22:07:27.355Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T22:07:27.355Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T22:07:27.632Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T22:07:27.632Z] 9b18e9b68314: Pulling fs layer [2022-11-02T22:07:27.632Z] 35d82f9e3411: Pulling fs layer [2022-11-02T22:07:27.632Z] e16973657156: Pulling fs layer [2022-11-02T22:07:27.632Z] fc693d55d65f: Pulling fs layer [2022-11-02T22:07:27.632Z] 7e9fc2657dce: Pulling fs layer [2022-11-02T22:07:27.632Z] dda99020689f: Pulling fs layer [2022-11-02T22:07:27.632Z] db1c61fa0a46: Pulling fs layer [2022-11-02T22:07:27.632Z] 891c053d2c06: Pulling fs layer [2022-11-02T22:07:27.632Z] 7e9fc2657dce: Waiting [2022-11-02T22:07:27.632Z] dda99020689f: Waiting [2022-11-02T22:07:27.632Z] db1c61fa0a46: Waiting [2022-11-02T22:07:27.632Z] fc693d55d65f: Waiting [2022-11-02T22:07:27.632Z] e16973657156: Verifying Checksum [2022-11-02T22:07:27.632Z] e16973657156: Download complete [2022-11-02T22:07:27.632Z] 35d82f9e3411: Verifying Checksum [2022-11-02T22:07:27.632Z] 35d82f9e3411: Download complete [2022-11-02T22:07:27.632Z] 7e9fc2657dce: Verifying Checksum [2022-11-02T22:07:27.632Z] 7e9fc2657dce: Download complete [2022-11-02T22:07:27.632Z] dda99020689f: Download complete [2022-11-02T22:07:27.632Z] 9b18e9b68314: Verifying Checksum [2022-11-02T22:07:27.632Z] 9b18e9b68314: Download complete [2022-11-02T22:07:28.618Z] 9b18e9b68314: Pull complete [2022-11-02T22:07:28.890Z] 891c053d2c06: Verifying Checksum [2022-11-02T22:07:28.890Z] 891c053d2c06: Download complete [2022-11-02T22:07:29.159Z] 35d82f9e3411: Pull complete [2022-11-02T22:07:29.430Z] e16973657156: Pull complete [2022-11-02T22:07:30.021Z] db1c61fa0a46: Verifying Checksum [2022-11-02T22:07:30.021Z] db1c61fa0a46: Download complete [2022-11-02T22:07:30.608Z] fc693d55d65f: Verifying Checksum [2022-11-02T22:07:30.608Z] fc693d55d65f: Download complete [2022-11-02T22:07:42.943Z] fc693d55d65f: Pull complete [2022-11-02T22:07:42.943Z] 7e9fc2657dce: Pull complete [2022-11-02T22:07:42.943Z] dda99020689f: Pull complete [2022-11-02T22:07:49.606Z] db1c61fa0a46: Pull complete [2022-11-02T22:07:51.028Z] 891c053d2c06: Pull complete [2022-11-02T22:07:51.028Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-02T22:07:51.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T22:07:51.028Z] ---> f96f9c87975a [2022-11-02T22:07:51.028Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T22:07:52.987Z] ---> Running in c330db01d29f [2022-11-02T22:07:53.255Z] Removing intermediate container c330db01d29f [2022-11-02T22:07:53.255Z] ---> b733b9a539f3 [2022-11-02T22:07:53.255Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T22:07:53.255Z] ---> Running in 4a3aa01aba84 [2022-11-02T22:07:53.846Z] Removing intermediate container 4a3aa01aba84 [2022-11-02T22:07:53.846Z] ---> d4d47e284ad1 [2022-11-02T22:07:53.846Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T22:07:53.846Z] ---> Running in 8db11ce45023 [2022-11-02T22:07:54.115Z] Removing intermediate container 8db11ce45023 [2022-11-02T22:07:54.115Z] ---> 33e7cd8ff523 [2022-11-02T22:07:54.115Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T22:07:54.115Z] ---> Running in f375a98308eb [2022-11-02T22:07:54.705Z] Removing intermediate container f375a98308eb [2022-11-02T22:07:54.705Z] ---> ebbb825d2755 [2022-11-02T22:07:54.705Z] Step 7/12 : WORKDIR /device-gpio [2022-11-02T22:07:54.705Z] ---> Running in 1950bd4eb860 [2022-11-02T22:07:54.973Z] Removing intermediate container 1950bd4eb860 [2022-11-02T22:07:54.973Z] ---> 7a0f5309b9dd [2022-11-02T22:07:54.973Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T22:07:55.242Z] ---> Running in bd98938f1f5b [2022-11-02T22:07:56.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T22:07:56.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T22:07:57.884Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T22:07:57.884Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T22:07:57.884Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T22:07:57.884Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T22:07:57.884Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T22:07:58.154Z] OK: 226 MiB in 55 packages [2022-11-02T22:07:59.139Z] Removing intermediate container bd98938f1f5b [2022-11-02T22:07:59.139Z] ---> 2973dfd3e16e [2022-11-02T22:07:59.139Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T22:07:59.729Z] ---> 9783547853af [2022-11-02T22:07:59.730Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T22:07:59.730Z] ---> Running in 2b23e3318fbf [2022-11-02T22:08:56.160Z] Removing intermediate container 2b23e3318fbf [2022-11-02T22:08:56.161Z] ---> 256181a8df94 [2022-11-02T22:08:56.161Z] Step 11/12 : COPY . . [2022-11-02T22:08:56.161Z] ---> 818e87f3c048 [2022-11-02T22:08:56.161Z] Step 12/12 : RUN ${MAKE} [2022-11-02T22:08:56.161Z] ---> Running in ada782a43c91 [2022-11-02T22:08:56.161Z] noop [2022-11-02T22:08:56.161Z] Removing intermediate container ada782a43c91 [2022-11-02T22:08:56.161Z] ---> 49f271fe21d7 [2022-11-02T22:08:56.161Z] Successfully built 49f271fe21d7 [2022-11-02T22:08:56.161Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:08:56.627Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T22:08:56.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:08:56.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-117994 does not seem to be running inside a container [2022-11-02T22:08:56.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-02T22:08:58.190Z] $ docker top f183f75db76916829a919a5cbf569b21821900d5a867215f2b978dfa832cc9ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T22:08:59.064Z] + go version [2022-11-02T22:08:59.064Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T22:08:59.107Z] $ docker stop --time=1 f183f75db76916829a919a5cbf569b21821900d5a867215f2b978dfa832cc9ee [2022-11-02T22:09:00.771Z] $ docker rm -f f183f75db76916829a919a5cbf569b21821900d5a867215f2b978dfa832cc9ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:09:01.616Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T22:09:01.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:09:01.852Z] prd-ubuntu20.04-docker-arm64-4c-16g-117994 does not seem to be running inside a container [2022-11-02T22:09:01.921Z] $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-02T22:09:03.118Z] $ docker top e65b46b263dcd9adf518b97d250c9aa365a7891c0b6e459ab51de548caa63f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T22:09:03.992Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T22:09:04.387Z] + make test [2022-11-02T22:09:04.655Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-02T22:09:06.064Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-02T22:10:42.729Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-02T22:10:42.729Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-02T22:10:42.729Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T22:10:42.729Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T22:10:52.837Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T22:10:52.837Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T22:10:52.837Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T22:10:52.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T22:10:52.913Z] $ docker stop --time=1 e65b46b263dcd9adf518b97d250c9aa365a7891c0b6e459ab51de548caa63f5d [2022-11-02T22:10:54.688Z] $ docker rm -f e65b46b263dcd9adf518b97d250c9aa365a7891c0b6e459ab51de548caa63f5d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T22:10:55.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T22:10:55.748Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T22:10:56.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T22:10:56.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T22:10:57.014Z] + ls -al . [2022-11-02T22:10:57.014Z] total 168 [2022-11-02T22:10:57.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 22:09 . [2022-11-02T22:10:57.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:06 .. [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 2 22:06 .dockerignore [2022-11-02T22:10:57.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 22:06 .git [2022-11-02T22:10:57.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:06 .github [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 2 22:06 .gitignore [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 22:06 .golangci.yml [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 2 22:06 Attribution.txt [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 2 22:06 CHANGELOG.md [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 2 22:06 Dockerfile [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 22:06 GOVERNANCE.md [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 2 22:06 Jenkinsfile [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 22:06 LICENSE [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 2 22:06 Makefile [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 2 22:06 OWNERS.md [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 2 22:06 README.md [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 22:05 VERSION [2022-11-02T22:10:57.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 22:06 bin [2022-11-02T22:10:57.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:06 cmd [2022-11-02T22:10:57.014Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 2 22:09 coverage.out [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 3448 Nov 2 22:06 go.mod [2022-11-02T22:10:57.014Z] -rw-rw-r-- 1 jenkins jenkins 45075 Nov 2 22:06 go.sum [2022-11-02T22:10:57.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 22:06 internal [2022-11-02T22:10:57.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 22:06 snap [2022-11-02T22:10:57.015Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 22:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:10:57.431Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=67094d5594f8852302d3ef281899762e698ebc29 --label arch=arm64 --label version=0.0.0 . [2022-11-02T22:10:57.701Z] Sending build context to Docker daemon 8.017MB [2022-11-02T22:10:57.701Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T22:10:57.701Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-02T22:10:57.701Z] ---> 49f271fe21d7 [2022-11-02T22:10:57.701Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-02T22:10:57.969Z] ---> Running in c0f416a94a89 [2022-11-02T22:10:58.238Z] Removing intermediate container c0f416a94a89 [2022-11-02T22:10:58.238Z] ---> 0b557395a0ba [2022-11-02T22:10:58.238Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T22:10:58.238Z] ---> Running in dc1161cfa2aa [2022-11-02T22:10:58.829Z] Removing intermediate container dc1161cfa2aa [2022-11-02T22:10:58.829Z] ---> 8e1d492e5400 [2022-11-02T22:10:58.829Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T22:10:58.829Z] ---> Running in 82fedd0911da [2022-11-02T22:10:59.100Z] Removing intermediate container 82fedd0911da [2022-11-02T22:10:59.100Z] ---> fa4a8d9ea099 [2022-11-02T22:10:59.100Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T22:10:59.100Z] ---> Running in 6b11535ad313 [2022-11-02T22:10:59.370Z] Removing intermediate container 6b11535ad313 [2022-11-02T22:10:59.371Z] ---> 41b6d74e0a73 [2022-11-02T22:10:59.371Z] Step 7/25 : WORKDIR /device-gpio [2022-11-02T22:10:59.371Z] ---> Running in b524fed26c93 [2022-11-02T22:10:59.961Z] Removing intermediate container b524fed26c93 [2022-11-02T22:10:59.961Z] ---> a458e867816b [2022-11-02T22:10:59.961Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T22:10:59.961Z] ---> Running in d87074d6806c [2022-11-02T22:11:00.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T22:11:01.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T22:11:02.607Z] OK: 226 MiB in 55 packages [2022-11-02T22:11:03.194Z] Removing intermediate container d87074d6806c [2022-11-02T22:11:03.195Z] ---> 6439cf090714 [2022-11-02T22:11:03.195Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-02T22:11:03.777Z] ---> 8924506315c8 [2022-11-02T22:11:03.777Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T22:11:03.777Z] ---> Running in c03b216e669a [2022-11-02T22:11:06.361Z] Removing intermediate container c03b216e669a [2022-11-02T22:11:06.361Z] ---> 9ec66728163f [2022-11-02T22:11:06.361Z] Step 11/25 : COPY . . [2022-11-02T22:11:06.946Z] ---> 0659b622a14d [2022-11-02T22:11:06.946Z] Step 12/25 : RUN ${MAKE} [2022-11-02T22:11:06.946Z] ---> Running in c90623acb224 [2022-11-02T22:11:08.360Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-02T22:13:45.462Z] Removing intermediate container c90623acb224 [2022-11-02T22:13:45.462Z] ---> cf1121f5cff6 [2022-11-02T22:13:45.462Z] Step 13/25 : FROM alpine:3.16 [2022-11-02T22:13:45.462Z] 3.16: Pulling from library/alpine [2022-11-02T22:13:45.462Z] 9b18e9b68314: Already exists [2022-11-02T22:13:45.462Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T22:13:45.462Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T22:13:45.462Z] ---> a6215f271958 [2022-11-02T22:13:45.462Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-02T22:13:45.462Z] ---> Running in 81b4c1f85986 [2022-11-02T22:13:45.462Z] Removing intermediate container 81b4c1f85986 [2022-11-02T22:13:45.462Z] ---> f93ac06885b9 [2022-11-02T22:13:45.462Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-02T22:13:45.462Z] ---> Running in f66f6622c0c7 [2022-11-02T22:13:45.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T22:13:45.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T22:13:45.462Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T22:13:45.462Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-02T22:13:45.462Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T22:13:45.462Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-02T22:13:45.462Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-02T22:13:45.462Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T22:13:45.462Z] OK: 8 MiB in 19 packages [2022-11-02T22:13:45.462Z] Removing intermediate container f66f6622c0c7 [2022-11-02T22:13:45.462Z] ---> d8010686cb95 [2022-11-02T22:13:45.462Z] Step 16/25 : WORKDIR / [2022-11-02T22:13:45.462Z] ---> Running in e9f6775ffe99 [2022-11-02T22:13:45.462Z] Removing intermediate container e9f6775ffe99 [2022-11-02T22:13:45.462Z] ---> 233a078b2d3b [2022-11-02T22:13:45.462Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-02T22:13:45.462Z] ---> 9c23434e025f [2022-11-02T22:13:45.462Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-02T22:13:45.462Z] ---> 1f795b5b62f4 [2022-11-02T22:13:45.462Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-02T22:13:45.462Z] ---> 82f7cb6fc21d [2022-11-02T22:13:45.462Z] Step 20/25 : EXPOSE 59910 [2022-11-02T22:13:45.462Z] ---> Running in 607742ba6fbc [2022-11-02T22:13:45.462Z] Removing intermediate container 607742ba6fbc [2022-11-02T22:13:45.462Z] ---> 4e942cce24d4 [2022-11-02T22:13:45.462Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-02T22:13:45.462Z] ---> Running in 954cdaa23887 [2022-11-02T22:13:45.732Z] Removing intermediate container 954cdaa23887 [2022-11-02T22:13:45.732Z] ---> 92602700beee [2022-11-02T22:13:45.732Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T22:13:46.002Z] ---> Running in de1054816872 [2022-11-02T22:13:46.270Z] Removing intermediate container de1054816872 [2022-11-02T22:13:46.270Z] ---> a08e35229d0c [2022-11-02T22:13:46.270Z] Step 23/25 : LABEL arch=arm64 [2022-11-02T22:13:46.270Z] ---> Running in e2c89647b978 [2022-11-02T22:13:46.539Z] Removing intermediate container e2c89647b978 [2022-11-02T22:13:46.539Z] ---> cc6a9a78aef2 [2022-11-02T22:13:46.539Z] Step 24/25 : LABEL git_sha=67094d5594f8852302d3ef281899762e698ebc29 [2022-11-02T22:13:46.539Z] ---> Running in 0019b8fd9b4c [2022-11-02T22:13:46.809Z] Removing intermediate container 0019b8fd9b4c [2022-11-02T22:13:46.809Z] ---> e74b3142687d [2022-11-02T22:13:46.809Z] Step 25/25 : LABEL version=0.0.0 [2022-11-02T22:13:47.076Z] ---> Running in 8ec132c61dd0 [2022-11-02T22:13:47.341Z] Removing intermediate container 8ec132c61dd0 [2022-11-02T22:13:47.341Z] ---> 47248e4bc7ba [2022-11-02T22:13:47.341Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T22:13:47.341Z] Successfully built 47248e4bc7ba [2022-11-02T22:13:47.341Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:13:48.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T22:13:48.130Z] [2022-11-02T22:13:48.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:13:48.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T22:13:48.525Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T22:13:48.525Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T22:13:48.525Z] 04944245beec: Pulling fs layer [2022-11-02T22:13:48.525Z] 699f458cf7ca: Pulling fs layer [2022-11-02T22:13:48.525Z] 765212b225bb: Pulling fs layer [2022-11-02T22:13:48.525Z] f23df028b6ca: Pulling fs layer [2022-11-02T22:13:48.525Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T22:13:48.525Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T22:13:48.525Z] 765212b225bb: Waiting [2022-11-02T22:13:48.525Z] f23df028b6ca: Waiting [2022-11-02T22:13:48.525Z] d65c8cfc05b1: Waiting [2022-11-02T22:13:48.525Z] 2437ff75d9bd: Waiting [2022-11-02T22:13:48.797Z] 04944245beec: Verifying Checksum [2022-11-02T22:13:48.797Z] 04944245beec: Download complete [2022-11-02T22:13:48.797Z] 765212b225bb: Verifying Checksum [2022-11-02T22:13:48.797Z] 765212b225bb: Download complete [2022-11-02T22:13:48.797Z] f23df028b6ca: Verifying Checksum [2022-11-02T22:13:48.797Z] f23df028b6ca: Download complete [2022-11-02T22:13:48.797Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T22:13:48.797Z] d65c8cfc05b1: Download complete [2022-11-02T22:13:48.797Z] 699f458cf7ca: Verifying Checksum [2022-11-02T22:13:48.797Z] 699f458cf7ca: Download complete [2022-11-02T22:13:49.386Z] 8998bd30e6a1: Verifying Checksum [2022-11-02T22:13:49.386Z] 8998bd30e6a1: Download complete [2022-11-02T22:13:51.973Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T22:13:51.973Z] 2437ff75d9bd: Download complete [2022-11-02T22:13:53.385Z] 8998bd30e6a1: Pull complete [2022-11-02T22:13:53.654Z] 04944245beec: Pull complete [2022-11-02T22:13:55.067Z] 699f458cf7ca: Pull complete [2022-11-02T22:13:55.335Z] 765212b225bb: Pull complete [2022-11-02T22:13:55.919Z] f23df028b6ca: Pull complete [2022-11-02T22:13:56.186Z] d65c8cfc05b1: Pull complete [2022-11-02T22:14:11.190Z] 2437ff75d9bd: Pull complete [2022-11-02T22:14:11.190Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T22:14:11.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T22:14:11.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:14:11.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-117994 does not seem to be running inside a container [2022-11-02T22:14:11.582Z] $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T22:14:13.995Z] $ docker top 4e12270df39dad5b4e2c4ec93a28bfde53102a2141e0d02fa7830a2debb95004 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:14.852Z] ---> job-cost.sh [2022-11-02T22:14:14.852Z] lf-activate-venv: SKIPPING [2022-11-02T22:14:14.852Z] INFO: No Stack... [2022-11-02T22:14:15.119Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T22:14:16.077Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T22:14:16.731Z] + + cut -d,cat -f6 /w/workspace/device-gpio/1/archives/cost.csv [2022-11-02T22:14:16.731Z] [Pipeline] lock [2022-11-02T22:14:16.805Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [2022-11-02T22:14:16.810Z] Resource [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] did not exist. Created. [2022-11-02T22:14:16.810Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T22:14:17.212Z] /w/workspace/device-gpio/1@tmp/durable-19c99b5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T22:14:17.882Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T22:14:17.918Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T22:14:17.966Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T22:14:17.982Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-65-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T22:14:18.083Z] $ docker stop --time=1 4e12270df39dad5b4e2c4ec93a28bfde53102a2141e0d02fa7830a2debb95004 [2022-11-02T22:14:19.558Z] $ docker rm -f 4e12270df39dad5b4e2c4ec93a28bfde53102a2141e0d02fa7830a2debb95004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-02T22:14:20.442Z] provisioning config files... [2022-11-02T22:14:20.451Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/config7022112159490708401tmp [Pipeline] { [Pipeline] sh [2022-11-02T22:14:20.775Z] + set +x [2022-11-02T22:14:20.775Z] + curl -s https://codecov.io/bash [2022-11-02T22:14:20.775Z] + bash -s -- [2022-11-02T22:14:20.775Z] [2022-11-02T22:14:20.775Z] _____ _ [2022-11-02T22:14:20.775Z] / ____| | | [2022-11-02T22:14:20.775Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T22:14:20.775Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T22:14:20.775Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T22:14:20.775Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T22:14:20.775Z] Bash-1.0.6 [2022-11-02T22:14:20.775Z] [2022-11-02T22:14:20.775Z] [2022-11-02T22:14:20.775Z] ==> git version 2.25.1 found [2022-11-02T22:14:20.775Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-02T22:14:20.775Z] Release-Date: 2020-01-08 [2022-11-02T22:14:20.775Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-02T22:14:20.775Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T22:14:20.775Z] ==> Jenkins CI detected. [2022-11-02T22:14:20.775Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-65 [2022-11-02T22:14:20.775Z] project root: . [2022-11-02T22:14:20.775Z] --> token set from env [2022-11-02T22:14:20.775Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T22:14:20.775Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T22:14:20.775Z] ==> Python coveragepy not found [2022-11-02T22:14:20.775Z] ==> Searching for coverage reports in: [2022-11-02T22:14:20.775Z] + . [2022-11-02T22:14:20.775Z] -> Found 1 reports [2022-11-02T22:14:20.775Z] ==> Detecting git/mercurial file structure [2022-11-02T22:14:20.775Z] ==> Reading reports [2022-11-02T22:14:20.775Z] + ./coverage.out bytes=10 [2022-11-02T22:14:20.775Z] ==> Appending adjustments [2022-11-02T22:14:20.775Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T22:14:21.034Z] + Found adjustments [2022-11-02T22:14:21.034Z] ==> Gzipping contents [2022-11-02T22:14:21.034Z] 4.0K /tmp/codecov.upoZnr.gz [2022-11-02T22:14:21.034Z] ==> Uploading reports [2022-11-02T22:14:21.034Z] url: https://codecov.io [2022-11-02T22:14:21.034Z] query: branch=PR-65&commit=67094d5594f8852302d3ef281899762e698ebc29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-65%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-11-02T22:14:21.034Z] -> Pinging Codecov [2022-11-02T22:14:21.034Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-65&commit=67094d5594f8852302d3ef281899762e698ebc29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-65%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-11-02T22:14:21.293Z] -> Uploading to [2022-11-02T22:14:21.294Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/3EC07B1A8CA8AF9BCAA0BB9F0134797F/67094d5594f8852302d3ef281899762e698ebc29/08bef148-faf7-4333-935d-d4b0dfad9020.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T221421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a01d3aa5c85575f5ba70b28966e406f65135b45c13946b8711635b50f588a37 [2022-11-02T22:14:21.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T22:14:21.294Z] Dload Upload Total Spent Left Speed [2022-11-02T22:14:21.553Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2840 --:--:-- --:--:-- --:--:-- 2840 [2022-11-02T22:14:21.553Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/67094d5594f8852302d3ef281899762e698ebc29 [Pipeline] } [2022-11-02T22:14:21.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-02T22:14:23.304Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-65/archives ] [2022-11-02T22:14:23.304Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-65/archives [2022-11-02T22:14:23.304Z] total 16 [2022-11-02T22:14:23.304Z] drwxr-xr-x 3 root root 4096 Nov 2 22:06 . [2022-11-02T22:14:23.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 22:06 .. [2022-11-02T22:14:23.304Z] drwxr-xr-x 2 root root 4096 Nov 2 22:06 cost [2022-11-02T22:14:23.304Z] -rw-r--r-- 1 root root 82 Nov 2 22:06 cost.csv [2022-11-02T22:14:23.304Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-65/archives [2022-11-02T22:14:23.304Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-65/archives [2022-11-02T22:14:23.304Z] total 16 [2022-11-02T22:14:23.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 22:06 . [2022-11-02T22:14:23.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 22:06 .. [2022-11-02T22:14:23.304Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 22:06 cost [2022-11-02T22:14:23.304Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 2 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:23.630Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:24.521Z] ---> package-listing.sh [2022-11-02T22:14:24.521Z] ++ facter osfamily [2022-11-02T22:14:24.521Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T22:14:24.780Z] + OS_FAMILY=debian [2022-11-02T22:14:24.780Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-65 [2022-11-02T22:14:24.780Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T22:14:24.780Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T22:14:24.780Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T22:14:24.780Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T22:14:24.780Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-65 ']' [2022-11-02T22:14:24.780Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T22:14:24.780Z] + case "${OS_FAMILY}" in [2022-11-02T22:14:24.780Z] + dpkg -l [2022-11-02T22:14:24.780Z] + grep '^ii' [2022-11-02T22:14:24.780Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T22:14:24.780Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T22:14:24.780Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T22:14:24.780Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-65 ']' [2022-11-02T22:14:24.780Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-65/archives/ [2022-11-02T22:14:24.780Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-65/archives/ [Pipeline] echo [2022-11-02T22:14:24.813Z] 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T22:14:25.101Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T22:14:25.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T22:14:25.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T22:14:25.859Z] prd-ubuntu20.04-docker-8c-8g-117992 does not seem to be running inside a container [2022-11-02T22:14:25.878Z] $ 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-65/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-65 -v /w/workspace/edgexfoundry_device-gpio_PR-65:/w/workspace/edgexfoundry_device-gpio_PR-65:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-65@tmp:/w/workspace/edgexfoundry_device-gpio_PR-65@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 [2022-11-02T22:14:26.074Z] $ docker top c74a53db4f29b36ae52c10ba37a430634e0cf6b46f37fd6bcbde7ca480693bb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T22:14:26.461Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T22:14:26.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T22:14:27.072Z] + ls /var/log/sa-host [2022-11-02T22:14:27.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T22:14:27.197Z] provisioning config files... [2022-11-02T22:14:27.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-65@tmp/config13121738811190251115tmp [Pipeline] { [Pipeline] echo [2022-11-02T22:14:27.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:27.561Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T22:14:27.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:27.970Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T22:14:28.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:28.316Z] ---> sudo-logs.sh [2022-11-02T22:14:28.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T22:14:28.399Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:28.708Z] ---> job-cost.sh [2022-11-02T22:14:28.708Z] lf-activate-venv: SKIPPING [2022-11-02T22:14:28.708Z] DEBUG: total: 0.2199999988079071 [2022-11-02T22:14:28.708Z] INFO: Retrieving Stack Cost... [2022-11-02T22:14:29.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T22:14:29.539Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T22:14:29.570Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T22:14:29.879Z] ---> logs-deploy.sh [2022-11-02T22:14:29.879Z] lf-activate-venv: SKIPPING [2022-11-02T22:14:29.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-65/1 [2022-11-02T22:14:29.879Z] INFO: archiving workspace using pattern(s): [2022-11-02T22:14:30.813Z] Archives upload complete. [2022-11-02T22:14:30.813Z] INFO: archiving logs to Nexus