Pull request #75 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 1bc74da64d66b3f3e806be9e8bb73e93bd222951+14c37c6919d6c1a44175d8fd941257ea70202ac9 (d3118ec84294a36c6c808800f0eb9821a866b79c) 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-ssh7569302518527292165.key > 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-ssh1354240848759797440.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-75/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-75/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh80985714507691056.key > 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-75/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1482896373671681894.key > 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-ssh9571501919008877616.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-75/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-75/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5557516616740356717.key > 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-1580’ Running on prd-ubuntu20.04-docker-8c-8g-1582 in /w/workspace/edgexfoundry_device-gpio_PR-75 [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-75 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 14c37c6919d6c1a44175d8fd941257ea70202ac9 into PR head commit 1bc74da64d66b3f3e806be9e8bb73e93bd222951 Merge succeeded, producing 1bc74da64d66b3f3e806be9e8bb73e93bd222951 Checking out Revision 1bc74da64d66b3f3e806be9e8bb73e93bd222951 (PR-75) > git config core.sparsecheckout # timeout=10 > git checkout -f 1bc74da64d66b3f3e806be9e8bb73e93bd222951 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bc74da64d66b3f3e806be9e8bb73e93bd222951 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" 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 [2023-01-10T16:27:58.910Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T16:27:59.072Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T16:27:59.160Z] ========================================================= [2023-01-10T16:27:59.160Z] EdgeX Global Pipelines Version Info [2023-01-10T16:27:59.160Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:27:59.901Z] ------------------- [2023-01-10T16:27:59.901Z] stable info: [2023-01-10T16:27:59.901Z] ------------------- [2023-01-10T16:27:59.901Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T16:27:59.901Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T16:27:59.901Z] Message: update stable to v1.0.244 [2023-01-10T16:28:00.479Z] ------------------- [2023-01-10T16:28:00.480Z] experimental info: [2023-01-10T16:28:00.480Z] ------------------- [2023-01-10T16:28:00.480Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T16:28:00.480Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T16:28:00.480Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T16:28:00.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-10T16:28:00.952Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-10T16:28:00.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T16:28:01.027Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T16:28:01.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T16:28:01.108Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T16:28:01.142Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T16:28:01.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T16:28:01.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T16:28:01.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T16:28:01.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T16:28:01.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-10T16:28:01.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T16:28:01.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T16:28:01.420Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T16:28:01.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T16:28:01.496Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T16:28:01.532Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T16:28:01.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T16:28:01.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T16:28:01.647Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T16:28:01.686Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T16:28:01.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T16:28:01.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T16:28:01.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T16:28:01.835Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T16:28:01.868Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T16:28:01.905Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo [2023-01-10T16:28:01.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo [2023-01-10T16:28:01.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo [2023-01-10T16:28:02.016Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [Pipeline] echo [2023-01-10T16:28:02.054Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bc74da [Pipeline] echo [2023-01-10T16:28:02.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:28:02.194Z] provisioning config files... [2023-01-10T16:28:02.209Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/config924114486257197181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:28:02.554Z] ---> docker-login.sh [2023-01-10T16:28:02.554Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:28:02.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:02.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:02.816Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:02.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:02.816Z] [2023-01-10T16:28:02.816Z] Login Succeeded [2023-01-10T16:28:02.816Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:28:02.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:03.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:03.079Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:03.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:03.079Z] [2023-01-10T16:28:03.079Z] Login Succeeded [2023-01-10T16:28:03.079Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:28:03.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:03.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:03.079Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:03.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:03.079Z] [2023-01-10T16:28:03.079Z] Login Succeeded [2023-01-10T16:28:03.079Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:28:03.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:03.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:03.340Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:03.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:03.340Z] [2023-01-10T16:28:03.340Z] Login Succeeded [2023-01-10T16:28:03.340Z] docker.io [2023-01-10T16:28:03.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:03.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:03.602Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:03.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:03.602Z] [2023-01-10T16:28:03.602Z] Login Succeeded [2023-01-10T16:28:03.602Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:28:03.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T16:28:04.252Z] + git rev-list -1 --merges 1bc74da64d66b3f3e806be9e8bb73e93bd222951~1..1bc74da64d66b3f3e806be9e8bb73e93bd222951 [Pipeline] echo [2023-01-10T16:28:04.319Z] -----------> git rev-list -1 --merges 1bc74da64d66b3f3e806be9e8bb73e93bd222951~1..1bc74da64d66b3f3e806be9e8bb73e93bd222951 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [false] [Pipeline] sh [2023-01-10T16:28:04.626Z] + git log --format=format:%s -1 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [Pipeline] echo [2023-01-10T16:28:04.661Z] ========================================================= [2023-01-10T16:28:04.661Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T16:28:04.661Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:28:05.092Z] + git log --format=format:%s -1 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [Pipeline] echo [2023-01-10T16:28:05.122Z] [semverPrep] GIT_COMMIT: 1bc74da64d66b3f3e806be9e8bb73e93bd222951, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-10T16:28:05.151Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T16:28:05.523Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T16:28:05.523Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T16:28:05.523Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T16:28:05.523Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T16:28:05.523Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T16:28:05.523Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T16:28:05.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:28:06.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:28:06.013Z] [2023-01-10T16:28:06.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:28:06.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:28:06.391Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T16:28:06.391Z] b85a868b505f: Pulling fs layer [2023-01-10T16:28:06.391Z] e2be974225ed: Pulling fs layer [2023-01-10T16:28:06.391Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T16:28:06.391Z] 988bab9f4d93: Pulling fs layer [2023-01-10T16:28:06.391Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T16:28:06.391Z] eaf3925da568: Pulling fs layer [2023-01-10T16:28:06.391Z] bab4dde63d76: Pulling fs layer [2023-01-10T16:28:06.391Z] bde34c3a00c8: Pulling fs layer [2023-01-10T16:28:06.391Z] b352a97aabf1: Pulling fs layer [2023-01-10T16:28:06.391Z] 4872d77fe225: Pulling fs layer [2023-01-10T16:28:06.391Z] 5851b861e8e6: Pulling fs layer [2023-01-10T16:28:06.391Z] eaf3925da568: Waiting [2023-01-10T16:28:06.391Z] bde34c3a00c8: Waiting [2023-01-10T16:28:06.391Z] bab4dde63d76: Waiting [2023-01-10T16:28:06.391Z] b352a97aabf1: Waiting [2023-01-10T16:28:06.391Z] 5851b861e8e6: Waiting [2023-01-10T16:28:06.391Z] 988bab9f4d93: Waiting [2023-01-10T16:28:06.391Z] 4872d77fe225: Waiting [2023-01-10T16:28:06.391Z] 1469e6f7b9e6: Waiting [2023-01-10T16:28:06.391Z] e2be974225ed: Verifying Checksum [2023-01-10T16:28:06.391Z] e2be974225ed: Download complete [2023-01-10T16:28:06.391Z] 988bab9f4d93: Verifying Checksum [2023-01-10T16:28:06.391Z] 988bab9f4d93: Download complete [2023-01-10T16:28:06.652Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T16:28:06.652Z] 339a4e72a1f5: Download complete [2023-01-10T16:28:06.652Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T16:28:06.652Z] 1469e6f7b9e6: Download complete [2023-01-10T16:28:06.652Z] eaf3925da568: Verifying Checksum [2023-01-10T16:28:06.652Z] eaf3925da568: Download complete [2023-01-10T16:28:06.652Z] bde34c3a00c8: Verifying Checksum [2023-01-10T16:28:06.652Z] b352a97aabf1: Download complete [2023-01-10T16:28:06.652Z] 4872d77fe225: Verifying Checksum [2023-01-10T16:28:06.652Z] 4872d77fe225: Download complete [2023-01-10T16:28:06.652Z] 5851b861e8e6: Download complete [2023-01-10T16:28:06.652Z] b85a868b505f: Verifying Checksum [2023-01-10T16:28:06.652Z] b85a868b505f: Download complete [2023-01-10T16:28:06.911Z] bab4dde63d76: Verifying Checksum [2023-01-10T16:28:06.911Z] bab4dde63d76: Download complete [2023-01-10T16:28:08.288Z] b85a868b505f: Pull complete [2023-01-10T16:28:08.288Z] e2be974225ed: Pull complete [2023-01-10T16:28:08.857Z] 339a4e72a1f5: Pull complete [2023-01-10T16:28:08.857Z] 988bab9f4d93: Pull complete [2023-01-10T16:28:09.115Z] 1469e6f7b9e6: Pull complete [2023-01-10T16:28:09.115Z] eaf3925da568: Pull complete [2023-01-10T16:28:11.021Z] bab4dde63d76: Pull complete [2023-01-10T16:28:11.021Z] bde34c3a00c8: Pull complete [2023-01-10T16:28:11.281Z] b352a97aabf1: Pull complete [2023-01-10T16:28:11.281Z] 4872d77fe225: Pull complete [2023-01-10T16:28:11.281Z] 5851b861e8e6: Pull complete [2023-01-10T16:28:11.281Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T16:28:11.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:28:11.281Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:28:11.541Z] prd-ubuntu20.04-docker-8c-8g-1582 does not seem to be running inside a container [2023-01-10T16:28:11.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-75 -v /w/workspace/edgexfoundry_device-gpio_PR-75:/w/workspace/edgexfoundry_device-gpio_PR-75:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-75@tmp:/w/workspace/edgexfoundry_device-gpio_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T16:28:13.746Z] $ docker top abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d -eo pid,comm [2023-01-10T16:28:13.799Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T16:28:13.799Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T16:28:13.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T16:28:13.921Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T16:28:14.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T16:28:14.043Z] $ docker exec abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d ssh-agent [2023-01-10T16:28:14.149Z] SSH_AUTH_SOCK=/tmp/ssh-nvfTUu2oPNns/agent.33 [2023-01-10T16:28:14.149Z] SSH_AGENT_PID=39 [2023-01-10T16:28:14.156Z] Running ssh-add (command line suppressed) [2023-01-10T16:28:14.266Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-75@tmp/private_key_17257171430668429713.key (/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/private_key_17257171430668429713.key) [2023-01-10T16:28:14.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T16:28:14.609Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T16:28:14.640Z] $ docker exec --env ******** --env ******** abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d ssh-agent -k [2023-01-10T16:28:14.758Z] unset SSH_AUTH_SOCK; [2023-01-10T16:28:14.758Z] unset SSH_AGENT_PID; [2023-01-10T16:28:14.758Z] echo Agent pid 39 killed; [2023-01-10T16:28:14.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T16:28:14.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T16:28:14.858Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T16:28:14.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T16:28:14.990Z] $ docker exec abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d ssh-agent [2023-01-10T16:28:15.109Z] SSH_AUTH_SOCK=/tmp/ssh-8PCljOUh2UX3/agent.71 [2023-01-10T16:28:15.109Z] SSH_AGENT_PID=77 [2023-01-10T16:28:15.114Z] Running ssh-add (command line suppressed) [2023-01-10T16:28:15.229Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-75@tmp/private_key_2779729515831318683.key (/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/private_key_2779729515831318683.key) [2023-01-10T16:28:15.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T16:28:15.575Z] + git semver init [2023-01-10T16:28:15.835Z] 2023-01-10 16:28:15,778 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T16:28:15.835Z] 2023-01-10 16:28:15,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-75/.semver [2023-01-10T16:28:15.835Z] 2023-01-10 16:28:15,780 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-75/.semver [2023-01-10T16:28:15.835Z] 2023-01-10 16:28:15,780 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-75/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-75, universal_newlines=False, shell=None, istream=None) [2023-01-10T16:28:17.218Z] 2023-01-10 16:28:16,787 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-75/.git/info/exclude [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-75/.semver/PR-75 with force:False [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,788 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-75/.semver/PR-75 [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,792 [execute] INFO git cat-file --batch-check [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-75/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,797 [execute] INFO git cat-file --batch [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-75/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T16:28:17.219Z] 2023-01-10 16:28:16,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-75/.semver/PR-75 [2023-01-10T16:28:17.219Z] 0.0.0 [Pipeline] } [2023-01-10T16:28:17.253Z] $ docker exec --env ******** --env ******** abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d ssh-agent -k [2023-01-10T16:28:17.354Z] unset SSH_AUTH_SOCK; [2023-01-10T16:28:17.355Z] unset SSH_AGENT_PID; [2023-01-10T16:28:17.355Z] echo Agent pid 77 killed; [2023-01-10T16:28:17.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T16:28:17.784Z] + git semver [Pipeline] } [2023-01-10T16:28:18.073Z] $ docker stop --time=1 abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d [2023-01-10T16:28:19.392Z] $ docker rm -f --volumes abed279530121ae4640d4ea2d9c9f2663f255e34c7e736a635a2ca4355b1f48d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:28:19.794Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T16:28:20.054Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T16:28:20.072Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:28:20.589Z] provisioning config files... [2023-01-10T16:28:20.599Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/config17434127852834800069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:28:20.940Z] ---> docker-login.sh [2023-01-10T16:28:20.940Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:28:20.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:20.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:20.940Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:20.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:20.940Z] [2023-01-10T16:28:20.940Z] Login Succeeded [2023-01-10T16:28:20.940Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:28:20.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:20.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:20.940Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:20.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:20.940Z] [2023-01-10T16:28:20.940Z] Login Succeeded [2023-01-10T16:28:20.940Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:28:21.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:21.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:21.199Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:21.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:21.199Z] [2023-01-10T16:28:21.199Z] Login Succeeded [2023-01-10T16:28:21.199Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:28:21.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:21.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:21.199Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:21.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:21.199Z] [2023-01-10T16:28:21.199Z] Login Succeeded [2023-01-10T16:28:21.199Z] docker.io [2023-01-10T16:28:21.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:28:21.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:28:21.458Z] Configure a credential helper to remove this warning. See [2023-01-10T16:28:21.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:28:21.458Z] [2023-01-10T16:28:21.458Z] Login Succeeded [2023-01-10T16:28:21.458Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:28:21.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T16:28:21.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:28:21.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:28:21.737Z] ========================================================= [2023-01-10T16:28:21.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T16:28:21.737Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:28:22.200Z] + 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 . [2023-01-10T16:28:22.200Z] Sending build context to Docker daemon 15.99MB [2023-01-10T16:28:22.200Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:28:22.200Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T16:28:22.458Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T16:28:22.458Z] 213ec9aee27d: Pulling fs layer [2023-01-10T16:28:22.458Z] 4583459ba037: Pulling fs layer [2023-01-10T16:28:22.458Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T16:28:22.458Z] 53926ce57604: Pulling fs layer [2023-01-10T16:28:22.458Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T16:28:22.458Z] 22ff95d597cd: Pulling fs layer [2023-01-10T16:28:22.458Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T16:28:22.458Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T16:28:22.458Z] 22ff95d597cd: Waiting [2023-01-10T16:28:22.458Z] 21b2b0c7a3f4: Waiting [2023-01-10T16:28:22.458Z] 12d6caf4c0d1: Waiting [2023-01-10T16:28:22.458Z] a7acece74701: Pulling fs layer [2023-01-10T16:28:22.458Z] 96b7cbca73a9: Waiting [2023-01-10T16:28:22.458Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T16:28:22.458Z] 93c1e223e6f2: Download complete [2023-01-10T16:28:22.458Z] 4583459ba037: Verifying Checksum [2023-01-10T16:28:22.458Z] 4583459ba037: Download complete [2023-01-10T16:28:22.458Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T16:28:22.458Z] 21b2b0c7a3f4: Download complete [2023-01-10T16:28:22.458Z] 22ff95d597cd: Verifying Checksum [2023-01-10T16:28:22.458Z] 22ff95d597cd: Download complete [2023-01-10T16:28:22.458Z] 213ec9aee27d: Verifying Checksum [2023-01-10T16:28:22.458Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T16:28:22.458Z] 12d6caf4c0d1: Download complete [2023-01-10T16:28:22.458Z] 213ec9aee27d: Pull complete [2023-01-10T16:28:22.720Z] 4583459ba037: Pull complete [2023-01-10T16:28:22.720Z] 93c1e223e6f2: Pull complete [2023-01-10T16:28:22.978Z] a7acece74701: Verifying Checksum [2023-01-10T16:28:22.978Z] a7acece74701: Download complete [2023-01-10T16:28:23.237Z] 53926ce57604: Verifying Checksum [2023-01-10T16:28:23.237Z] 53926ce57604: Download complete [2023-01-10T16:28:23.495Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T16:28:23.495Z] 96b7cbca73a9: Download complete [2023-01-10T16:28:26.781Z] 53926ce57604: Pull complete [2023-01-10T16:28:26.781Z] 21b2b0c7a3f4: Pull complete [2023-01-10T16:28:27.039Z] 22ff95d597cd: Pull complete [2023-01-10T16:28:27.039Z] 12d6caf4c0d1: Pull complete [2023-01-10T16:28:28.937Z] 96b7cbca73a9: Pull complete [2023-01-10T16:28:29.871Z] a7acece74701: Pull complete [2023-01-10T16:28:29.871Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T16:28:29.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T16:28:29.871Z] ---> db6d94c90886 [2023-01-10T16:28:29.871Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:28:33.179Z] ---> Running in df8f2417c703 [2023-01-10T16:28:33.179Z] Removing intermediate container df8f2417c703 [2023-01-10T16:28:33.179Z] ---> c695a95103bd [2023-01-10T16:28:33.179Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:28:33.179Z] ---> Running in 7b2d61288360 [2023-01-10T16:28:33.179Z] Removing intermediate container 7b2d61288360 [2023-01-10T16:28:33.179Z] ---> 3b966e718208 [2023-01-10T16:28:33.179Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:28:33.179Z] ---> Running in 2935153d6247 [2023-01-10T16:28:33.439Z] Removing intermediate container 2935153d6247 [2023-01-10T16:28:33.439Z] ---> 5efda8b0a219 [2023-01-10T16:28:33.439Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:28:33.439Z] ---> Running in d1a7b01442a1 [2023-01-10T16:28:33.439Z] Removing intermediate container d1a7b01442a1 [2023-01-10T16:28:33.439Z] ---> 71beaf2f91e5 [2023-01-10T16:28:33.439Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T16:28:33.439Z] ---> Running in ba8702f04970 [2023-01-10T16:28:33.699Z] Removing intermediate container ba8702f04970 [2023-01-10T16:28:33.699Z] ---> ba6b2014220f [2023-01-10T16:28:33.699Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:28:33.699Z] ---> Running in 20a5e6b45974 [2023-01-10T16:28:33.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:28:33.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:28:34.527Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T16:28:34.527Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T16:28:34.527Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T16:28:34.527Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T16:28:34.527Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:28:34.527Z] OK: 216 MiB in 55 packages [2023-01-10T16:28:34.787Z] Removing intermediate container 20a5e6b45974 [2023-01-10T16:28:34.787Z] ---> 4bcfb5d0449a [2023-01-10T16:28:34.787Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T16:28:35.046Z] ---> b808cb00941a [2023-01-10T16:28:35.046Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:28:35.046Z] ---> Running in 46ab698d5482 [2023-01-10T16:28:35.440Z] Still waiting to schedule task [2023-01-10T16:28:35.441Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1581’ is offline [2023-01-10T16:28:56.973Z] Removing intermediate container 46ab698d5482 [2023-01-10T16:28:56.973Z] ---> 8c3c9153e191 [2023-01-10T16:28:56.973Z] Step 11/12 : COPY . . [2023-01-10T16:28:57.541Z] ---> 67a45d6cf384 [2023-01-10T16:28:57.541Z] Step 12/12 : RUN ${MAKE} [2023-01-10T16:28:57.541Z] ---> Running in c5170e9422e4 [2023-01-10T16:28:57.541Z] noop [2023-01-10T16:28:57.800Z] Removing intermediate container c5170e9422e4 [2023-01-10T16:28:57.801Z] ---> 9d8710a5874d [2023-01-10T16:28:57.801Z] Successfully built 9d8710a5874d [2023-01-10T16:28:57.801Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:28:58.259Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T16:28:58.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:28:58.395Z] prd-ubuntu20.04-docker-8c-8g-1582 does not seem to be running inside a container [2023-01-10T16:28:58.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-75 -v /w/workspace/edgexfoundry_device-gpio_PR-75:/w/workspace/edgexfoundry_device-gpio_PR-75:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-75@tmp:/w/workspace/edgexfoundry_device-gpio_PR-75@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-x86_64 cat [2023-01-10T16:28:58.779Z] $ docker top 2104d78cf113cb7d3b45d540e344cd82b375fd98eeda25b99b87f6856532156f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:28:59.162Z] + go version [2023-01-10T16:28:59.162Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T16:28:59.197Z] $ docker stop --time=1 2104d78cf113cb7d3b45d540e344cd82b375fd98eeda25b99b87f6856532156f [2023-01-10T16:29:00.468Z] $ docker rm -f --volumes 2104d78cf113cb7d3b45d540e344cd82b375fd98eeda25b99b87f6856532156f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:29:01.178Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T16:29:01.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:29:01.318Z] prd-ubuntu20.04-docker-8c-8g-1582 does not seem to be running inside a container [2023-01-10T16:29:01.353Z] $ 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-75 -v /w/workspace/edgexfoundry_device-gpio_PR-75:/w/workspace/edgexfoundry_device-gpio_PR-75:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-75@tmp:/w/workspace/edgexfoundry_device-gpio_PR-75@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-x86_64 cat [2023-01-10T16:29:01.695Z] $ docker top 8e020f40fd7a19f8cbbd4b44e7f8779ee01749f2fbb7b531af7144b73c285c5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:29:02.081Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-75 [Pipeline] fileExists [Pipeline] sh [2023-01-10T16:29:02.439Z] + make test [2023-01-10T16:29:02.439Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T16:29:02.697Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T16:29:12.669Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T16:29:12.669Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T16:29:17.936Z] 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." [2023-01-10T16:29:17.936Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T16:29:21.219Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T16:29:21.219Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T16:29:21.219Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T16:29:21.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T16:29:21.294Z] $ docker stop --time=1 8e020f40fd7a19f8cbbd4b44e7f8779ee01749f2fbb7b531af7144b73c285c5b [2023-01-10T16:29:23.410Z] $ docker rm -f --volumes 8e020f40fd7a19f8cbbd4b44e7f8779ee01749f2fbb7b531af7144b73c285c5b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:29:23.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T16:29:23.987Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T16:29:24.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T16:29:24.953Z] + ls -al . [2023-01-10T16:29:24.953Z] total 168 [2023-01-10T16:29:24.953Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 16:29 . [2023-01-10T16:29:24.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:27 .. [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 16:27 .dockerignore [2023-01-10T16:29:24.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:29 .git [2023-01-10T16:29:24.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:27 .github [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 16:27 .gitignore [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:27 .golangci.yml [2023-01-10T16:29:24.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:28 .semver [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 10 16:27 Attribution.txt [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 16:27 CHANGELOG.md [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 1586 Jan 10 16:27 Dockerfile [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:27 GOVERNANCE.md [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 16:27 Jenkinsfile [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:27 LICENSE [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 10 16:27 Makefile [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 16:27 OWNERS.md [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 16:27 README.md [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:28 VERSION [2023-01-10T16:29:24.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:27 bin [2023-01-10T16:29:24.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:27 cmd [2023-01-10T16:29:24.953Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 16:29 coverage.out [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 16:27 go.mod [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 16:27 go.sum [2023-01-10T16:29:24.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:27 internal [2023-01-10T16:29:24.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:27 snap [2023-01-10T16:29:24.953Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 16:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:29:25.391Z] + 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=1bc74da64d66b3f3e806be9e8bb73e93bd222951 --label arch=amd64 --label version=0.0.0 . [2023-01-10T16:29:25.391Z] Sending build context to Docker daemon 16MB [2023-01-10T16:29:25.391Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:29:25.391Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T16:29:25.391Z] ---> 9d8710a5874d [2023-01-10T16:29:25.391Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:29:25.651Z] ---> Running in 966619c86744 [2023-01-10T16:29:25.651Z] Removing intermediate container 966619c86744 [2023-01-10T16:29:25.651Z] ---> af987b49e972 [2023-01-10T16:29:25.651Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:29:25.651Z] ---> Running in f21559e39885 [2023-01-10T16:29:25.911Z] Removing intermediate container f21559e39885 [2023-01-10T16:29:25.911Z] ---> e37737658b90 [2023-01-10T16:29:25.911Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:29:25.911Z] ---> Running in 27b3f6c87d94 [2023-01-10T16:29:25.911Z] Removing intermediate container 27b3f6c87d94 [2023-01-10T16:29:25.911Z] ---> baca60586f41 [2023-01-10T16:29:25.911Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:29:25.911Z] ---> Running in bff839d8dc81 [2023-01-10T16:29:25.911Z] Removing intermediate container bff839d8dc81 [2023-01-10T16:29:25.911Z] ---> 67eef2f7ca97 [2023-01-10T16:29:25.911Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T16:29:25.911Z] ---> Running in 6e7a2b792e5d [2023-01-10T16:29:26.171Z] Removing intermediate container 6e7a2b792e5d [2023-01-10T16:29:26.171Z] ---> 9a4745595766 [2023-01-10T16:29:26.171Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:29:26.171Z] ---> Running in beeee9c3b5de [2023-01-10T16:29:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:29:26.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:29:26.689Z] OK: 216 MiB in 55 packages [2023-01-10T16:29:26.948Z] Removing intermediate container beeee9c3b5de [2023-01-10T16:29:26.948Z] ---> 021ac76d92f5 [2023-01-10T16:29:26.948Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T16:29:26.948Z] ---> e77079ad8871 [2023-01-10T16:29:26.948Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:29:27.207Z] ---> Running in 4e654b1f93ea [2023-01-10T16:29:27.774Z] Removing intermediate container 4e654b1f93ea [2023-01-10T16:29:27.774Z] ---> e33187b297fb [2023-01-10T16:29:27.774Z] Step 11/25 : COPY . . [2023-01-10T16:29:28.352Z] ---> 7484f176d2b3 [2023-01-10T16:29:28.352Z] Step 12/25 : RUN ${MAKE} [2023-01-10T16:29:28.352Z] ---> Running in 62e8cf45c809 [2023-01-10T16:29:28.612Z] 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 [2023-01-10T16:29:50.552Z] Removing intermediate container 62e8cf45c809 [2023-01-10T16:29:50.552Z] ---> 6974f8f8eae1 [2023-01-10T16:29:50.552Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T16:29:50.552Z] 3.16: Pulling from library/alpine [2023-01-10T16:29:50.552Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T16:29:50.552Z] ca7dd9ec2225: Download complete [2023-01-10T16:29:50.552Z] ca7dd9ec2225: Pull complete [2023-01-10T16:29:50.552Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T16:29:50.552Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T16:29:50.552Z] ---> bfe296a52501 [2023-01-10T16:29:50.552Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T16:29:50.552Z] ---> Running in 983ab9697e39 [2023-01-10T16:29:50.552Z] Removing intermediate container 983ab9697e39 [2023-01-10T16:29:50.552Z] ---> 376a18365c44 [2023-01-10T16:29:50.552Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-10T16:29:50.552Z] ---> Running in a241916c294e [2023-01-10T16:29:50.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:29:51.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:29:51.329Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T16:29:51.329Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-10T16:29:51.329Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T16:29:51.329Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-10T16:29:51.329Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-10T16:29:51.329Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:29:51.329Z] OK: 8 MiB in 19 packages [2023-01-10T16:29:51.895Z] Removing intermediate container a241916c294e [2023-01-10T16:29:51.895Z] ---> 75e3a8670dfc [2023-01-10T16:29:51.895Z] Step 16/25 : WORKDIR / [2023-01-10T16:29:51.895Z] ---> Running in 2ed684742a7e [2023-01-10T16:29:51.895Z] Removing intermediate container 2ed684742a7e [2023-01-10T16:29:51.895Z] ---> f7edc2dab23a [2023-01-10T16:29:51.895Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T16:29:51.895Z] ---> 37a2b901de82 [2023-01-10T16:29:51.895Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T16:29:52.153Z] ---> 66f42d2d70d3 [2023-01-10T16:29:52.153Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T16:29:52.787Z] ---> 6642e1d3af09 [2023-01-10T16:29:52.787Z] Step 20/25 : EXPOSE 59910 [2023-01-10T16:29:52.787Z] ---> Running in d996b0b557cc [2023-01-10T16:29:52.787Z] Removing intermediate container d996b0b557cc [2023-01-10T16:29:52.787Z] ---> a9d441251435 [2023-01-10T16:29:52.787Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T16:29:53.047Z] ---> Running in 4b845570f974 [2023-01-10T16:29:53.047Z] Removing intermediate container 4b845570f974 [2023-01-10T16:29:53.047Z] ---> 305169d74ce3 [2023-01-10T16:29:53.047Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T16:29:53.047Z] ---> Running in 3d06402c8108 [2023-01-10T16:29:53.047Z] Removing intermediate container 3d06402c8108 [2023-01-10T16:29:53.047Z] ---> 6dc46486e14d [2023-01-10T16:29:53.047Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T16:29:53.047Z] ---> Running in bf5d8f3c75e0 [2023-01-10T16:29:53.047Z] Removing intermediate container bf5d8f3c75e0 [2023-01-10T16:29:53.047Z] ---> e8e606c2c4b5 [2023-01-10T16:29:53.047Z] Step 24/25 : LABEL git_sha=1bc74da64d66b3f3e806be9e8bb73e93bd222951 [2023-01-10T16:29:53.047Z] ---> Running in 6abe260fb848 [2023-01-10T16:29:53.305Z] Removing intermediate container 6abe260fb848 [2023-01-10T16:29:53.305Z] ---> 476e1f2a5bc5 [2023-01-10T16:29:53.305Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T16:29:53.305Z] ---> Running in 353965be7463 [2023-01-10T16:29:53.305Z] Removing intermediate container 353965be7463 [2023-01-10T16:29:53.305Z] ---> 8cac324074f5 [2023-01-10T16:29:53.305Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T16:29:53.305Z] Successfully built 8cac324074f5 [2023-01-10T16:29:53.305Z] 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 [2023-01-10T16:29:54.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:29:54.110Z] [2023-01-10T16:29:54.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:29:54.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:29:54.493Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T16:29:54.493Z] 5eb5b503b376: Pulling fs layer [2023-01-10T16:29:54.493Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T16:29:54.493Z] ec43610c2a17: Pulling fs layer [2023-01-10T16:29:54.493Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T16:29:54.493Z] 33b1e0a273af: Pulling fs layer [2023-01-10T16:29:54.493Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T16:29:54.493Z] 2f39f015ded8: Pulling fs layer [2023-01-10T16:29:54.493Z] 3a2ae6a8a46f: Waiting [2023-01-10T16:29:54.493Z] 33b1e0a273af: Waiting [2023-01-10T16:29:54.493Z] 5d3b04190fa2: Waiting [2023-01-10T16:29:54.493Z] 2f39f015ded8: Waiting [2023-01-10T16:29:54.493Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T16:29:54.493Z] 5c69ac0246d0: Download complete [2023-01-10T16:29:54.493Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T16:29:54.493Z] 3a2ae6a8a46f: Download complete [2023-01-10T16:29:54.754Z] 33b1e0a273af: Verifying Checksum [2023-01-10T16:29:54.754Z] 33b1e0a273af: Download complete [2023-01-10T16:29:54.754Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T16:29:54.754Z] 5d3b04190fa2: Download complete [2023-01-10T16:29:54.754Z] ec43610c2a17: Verifying Checksum [2023-01-10T16:29:54.754Z] ec43610c2a17: Download complete [2023-01-10T16:29:54.754Z] 5eb5b503b376: Verifying Checksum [2023-01-10T16:29:54.754Z] 5eb5b503b376: Download complete [2023-01-10T16:29:55.701Z] 2f39f015ded8: Download complete [2023-01-10T16:29:55.960Z] 5eb5b503b376: Pull complete [2023-01-10T16:29:56.218Z] 5c69ac0246d0: Pull complete [2023-01-10T16:29:56.783Z] ec43610c2a17: Pull complete [2023-01-10T16:29:56.783Z] 3a2ae6a8a46f: Pull complete [2023-01-10T16:29:56.783Z] 33b1e0a273af: Pull complete [2023-01-10T16:29:57.041Z] 5d3b04190fa2: Pull complete [2023-01-10T16:30:01.221Z] 2f39f015ded8: Pull complete [2023-01-10T16:30:01.221Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T16:30:01.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:30:01.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:30:01.532Z] prd-ubuntu20.04-docker-8c-8g-1582 does not seem to be running inside a container [2023-01-10T16:30:01.563Z] $ 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-75 -v /w/workspace/edgexfoundry_device-gpio_PR-75:/w/workspace/edgexfoundry_device-gpio_PR-75:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-75@tmp:/w/workspace/edgexfoundry_device-gpio_PR-75@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:latest cat [2023-01-10T16:30:04.120Z] $ docker top 41bf9541ade82c7bd66944ae34058e04468075fba2350cde6933ff3028feb4aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:30:04.554Z] ---> job-cost.sh [2023-01-10T16:30:04.554Z] lf-activate-venv: SKIPPING [2023-01-10T16:30:04.554Z] INFO: No Stack... [2023-01-10T16:30:04.813Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T16:30:05.072Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T16:30:05.383Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-75/archives/cost.csv [2023-01-10T16:30:05.383Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T16:30:05.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [2023-01-10T16:30:05.428Z] Resource [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] did not exist. Created. [2023-01-10T16:30:05.428Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T16:30:05.806Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T16:30:05.859Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T16:30:05.881Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T16:30:05.962Z] $ docker stop --time=1 41bf9541ade82c7bd66944ae34058e04468075fba2350cde6933ff3028feb4aa [2023-01-10T16:30:07.115Z] $ docker rm -f --volumes 41bf9541ade82c7bd66944ae34058e04468075fba2350cde6933ff3028feb4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T16:30:11.921Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1583 in /w/workspace/edgexfoundry_device-gpio_PR-75 [Pipeline] { [Pipeline] ws [2023-01-10T16:30:11.974Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-01-10T16:30:12.049Z] The recommended git tool is: git [2023-01-10T16:30:18.709Z] using credential edgex-jenkins-ssh [2023-01-10T16:30:18.731Z] Cloning the remote Git repository [2023-01-10T16:30:18.770Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-10T16:30:18.855Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-01-10T16:30:19.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-10T16:30:19.015Z] > git --version # timeout=10 [2023-01-10T16:30:19.038Z] > git --version # 'git version 2.25.1' [2023-01-10T16:30:19.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:30:19.091Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T16:30:20.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-10T16:30:20.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T16:30:22.050Z] Merging remotes/origin/main commit 14c37c6919d6c1a44175d8fd941257ea70202ac9 into PR head commit 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [2023-01-10T16:30:22.258Z] Merge succeeded, producing 1bc74da64d66b3f3e806be9e8bb73e93bd222951 [2023-01-10T16:30:22.258Z] Checking out Revision 1bc74da64d66b3f3e806be9e8bb73e93bd222951 (PR-75) [2023-01-10T16:30:21.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-10T16:30:21.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-10T16:30:21.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:30:21.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T16:30:22.061Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T16:30:22.085Z] > git checkout -f 1bc74da64d66b3f3e806be9e8bb73e93bd222951 # timeout=10 [2023-01-10T16:30:22.161Z] > git remote # timeout=10 [2023-01-10T16:30:22.179Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T16:30:22.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:30:22.209Z] > git merge 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 [2023-01-10T16:30:22.235Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T16:30:22.259Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T16:30:22.276Z] > git checkout -f 1bc74da64d66b3f3e806be9e8bb73e93bd222951 # timeout=10 [2023-01-10T16:30:25.775Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-10T16:30:25.820Z] > git --version # timeout=10 [2023-01-10T16:30:25.835Z] > git --version # 'git version 2.25.1' [2023-01-10T16:30:25.854Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:30:27.126Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T16:30:27.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T16:30:27.126Z] Dload Upload Total Spent Left Speed [2023-01-10T16:30:27.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh [2023-01-10T16:30:27.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T16:30:28.193Z] + sudo tee /etc/docker/daemon.new [2023-01-10T16:30:28.193Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T16:30:28.193Z] { [2023-01-10T16:30:28.193Z] "registry-mirrors": [ [2023-01-10T16:30:28.193Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T16:30:28.193Z] ], [2023-01-10T16:30:28.193Z] "bip": "10.250.0.254/24", [2023-01-10T16:30:28.193Z] "hosts": [ [2023-01-10T16:30:28.193Z] "tcp://0.0.0.0:5555", [2023-01-10T16:30:28.193Z] "unix:///var/run/docker.sock" [2023-01-10T16:30:28.193Z] ], [2023-01-10T16:30:28.193Z] "mtu": 1458, [2023-01-10T16:30:28.193Z] "selinux-enabled": true, [2023-01-10T16:30:28.193Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T16:30:28.193Z] } [Pipeline] sh [2023-01-10T16:30:28.535Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T16:30:28.878Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:30:47.332Z] provisioning config files... [2023-01-10T16:30:47.361Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5984041120657882598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:30:47.758Z] ---> docker-login.sh [2023-01-10T16:30:47.758Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:30:48.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:30:48.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:30:48.615Z] Configure a credential helper to remove this warning. See [2023-01-10T16:30:48.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:30:48.615Z] [2023-01-10T16:30:48.615Z] Login Succeeded [2023-01-10T16:30:48.615Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:30:48.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:30:48.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:30:48.884Z] Configure a credential helper to remove this warning. See [2023-01-10T16:30:48.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:30:48.884Z] [2023-01-10T16:30:48.884Z] Login Succeeded [2023-01-10T16:30:48.884Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:30:49.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:30:49.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:30:49.152Z] Configure a credential helper to remove this warning. See [2023-01-10T16:30:49.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:30:49.152Z] [2023-01-10T16:30:49.152Z] Login Succeeded [2023-01-10T16:30:49.424Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:30:49.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:30:49.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:30:49.694Z] Configure a credential helper to remove this warning. See [2023-01-10T16:30:49.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:30:49.694Z] [2023-01-10T16:30:49.694Z] Login Succeeded [2023-01-10T16:30:49.694Z] docker.io [2023-01-10T16:30:49.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:30:50.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:30:50.229Z] Configure a credential helper to remove this warning. See [2023-01-10T16:30:50.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:30:50.229Z] [2023-01-10T16:30:50.229Z] Login Succeeded [2023-01-10T16:30:50.229Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:30:50.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T16:30:50.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:30:50.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:30:50.736Z] ========================================================= [2023-01-10T16:30:50.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T16:30:50.736Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:30:51.239Z] + 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 . [2023-01-10T16:30:51.507Z] Sending build context to Docker daemon 8.088MB [2023-01-10T16:30:51.507Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:30:51.507Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T16:30:51.797Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T16:30:51.797Z] 9b18e9b68314: Pulling fs layer [2023-01-10T16:30:51.797Z] 35d82f9e3411: Pulling fs layer [2023-01-10T16:30:51.797Z] e16973657156: Pulling fs layer [2023-01-10T16:30:51.797Z] fc693d55d65f: Pulling fs layer [2023-01-10T16:30:51.797Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T16:30:51.797Z] dda99020689f: Pulling fs layer [2023-01-10T16:30:51.797Z] db1c61fa0a46: Pulling fs layer [2023-01-10T16:30:51.797Z] 891c053d2c06: Pulling fs layer [2023-01-10T16:30:51.798Z] 7e9fc2657dce: Waiting [2023-01-10T16:30:51.798Z] dda99020689f: Waiting [2023-01-10T16:30:51.798Z] db1c61fa0a46: Waiting [2023-01-10T16:30:51.798Z] 891c053d2c06: Waiting [2023-01-10T16:30:51.798Z] fc693d55d65f: Waiting [2023-01-10T16:30:51.798Z] e16973657156: Verifying Checksum [2023-01-10T16:30:51.798Z] e16973657156: Download complete [2023-01-10T16:30:51.798Z] 35d82f9e3411: Verifying Checksum [2023-01-10T16:30:51.798Z] 35d82f9e3411: Download complete [2023-01-10T16:30:51.798Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T16:30:51.798Z] 7e9fc2657dce: Download complete [2023-01-10T16:30:51.798Z] dda99020689f: Download complete [2023-01-10T16:30:51.798Z] 9b18e9b68314: Download complete [2023-01-10T16:30:52.783Z] 9b18e9b68314: Pull complete [2023-01-10T16:30:52.783Z] 891c053d2c06: Verifying Checksum [2023-01-10T16:30:52.783Z] 891c053d2c06: Download complete [2023-01-10T16:30:53.373Z] 35d82f9e3411: Pull complete [2023-01-10T16:30:53.373Z] e16973657156: Pull complete [2023-01-10T16:30:53.969Z] db1c61fa0a46: Verifying Checksum [2023-01-10T16:30:53.969Z] db1c61fa0a46: Download complete [2023-01-10T16:30:54.571Z] fc693d55d65f: Verifying Checksum [2023-01-10T16:30:54.571Z] fc693d55d65f: Download complete [2023-01-10T16:31:06.907Z] fc693d55d65f: Pull complete [2023-01-10T16:31:06.907Z] 7e9fc2657dce: Pull complete [2023-01-10T16:31:06.907Z] dda99020689f: Pull complete [2023-01-10T16:31:11.178Z] db1c61fa0a46: Pull complete [2023-01-10T16:31:12.140Z] 891c053d2c06: Pull complete [2023-01-10T16:31:12.140Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T16:31:12.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T16:31:12.140Z] ---> f96f9c87975a [2023-01-10T16:31:12.408Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:31:14.365Z] ---> Running in e7d0090536c1 [2023-01-10T16:31:14.365Z] Removing intermediate container e7d0090536c1 [2023-01-10T16:31:14.365Z] ---> 2dd99b887885 [2023-01-10T16:31:14.365Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:31:14.365Z] ---> Running in d863345fbc38 [2023-01-10T16:31:14.635Z] Removing intermediate container d863345fbc38 [2023-01-10T16:31:14.635Z] ---> e995089b1cc9 [2023-01-10T16:31:14.635Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:31:14.903Z] ---> Running in bce7fa2f78d0 [2023-01-10T16:31:15.169Z] Removing intermediate container bce7fa2f78d0 [2023-01-10T16:31:15.169Z] ---> 0b3e1c17a235 [2023-01-10T16:31:15.169Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:31:15.169Z] ---> Running in 267dbb242933 [2023-01-10T16:31:15.436Z] Removing intermediate container 267dbb242933 [2023-01-10T16:31:15.436Z] ---> 89b2f84d4a49 [2023-01-10T16:31:15.436Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T16:31:15.436Z] ---> Running in 36cbcb6730c7 [2023-01-10T16:31:15.705Z] Removing intermediate container 36cbcb6730c7 [2023-01-10T16:31:15.705Z] ---> a162aca0ddc7 [2023-01-10T16:31:15.705Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:31:15.972Z] ---> Running in 4aee4395d999 [2023-01-10T16:31:16.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:31:17.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:31:18.169Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T16:31:18.169Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T16:31:18.169Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T16:31:18.439Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T16:31:18.439Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:31:18.439Z] OK: 226 MiB in 55 packages [2023-01-10T16:31:19.408Z] Removing intermediate container 4aee4395d999 [2023-01-10T16:31:19.408Z] ---> 5df7c4833f10 [2023-01-10T16:31:19.408Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T16:31:19.996Z] ---> b31ef0ee3c6f [2023-01-10T16:31:19.996Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:31:19.996Z] ---> Running in ec7e4dc8f8df [2023-01-10T16:32:16.462Z] Removing intermediate container ec7e4dc8f8df [2023-01-10T16:32:16.462Z] ---> ac27361d75c3 [2023-01-10T16:32:16.462Z] Step 11/12 : COPY . . [2023-01-10T16:32:16.462Z] ---> 90c014742ddb [2023-01-10T16:32:16.462Z] Step 12/12 : RUN ${MAKE} [2023-01-10T16:32:16.462Z] ---> Running in 94e0638270fb [2023-01-10T16:32:16.462Z] noop [2023-01-10T16:32:16.462Z] Removing intermediate container 94e0638270fb [2023-01-10T16:32:16.462Z] ---> 6b2568b56891 [2023-01-10T16:32:16.462Z] Successfully built 6b2568b56891 [2023-01-10T16:32:16.462Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:32:16.945Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T16:32:16.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:32:17.208Z] prd-ubuntu20.04-docker-arm64-4c-16g-1583 does not seem to be running inside a container [2023-01-10T16:32:17.284Z] $ 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 [2023-01-10T16:32:18.505Z] $ docker top 8c4df57c0c359824b5d2044085854200563fa3e53df7da3722accc1bcbfcbd65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:32:19.381Z] + go version [2023-01-10T16:32:19.381Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T16:32:19.423Z] $ docker stop --time=1 8c4df57c0c359824b5d2044085854200563fa3e53df7da3722accc1bcbfcbd65 [2023-01-10T16:32:21.023Z] $ docker rm -f --volumes 8c4df57c0c359824b5d2044085854200563fa3e53df7da3722accc1bcbfcbd65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:32:21.844Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T16:32:21.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:32:22.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-1583 does not seem to be running inside a container [2023-01-10T16:32:22.156Z] $ 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 [2023-01-10T16:32:23.283Z] $ docker top 409d25cb31fd24894a223f9d212a6f3b5fa46e601d72e297a782bec8f37f759f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:32:23.834Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T16:32:24.229Z] + make test [2023-01-10T16:32:24.229Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T16:32:26.182Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T16:33:47.813Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T16:33:47.813Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T16:33:47.813Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T16:33:47.813Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T16:34:00.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T16:34:00.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T16:34:00.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T16:34:00.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T16:34:00.224Z] $ docker stop --time=1 409d25cb31fd24894a223f9d212a6f3b5fa46e601d72e297a782bec8f37f759f [2023-01-10T16:34:01.954Z] $ docker rm -f --volumes 409d25cb31fd24894a223f9d212a6f3b5fa46e601d72e297a782bec8f37f759f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:34:02.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T16:34:02.914Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T16:34:03.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:34:03.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T16:34:04.261Z] + ls -al . [2023-01-10T16:34:04.261Z] total 164 [2023-01-10T16:34:04.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:32 . [2023-01-10T16:34:04.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:30 .. [2023-01-10T16:34:04.261Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 16:30 .dockerignore [2023-01-10T16:34:04.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:30 .git [2023-01-10T16:34:04.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:30 .github [2023-01-10T16:34:04.261Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 16:30 .gitignore [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:30 .golangci.yml [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 10 16:30 Attribution.txt [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 16:30 CHANGELOG.md [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 1586 Jan 10 16:30 Dockerfile [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:30 GOVERNANCE.md [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 16:30 Jenkinsfile [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:30 LICENSE [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 10 16:30 Makefile [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 16:30 OWNERS.md [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 16:30 README.md [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:28 VERSION [2023-01-10T16:34:04.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:30 bin [2023-01-10T16:34:04.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:30 cmd [2023-01-10T16:34:04.262Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 16:32 coverage.out [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 16:30 go.mod [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 16:30 go.sum [2023-01-10T16:34:04.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:30 internal [2023-01-10T16:34:04.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:30 snap [2023-01-10T16:34:04.262Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:34:04.668Z] + 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=1bc74da64d66b3f3e806be9e8bb73e93bd222951 --label arch=arm64 --label version=0.0.0 . [2023-01-10T16:34:04.937Z] Sending build context to Docker daemon 8.089MB [2023-01-10T16:34:04.937Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:34:04.937Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T16:34:04.937Z] ---> 6b2568b56891 [2023-01-10T16:34:04.937Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:34:05.206Z] ---> Running in d0fe4defa4a8 [2023-01-10T16:34:05.474Z] Removing intermediate container d0fe4defa4a8 [2023-01-10T16:34:05.474Z] ---> 23466fd8ac9e [2023-01-10T16:34:05.474Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:34:05.474Z] ---> Running in bd222c6c8124 [2023-01-10T16:34:05.741Z] Removing intermediate container bd222c6c8124 [2023-01-10T16:34:05.741Z] ---> f1a58dd9532d [2023-01-10T16:34:05.741Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:34:05.741Z] ---> Running in 887b01ad67fe [2023-01-10T16:34:06.009Z] Removing intermediate container 887b01ad67fe [2023-01-10T16:34:06.009Z] ---> d2919d56ff5a [2023-01-10T16:34:06.009Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:34:06.009Z] ---> Running in 114898b39414 [2023-01-10T16:34:06.278Z] Removing intermediate container 114898b39414 [2023-01-10T16:34:06.278Z] ---> 1c52072435ca [2023-01-10T16:34:06.278Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T16:34:06.546Z] ---> Running in c7b64da8c847 [2023-01-10T16:34:06.814Z] Removing intermediate container c7b64da8c847 [2023-01-10T16:34:06.814Z] ---> 055b4773ab06 [2023-01-10T16:34:06.814Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:34:06.814Z] ---> Running in 400a9b98d7d0 [2023-01-10T16:34:07.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:34:08.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:34:09.008Z] OK: 226 MiB in 55 packages [2023-01-10T16:34:09.971Z] Removing intermediate container 400a9b98d7d0 [2023-01-10T16:34:09.971Z] ---> 0649ce0c7e84 [2023-01-10T16:34:09.971Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T16:34:10.238Z] ---> 98b6468d202d [2023-01-10T16:34:10.239Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:34:10.239Z] ---> Running in a61bfbc9abbd [2023-01-10T16:34:12.276Z] Removing intermediate container a61bfbc9abbd [2023-01-10T16:34:12.276Z] ---> 3a73ebb3410f [2023-01-10T16:34:12.276Z] Step 11/25 : COPY . . [2023-01-10T16:34:13.280Z] ---> bd8c9aac0fac [2023-01-10T16:34:13.280Z] Step 12/25 : RUN ${MAKE} [2023-01-10T16:34:13.280Z] ---> Running in 2da2bf126bed [2023-01-10T16:34:14.273Z] 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 [2023-01-10T16:36:20.960Z] Removing intermediate container 2da2bf126bed [2023-01-10T16:36:20.960Z] ---> e44f58d952c8 [2023-01-10T16:36:20.960Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T16:36:20.960Z] 3.16: Pulling from library/alpine [2023-01-10T16:36:20.960Z] 6875df1f5354: Pulling fs layer [2023-01-10T16:36:20.960Z] 6875df1f5354: Download complete [2023-01-10T16:36:20.960Z] 6875df1f5354: Pull complete [2023-01-10T16:36:20.960Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T16:36:20.960Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T16:36:20.960Z] ---> 2b4661558fb8 [2023-01-10T16:36:20.960Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T16:36:20.960Z] ---> Running in 0184d51e965a [2023-01-10T16:36:20.960Z] Removing intermediate container 0184d51e965a [2023-01-10T16:36:20.960Z] ---> 009382fc09a9 [2023-01-10T16:36:20.960Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-10T16:36:20.960Z] ---> Running in c4333f0f65d6 [2023-01-10T16:36:20.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:36:21.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:36:22.647Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T16:36:22.647Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-10T16:36:22.647Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T16:36:22.647Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-10T16:36:22.647Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-10T16:36:22.647Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:36:22.647Z] OK: 8 MiB in 19 packages [2023-01-10T16:36:23.612Z] Removing intermediate container c4333f0f65d6 [2023-01-10T16:36:23.612Z] ---> 94503999f750 [2023-01-10T16:36:23.612Z] Step 16/25 : WORKDIR / [2023-01-10T16:36:23.612Z] ---> Running in b1f8d6682224 [2023-01-10T16:36:23.896Z] Removing intermediate container b1f8d6682224 [2023-01-10T16:36:23.896Z] ---> 5c350a82d719 [2023-01-10T16:36:23.896Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T16:36:24.492Z] ---> 1231de06f7e4 [2023-01-10T16:36:24.492Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T16:36:24.759Z] ---> 1ddea12a2368 [2023-01-10T16:36:24.759Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T16:36:26.174Z] ---> e13cef6d660d [2023-01-10T16:36:26.174Z] Step 20/25 : EXPOSE 59910 [2023-01-10T16:36:26.174Z] ---> Running in 53fb9c0403b1 [2023-01-10T16:36:26.443Z] Removing intermediate container 53fb9c0403b1 [2023-01-10T16:36:26.443Z] ---> 52b71819e767 [2023-01-10T16:36:26.443Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T16:36:26.443Z] ---> Running in ef5ad06fd0ab [2023-01-10T16:36:26.711Z] Removing intermediate container ef5ad06fd0ab [2023-01-10T16:36:26.711Z] ---> 3abe7a560f6d [2023-01-10T16:36:26.711Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T16:36:26.981Z] ---> Running in 07bc38c139f2 [2023-01-10T16:36:27.249Z] Removing intermediate container 07bc38c139f2 [2023-01-10T16:36:27.249Z] ---> 80e4c145566f [2023-01-10T16:36:27.249Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T16:36:27.249Z] ---> Running in aa1b9ab8c415 [2023-01-10T16:36:27.516Z] Removing intermediate container aa1b9ab8c415 [2023-01-10T16:36:27.516Z] ---> ddda8579a823 [2023-01-10T16:36:27.516Z] Step 24/25 : LABEL git_sha=1bc74da64d66b3f3e806be9e8bb73e93bd222951 [2023-01-10T16:36:27.516Z] ---> Running in 65e1ad974141 [2023-01-10T16:36:27.785Z] Removing intermediate container 65e1ad974141 [2023-01-10T16:36:27.785Z] ---> 9afaf5936154 [2023-01-10T16:36:27.785Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T16:36:28.062Z] ---> Running in 4763d6e64801 [2023-01-10T16:36:28.329Z] Removing intermediate container 4763d6e64801 [2023-01-10T16:36:28.329Z] ---> d082209c07af [2023-01-10T16:36:28.329Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T16:36:28.329Z] Successfully built d082209c07af [2023-01-10T16:36:28.329Z] 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 [2023-01-10T16:36:29.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:36:29.135Z] [2023-01-10T16:36:29.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:36:29.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:36:29.535Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T16:36:29.535Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T16:36:29.535Z] 04944245beec: Pulling fs layer [2023-01-10T16:36:29.535Z] 699f458cf7ca: Pulling fs layer [2023-01-10T16:36:29.535Z] 765212b225bb: Pulling fs layer [2023-01-10T16:36:29.535Z] f23df028b6ca: Pulling fs layer [2023-01-10T16:36:29.535Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T16:36:29.535Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T16:36:29.535Z] f23df028b6ca: Waiting [2023-01-10T16:36:29.535Z] d65c8cfc05b1: Waiting [2023-01-10T16:36:29.535Z] 2437ff75d9bd: Waiting [2023-01-10T16:36:29.535Z] 765212b225bb: Waiting [2023-01-10T16:36:29.807Z] 04944245beec: Verifying Checksum [2023-01-10T16:36:29.807Z] 04944245beec: Download complete [2023-01-10T16:36:29.807Z] 765212b225bb: Verifying Checksum [2023-01-10T16:36:29.807Z] 765212b225bb: Download complete [2023-01-10T16:36:29.807Z] f23df028b6ca: Download complete [2023-01-10T16:36:29.807Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T16:36:29.807Z] d65c8cfc05b1: Download complete [2023-01-10T16:36:29.807Z] 699f458cf7ca: Verifying Checksum [2023-01-10T16:36:29.807Z] 699f458cf7ca: Download complete [2023-01-10T16:36:30.395Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T16:36:30.395Z] 8998bd30e6a1: Download complete [2023-01-10T16:36:32.340Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T16:36:32.340Z] 2437ff75d9bd: Download complete [2023-01-10T16:36:34.279Z] 8998bd30e6a1: Pull complete [2023-01-10T16:36:34.863Z] 04944245beec: Pull complete [2023-01-10T16:36:36.272Z] 699f458cf7ca: Pull complete [2023-01-10T16:36:36.539Z] 765212b225bb: Pull complete [2023-01-10T16:36:37.120Z] f23df028b6ca: Pull complete [2023-01-10T16:36:37.388Z] d65c8cfc05b1: Pull complete [2023-01-10T16:36:52.387Z] 2437ff75d9bd: Pull complete [2023-01-10T16:36:52.387Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T16:36:52.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:36:52.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:36:52.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-1583 does not seem to be running inside a container [2023-01-10T16:36:52.787Z] $ 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 [2023-01-10T16:36:55.182Z] $ docker top 8691fe44fd36516f8683e132cf9edcdee6623811cfe7845ecea4250b55e77f4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:36:56.077Z] ---> job-cost.sh [2023-01-10T16:36:56.077Z] lf-activate-venv: SKIPPING [2023-01-10T16:36:56.077Z] INFO: No Stack... [2023-01-10T16:36:56.344Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T16:36:57.301Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T16:36:57.962Z] + cut -d, -f6 [2023-01-10T16:36:57.962Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2023-01-10T16:36:58.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [2023-01-10T16:36:58.050Z] Resource [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] did not exist. Created. [2023-01-10T16:36:58.050Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T16:36:58.460Z] /w/workspace/device-gpio/1@tmp/durable-7863ce99/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T16:36:59.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T16:36:59.176Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T16:36:59.220Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T16:36:59.234Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T16:36:59.328Z] $ docker stop --time=1 8691fe44fd36516f8683e132cf9edcdee6623811cfe7845ecea4250b55e77f4d [2023-01-10T16:37:00.829Z] $ docker rm -f --volumes 8691fe44fd36516f8683e132cf9edcdee6623811cfe7845ecea4250b55e77f4d [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 [2023-01-10T16:37:01.770Z] provisioning config files... [2023-01-10T16:37:01.779Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/config3562586003386153782tmp [Pipeline] { [Pipeline] sh [2023-01-10T16:37:02.115Z] + set +x [2023-01-10T16:37:02.115Z] + bash -s -- [2023-01-10T16:37:02.115Z] + curl -s https://codecov.io/bash [2023-01-10T16:37:02.115Z] [2023-01-10T16:37:02.115Z] _____ _ [2023-01-10T16:37:02.115Z] / ____| | | [2023-01-10T16:37:02.115Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T16:37:02.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T16:37:02.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T16:37:02.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T16:37:02.115Z] Bash-1.0.6 [2023-01-10T16:37:02.115Z] [2023-01-10T16:37:02.115Z] [2023-01-10T16:37:02.115Z] ==> git version 2.25.1 found [2023-01-10T16:37:02.115Z] ==> 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 [2023-01-10T16:37:02.115Z] Release-Date: 2020-01-08 [2023-01-10T16:37:02.115Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T16:37:02.115Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T16:37:02.115Z] ==> Jenkins CI detected. [2023-01-10T16:37:02.115Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-75 [2023-01-10T16:37:02.115Z] project root: . [2023-01-10T16:37:02.115Z] --> token set from env [2023-01-10T16:37:02.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T16:37:02.115Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T16:37:02.115Z] ==> Python coveragepy not found [2023-01-10T16:37:02.115Z] ==> Searching for coverage reports in: [2023-01-10T16:37:02.115Z] + . [2023-01-10T16:37:02.115Z] -> Found 1 reports [2023-01-10T16:37:02.115Z] ==> Detecting git/mercurial file structure [2023-01-10T16:37:02.115Z] ==> Reading reports [2023-01-10T16:37:02.374Z] + ./coverage.out bytes=10 [2023-01-10T16:37:02.374Z] ==> Appending adjustments [2023-01-10T16:37:02.374Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T16:37:02.374Z] + Found adjustments [2023-01-10T16:37:02.374Z] ==> Gzipping contents [2023-01-10T16:37:02.374Z] 4.0K /tmp/codecov.RMByzZ.gz [2023-01-10T16:37:02.374Z] ==> Uploading reports [2023-01-10T16:37:02.374Z] url: https://codecov.io [2023-01-10T16:37:02.374Z] query: branch=PR-75&commit=1bc74da64d66b3f3e806be9e8bb73e93bd222951&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=75&job=&cmd_args= [2023-01-10T16:37:02.374Z] -> Pinging Codecov [2023-01-10T16:37:02.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-75&commit=1bc74da64d66b3f3e806be9e8bb73e93bd222951&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=75&job=&cmd_args= [2023-01-10T16:37:02.941Z] -> Uploading to [2023-01-10T16:37:02.941Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1bc74da64d66b3f3e806be9e8bb73e93bd222951/5f5c2538-2aa4-4113-abd4-04f3626f568a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T163702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a832514c8148cfd64d4f851f1048ab0ca2f95c9cbaaad6d9a5180d359afc850c [2023-01-10T16:37:02.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T16:37:02.941Z] Dload Upload Total Spent Left Speed [2023-01-10T16:37:02.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3295 --:--:-- --:--:-- --:--:-- 3295 [2023-01-10T16:37:02.941Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1bc74da64d66b3f3e806be9e8bb73e93bd222951 [Pipeline] } [2023-01-10T16:37:02.971Z] 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 [2023-01-10T16:37:04.655Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-75/archives ] [2023-01-10T16:37:04.655Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-75/archives [2023-01-10T16:37:04.655Z] total 16 [2023-01-10T16:37:04.655Z] drwxr-xr-x 3 root root 4096 Jan 10 16:30 . [2023-01-10T16:37:04.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:30 .. [2023-01-10T16:37:04.655Z] drwxr-xr-x 2 root root 4096 Jan 10 16:30 cost [2023-01-10T16:37:04.655Z] -rw-r--r-- 1 root root 82 Jan 10 16:30 cost.csv [2023-01-10T16:37:04.655Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-75/archives [2023-01-10T16:37:04.655Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-75/archives [2023-01-10T16:37:04.655Z] total 16 [2023-01-10T16:37:04.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:30 . [2023-01-10T16:37:04.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:30 .. [2023-01-10T16:37:04.655Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 16:30 cost [2023-01-10T16:37:04.655Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 10 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:04.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:05.865Z] ---> package-listing.sh [2023-01-10T16:37:05.866Z] ++ facter osfamily [2023-01-10T16:37:05.866Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T16:37:06.125Z] + OS_FAMILY=debian [2023-01-10T16:37:06.125Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-75 [2023-01-10T16:37:06.125Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T16:37:06.125Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T16:37:06.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T16:37:06.125Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T16:37:06.125Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-75 ']' [2023-01-10T16:37:06.125Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T16:37:06.125Z] + case "${OS_FAMILY}" in [2023-01-10T16:37:06.125Z] + grep '^ii' [2023-01-10T16:37:06.125Z] + dpkg -l [2023-01-10T16:37:06.125Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T16:37:06.125Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T16:37:06.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T16:37:06.125Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-75 ']' [2023-01-10T16:37:06.125Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-75/archives/ [2023-01-10T16:37:06.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-75/archives/ [Pipeline] echo [2023-01-10T16:37:06.163Z] 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-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T16:37:06.455Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:37:07.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:37:07.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:37:07.216Z] prd-ubuntu20.04-docker-8c-8g-1582 does not seem to be running inside a container [2023-01-10T16:37:07.248Z] $ 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-75/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-75 -v /w/workspace/edgexfoundry_device-gpio_PR-75:/w/workspace/edgexfoundry_device-gpio_PR-75:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-75@tmp:/w/workspace/edgexfoundry_device-gpio_PR-75@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 [2023-01-10T16:37:07.475Z] $ docker top fdba03c47f3975c895292ab03da9907e073c65a4cede0fa1ef4f03e3d2c64976 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:37:07.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T16:37:08.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T16:37:08.489Z] + ls /var/log/sa-host [2023-01-10T16:37:08.489Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:37:08.702Z] provisioning config files... [2023-01-10T16:37:08.710Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-75@tmp/config2955162960634375990tmp [Pipeline] { [Pipeline] echo [2023-01-10T16:37:08.754Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:09.064Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T16:37:09.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:09.489Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T16:37:09.519Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:09.836Z] ---> sudo-logs.sh [2023-01-10T16:37:09.836Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T16:37:09.931Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:10.247Z] ---> job-cost.sh [2023-01-10T16:37:10.247Z] lf-activate-venv: SKIPPING [2023-01-10T16:37:10.247Z] DEBUG: total: 0.2199999988079071 [2023-01-10T16:37:10.247Z] INFO: Retrieving Stack Cost... [2023-01-10T16:37:10.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T16:37:11.074Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T16:37:11.108Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:37:11.422Z] ---> logs-deploy.sh [2023-01-10T16:37:11.422Z] lf-activate-venv: SKIPPING [2023-01-10T16:37:11.422Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-75/1 [2023-01-10T16:37:11.422Z] INFO: archiving workspace using pattern(s): [2023-01-10T16:37:12.357Z] Archives upload complete. [2023-01-10T16:37:12.357Z] INFO: archiving logs to Nexus