Pull request #68 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 1e232b3346d6865789696f8607373dcf8520133c+69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 (2a4549318dbeef7ee8f5954bf9eb8ad7d296ad3f) 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-ssh9667288548694203698.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1043726051462401537.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-68/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-68/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15681561197745396783.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-68/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4657171661910844926.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1514853228635224048.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-68/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-68/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10779872605315519517.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118664’ Running on prd-ubuntu20.04-docker-8c-8g-118666 in /w/workspace/edgexfoundry_device-gpio_PR-68 [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-68 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 into PR head commit 1e232b3346d6865789696f8607373dcf8520133c Merge succeeded, producing 1e232b3346d6865789696f8607373dcf8520133c Checking out Revision 1e232b3346d6865789696f8607373dcf8520133c (PR-68) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e232b3346d6865789696f8607373dcf8520133c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e232b3346d6865789696f8607373dcf8520133c # timeout=10 Commit message: "build: Update to use released SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T22:54:55.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T22:54:55.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T22:54:55.896Z] ========================================================= [2022-11-08T22:54:55.896Z] EdgeX Global Pipelines Version Info [2022-11-08T22:54:55.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:54:56.722Z] ------------------- [2022-11-08T22:54:56.722Z] stable info: [2022-11-08T22:54:56.722Z] ------------------- [2022-11-08T22:54:56.722Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T22:54:56.722Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T22:54:56.722Z] Message: update stable to v1.0.244 [2022-11-08T22:54:57.294Z] ------------------- [2022-11-08T22:54:57.294Z] experimental info: [2022-11-08T22:54:57.294Z] ------------------- [2022-11-08T22:54:57.294Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T22:54:57.294Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T22:54:57.294Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T22:54:57.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-11-08T22:54:57.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-11-08T22:54:57.664Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T22:54:57.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T22:54:57.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T22:54:57.786Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T22:54:57.825Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T22:54:57.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T22:54:57.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T22:54:57.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T22:54:57.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T22:54:58.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-11-08T22:54:58.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T22:54:58.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T22:54:58.158Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T22:54:58.258Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T22:54:58.300Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T22:54:58.337Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T22:54:58.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T22:54:58.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T22:54:58.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T22:54:58.500Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T22:54:58.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T22:54:58.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T22:54:58.636Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T22:54:58.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T22:54:58.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T22:54:58.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo [2022-11-08T22:54:58.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo [2022-11-08T22:54:58.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo [2022-11-08T22:54:58.890Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e232b3346d6865789696f8607373dcf8520133c [Pipeline] echo [2022-11-08T22:54:58.929Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e232b3 [Pipeline] echo [2022-11-08T22:54:58.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T22:54:59.071Z] provisioning config files... [2022-11-08T22:54:59.083Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/config11095983625073652972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:54:59.421Z] ---> docker-login.sh [2022-11-08T22:54:59.421Z] nexus3.edgexfoundry.org:10001 [2022-11-08T22:54:59.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:54:59.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:54:59.943Z] Configure a credential helper to remove this warning. See [2022-11-08T22:54:59.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:54:59.943Z] [2022-11-08T22:54:59.943Z] Login Succeeded [2022-11-08T22:54:59.943Z] nexus3.edgexfoundry.org:10002 [2022-11-08T22:54:59.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:54:59.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:54:59.943Z] Configure a credential helper to remove this warning. See [2022-11-08T22:54:59.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:54:59.943Z] [2022-11-08T22:54:59.943Z] Login Succeeded [2022-11-08T22:54:59.943Z] nexus3.edgexfoundry.org:10003 [2022-11-08T22:54:59.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:00.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:00.210Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:00.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:00.210Z] [2022-11-08T22:55:00.210Z] Login Succeeded [2022-11-08T22:55:00.210Z] nexus3.edgexfoundry.org:10004 [2022-11-08T22:55:00.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:00.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:00.210Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:00.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:00.210Z] [2022-11-08T22:55:00.210Z] Login Succeeded [2022-11-08T22:55:00.210Z] docker.io [2022-11-08T22:55:00.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:00.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:00.779Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:00.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:00.779Z] [2022-11-08T22:55:00.779Z] Login Succeeded [2022-11-08T22:55:00.779Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T22:55:00.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T22:55:01.424Z] + git rev-list -1 --merges 1e232b3346d6865789696f8607373dcf8520133c~1..1e232b3346d6865789696f8607373dcf8520133c [Pipeline] echo [2022-11-08T22:55:01.473Z] -----------> git rev-list -1 --merges 1e232b3346d6865789696f8607373dcf8520133c~1..1e232b3346d6865789696f8607373dcf8520133c 1e232b3346d6865789696f8607373dcf8520133c [false] [Pipeline] sh [2022-11-08T22:55:01.780Z] + git log --format=format:%s -1 1e232b3346d6865789696f8607373dcf8520133c [Pipeline] echo [2022-11-08T22:55:01.815Z] ========================================================= [2022-11-08T22:55:01.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T22:55:01.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T22:55:02.261Z] + git log --format=format:%s -1 1e232b3346d6865789696f8607373dcf8520133c [Pipeline] echo [2022-11-08T22:55:02.300Z] [semverPrep] GIT_COMMIT: 1e232b3346d6865789696f8607373dcf8520133c, Commit Message: build: Update to use released SDK [Pipeline] echo [2022-11-08T22:55:02.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T22:55:02.717Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T22:55:02.717Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T22:55:02.717Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T22:55:02.717Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T22:55:02.717Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T22:55:02.717Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T22:55:02.717Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:55:03.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:55:03.144Z] [2022-11-08T22:55:03.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:55:03.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:55:03.527Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T22:55:03.527Z] b85a868b505f: Pulling fs layer [2022-11-08T22:55:03.527Z] e2be974225ed: Pulling fs layer [2022-11-08T22:55:03.527Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T22:55:03.527Z] 988bab9f4d93: Pulling fs layer [2022-11-08T22:55:03.527Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T22:55:03.527Z] eaf3925da568: Pulling fs layer [2022-11-08T22:55:03.527Z] bab4dde63d76: Pulling fs layer [2022-11-08T22:55:03.527Z] bde34c3a00c8: Pulling fs layer [2022-11-08T22:55:03.527Z] b352a97aabf1: Pulling fs layer [2022-11-08T22:55:03.527Z] 4872d77fe225: Pulling fs layer [2022-11-08T22:55:03.527Z] 5851b861e8e6: Pulling fs layer [2022-11-08T22:55:03.527Z] bde34c3a00c8: Waiting [2022-11-08T22:55:03.527Z] 4872d77fe225: Waiting [2022-11-08T22:55:03.527Z] 988bab9f4d93: Waiting [2022-11-08T22:55:03.527Z] 1469e6f7b9e6: Waiting [2022-11-08T22:55:03.527Z] 5851b861e8e6: Waiting [2022-11-08T22:55:03.527Z] eaf3925da568: Waiting [2022-11-08T22:55:03.527Z] b352a97aabf1: Waiting [2022-11-08T22:55:03.527Z] e2be974225ed: Verifying Checksum [2022-11-08T22:55:03.527Z] e2be974225ed: Download complete [2022-11-08T22:55:03.786Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T22:55:03.786Z] 1469e6f7b9e6: Download complete [2022-11-08T22:55:03.786Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T22:55:03.786Z] 339a4e72a1f5: Download complete [2022-11-08T22:55:03.786Z] eaf3925da568: Verifying Checksum [2022-11-08T22:55:03.786Z] eaf3925da568: Download complete [2022-11-08T22:55:03.786Z] bde34c3a00c8: Download complete [2022-11-08T22:55:03.786Z] b352a97aabf1: Verifying Checksum [2022-11-08T22:55:03.786Z] b352a97aabf1: Download complete [2022-11-08T22:55:03.786Z] 4872d77fe225: Verifying Checksum [2022-11-08T22:55:03.786Z] 4872d77fe225: Download complete [2022-11-08T22:55:03.786Z] 5851b861e8e6: Verifying Checksum [2022-11-08T22:55:03.786Z] 5851b861e8e6: Download complete [2022-11-08T22:55:03.786Z] b85a868b505f: Verifying Checksum [2022-11-08T22:55:03.786Z] b85a868b505f: Download complete [2022-11-08T22:55:04.044Z] bab4dde63d76: Verifying Checksum [2022-11-08T22:55:04.044Z] bab4dde63d76: Download complete [2022-11-08T22:55:05.418Z] b85a868b505f: Pull complete [2022-11-08T22:55:05.418Z] e2be974225ed: Pull complete [2022-11-08T22:55:05.678Z] 339a4e72a1f5: Pull complete [2022-11-08T22:55:05.937Z] 988bab9f4d93: Pull complete [2022-11-08T22:55:06.196Z] 1469e6f7b9e6: Pull complete [2022-11-08T22:55:06.196Z] eaf3925da568: Pull complete [2022-11-08T22:55:08.105Z] bab4dde63d76: Pull complete [2022-11-08T22:55:08.105Z] bde34c3a00c8: Pull complete [2022-11-08T22:55:08.105Z] b352a97aabf1: Pull complete [2022-11-08T22:55:08.105Z] 4872d77fe225: Pull complete [2022-11-08T22:55:08.364Z] 5851b861e8e6: Pull complete [2022-11-08T22:55:08.364Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T22:55:08.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:55:08.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:55:08.636Z] prd-ubuntu20.04-docker-8c-8g-118666 does not seem to be running inside a container [2022-11-08T22:55:08.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-68 -v /w/workspace/edgexfoundry_device-gpio_PR-68:/w/workspace/edgexfoundry_device-gpio_PR-68:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-68@tmp:/w/workspace/edgexfoundry_device-gpio_PR-68@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 [2022-11-08T22:55:11.207Z] $ docker top 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 -eo pid,comm [2022-11-08T22:55:11.266Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T22:55:11.266Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T22:55:11.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T22:55:11.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T22:55:11.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T22:55:11.499Z] $ docker exec 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 ssh-agent [2022-11-08T22:55:11.607Z] SSH_AUTH_SOCK=/tmp/ssh-YKEwWbKcFs5Z/agent.33 [2022-11-08T22:55:11.607Z] SSH_AGENT_PID=39 [2022-11-08T22:55:11.614Z] Running ssh-add (command line suppressed) [2022-11-08T22:55:11.725Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-68@tmp/private_key_3475552027295984676.key (/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/private_key_3475552027295984676.key) [2022-11-08T22:55:11.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T22:55:12.070Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T22:55:12.093Z] $ docker exec --env ******** --env ******** 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 ssh-agent -k [2022-11-08T22:55:12.193Z] unset SSH_AUTH_SOCK; [2022-11-08T22:55:12.193Z] unset SSH_AGENT_PID; [2022-11-08T22:55:12.194Z] echo Agent pid 39 killed; [2022-11-08T22:55:12.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T22:55:12.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T22:55:12.302Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T22:55:12.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T22:55:12.412Z] $ docker exec 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 ssh-agent [2022-11-08T22:55:12.523Z] SSH_AUTH_SOCK=/tmp/ssh-Ni57aiGnvp8T/agent.71 [2022-11-08T22:55:12.523Z] SSH_AGENT_PID=77 [2022-11-08T22:55:12.528Z] Running ssh-add (command line suppressed) [2022-11-08T22:55:12.614Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-68@tmp/private_key_1475505309610263625.key (/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/private_key_1475505309610263625.key) [2022-11-08T22:55:12.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T22:55:12.977Z] + git semver init [2022-11-08T22:55:13.238Z] 2022-11-08 22:55:13,151 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T22:55:13.238Z] 2022-11-08 22:55:13,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-68/.semver [2022-11-08T22:55:13.238Z] 2022-11-08 22:55:13,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-68/.semver [2022-11-08T22:55:13.238Z] 2022-11-08 22:55:13,153 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-68/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-68, universal_newlines=False, shell=None, istream=None) [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,177 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-68/.git/info/exclude [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,178 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-68/.semver/PR-68 with force:False [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,178 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-68/.semver/PR-68 [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,183 [execute] INFO git cat-file --batch-check [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-68/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,190 [execute] INFO git cat-file --batch [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-68/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T22:55:14.619Z] 2022-11-08 22:55:14,196 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-68/.semver/PR-68 [2022-11-08T22:55:14.619Z] 0.0.0 [Pipeline] } [2022-11-08T22:55:14.647Z] $ docker exec --env ******** --env ******** 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 ssh-agent -k [2022-11-08T22:55:14.745Z] unset SSH_AUTH_SOCK; [2022-11-08T22:55:14.746Z] unset SSH_AGENT_PID; [2022-11-08T22:55:14.746Z] echo Agent pid 77 killed; [2022-11-08T22:55:14.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T22:55:15.188Z] + git semver [Pipeline] } [2022-11-08T22:55:15.472Z] $ docker stop --time=1 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 [2022-11-08T22:55:16.783Z] $ docker rm -f 38f95f1ff0de98691601223947575c638cbd515588626ffad533fa48e7fe71b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T22:55:17.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T22:55:17.414Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T22:55:17.430Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T22:55:18.148Z] provisioning config files... [2022-11-08T22:55:18.159Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/config6399084603971277012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:55:18.568Z] ---> docker-login.sh [2022-11-08T22:55:18.568Z] nexus3.edgexfoundry.org:10001 [2022-11-08T22:55:18.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:18.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:18.568Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:18.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:18.568Z] [2022-11-08T22:55:18.568Z] Login Succeeded [2022-11-08T22:55:18.568Z] nexus3.edgexfoundry.org:10002 [2022-11-08T22:55:18.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:18.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:18.568Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:18.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:18.568Z] [2022-11-08T22:55:18.568Z] Login Succeeded [2022-11-08T22:55:18.568Z] nexus3.edgexfoundry.org:10003 [2022-11-08T22:55:18.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:18.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:18.827Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:18.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:18.827Z] [2022-11-08T22:55:18.827Z] Login Succeeded [2022-11-08T22:55:18.827Z] nexus3.edgexfoundry.org:10004 [2022-11-08T22:55:18.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:18.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:18.827Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:18.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:18.827Z] [2022-11-08T22:55:18.827Z] Login Succeeded [2022-11-08T22:55:18.827Z] docker.io [2022-11-08T22:55:19.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:55:19.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:55:19.347Z] Configure a credential helper to remove this warning. See [2022-11-08T22:55:19.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:55:19.347Z] [2022-11-08T22:55:19.347Z] Login Succeeded [2022-11-08T22:55:19.347Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T22:55:19.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T22:55:19.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:55:19.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:55:19.628Z] ========================================================= [2022-11-08T22:55:19.628Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T22:55:19.628Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:55:20.085Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T22:55:20.085Z] Sending build context to Docker daemon 15.94MB [2022-11-08T22:55:20.085Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T22:55:20.085Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T22:55:20.085Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T22:55:20.085Z] 213ec9aee27d: Pulling fs layer [2022-11-08T22:55:20.085Z] 4583459ba037: Pulling fs layer [2022-11-08T22:55:20.085Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T22:55:20.085Z] 53926ce57604: Pulling fs layer [2022-11-08T22:55:20.085Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T22:55:20.085Z] 22ff95d597cd: Pulling fs layer [2022-11-08T22:55:20.085Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T22:55:20.085Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T22:55:20.085Z] a7acece74701: Pulling fs layer [2022-11-08T22:55:20.085Z] 53926ce57604: Waiting [2022-11-08T22:55:20.085Z] 96b7cbca73a9: Waiting [2022-11-08T22:55:20.085Z] a7acece74701: Waiting [2022-11-08T22:55:20.085Z] 21b2b0c7a3f4: Waiting [2022-11-08T22:55:20.085Z] 22ff95d597cd: Waiting [2022-11-08T22:55:20.085Z] 12d6caf4c0d1: Waiting [2022-11-08T22:55:20.345Z] 93c1e223e6f2: Download complete [2022-11-08T22:55:20.345Z] 4583459ba037: Verifying Checksum [2022-11-08T22:55:20.345Z] 4583459ba037: Download complete [2022-11-08T22:55:20.345Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T22:55:20.345Z] 21b2b0c7a3f4: Download complete [2022-11-08T22:55:20.345Z] 22ff95d597cd: Verifying Checksum [2022-11-08T22:55:20.345Z] 22ff95d597cd: Download complete [2022-11-08T22:55:20.345Z] 213ec9aee27d: Verifying Checksum [2022-11-08T22:55:20.345Z] 12d6caf4c0d1: Download complete [2022-11-08T22:55:20.345Z] 213ec9aee27d: Pull complete [2022-11-08T22:55:20.606Z] 4583459ba037: Pull complete [2022-11-08T22:55:20.606Z] 93c1e223e6f2: Pull complete [2022-11-08T22:55:20.864Z] a7acece74701: Verifying Checksum [2022-11-08T22:55:20.864Z] a7acece74701: Download complete [2022-11-08T22:55:20.864Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T22:55:20.864Z] 96b7cbca73a9: Download complete [2022-11-08T22:55:21.121Z] 53926ce57604: Verifying Checksum [2022-11-08T22:55:21.121Z] 53926ce57604: Download complete [2022-11-08T22:55:24.415Z] 53926ce57604: Pull complete [2022-11-08T22:55:24.674Z] 21b2b0c7a3f4: Pull complete [2022-11-08T22:55:24.674Z] 22ff95d597cd: Pull complete [2022-11-08T22:55:24.674Z] 12d6caf4c0d1: Pull complete [2022-11-08T22:55:26.573Z] 96b7cbca73a9: Pull complete [2022-11-08T22:55:27.527Z] a7acece74701: Pull complete [2022-11-08T22:55:27.527Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T22:55:27.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T22:55:27.527Z] ---> db6d94c90886 [2022-11-08T22:55:27.527Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T22:55:31.730Z] ---> Running in c4a57e22c4ef [2022-11-08T22:55:31.730Z] Removing intermediate container c4a57e22c4ef [2022-11-08T22:55:31.730Z] ---> a88040b10730 [2022-11-08T22:55:31.730Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T22:55:31.730Z] ---> Running in c0fb1a9ddfc1 [2022-11-08T22:55:31.730Z] Removing intermediate container c0fb1a9ddfc1 [2022-11-08T22:55:31.730Z] ---> 9a72cbaa535c [2022-11-08T22:55:31.730Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T22:55:31.730Z] ---> Running in c2f9195425af [2022-11-08T22:55:31.730Z] Removing intermediate container c2f9195425af [2022-11-08T22:55:31.730Z] ---> 32667e706dc3 [2022-11-08T22:55:31.730Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T22:55:31.991Z] ---> Running in a93e6ef1ba11 [2022-11-08T22:55:31.991Z] Removing intermediate container a93e6ef1ba11 [2022-11-08T22:55:31.991Z] ---> c1aa8c19f3b8 [2022-11-08T22:55:31.991Z] Step 7/12 : WORKDIR /device-gpio [2022-11-08T22:55:31.991Z] ---> Running in bc16e41a9d85 [2022-11-08T22:55:31.991Z] Removing intermediate container bc16e41a9d85 [2022-11-08T22:55:31.991Z] ---> 99a034ef81d8 [2022-11-08T22:55:31.991Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T22:55:31.991Z] ---> Running in f4e9685e06ae [2022-11-08T22:55:32.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:55:32.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:55:32.509Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T22:55:32.509Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T22:55:32.509Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T22:55:32.509Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T22:55:32.509Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T22:55:32.509Z] OK: 216 MiB in 55 packages [2022-11-08T22:55:32.963Z] Still waiting to schedule task [2022-11-08T22:55:32.963Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118665’ [2022-11-08T22:55:33.076Z] Removing intermediate container f4e9685e06ae [2022-11-08T22:55:33.077Z] ---> bb833c01d462 [2022-11-08T22:55:33.077Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T22:55:33.077Z] ---> 5a17f48ead83 [2022-11-08T22:55:33.077Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T22:55:33.077Z] ---> Running in d0050f121223 [2022-11-08T22:55:59.618Z] Removing intermediate container d0050f121223 [2022-11-08T22:55:59.618Z] ---> e22b81741fa7 [2022-11-08T22:55:59.618Z] Step 11/12 : COPY . . [2022-11-08T22:55:59.618Z] ---> dd76a690261e [2022-11-08T22:55:59.618Z] Step 12/12 : RUN ${MAKE} [2022-11-08T22:55:59.618Z] ---> Running in 08581ae48e3e [2022-11-08T22:55:59.618Z] noop [2022-11-08T22:55:59.878Z] Removing intermediate container 08581ae48e3e [2022-11-08T22:55:59.878Z] ---> 10bca76fe119 [2022-11-08T22:55:59.878Z] Successfully built 10bca76fe119 [2022-11-08T22:55:59.878Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:56:00.343Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T22:56:00.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:56:00.486Z] prd-ubuntu20.04-docker-8c-8g-118666 does not seem to be running inside a container [2022-11-08T22:56:00.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-68 -v /w/workspace/edgexfoundry_device-gpio_PR-68:/w/workspace/edgexfoundry_device-gpio_PR-68:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-68@tmp:/w/workspace/edgexfoundry_device-gpio_PR-68@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 [2022-11-08T22:56:00.850Z] $ docker top aaf9a5cb92487f82de070c526cbdeba6eb1c99f36faa6b7cb9b7560af3388518 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T22:56:01.239Z] + go version [2022-11-08T22:56:01.239Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T22:56:01.273Z] $ docker stop --time=1 aaf9a5cb92487f82de070c526cbdeba6eb1c99f36faa6b7cb9b7560af3388518 [2022-11-08T22:56:02.548Z] $ docker rm -f aaf9a5cb92487f82de070c526cbdeba6eb1c99f36faa6b7cb9b7560af3388518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:56:03.275Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T22:56:03.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:56:03.437Z] prd-ubuntu20.04-docker-8c-8g-118666 does not seem to be running inside a container [2022-11-08T22:56:03.462Z] $ 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-68 -v /w/workspace/edgexfoundry_device-gpio_PR-68:/w/workspace/edgexfoundry_device-gpio_PR-68:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-68@tmp:/w/workspace/edgexfoundry_device-gpio_PR-68@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 [2022-11-08T22:56:03.781Z] $ docker top b5a86c6573ae51fe2358bf60739ebfbc3818ce942918444b8d23e53210962bff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T22:56:04.179Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-68 [Pipeline] fileExists [Pipeline] sh [2022-11-08T22:56:04.551Z] + make test [2022-11-08T22:56:04.551Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T22:56:04.816Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-08T22:56:12.922Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-08T22:56:12.922Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-08T22:56:19.475Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T22:56:19.736Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T22:56:23.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T22:56:23.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T22:56:23.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T22:56:23.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T22:56:23.090Z] $ docker stop --time=1 b5a86c6573ae51fe2358bf60739ebfbc3818ce942918444b8d23e53210962bff [2022-11-08T22:56:25.469Z] $ docker rm -f b5a86c6573ae51fe2358bf60739ebfbc3818ce942918444b8d23e53210962bff [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T22:56:25.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T22:56:26.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T22:56:26.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T22:56:26.961Z] + ls -al . [2022-11-08T22:56:26.961Z] total 168 [2022-11-08T22:56:26.961Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 22:56 . [2022-11-08T22:56:26.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:54 .. [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 22:54 .dockerignore [2022-11-08T22:56:26.961Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:56 .git [2022-11-08T22:56:26.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:54 .github [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 22:54 .gitignore [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 22:54 .golangci.yml [2022-11-08T22:56:26.961Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:55 .semver [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 8 22:54 Attribution.txt [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 8 22:54 CHANGELOG.md [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 8 22:54 Dockerfile [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:54 GOVERNANCE.md [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 22:54 Jenkinsfile [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 22:54 LICENSE [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 8 22:54 Makefile [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 22:54 OWNERS.md [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 8 22:54 README.md [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:55 VERSION [2022-11-08T22:56:26.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:54 bin [2022-11-08T22:56:26.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:54 cmd [2022-11-08T22:56:26.961Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 22:56 coverage.out [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 3399 Nov 8 22:54 go.mod [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 44977 Nov 8 22:54 go.sum [2022-11-08T22:56:26.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:54 internal [2022-11-08T22:56:26.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:54 snap [2022-11-08T22:56:26.961Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 22:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:56:27.338Z] + 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=1e232b3346d6865789696f8607373dcf8520133c --label arch=amd64 --label version=0.0.0 . [2022-11-08T22:56:27.338Z] Sending build context to Docker daemon 15.94MB [2022-11-08T22:56:27.338Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T22:56:27.338Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T22:56:27.338Z] ---> 10bca76fe119 [2022-11-08T22:56:27.338Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T22:56:27.596Z] ---> Running in 1415924c5f61 [2022-11-08T22:56:27.596Z] Removing intermediate container 1415924c5f61 [2022-11-08T22:56:27.596Z] ---> ac493dd84403 [2022-11-08T22:56:27.596Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T22:56:27.596Z] ---> Running in 01b720b5c6b9 [2022-11-08T22:56:27.596Z] Removing intermediate container 01b720b5c6b9 [2022-11-08T22:56:27.596Z] ---> 663981c06526 [2022-11-08T22:56:27.596Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T22:56:27.596Z] ---> Running in dfbb1d3245d9 [2022-11-08T22:56:27.855Z] Removing intermediate container dfbb1d3245d9 [2022-11-08T22:56:27.855Z] ---> 0a332642b758 [2022-11-08T22:56:27.855Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T22:56:27.855Z] ---> Running in 0e604772e0d2 [2022-11-08T22:56:27.855Z] Removing intermediate container 0e604772e0d2 [2022-11-08T22:56:27.855Z] ---> 61eca4e62377 [2022-11-08T22:56:27.855Z] Step 7/25 : WORKDIR /device-gpio [2022-11-08T22:56:27.855Z] ---> Running in d6306e7fdd75 [2022-11-08T22:56:27.855Z] Removing intermediate container d6306e7fdd75 [2022-11-08T22:56:27.855Z] ---> 481325c30a0e [2022-11-08T22:56:27.855Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T22:56:27.855Z] ---> Running in 3f53ef5878c1 [2022-11-08T22:56:28.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:56:28.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:56:28.628Z] OK: 216 MiB in 55 packages [2022-11-08T22:56:28.888Z] Removing intermediate container 3f53ef5878c1 [2022-11-08T22:56:28.888Z] ---> 0a5244edbcaf [2022-11-08T22:56:28.888Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T22:56:29.147Z] ---> 4c29579d3ef6 [2022-11-08T22:56:29.147Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T22:56:29.147Z] ---> Running in 98a5d7a28175 [2022-11-08T22:56:29.714Z] Removing intermediate container 98a5d7a28175 [2022-11-08T22:56:29.714Z] ---> bc8642c4af3c [2022-11-08T22:56:29.714Z] Step 11/25 : COPY . . [2022-11-08T22:56:30.345Z] ---> b6462bdd9fce [2022-11-08T22:56:30.345Z] Step 12/25 : RUN ${MAKE} [2022-11-08T22:56:30.345Z] ---> Running in a2c6c268c389 [2022-11-08T22:56:30.345Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-08T22:56:52.269Z] Removing intermediate container a2c6c268c389 [2022-11-08T22:56:52.270Z] ---> 07723d2ecf89 [2022-11-08T22:56:52.270Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T22:56:52.270Z] 3.16: Pulling from library/alpine [2022-11-08T22:56:52.270Z] 213ec9aee27d: Already exists [2022-11-08T22:56:52.270Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T22:56:52.270Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T22:56:52.270Z] ---> 9c6f07244728 [2022-11-08T22:56:52.270Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-08T22:56:52.270Z] ---> Running in a4dd66d9b0ee [2022-11-08T22:56:52.270Z] Removing intermediate container a4dd66d9b0ee [2022-11-08T22:56:52.270Z] ---> 34d3ed498858 [2022-11-08T22:56:52.270Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-08T22:56:52.270Z] ---> Running in a0c218e356f1 [2022-11-08T22:56:52.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:56:52.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:56:52.270Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T22:56:52.270Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T22:56:52.270Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T22:56:52.270Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T22:56:52.270Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T22:56:52.270Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T22:56:52.270Z] OK: 8 MiB in 19 packages [2022-11-08T22:56:52.270Z] Removing intermediate container a0c218e356f1 [2022-11-08T22:56:52.270Z] ---> b20c30fadc18 [2022-11-08T22:56:52.270Z] Step 16/25 : WORKDIR / [2022-11-08T22:56:52.270Z] ---> Running in 38eb0c15f0e1 [2022-11-08T22:56:52.270Z] Removing intermediate container 38eb0c15f0e1 [2022-11-08T22:56:52.270Z] ---> ccc2835327ec [2022-11-08T22:56:52.270Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-08T22:56:52.270Z] ---> 36b25234c87c [2022-11-08T22:56:52.270Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-08T22:56:52.270Z] ---> c4c67f588b60 [2022-11-08T22:56:52.270Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-08T22:56:53.211Z] ---> 82fc237e55f5 [2022-11-08T22:56:53.211Z] Step 20/25 : EXPOSE 59910 [2022-11-08T22:56:53.211Z] ---> Running in e58b4a9aa01e [2022-11-08T22:56:53.211Z] Removing intermediate container e58b4a9aa01e [2022-11-08T22:56:53.211Z] ---> 4ed62cc4ae2c [2022-11-08T22:56:53.211Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-08T22:56:53.211Z] ---> Running in c3da5d85a331 [2022-11-08T22:56:53.211Z] Removing intermediate container c3da5d85a331 [2022-11-08T22:56:53.211Z] ---> fd512cef4e72 [2022-11-08T22:56:53.211Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T22:56:53.469Z] ---> Running in 87dfc9c10cb6 [2022-11-08T22:56:53.469Z] Removing intermediate container 87dfc9c10cb6 [2022-11-08T22:56:53.469Z] ---> 5c164feb0269 [2022-11-08T22:56:53.469Z] Step 23/25 : LABEL arch=amd64 [2022-11-08T22:56:53.469Z] ---> Running in c6d3664b8275 [2022-11-08T22:56:53.469Z] Removing intermediate container c6d3664b8275 [2022-11-08T22:56:53.469Z] ---> acb10f118be4 [2022-11-08T22:56:53.469Z] Step 24/25 : LABEL git_sha=1e232b3346d6865789696f8607373dcf8520133c [2022-11-08T22:56:53.469Z] ---> Running in fe0bc3d9d9c2 [2022-11-08T22:56:53.469Z] Removing intermediate container fe0bc3d9d9c2 [2022-11-08T22:56:53.469Z] ---> 4293ff833199 [2022-11-08T22:56:53.469Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T22:56:53.469Z] ---> Running in cfe9af1df4c4 [2022-11-08T22:56:53.728Z] Removing intermediate container cfe9af1df4c4 [2022-11-08T22:56:53.728Z] ---> 6b30bf061bdf [2022-11-08T22:56:53.728Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T22:56:53.728Z] Successfully built 6b30bf061bdf [2022-11-08T22:56:53.728Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:56:54.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:56:54.575Z] [2022-11-08T22:56:54.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:56:54.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:56:54.946Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T22:56:54.946Z] 5eb5b503b376: Pulling fs layer [2022-11-08T22:56:54.946Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T22:56:54.946Z] ec43610c2a17: Pulling fs layer [2022-11-08T22:56:54.946Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T22:56:54.946Z] 33b1e0a273af: Pulling fs layer [2022-11-08T22:56:54.946Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T22:56:54.946Z] 2f39f015ded8: Pulling fs layer [2022-11-08T22:56:54.946Z] 33b1e0a273af: Waiting [2022-11-08T22:56:54.946Z] 5d3b04190fa2: Waiting [2022-11-08T22:56:54.946Z] 2f39f015ded8: Waiting [2022-11-08T22:56:54.946Z] 3a2ae6a8a46f: Waiting [2022-11-08T22:56:54.946Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T22:56:54.946Z] 5c69ac0246d0: Download complete [2022-11-08T22:56:54.946Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T22:56:54.946Z] 3a2ae6a8a46f: Download complete [2022-11-08T22:56:55.206Z] 33b1e0a273af: Verifying Checksum [2022-11-08T22:56:55.206Z] 33b1e0a273af: Download complete [2022-11-08T22:56:55.206Z] ec43610c2a17: Verifying Checksum [2022-11-08T22:56:55.206Z] ec43610c2a17: Download complete [2022-11-08T22:56:55.206Z] 5d3b04190fa2: Download complete [2022-11-08T22:56:55.206Z] 5eb5b503b376: Verifying Checksum [2022-11-08T22:56:55.206Z] 5eb5b503b376: Download complete [2022-11-08T22:56:55.773Z] 2f39f015ded8: Download complete [2022-11-08T22:56:56.339Z] 5eb5b503b376: Pull complete [2022-11-08T22:56:56.596Z] 5c69ac0246d0: Pull complete [2022-11-08T22:56:56.853Z] ec43610c2a17: Pull complete [2022-11-08T22:56:56.853Z] 3a2ae6a8a46f: Pull complete [2022-11-08T22:56:57.111Z] 33b1e0a273af: Pull complete [2022-11-08T22:56:57.370Z] 5d3b04190fa2: Pull complete [2022-11-08T22:57:01.562Z] 2f39f015ded8: Pull complete [2022-11-08T22:57:01.562Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T22:57:01.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:57:01.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:57:01.789Z] prd-ubuntu20.04-docker-8c-8g-118666 does not seem to be running inside a container [2022-11-08T22:57:01.812Z] $ 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-68 -v /w/workspace/edgexfoundry_device-gpio_PR-68:/w/workspace/edgexfoundry_device-gpio_PR-68:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-68@tmp:/w/workspace/edgexfoundry_device-gpio_PR-68@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 [2022-11-08T22:57:05.431Z] $ docker top 23795002ac450c24667000fc20ab1a71484144ac9d414b2253391c0e1c890ca1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:57:05.943Z] ---> job-cost.sh [2022-11-08T22:57:05.943Z] lf-activate-venv: SKIPPING [2022-11-08T22:57:05.943Z] INFO: No Stack... [2022-11-08T22:57:06.510Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T22:57:06.768Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T22:57:07.078Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-68/archives/cost.csv [2022-11-08T22:57:07.078Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T22:57:07.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [2022-11-08T22:57:07.121Z] Resource [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] did not exist. Created. [2022-11-08T22:57:07.121Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T22:57:07.498Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T22:57:07.545Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T22:57:07.579Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T22:57:07.650Z] $ docker stop --time=1 23795002ac450c24667000fc20ab1a71484144ac9d414b2253391c0e1c890ca1 [2022-11-08T22:57:08.799Z] $ docker rm -f 23795002ac450c24667000fc20ab1a71484144ac9d414b2253391c0e1c890ca1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T22:58:53.936Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118668 in /w/workspace/edgexfoundry_device-gpio_PR-68 [Pipeline] { [Pipeline] ws [2022-11-08T22:58:53.980Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-11-08T22:58:54.055Z] The recommended git tool is: git [2022-11-08T22:58:59.539Z] using credential edgex-jenkins-ssh [2022-11-08T22:58:59.560Z] Cloning the remote Git repository [2022-11-08T22:58:59.620Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-11-08T22:58:59.717Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-11-08T22:58:59.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-08T22:58:59.897Z] > git --version # timeout=10 [2022-11-08T22:58:59.922Z] > git --version # 'git version 2.25.1' [2022-11-08T22:58:59.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T22:58:59.985Z] Verifying host key using known hosts file [2022-11-08T22:59:00.230Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T22:59:00.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T22:59:01.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-08T22:59:01.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T22:59:02.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-11-08T22:59:02.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-11-08T22:59:02.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T22:59:02.737Z] Verifying host key using known hosts file [2022-11-08T22:59:02.744Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T22:59:02.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T22:59:03.331Z] Merging remotes/origin/main commit 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 into PR head commit 1e232b3346d6865789696f8607373dcf8520133c [2022-11-08T22:59:03.549Z] Merge succeeded, producing 1e232b3346d6865789696f8607373dcf8520133c [2022-11-08T22:59:03.550Z] Checking out Revision 1e232b3346d6865789696f8607373dcf8520133c (PR-68) [2022-11-08T22:59:03.350Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T22:59:03.373Z] > git checkout -f 1e232b3346d6865789696f8607373dcf8520133c # timeout=10 [2022-11-08T22:59:03.452Z] > git remote # timeout=10 [2022-11-08T22:59:03.468Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T22:59:03.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T22:59:03.497Z] Verifying host key using known hosts file [2022-11-08T22:59:03.500Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T22:59:03.510Z] > git merge 69dd12f73cabda0b5e7d4a9cec4d531d8cc9d077 # timeout=10 [2022-11-08T22:59:03.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T22:59:03.557Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T22:59:03.579Z] > git checkout -f 1e232b3346d6865789696f8607373dcf8520133c # timeout=10 [2022-11-08T22:59:07.059Z] Commit message: "build: Update to use released SDK" [2022-11-08T22:59:07.120Z] > git --version # timeout=10 [2022-11-08T22:59:07.136Z] > git --version # 'git version 2.25.1' [2022-11-08T22:59:07.161Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T22:59:08.156Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T22:59:08.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T22:59:08.156Z] Dload Upload Total Spent Left Speed [2022-11-08T22:59:08.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-11-08T22:59:08.887Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T22:59:09.236Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-11-08T22:59:09.237Z] sudo tee /etc/docker/daemon.new [2022-11-08T22:59:09.237Z] { [2022-11-08T22:59:09.237Z] "registry-mirrors": [ [2022-11-08T22:59:09.237Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T22:59:09.237Z] ], [2022-11-08T22:59:09.237Z] "bip": "10.250.0.254/24", [2022-11-08T22:59:09.237Z] "hosts": [ [2022-11-08T22:59:09.237Z] "tcp://0.0.0.0:5555", [2022-11-08T22:59:09.237Z] "unix:///var/run/docker.sock" [2022-11-08T22:59:09.237Z] ], [2022-11-08T22:59:09.237Z] "mtu": 1458, [2022-11-08T22:59:09.237Z] "selinux-enabled": true, [2022-11-08T22:59:09.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T22:59:09.237Z] } [Pipeline] sh [2022-11-08T22:59:09.599Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T22:59:09.955Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T22:59:28.264Z] provisioning config files... [2022-11-08T22:59:28.288Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10909469798120136193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:59:28.669Z] ---> docker-login.sh [2022-11-08T22:59:28.669Z] nexus3.edgexfoundry.org:10001 [2022-11-08T22:59:28.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:59:29.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:59:29.206Z] Configure a credential helper to remove this warning. See [2022-11-08T22:59:29.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:59:29.206Z] [2022-11-08T22:59:29.206Z] Login Succeeded [2022-11-08T22:59:29.206Z] nexus3.edgexfoundry.org:10002 [2022-11-08T22:59:29.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:59:29.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:59:29.477Z] Configure a credential helper to remove this warning. See [2022-11-08T22:59:29.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:59:29.477Z] [2022-11-08T22:59:29.477Z] Login Succeeded [2022-11-08T22:59:29.477Z] nexus3.edgexfoundry.org:10003 [2022-11-08T22:59:29.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:59:30.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:59:30.013Z] Configure a credential helper to remove this warning. See [2022-11-08T22:59:30.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:59:30.013Z] [2022-11-08T22:59:30.013Z] Login Succeeded [2022-11-08T22:59:30.013Z] nexus3.edgexfoundry.org:10004 [2022-11-08T22:59:30.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:59:30.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:59:30.285Z] Configure a credential helper to remove this warning. See [2022-11-08T22:59:30.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:59:30.285Z] [2022-11-08T22:59:30.285Z] Login Succeeded [2022-11-08T22:59:30.285Z] docker.io [2022-11-08T22:59:30.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:59:30.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:59:30.822Z] Configure a credential helper to remove this warning. See [2022-11-08T22:59:30.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:59:30.822Z] [2022-11-08T22:59:30.822Z] Login Succeeded [2022-11-08T22:59:30.822Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T22:59:30.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T22:59:31.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:59:31.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:59:31.200Z] ========================================================= [2022-11-08T22:59:31.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T22:59:31.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:59:31.694Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T22:59:31.965Z] Sending build context to Docker daemon 8.055MB [2022-11-08T22:59:31.965Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T22:59:31.965Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T22:59:32.238Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T22:59:32.238Z] 9b18e9b68314: Pulling fs layer [2022-11-08T22:59:32.238Z] 35d82f9e3411: Pulling fs layer [2022-11-08T22:59:32.238Z] e16973657156: Pulling fs layer [2022-11-08T22:59:32.238Z] fc693d55d65f: Pulling fs layer [2022-11-08T22:59:32.238Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T22:59:32.238Z] dda99020689f: Pulling fs layer [2022-11-08T22:59:32.238Z] db1c61fa0a46: Pulling fs layer [2022-11-08T22:59:32.238Z] 891c053d2c06: Pulling fs layer [2022-11-08T22:59:32.238Z] fc693d55d65f: Waiting [2022-11-08T22:59:32.238Z] 7e9fc2657dce: Waiting [2022-11-08T22:59:32.238Z] dda99020689f: Waiting [2022-11-08T22:59:32.238Z] db1c61fa0a46: Waiting [2022-11-08T22:59:32.238Z] 891c053d2c06: Waiting [2022-11-08T22:59:32.238Z] e16973657156: Verifying Checksum [2022-11-08T22:59:32.238Z] e16973657156: Download complete [2022-11-08T22:59:32.238Z] 35d82f9e3411: Download complete [2022-11-08T22:59:32.238Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T22:59:32.238Z] 7e9fc2657dce: Download complete [2022-11-08T22:59:32.238Z] dda99020689f: Download complete [2022-11-08T22:59:32.238Z] 9b18e9b68314: Verifying Checksum [2022-11-08T22:59:33.208Z] 9b18e9b68314: Pull complete [2022-11-08T22:59:33.477Z] 891c053d2c06: Verifying Checksum [2022-11-08T22:59:33.477Z] 891c053d2c06: Download complete [2022-11-08T22:59:33.750Z] 35d82f9e3411: Pull complete [2022-11-08T22:59:34.021Z] e16973657156: Pull complete [2022-11-08T22:59:34.612Z] db1c61fa0a46: Verifying Checksum [2022-11-08T22:59:34.612Z] db1c61fa0a46: Download complete [2022-11-08T22:59:35.199Z] fc693d55d65f: Download complete [2022-11-08T22:59:47.520Z] fc693d55d65f: Pull complete [2022-11-08T22:59:47.520Z] 7e9fc2657dce: Pull complete [2022-11-08T22:59:47.789Z] dda99020689f: Pull complete [2022-11-08T22:59:54.445Z] db1c61fa0a46: Pull complete [2022-11-08T22:59:55.859Z] 891c053d2c06: Pull complete [2022-11-08T22:59:55.859Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T22:59:55.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T22:59:55.859Z] ---> f96f9c87975a [2022-11-08T22:59:55.859Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T22:59:57.816Z] ---> Running in 8384f5e4af3c [2022-11-08T22:59:57.816Z] Removing intermediate container 8384f5e4af3c [2022-11-08T22:59:57.816Z] ---> 4dec9a12c47b [2022-11-08T22:59:57.816Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T22:59:58.084Z] ---> Running in 9eee840e4e4f [2022-11-08T22:59:58.353Z] Removing intermediate container 9eee840e4e4f [2022-11-08T22:59:58.353Z] ---> 92ad5baee982 [2022-11-08T22:59:58.353Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T22:59:58.353Z] ---> Running in 2e2376ae37f1 [2022-11-08T22:59:58.623Z] Removing intermediate container 2e2376ae37f1 [2022-11-08T22:59:58.623Z] ---> 7fb7224b9f39 [2022-11-08T22:59:58.623Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T22:59:58.890Z] ---> Running in bb4a434cdd02 [2022-11-08T22:59:59.159Z] Removing intermediate container bb4a434cdd02 [2022-11-08T22:59:59.159Z] ---> 814fd8604f92 [2022-11-08T22:59:59.159Z] Step 7/12 : WORKDIR /device-gpio [2022-11-08T22:59:59.159Z] ---> Running in a4fa3bfd6ef4 [2022-11-08T22:59:59.425Z] Removing intermediate container a4fa3bfd6ef4 [2022-11-08T22:59:59.425Z] ---> ef12a987c2c4 [2022-11-08T22:59:59.425Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T22:59:59.693Z] ---> Running in 9a457e55dd3e [2022-11-08T23:00:01.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:00:01.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:00:02.072Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:00:02.072Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:00:02.072Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:00:02.072Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:00:02.072Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:00:02.340Z] OK: 226 MiB in 55 packages [2022-11-08T23:00:03.308Z] Removing intermediate container 9a457e55dd3e [2022-11-08T23:00:03.308Z] ---> a924a3d73072 [2022-11-08T23:00:03.308Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:00:03.894Z] ---> 6f34a86ddcbe [2022-11-08T23:00:03.894Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:00:03.894Z] ---> Running in a52999355450 [2022-11-08T23:01:00.319Z] Removing intermediate container a52999355450 [2022-11-08T23:01:00.319Z] ---> 823979361e4f [2022-11-08T23:01:00.319Z] Step 11/12 : COPY . . [2022-11-08T23:01:00.319Z] ---> ca2ea9e8c0f3 [2022-11-08T23:01:00.319Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:01:00.319Z] ---> Running in 42840a80d008 [2022-11-08T23:01:00.319Z] noop [2022-11-08T23:01:00.319Z] Removing intermediate container 42840a80d008 [2022-11-08T23:01:00.319Z] ---> 59302aa65a7b [2022-11-08T23:01:00.319Z] Successfully built 59302aa65a7b [2022-11-08T23:01:00.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:01:00.810Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:01:00.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:01:01.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-118668 does not seem to be running inside a container [2022-11-08T23:01:01.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:01:02.315Z] $ docker top 9e4a1b9cd3b611b8af0a90d086e1e486ddb08b1b7df7bbc647115f3f0620d3e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:01:03.197Z] + go version [2022-11-08T23:01:03.197Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:01:03.231Z] $ docker stop --time=1 9e4a1b9cd3b611b8af0a90d086e1e486ddb08b1b7df7bbc647115f3f0620d3e1 [2022-11-08T23:01:04.854Z] $ docker rm -f 9e4a1b9cd3b611b8af0a90d086e1e486ddb08b1b7df7bbc647115f3f0620d3e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:01:05.705Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:01:05.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:01:05.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-118668 does not seem to be running inside a container [2022-11-08T23:01:06.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:01:07.244Z] $ docker top 3b94fc80d17aa596805ac19d62977520d336a0983e0b14b70fb80f66eb514979 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:01:07.806Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:01:08.450Z] + make test [2022-11-08T23:01:08.450Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:01:10.414Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-11-08T23:02:47.057Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-11-08T23:02:47.058Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-11-08T23:02:47.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:02:47.058Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:02:55.266Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:02:55.266Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:02:55.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:02:55.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:02:55.391Z] $ docker stop --time=1 3b94fc80d17aa596805ac19d62977520d336a0983e0b14b70fb80f66eb514979 [2022-11-08T23:02:57.187Z] $ docker rm -f 3b94fc80d17aa596805ac19d62977520d336a0983e0b14b70fb80f66eb514979 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:02:58.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:02:58.223Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:02:58.593Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:02:59.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:02:59.503Z] + ls -al . [2022-11-08T23:02:59.503Z] total 164 [2022-11-08T23:02:59.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:01 . [2022-11-08T23:02:59.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:58 .. [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 22:59 .dockerignore [2022-11-08T23:02:59.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:59 .git [2022-11-08T23:02:59.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:59 .github [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 343 Nov 8 22:59 .gitignore [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 22:59 .golangci.yml [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 9691 Nov 8 22:59 Attribution.txt [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 4069 Nov 8 22:59 CHANGELOG.md [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 1604 Nov 8 22:59 Dockerfile [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:59 GOVERNANCE.md [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 22:59 Jenkinsfile [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 22:59 LICENSE [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 2085 Nov 8 22:59 Makefile [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 22:59 OWNERS.md [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 11842 Nov 8 22:59 README.md [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:55 VERSION [2022-11-08T23:02:59.503Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:59 bin [2022-11-08T23:02:59.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:59 cmd [2022-11-08T23:02:59.503Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 23:01 coverage.out [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 3399 Nov 8 22:59 go.mod [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 44977 Nov 8 22:59 go.sum [2022-11-08T23:02:59.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:59 internal [2022-11-08T23:02:59.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:59 snap [2022-11-08T23:02:59.503Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:02:59.937Z] + 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=1e232b3346d6865789696f8607373dcf8520133c --label arch=arm64 --label version=0.0.0 . [2022-11-08T23:03:00.203Z] Sending build context to Docker daemon 8.056MB [2022-11-08T23:03:00.203Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:03:00.203Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T23:03:00.203Z] ---> 59302aa65a7b [2022-11-08T23:03:00.203Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:03:00.475Z] ---> Running in a8a05f7e1510 [2022-11-08T23:03:00.745Z] Removing intermediate container a8a05f7e1510 [2022-11-08T23:03:00.745Z] ---> 0ed4f512a531 [2022-11-08T23:03:00.745Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:03:00.745Z] ---> Running in 242e6f8d66a2 [2022-11-08T23:03:01.016Z] Removing intermediate container 242e6f8d66a2 [2022-11-08T23:03:01.016Z] ---> 4f4e6783eff3 [2022-11-08T23:03:01.016Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:03:01.284Z] ---> Running in 05866f022876 [2022-11-08T23:03:01.551Z] Removing intermediate container 05866f022876 [2022-11-08T23:03:01.551Z] ---> 4003eb2a47d7 [2022-11-08T23:03:01.551Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:03:01.551Z] ---> Running in b2c2fe6ce2ca [2022-11-08T23:03:01.820Z] Removing intermediate container b2c2fe6ce2ca [2022-11-08T23:03:01.820Z] ---> c5535bd42cfa [2022-11-08T23:03:01.820Z] Step 7/25 : WORKDIR /device-gpio [2022-11-08T23:03:01.820Z] ---> Running in 4221847eadc5 [2022-11-08T23:03:02.410Z] Removing intermediate container 4221847eadc5 [2022-11-08T23:03:02.410Z] ---> 78d1c8b05df2 [2022-11-08T23:03:02.410Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:03:02.410Z] ---> Running in 9a54bc9af19e [2022-11-08T23:03:03.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:03:03.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:03:04.710Z] OK: 226 MiB in 55 packages [2022-11-08T23:03:05.700Z] Removing intermediate container 9a54bc9af19e [2022-11-08T23:03:05.700Z] ---> 7712abf16fa6 [2022-11-08T23:03:05.700Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T23:03:06.293Z] ---> ebf36ca2e101 [2022-11-08T23:03:06.293Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:03:06.293Z] ---> Running in 107838b6e98f [2022-11-08T23:03:08.234Z] Removing intermediate container 107838b6e98f [2022-11-08T23:03:08.234Z] ---> 54eab7f501cb [2022-11-08T23:03:08.234Z] Step 11/25 : COPY . . [2022-11-08T23:03:08.824Z] ---> 6f089921724d [2022-11-08T23:03:08.824Z] Step 12/25 : RUN ${MAKE} [2022-11-08T23:03:08.824Z] ---> Running in b8372c4a2313 [2022-11-08T23:03:09.785Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-11-08T23:05:46.552Z] Removing intermediate container b8372c4a2313 [2022-11-08T23:05:46.552Z] ---> 7aa04b7f3d39 [2022-11-08T23:05:46.552Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T23:05:46.552Z] 3.16: Pulling from library/alpine [2022-11-08T23:05:46.552Z] 9b18e9b68314: Already exists [2022-11-08T23:05:46.552Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:05:46.552Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:05:46.552Z] ---> a6215f271958 [2022-11-08T23:05:46.552Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-11-08T23:05:46.552Z] ---> Running in 81b24fa9c8e0 [2022-11-08T23:05:46.552Z] Removing intermediate container 81b24fa9c8e0 [2022-11-08T23:05:46.552Z] ---> 5339718ceafd [2022-11-08T23:05:46.552Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-11-08T23:05:46.552Z] ---> Running in ed162d0dc15f [2022-11-08T23:05:46.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:05:46.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:05:46.552Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:05:46.552Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T23:05:46.552Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:05:46.552Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T23:05:46.552Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T23:05:46.552Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:05:46.552Z] OK: 8 MiB in 19 packages [2022-11-08T23:05:46.552Z] Removing intermediate container ed162d0dc15f [2022-11-08T23:05:46.552Z] ---> cd303f147e51 [2022-11-08T23:05:46.552Z] Step 16/25 : WORKDIR / [2022-11-08T23:05:46.552Z] ---> Running in 97f99dcefdf7 [2022-11-08T23:05:46.552Z] Removing intermediate container 97f99dcefdf7 [2022-11-08T23:05:46.552Z] ---> 3c155a57b80b [2022-11-08T23:05:46.552Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-11-08T23:05:46.552Z] ---> 22804217b28b [2022-11-08T23:05:46.552Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-11-08T23:05:46.552Z] ---> 3af48cfb2a74 [2022-11-08T23:05:46.552Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-11-08T23:05:46.552Z] ---> 9a937b20fb79 [2022-11-08T23:05:46.552Z] Step 20/25 : EXPOSE 59910 [2022-11-08T23:05:46.552Z] ---> Running in bbcccc397337 [2022-11-08T23:05:46.552Z] Removing intermediate container bbcccc397337 [2022-11-08T23:05:46.552Z] ---> ae24ec5f4137 [2022-11-08T23:05:46.552Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-11-08T23:05:46.552Z] ---> Running in 9d57ea715b65 [2022-11-08T23:05:46.552Z] Removing intermediate container 9d57ea715b65 [2022-11-08T23:05:46.552Z] ---> 6a9968d272ba [2022-11-08T23:05:46.552Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:05:46.552Z] ---> Running in c92bebd34fa7 [2022-11-08T23:05:46.552Z] Removing intermediate container c92bebd34fa7 [2022-11-08T23:05:46.552Z] ---> 229fa0266b53 [2022-11-08T23:05:46.552Z] Step 23/25 : LABEL arch=arm64 [2022-11-08T23:05:46.552Z] ---> Running in dc55d7b1b1e5 [2022-11-08T23:05:46.552Z] Removing intermediate container dc55d7b1b1e5 [2022-11-08T23:05:46.552Z] ---> d7ed1e3cd538 [2022-11-08T23:05:46.552Z] Step 24/25 : LABEL git_sha=1e232b3346d6865789696f8607373dcf8520133c [2022-11-08T23:05:46.552Z] ---> Running in 2037c257e39b [2022-11-08T23:05:46.552Z] Removing intermediate container 2037c257e39b [2022-11-08T23:05:46.552Z] ---> 136215a29e48 [2022-11-08T23:05:46.552Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T23:05:46.552Z] ---> Running in 33fb93aaa173 [2022-11-08T23:05:46.552Z] Removing intermediate container 33fb93aaa173 [2022-11-08T23:05:46.552Z] ---> d0c2646f8fb8 [2022-11-08T23:05:46.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:05:46.552Z] Successfully built d0c2646f8fb8 [2022-11-08T23:05:46.552Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:05:47.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:05:47.519Z] [2022-11-08T23:05:47.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:05:47.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:05:47.922Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:05:47.922Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:05:47.922Z] 04944245beec: Pulling fs layer [2022-11-08T23:05:47.922Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:05:47.922Z] 765212b225bb: Pulling fs layer [2022-11-08T23:05:47.922Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:05:48.192Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:05:48.192Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:05:48.192Z] 765212b225bb: Waiting [2022-11-08T23:05:48.192Z] f23df028b6ca: Waiting [2022-11-08T23:05:48.192Z] 2437ff75d9bd: Waiting [2022-11-08T23:05:48.192Z] d65c8cfc05b1: Waiting [2022-11-08T23:05:48.192Z] 04944245beec: Verifying Checksum [2022-11-08T23:05:48.192Z] 04944245beec: Download complete [2022-11-08T23:05:48.192Z] 765212b225bb: Verifying Checksum [2022-11-08T23:05:48.192Z] 765212b225bb: Download complete [2022-11-08T23:05:48.192Z] f23df028b6ca: Verifying Checksum [2022-11-08T23:05:48.192Z] f23df028b6ca: Download complete [2022-11-08T23:05:48.192Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T23:05:48.192Z] d65c8cfc05b1: Download complete [2022-11-08T23:05:48.463Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:05:48.463Z] 699f458cf7ca: Download complete [2022-11-08T23:05:48.733Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T23:05:48.733Z] 8998bd30e6a1: Download complete [2022-11-08T23:05:51.319Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:05:51.319Z] 2437ff75d9bd: Download complete [2022-11-08T23:05:53.265Z] 8998bd30e6a1: Pull complete [2022-11-08T23:05:53.265Z] 04944245beec: Pull complete [2022-11-08T23:05:54.676Z] 699f458cf7ca: Pull complete [2022-11-08T23:05:54.946Z] 765212b225bb: Pull complete [2022-11-08T23:05:55.909Z] f23df028b6ca: Pull complete [2022-11-08T23:05:55.909Z] d65c8cfc05b1: Pull complete [2022-11-08T23:06:10.933Z] 2437ff75d9bd: Pull complete [2022-11-08T23:06:10.933Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:06:10.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:06:10.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:06:11.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-118668 does not seem to be running inside a container [2022-11-08T23:06:11.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T23:06:14.267Z] $ docker top 5dc9f786ef3f86a8d113c7361f0b69a7d5a82f2e42da4114154b3f8b3bec7df7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:15.199Z] ---> job-cost.sh [2022-11-08T23:06:15.200Z] lf-activate-venv: SKIPPING [2022-11-08T23:06:15.200Z] INFO: No Stack... [2022-11-08T23:06:20.555Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:06:21.514Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:06:22.170Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-11-08T23:06:22.170Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:06:22.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [2022-11-08T23:06:22.258Z] Resource [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] did not exist. Created. [2022-11-08T23:06:22.258Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:06:22.990Z] /w/workspace/device-gpio/1@tmp/durable-b42f7fd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:06:23.658Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:06:23.693Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:06:23.743Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:06:23.760Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-68-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:06:23.843Z] $ docker stop --time=1 5dc9f786ef3f86a8d113c7361f0b69a7d5a82f2e42da4114154b3f8b3bec7df7 [2022-11-08T23:06:25.402Z] $ docker rm -f 5dc9f786ef3f86a8d113c7361f0b69a7d5a82f2e42da4114154b3f8b3bec7df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-08T23:06:26.400Z] provisioning config files... [2022-11-08T23:06:26.406Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/config6080538417583983427tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:06:26.735Z] + set +x [2022-11-08T23:06:26.735Z] + curl -s https://codecov.io/bash [2022-11-08T23:06:26.735Z] + bash -s -- [2022-11-08T23:06:26.735Z] [2022-11-08T23:06:26.735Z] _____ _ [2022-11-08T23:06:26.735Z] / ____| | | [2022-11-08T23:06:26.735Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:06:26.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:06:26.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:06:26.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:06:26.735Z] Bash-1.0.6 [2022-11-08T23:06:26.735Z] [2022-11-08T23:06:26.735Z] [2022-11-08T23:06:26.735Z] ==> git version 2.25.1 found [2022-11-08T23:06:26.735Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-08T23:06:26.735Z] Release-Date: 2020-01-08 [2022-11-08T23:06:26.735Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T23:06:26.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:06:26.735Z] ==> Jenkins CI detected. [2022-11-08T23:06:26.735Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-68 [2022-11-08T23:06:26.735Z] project root: . [2022-11-08T23:06:26.735Z] --> token set from env [2022-11-08T23:06:26.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:06:26.735Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:06:26.735Z] ==> Python coveragepy not found [2022-11-08T23:06:26.735Z] ==> Searching for coverage reports in: [2022-11-08T23:06:26.735Z] + . [2022-11-08T23:06:26.735Z] -> Found 1 reports [2022-11-08T23:06:26.735Z] ==> Detecting git/mercurial file structure [2022-11-08T23:06:26.736Z] ==> Reading reports [2022-11-08T23:06:26.736Z] + ./coverage.out bytes=10 [2022-11-08T23:06:26.736Z] ==> Appending adjustments [2022-11-08T23:06:26.736Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:06:26.996Z] + Found adjustments [2022-11-08T23:06:26.996Z] ==> Gzipping contents [2022-11-08T23:06:26.996Z] 4.0K /tmp/codecov.jLHLke.gz [2022-11-08T23:06:26.996Z] ==> Uploading reports [2022-11-08T23:06:26.996Z] url: https://codecov.io [2022-11-08T23:06:26.996Z] query: branch=PR-68&commit=1e232b3346d6865789696f8607373dcf8520133c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=68&job=&cmd_args= [2022-11-08T23:06:26.996Z] -> Pinging Codecov [2022-11-08T23:06:26.996Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-68&commit=1e232b3346d6865789696f8607373dcf8520133c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=68&job=&cmd_args= [2022-11-08T23:06:27.256Z] -> Uploading to [2022-11-08T23:06:27.256Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1e232b3346d6865789696f8607373dcf8520133c/587142e4-fe06-4e24-acf1-8663edd85552.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T230626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46a89083354d294f235c631a228d384a502319f338468969849515eb9726bd0e [2022-11-08T23:06:27.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:06:27.256Z] Dload Upload Total Spent Left Speed [2022-11-08T23:06:27.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3847 --:--:-- --:--:-- --:--:-- 3828 100 781 0 0 100 781 0 2925 --:--:-- --:--:-- --:--:-- 2914 [2022-11-08T23:06:27.515Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1e232b3346d6865789696f8607373dcf8520133c [Pipeline] } [2022-11-08T23:06:27.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-08T23:06:29.234Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-68/archives ] [2022-11-08T23:06:29.234Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-68/archives [2022-11-08T23:06:29.234Z] total 16 [2022-11-08T23:06:29.234Z] drwxr-xr-x 3 root root 4096 Nov 8 22:57 . [2022-11-08T23:06:29.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:57 .. [2022-11-08T23:06:29.234Z] drwxr-xr-x 2 root root 4096 Nov 8 22:57 cost [2022-11-08T23:06:29.234Z] -rw-r--r-- 1 root root 82 Nov 8 22:57 cost.csv [2022-11-08T23:06:29.234Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-68/archives [2022-11-08T23:06:29.234Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-68/archives [2022-11-08T23:06:29.234Z] total 16 [2022-11-08T23:06:29.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:57 . [2022-11-08T23:06:29.234Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:57 .. [2022-11-08T23:06:29.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 22:57 cost [2022-11-08T23:06:29.234Z] -rw-r--r-- 1 jenkins jenkins 82 Nov 8 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:29.561Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:30.447Z] ---> package-listing.sh [2022-11-08T23:06:30.447Z] ++ facter osfamily [2022-11-08T23:06:30.447Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:06:30.447Z] + OS_FAMILY=debian [2022-11-08T23:06:30.447Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-68 [2022-11-08T23:06:30.447Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:06:30.447Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:06:30.447Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:06:30.447Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:06:30.447Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-68 ']' [2022-11-08T23:06:30.447Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:06:30.447Z] + case "${OS_FAMILY}" in [2022-11-08T23:06:30.447Z] + dpkg -l [2022-11-08T23:06:30.447Z] + grep '^ii' [2022-11-08T23:06:30.705Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:06:30.705Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:06:30.705Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:06:30.705Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-68 ']' [2022-11-08T23:06:30.705Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-68/archives/ [2022-11-08T23:06:30.705Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-68/archives/ [Pipeline] echo [2022-11-08T23:06:30.739Z] 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T23:06:31.029Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:06:31.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:06:31.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:06:31.533Z] prd-ubuntu20.04-docker-8c-8g-118666 does not seem to be running inside a container [2022-11-08T23:06:31.557Z] $ 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-68/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-68 -v /w/workspace/edgexfoundry_device-gpio_PR-68:/w/workspace/edgexfoundry_device-gpio_PR-68:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-68@tmp:/w/workspace/edgexfoundry_device-gpio_PR-68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:06:31.740Z] $ docker top 6d50bd4ab130975dc1cfca7b3e88a952e56f02132705d6595ea3c42bbccb4176 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:06:32.127Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:06:32.437Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:06:32.745Z] + ls /var/log/sa-host [2022-11-08T23:06:32.745Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:06:32.875Z] provisioning config files... [2022-11-08T23:06:32.885Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-68@tmp/config8264345955959909668tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:06:32.933Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:33.241Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:06:33.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:33.651Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:06:33.689Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:34.004Z] ---> sudo-logs.sh [2022-11-08T23:06:34.004Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:06:34.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:34.399Z] ---> job-cost.sh [2022-11-08T23:06:34.400Z] lf-activate-venv: SKIPPING [2022-11-08T23:06:34.400Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:06:34.400Z] INFO: Retrieving Stack Cost... [2022-11-08T23:06:34.659Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:06:34.918Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:06:34.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:06:35.279Z] ---> logs-deploy.sh [2022-11-08T23:06:35.279Z] lf-activate-venv: SKIPPING [2022-11-08T23:06:35.279Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-68/1 [2022-11-08T23:06:35.279Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:06:36.216Z] Archives upload complete. [2022-11-08T23:06:36.216Z] INFO: archiving logs to Nexus