Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2f889f2e6331967c7dfcc00d4313b0bfed68330 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-ssh5169293531041569992.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2745041052714079672.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10558993105006837790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6388171696251368231.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4873270867029303316.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17841674850866494384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2683 in /w/workspace/edgexfoundry_device-gpio_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d2f889f2e6331967c7dfcc00d4313b0bfed68330 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 Commit message: "Merge pull request #40 from weichou1229/upgrade-sdk" > git rev-list --no-walk e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:46 ========================================================= 06:14:46 EdgeX Global Pipelines Version Info 06:14:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:47 ------------------- 06:14:47 stable info: 06:14:47 ------------------- 06:14:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:47 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:14:47 Message: update stable to v1.0.234 06:14:47 ------------------- 06:14:47 experimental info: 06:14:47 ------------------- 06:14:47 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:47 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:14:47 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2f889f [Pipeline] echo 06:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:48 provisioning config files... 06:14:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1985229263736489440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:49 ---> docker-login.sh 06:14:49 nexus3.edgexfoundry.org:10001 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10002 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10003 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10004 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 docker.io 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:50 Configure a credential helper to remove this warning. See 06:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:50 06:14:50 Login Succeeded 06:14:50 ---> docker-login.sh ends [Pipeline] } 06:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:50 + git rev-list -1 --merges d2f889f2e6331967c7dfcc00d4313b0bfed68330~1..d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] echo 06:14:50 -----------> git rev-list -1 --merges d2f889f2e6331967c7dfcc00d4313b0bfed68330~1..d2f889f2e6331967c7dfcc00d4313b0bfed68330 d2f889f2e6331967c7dfcc00d4313b0bfed68330 06:14:50 d2f889f2e6331967c7dfcc00d4313b0bfed68330 [false] [Pipeline] sh 06:14:50 + git log --format=format:%s -1 d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] echo 06:14:50 ========================================================= 06:14:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:51 + git log --format=format:%s -1 d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] echo 06:14:51 [semverPrep] GIT_COMMIT: d2f889f2e6331967c7dfcc00d4313b0bfed68330, Commit Message: Merge pull request #40 from weichou1229/upgrade-sdk [Pipeline] echo 06:14:51 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:51 + grep -v github /etc/ssh/ssh_known_hosts 06:14:51 + [ -e /tmp/ssh_known_hosts ] 06:14:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:51 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:51 06:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:52 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:52 42c077c10790: Pulling fs layer 06:14:52 f63e77b7563a: Pulling fs layer 06:14:52 bd5fdadae976: Pulling fs layer 06:14:52 205491f53016: Pulling fs layer 06:14:52 df18705c85c3: Pulling fs layer 06:14:52 bdb3f477010e: Pulling fs layer 06:14:52 c8a8fc8e1c8f: Pulling fs layer 06:14:52 2c6e9b1d212d: Pulling fs layer 06:14:52 bdb8f0575790: Pulling fs layer 06:14:52 df18705c85c3: Waiting 06:14:52 bdb3f477010e: Waiting 06:14:52 c8a8fc8e1c8f: Waiting 06:14:52 205491f53016: Waiting 06:14:52 2c6e9b1d212d: Waiting 06:14:52 386e3cb2ff24: Pulling fs layer 06:14:52 2343380bae48: Pulling fs layer 06:14:52 386e3cb2ff24: Waiting 06:14:52 2343380bae48: Waiting 06:14:52 f63e77b7563a: Verifying Checksum 06:14:52 f63e77b7563a: Download complete 06:14:52 205491f53016: Verifying Checksum 06:14:52 205491f53016: Download complete 06:14:52 df18705c85c3: Verifying Checksum 06:14:52 df18705c85c3: Download complete 06:14:52 bd5fdadae976: Verifying Checksum 06:14:52 bd5fdadae976: Download complete 06:14:52 bdb3f477010e: Verifying Checksum 06:14:52 bdb3f477010e: Download complete 06:14:52 2c6e9b1d212d: Verifying Checksum 06:14:52 2c6e9b1d212d: Download complete 06:14:52 bdb8f0575790: Download complete 06:14:52 386e3cb2ff24: Verifying Checksum 06:14:52 386e3cb2ff24: Download complete 06:14:52 2343380bae48: Verifying Checksum 06:14:52 2343380bae48: Download complete 06:14:52 42c077c10790: Verifying Checksum 06:14:52 42c077c10790: Download complete 06:14:52 c8a8fc8e1c8f: Verifying Checksum 06:14:52 c8a8fc8e1c8f: Download complete 06:14:54 42c077c10790: Pull complete 06:14:54 f63e77b7563a: Pull complete 06:14:54 bd5fdadae976: Pull complete 06:14:54 205491f53016: Pull complete 06:14:54 df18705c85c3: Pull complete 06:14:55 bdb3f477010e: Pull complete 06:14:57 c8a8fc8e1c8f: Pull complete 06:14:57 2c6e9b1d212d: Pull complete 06:14:57 bdb8f0575790: Pull complete 06:14:57 386e3cb2ff24: Pull complete 06:14:57 2343380bae48: Pull complete 06:14:57 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:57 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 06:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:58 $ docker top 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 -eo pid,comm 06:14:58 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). 06:14:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:58 [ssh-agent] Looking for ssh-agent implementation... 06:14:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:58 $ docker exec 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 ssh-agent 06:14:59 SSH_AUTH_SOCK=/tmp/ssh-IYKztYvpKnSY/agent.32 06:14:59 SSH_AGENT_PID=38 06:14:59 Running ssh-add (command line suppressed) 06:14:59 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2485836209235284990.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2485836209235284990.key) 06:14:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:59 + git tag --points-at HEAD [Pipeline] } 06:14:59 $ docker exec --env ******** --env ******** 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 ssh-agent -k 06:14:59 unset SSH_AUTH_SOCK; 06:14:59 unset SSH_AGENT_PID; 06:14:59 echo Agent pid 38 killed; 06:14:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:59 [ssh-agent] Looking for ssh-agent implementation... 06:14:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:59 $ docker exec 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 ssh-agent 06:15:00 SSH_AUTH_SOCK=/tmp/ssh-hYkneXIRlKzK/agent.70 06:15:00 SSH_AGENT_PID=76 06:15:00 Running ssh-add (command line suppressed) 06:15:00 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3556846479287485016.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3556846479287485016.key) 06:15:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:00 + git semver init 06:15:00 2022-06-19 06:15:00,668 [run_init] DEBUG init version:0.0.0 force:False 06:15:00 2022-06-19 06:15:00,668 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 06:15:00 2022-06-19 06:15:00,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 06:15:00 2022-06-19 06:15:00,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 06:15:01 2022-06-19 06:15:01,555 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 06:15:01 2022-06-19 06:15:01,556 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 06:15:01 2022-06-19 06:15:01,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:15:01 2022-06-19 06:15:01,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 06:15:01 2.2.1-dev.1 [Pipeline] } 06:15:01 $ docker exec --env ******** --env ******** 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 ssh-agent -k 06:15:01 unset SSH_AUTH_SOCK; 06:15:01 unset SSH_AGENT_PID; 06:15:01 echo Agent pid 76 killed; 06:15:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:02 + git semver [Pipeline] } 06:15:02 $ docker stop --time=1 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 06:15:03 $ docker rm -f 4bbc88896291c684d36995e1f9fb9072aa23ebfdb0069b2f33164c7bee8915e4 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:04 Stashed 1 file(s) [Pipeline] echo 06:15:04 [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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 06:15:04 provisioning config files... 06:15:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1901712970021521741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:04 ---> docker-login.sh 06:15:04 nexus3.edgexfoundry.org:10001 06:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:04 Configure a credential helper to remove this warning. See 06:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:04 06:15:04 Login Succeeded 06:15:04 nexus3.edgexfoundry.org:10002 06:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:05 Configure a credential helper to remove this warning. See 06:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:05 06:15:05 Login Succeeded 06:15:05 nexus3.edgexfoundry.org:10003 06:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:05 Configure a credential helper to remove this warning. See 06:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:05 06:15:05 Login Succeeded 06:15:05 nexus3.edgexfoundry.org:10004 06:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:05 Configure a credential helper to remove this warning. See 06:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:05 06:15:05 Login Succeeded 06:15:05 docker.io 06:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:05 Configure a credential helper to remove this warning. See 06:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:05 06:15:05 Login Succeeded 06:15:05 ---> docker-login.sh ends [Pipeline] } 06:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:06 ========================================================= 06:15:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:15:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:15:06 Sending build context to Docker daemon 15.72MB 06:15:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:15:06 Step 2/12 : FROM ${BASE} AS builder 06:15:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:06 59bf1c3509f3: Pulling fs layer 06:15:06 666ba61612fd: Pulling fs layer 06:15:06 8ed8ca486205: Pulling fs layer 06:15:06 cc1cd167ecdc: Pulling fs layer 06:15:06 c516ae0d96e1: Pulling fs layer 06:15:06 cc1cd167ecdc: Waiting 06:15:06 c516ae0d96e1: Waiting 06:15:06 684cea983483: Pulling fs layer 06:15:06 dd3240ac7de5: Pulling fs layer 06:15:06 dd3240ac7de5: Waiting 06:15:06 684cea983483: Waiting 06:15:06 b1e948a4e11c: Pulling fs layer 06:15:06 a8fd76ee1af6: Pulling fs layer 06:15:06 646ad004c059: Pulling fs layer 06:15:06 b1e948a4e11c: Waiting 06:15:06 a8fd76ee1af6: Waiting 06:15:06 646ad004c059: Waiting 06:15:06 8ed8ca486205: Verifying Checksum 06:15:06 8ed8ca486205: Download complete 06:15:06 666ba61612fd: Verifying Checksum 06:15:06 666ba61612fd: Download complete 06:15:06 c516ae0d96e1: Verifying Checksum 06:15:06 c516ae0d96e1: Download complete 06:15:06 684cea983483: Verifying Checksum 06:15:06 59bf1c3509f3: Download complete 06:15:06 dd3240ac7de5: Verifying Checksum 06:15:06 dd3240ac7de5: Download complete 06:15:06 b1e948a4e11c: Verifying Checksum 06:15:06 b1e948a4e11c: Download complete 06:15:06 59bf1c3509f3: Pull complete 06:15:06 666ba61612fd: Pull complete 06:15:06 8ed8ca486205: Pull complete 06:15:07 646ad004c059: Verifying Checksum 06:15:07 646ad004c059: Download complete 06:15:07 a8fd76ee1af6: Verifying Checksum 06:15:07 a8fd76ee1af6: Download complete 06:15:07 cc1cd167ecdc: Verifying Checksum 06:15:07 cc1cd167ecdc: Download complete 06:15:11 cc1cd167ecdc: Pull complete 06:15:11 c516ae0d96e1: Pull complete 06:15:11 684cea983483: Pull complete 06:15:11 dd3240ac7de5: Pull complete 06:15:11 b1e948a4e11c: Pull complete 06:15:14 a8fd76ee1af6: Pull complete 06:15:14 646ad004c059: Pull complete 06:15:14 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:15:14 ---> 8f69c11f6b0c 06:15:14 Step 3/12 : ARG MAKE="make build" 06:15:16 ---> Running in fed31cb68996 06:15:16 Removing intermediate container fed31cb68996 06:15:16 ---> bdea7e4235db 06:15:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:15:16 ---> Running in c69d6c2c9998 06:15:16 Removing intermediate container c69d6c2c9998 06:15:16 ---> c4e790a329ac 06:15:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:15:16 ---> Running in 62d8439fa26c 06:15:16 Removing intermediate container 62d8439fa26c 06:15:16 ---> f34d8d457c60 06:15:16 Step 6/12 : WORKDIR /device-gpio 06:15:16 ---> Running in d2ff8a711f21 06:15:16 Removing intermediate container d2ff8a711f21 06:15:16 ---> b262854a310d 06:15:16 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:16 ---> Running in ad46d194e36d 06:15:16 Removing intermediate container ad46d194e36d 06:15:16 ---> 8d0724144d85 06:15:16 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:16 ---> Running in cc292fb584e4 06:15:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:15:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:15:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:15:18 (2/4) Installing libedit (20210910.3.1-r0) 06:15:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:15:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:15:18 Executing busybox-1.34.1-r3.trigger 06:15:18 OK: 224 MiB in 56 packages 06:15:19 Removing intermediate container cc292fb584e4 06:15:19 ---> 7bfa309b145a 06:15:19 Step 9/12 : COPY go.mod vendor* ./ 06:15:19 ---> c7e0e239a663 06:15:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:19 ---> Running in 0ab015e4cf2a 06:15:19 Still waiting to schedule task 06:15:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:15:41 Removing intermediate container 0ab015e4cf2a 06:15:41 ---> 069c15053845 06:15:41 Step 11/12 : COPY . . 06:15:41 ---> f28114494c5a 06:15:41 Step 12/12 : RUN ${MAKE} 06:15:41 ---> Running in 28ce2ffe833b 06:15:41 noop 06:15:41 Removing intermediate container 28ce2ffe833b 06:15:41 ---> bb8a5e4a014f 06:15:41 Successfully built bb8a5e4a014f 06:15:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:41 + docker inspect -f . ci-base-image-x86_64 06:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:41 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 06:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 06:15:42 $ docker top 51dd1d71f0fcbe6f72db4c7d34d57a3ac4c164176f0775e516fff07740e57d7a -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:42 + go version 06:15:42 go version go1.17.7 linux/amd64 [Pipeline] } 06:15:42 $ docker stop --time=1 51dd1d71f0fcbe6f72db4c7d34d57a3ac4c164176f0775e516fff07740e57d7a 06:15:43 $ docker rm -f 51dd1d71f0fcbe6f72db4c7d34d57a3ac4c164176f0775e516fff07740e57d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:44 + docker inspect -f . ci-base-image-x86_64 06:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:44 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 06:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 06:15:44 $ docker top b90f04a06b513f5815f1e219181efb09877a1db525dab215d2d98901fe490a6d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:15:45 + make test 06:15:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:15:45 ? github.com/edgexfoundry/device-gpio [no test files] 06:15:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:15:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:16:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:16:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:06 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:06 $ docker stop --time=1 b90f04a06b513f5815f1e219181efb09877a1db525dab215d2d98901fe490a6d 06:16:08 $ docker rm -f b90f04a06b513f5815f1e219181efb09877a1db525dab215d2d98901fe490a6d [Pipeline] // withDockerContainer [Pipeline] sh 06:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:09 + ls -al . 06:16:09 total 172 06:16:09 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:16 . 06:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:14 .. 06:16:09 -rw-rw-r-- 1 jenkins jenkins 120 Jun 19 06:14 .dockerignore 06:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:15 .git 06:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 .github 06:16:09 -rw-rw-r-- 1 jenkins jenkins 343 Jun 19 06:14 .gitignore 06:16:09 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:14 .golangci.yml 06:16:09 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:15 .semver 06:16:09 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 19 06:14 Attribution.txt 06:16:09 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 19 06:14 CHANGELOG.md 06:16:09 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 19 06:14 Dockerfile 06:16:09 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:14 GOVERNANCE.md 06:16:09 -rw-rw-r-- 1 jenkins jenkins 657 Jun 19 06:14 Jenkinsfile 06:16:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:14 LICENSE 06:16:09 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 19 06:14 Makefile 06:16:09 -rw-rw-r-- 1 jenkins jenkins 617 Jun 19 06:14 OWNERS.md 06:16:09 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 19 06:14 README.md 06:16:09 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:15 VERSION 06:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:14 bin 06:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 cmd 06:16:09 -rw-r--r-- 1 jenkins jenkins 10 Jun 19 06:15 coverage.out 06:16:09 -rw-rw-r-- 1 jenkins jenkins 3286 Jun 19 06:14 go.mod 06:16:09 -rw-rw-r-- 1 jenkins jenkins 47631 Jun 19 06:14 go.sum 06:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 internal 06:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 snap 06:16:09 -rw-rw-r-- 1 jenkins jenkins 209 Jun 19 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:09 + 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=d2f889f2e6331967c7dfcc00d4313b0bfed68330 --label arch=amd64 --label version=2.2.1-dev.1 . 06:16:09 Sending build context to Docker daemon 15.72MB 06:16:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:16:09 Step 2/26 : FROM ${BASE} AS builder 06:16:09 ---> bb8a5e4a014f 06:16:09 Step 3/26 : ARG MAKE="make build" 06:16:10 ---> Running in 7beed203e100 06:16:10 Removing intermediate container 7beed203e100 06:16:10 ---> f535cbf76225 06:16:10 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:16:10 ---> Running in 64a9f66f5875 06:16:10 Removing intermediate container 64a9f66f5875 06:16:10 ---> 53b645f7b80d 06:16:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:16:10 ---> Running in 67a138d5acb6 06:16:10 Removing intermediate container 67a138d5acb6 06:16:10 ---> 3857d25469ce 06:16:10 Step 6/26 : WORKDIR /device-gpio 06:16:10 ---> Running in e9d74390408b 06:16:10 Removing intermediate container e9d74390408b 06:16:10 ---> 79dff3a26cac 06:16:10 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:10 ---> Running in 36fed43ab084 06:16:11 Removing intermediate container 36fed43ab084 06:16:11 ---> 413d5cb64713 06:16:11 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:11 ---> Running in 6d10c73d324a 06:16:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:12 OK: 224 MiB in 56 packages 06:16:13 Removing intermediate container 6d10c73d324a 06:16:13 ---> b229da1699f7 06:16:13 Step 9/26 : COPY go.mod vendor* ./ 06:16:13 ---> 8c92316080f3 06:16:13 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:13 ---> Running in a99794eff0f0 06:16:13 Removing intermediate container a99794eff0f0 06:16:13 ---> f182ab1067b1 06:16:13 Step 11/26 : COPY . . 06:16:14 ---> 41a104497c30 06:16:14 Step 12/26 : RUN ${MAKE} 06:16:14 ---> Running in 6c232a3ed119 06:16:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 06:16:36 Removing intermediate container 6c232a3ed119 06:16:36 ---> f02a233c7923 06:16:36 Step 13/26 : FROM alpine:3.15 06:16:36 3.15: Pulling from library/alpine 06:16:36 df9b9388f04a: Pulling fs layer 06:16:36 df9b9388f04a: Verifying Checksum 06:16:36 df9b9388f04a: Download complete 06:16:36 df9b9388f04a: Pull complete 06:16:36 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:16:36 Status: Downloaded newer image for alpine:3.15 06:16:36 ---> 0ac33e5f5afa 06:16:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:16:36 ---> Running in 5d51085ec31b 06:16:36 Removing intermediate container 5d51085ec31b 06:16:36 ---> b40632add005 06:16:36 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:36 ---> Running in 6ae48042328c 06:16:36 Removing intermediate container 6ae48042328c 06:16:36 ---> 458d93c2ec80 06:16:36 Step 16/26 : RUN apk add --update --no-cache zeromq 06:16:36 ---> Running in 8a6479f72230 06:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:36 (1/5) Installing libgcc (10.3.1_git20211027-r0) 06:16:36 (2/5) Installing libsodium (1.0.18-r0) 06:16:37 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 06:16:37 (4/5) Installing libzmq (4.3.4-r0) 06:16:37 (5/5) Installing zeromq (4.3.4-r0) 06:16:37 Executing busybox-1.34.1-r5.trigger 06:16:37 OK: 8 MiB in 19 packages 06:16:37 Removing intermediate container 8a6479f72230 06:16:37 ---> 026e79bb6ea6 06:16:37 Step 17/26 : WORKDIR / 06:16:37 ---> Running in 3b90a8fce2c7 06:16:37 Removing intermediate container 3b90a8fce2c7 06:16:37 ---> c5bbaebc3445 06:16:37 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 06:16:37 ---> 89d36cc5070c 06:16:37 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 06:16:38 ---> c6c8ec9fbb7a 06:16:38 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 06:16:38 ---> fc496c789ff8 06:16:38 Step 21/26 : EXPOSE 59910 06:16:38 ---> Running in bac336909efd 06:16:38 Removing intermediate container bac336909efd 06:16:38 ---> b0ec6f2bdfdd 06:16:38 Step 22/26 : ENTRYPOINT ["/device-gpio"] 06:16:38 ---> Running in 2f713250fa55 06:16:38 Removing intermediate container 2f713250fa55 06:16:38 ---> cbc4767f9263 06:16:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:16:39 ---> Running in 1608d6a28970 06:16:39 Removing intermediate container 1608d6a28970 06:16:39 ---> ab7eb4a3e6c5 06:16:39 Step 24/26 : LABEL arch=amd64 06:16:39 ---> Running in 3e8d43cd2ed5 06:16:39 Removing intermediate container 3e8d43cd2ed5 06:16:39 ---> a61f5df665ba 06:16:39 Step 25/26 : LABEL git_sha=d2f889f2e6331967c7dfcc00d4313b0bfed68330 06:16:39 ---> Running in 8a866eca73d7 06:16:39 Removing intermediate container 8a866eca73d7 06:16:39 ---> 715a1cbdd28e 06:16:39 Step 26/26 : LABEL version=2.2.1-dev.1 06:16:39 ---> Running in 12da24e940d2 06:16:39 Removing intermediate container 12da24e940d2 06:16:39 ---> 81b5965c5d59 06:16:39 [Warning] One or more build-args [ARCH] were not consumed 06:16:39 Successfully built 81b5965c5d59 06:16:39 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:39 provisioning config files... 06:16:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6550661205778540870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:39 ---> docker-login.sh 06:16:39 nexus3.edgexfoundry.org:10001 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:39 Configure a credential helper to remove this warning. See 06:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:39 06:16:39 Login Succeeded 06:16:39 nexus3.edgexfoundry.org:10002 06:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 nexus3.edgexfoundry.org:10003 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 nexus3.edgexfoundry.org:10004 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 docker.io 06:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:40 Configure a credential helper to remove this warning. See 06:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:40 06:16:40 Login Succeeded 06:16:40 ---> docker-login.sh ends [Pipeline] } 06:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:16:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:40 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 06:16:40 d2f889f2e6331967c7dfcc00d4313b0bfed68330 06:16:40 latest 06:16:40 2.2.1-dev.1 06:16:40 d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 06:16:40 main 06:16:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330 06:16:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:16:41 367e175dbc7c: Preparing 06:16:41 f6275a34d95b: Preparing 06:16:41 bcdb7dc4fd96: Preparing 06:16:41 9664fe7ed636: Preparing 06:16:41 910ef61d16de: Preparing 06:16:41 4fc242d58285: Preparing 06:16:41 4fc242d58285: Waiting 06:16:41 910ef61d16de: Pushed 06:16:41 bcdb7dc4fd96: Pushed 06:16:41 f6275a34d95b: Pushed 06:16:41 4fc242d58285: Layer already exists 06:16:41 9664fe7ed636: Pushed 06:16:44 367e175dbc7c: Pushed 06:16:44 d2f889f2e6331967c7dfcc00d4313b0bfed68330: digest: sha256:9ded665886ec89dc9b30a261adc29a11a2d4e70ff77327bb8f1531fe0db4a2db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:45 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:45 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 06:16:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:16:45 367e175dbc7c: Preparing 06:16:45 f6275a34d95b: Preparing 06:16:45 bcdb7dc4fd96: Preparing 06:16:45 9664fe7ed636: Preparing 06:16:45 910ef61d16de: Preparing 06:16:45 4fc242d58285: Preparing 06:16:45 4fc242d58285: Waiting 06:16:45 9664fe7ed636: Layer already exists 06:16:45 910ef61d16de: Layer already exists 06:16:45 367e175dbc7c: Layer already exists 06:16:45 f6275a34d95b: Layer already exists 06:16:45 bcdb7dc4fd96: Layer already exists 06:16:45 4fc242d58285: Layer already exists 06:16:45 latest: digest: sha256:9ded665886ec89dc9b30a261adc29a11a2d4e70ff77327bb8f1531fe0db4a2db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:45 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 06:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:16:46 367e175dbc7c: Preparing 06:16:46 f6275a34d95b: Preparing 06:16:46 bcdb7dc4fd96: Preparing 06:16:46 9664fe7ed636: Preparing 06:16:46 910ef61d16de: Preparing 06:16:46 4fc242d58285: Preparing 06:16:46 4fc242d58285: Waiting 06:16:46 910ef61d16de: Layer already exists 06:16:46 bcdb7dc4fd96: Layer already exists 06:16:46 f6275a34d95b: Layer already exists 06:16:46 9664fe7ed636: Layer already exists 06:16:46 367e175dbc7c: Layer already exists 06:16:46 4fc242d58285: Layer already exists 06:16:46 2.2.1-dev.1: digest: sha256:9ded665886ec89dc9b30a261adc29a11a2d4e70ff77327bb8f1531fe0db4a2db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:46 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 06:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:16:46 367e175dbc7c: Preparing 06:16:46 f6275a34d95b: Preparing 06:16:46 bcdb7dc4fd96: Preparing 06:16:46 9664fe7ed636: Preparing 06:16:46 910ef61d16de: Preparing 06:16:46 4fc242d58285: Preparing 06:16:46 4fc242d58285: Waiting 06:16:46 9664fe7ed636: Layer already exists 06:16:46 367e175dbc7c: Layer already exists 06:16:46 910ef61d16de: Layer already exists 06:16:46 bcdb7dc4fd96: Layer already exists 06:16:46 f6275a34d95b: Layer already exists 06:16:46 4fc242d58285: Layer already exists 06:16:46 d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1: digest: sha256:9ded665886ec89dc9b30a261adc29a11a2d4e70ff77327bb8f1531fe0db4a2db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:47 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:47 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 06:16:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 06:16:47 367e175dbc7c: Preparing 06:16:47 f6275a34d95b: Preparing 06:16:47 bcdb7dc4fd96: Preparing 06:16:47 9664fe7ed636: Preparing 06:16:47 910ef61d16de: Preparing 06:16:47 4fc242d58285: Preparing 06:16:47 4fc242d58285: Waiting 06:16:47 f6275a34d95b: Layer already exists 06:16:47 bcdb7dc4fd96: Layer already exists 06:16:47 910ef61d16de: Layer already exists 06:16:47 9664fe7ed636: Layer already exists 06:16:47 367e175dbc7c: Layer already exists 06:16:47 4fc242d58285: Layer already exists 06:16:47 main: digest: sha256:9ded665886ec89dc9b30a261adc29a11a2d4e70ff77327bb8f1531fe0db4a2db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:16:47 ===================================================== [Pipeline] echo 06:16:47 taggedImages: 06:16:47 - nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330 06:16:47 - nexus3.edgexfoundry.org:10004/device-gpio:latest 06:16:47 - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.1 06:16:47 - nexus3.edgexfoundry.org:10004/device-gpio:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 06:16:47 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [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 06:16:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:47 06:16:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:48 latest: Pulling from edgex-lftools-log-publisher 06:16:48 5eb5b503b376: Pulling fs layer 06:16:48 5c69ac0246d0: Pulling fs layer 06:16:48 ec43610c2a17: Pulling fs layer 06:16:48 3a2ae6a8a46f: Pulling fs layer 06:16:48 33b1e0a273af: Pulling fs layer 06:16:48 5d3b04190fa2: Pulling fs layer 06:16:48 2f39f015ded8: Pulling fs layer 06:16:48 3a2ae6a8a46f: Waiting 06:16:48 5d3b04190fa2: Waiting 06:16:48 2f39f015ded8: Waiting 06:16:48 33b1e0a273af: Waiting 06:16:48 5c69ac0246d0: Verifying Checksum 06:16:48 5c69ac0246d0: Download complete 06:16:48 3a2ae6a8a46f: Verifying Checksum 06:16:48 3a2ae6a8a46f: Download complete 06:16:48 33b1e0a273af: Verifying Checksum 06:16:48 33b1e0a273af: Download complete 06:16:48 5d3b04190fa2: Download complete 06:16:48 ec43610c2a17: Download complete 06:16:48 5eb5b503b376: Verifying Checksum 06:16:48 5eb5b503b376: Download complete 06:16:49 2f39f015ded8: Download complete 06:16:50 5eb5b503b376: Pull complete 06:16:50 5c69ac0246d0: Pull complete 06:16:50 ec43610c2a17: Pull complete 06:16:50 3a2ae6a8a46f: Pull complete 06:16:50 33b1e0a273af: Pull complete 06:16:50 5d3b04190fa2: Pull complete 06:16:56 2f39f015ded8: Pull complete 06:16:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:56 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 06:16:56 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:16:57 $ docker top a793e63bfd85fd93f2684688df68b4bc65642c898f79429c8d19d248cfd90627 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:58 ---> job-cost.sh 06:16:58 lf-activate-venv: SKIPPING 06:16:58 INFO: No Stack... 06:16:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:58 INFO: Archiving Costs [Pipeline] sh 06:16:59 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 06:16:59 + cut -d, -f6 [Pipeline] lock 06:16:59 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] 06:16:59 Resource [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] did not exist. Created. 06:16:59 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:59 + echo total: 0.2199999988079071 [Pipeline] stash 06:16:59 Stashed 1 file(s) [Pipeline] } 06:16:59 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:59 $ docker stop --time=1 a793e63bfd85fd93f2684688df68b4bc65642c898f79429c8d19d248cfd90627 06:17:00 $ docker rm -f a793e63bfd85fd93f2684688df68b4bc65642c898f79429c8d19d248cfd90627 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:44:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12788 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 08:44:11 Running in /w/workspace/device-gpio/28 [Pipeline] { [Pipeline] checkout 08:44:11 The recommended git tool is: git 08:44:17 using credential edgex-jenkins-ssh 08:44:17 Cloning the remote Git repository 08:44:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 08:44:17 > git init /w/workspace/device-gpio/28 # timeout=10 08:44:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:44:17 > git --version # timeout=10 08:44:17 > git --version # 'git version 2.25.1' 08:44:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:44:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:44:19 Avoid second fetch 08:44:19 Checking out Revision d2f889f2e6331967c7dfcc00d4313b0bfed68330 (main) 08:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:44:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:44:19 > git config core.sparsecheckout # timeout=10 08:44:19 > git checkout -f d2f889f2e6331967c7dfcc00d4313b0bfed68330 # timeout=10 08:44:23 Commit message: "Merge pull request #40 from weichou1229/upgrade-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:44:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:44:24 % Total % Received % Xferd Average Speed Time Time Time Current 08:44:24 Dload Upload Total Spent Left Speed 08:44:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64830 0 --:--:-- --:--:-- --:--:-- 64489 [Pipeline] sh 08:44:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:44:25 + sudo tee /etc/docker/daemon.new 08:44:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:44:25 { 08:44:25 "registry-mirrors": [ 08:44:25 "https://nexus3.edgexfoundry.org:10001" 08:44:25 ], 08:44:25 "bip": "10.250.0.254/24", 08:44:25 "hosts": [ 08:44:25 "tcp://0.0.0.0:5555", 08:44:25 "unix:///var/run/docker.sock" 08:44:25 ], 08:44:25 "mtu": 1458, 08:44:25 "selinux-enabled": true, 08:44:25 "seccomp-profile": "/etc/docker/seccomp.json" 08:44:25 } [Pipeline] sh 08:44:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:44:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:44 provisioning config files... 08:44:44 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/28@tmp/config4827644001963418313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:44 ---> docker-login.sh 08:44:44 nexus3.edgexfoundry.org:10001 08:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:45 Configure a credential helper to remove this warning. See 08:44:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:45 08:44:45 Login Succeeded 08:44:45 nexus3.edgexfoundry.org:10002 08:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:46 Configure a credential helper to remove this warning. See 08:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:46 08:44:46 Login Succeeded 08:44:46 nexus3.edgexfoundry.org:10003 08:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:46 Configure a credential helper to remove this warning. See 08:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:46 08:44:46 Login Succeeded 08:44:46 nexus3.edgexfoundry.org:10004 08:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:47 Configure a credential helper to remove this warning. See 08:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:47 08:44:47 Login Succeeded 08:44:47 docker.io 08:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:47 Configure a credential helper to remove this warning. See 08:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:47 08:44:47 Login Succeeded 08:44:47 ---> docker-login.sh ends [Pipeline] } 08:44:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:44:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:48 ========================================================= 08:44:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:44:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:44:49 Sending build context to Docker daemon 7.924MB 08:44:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:44:49 Step 2/12 : FROM ${BASE} AS builder 08:44:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:44:49 9b3977197b4f: Pulling fs layer 08:44:49 1a89e8eeedd5: Pulling fs layer 08:44:49 94645a83ff95: Pulling fs layer 08:44:49 e6fb740bc735: Pulling fs layer 08:44:49 3a77bd46dcc9: Pulling fs layer 08:44:49 355e64cbe906: Pulling fs layer 08:44:49 63ab81a10011: Pulling fs layer 08:44:49 555d1d1c4555: Pulling fs layer 08:44:49 7d9057610161: Pulling fs layer 08:44:49 e6fb740bc735: Waiting 08:44:49 3a77bd46dcc9: Waiting 08:44:49 355e64cbe906: Waiting 08:44:49 63ab81a10011: Waiting 08:44:49 7d9057610161: Waiting 08:44:49 555d1d1c4555: Waiting 08:44:49 94645a83ff95: Verifying Checksum 08:44:49 94645a83ff95: Download complete 08:44:49 1a89e8eeedd5: Download complete 08:44:49 3a77bd46dcc9: Verifying Checksum 08:44:49 3a77bd46dcc9: Download complete 08:44:49 355e64cbe906: Download complete 08:44:49 9b3977197b4f: Verifying Checksum 08:44:49 9b3977197b4f: Download complete 08:44:49 63ab81a10011: Verifying Checksum 08:44:49 63ab81a10011: Download complete 08:44:50 9b3977197b4f: Pull complete 08:44:50 7d9057610161: Verifying Checksum 08:44:50 7d9057610161: Download complete 08:44:51 1a89e8eeedd5: Pull complete 08:44:51 94645a83ff95: Pull complete 08:44:51 555d1d1c4555: Verifying Checksum 08:44:51 555d1d1c4555: Download complete 08:44:52 e6fb740bc735: Verifying Checksum 08:44:52 e6fb740bc735: Download complete 08:45:04 e6fb740bc735: Pull complete 08:45:04 3a77bd46dcc9: Pull complete 08:45:04 355e64cbe906: Pull complete 08:45:04 63ab81a10011: Pull complete 08:45:11 555d1d1c4555: Pull complete 08:45:13 7d9057610161: Pull complete 08:45:13 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:45:13 ---> 819e984ddca1 08:45:13 Step 3/12 : ARG MAKE="make build" 08:45:15 ---> Running in fea2626c4ad9 08:45:15 Removing intermediate container fea2626c4ad9 08:45:15 ---> 0ff6fb36a585 08:45:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:45:15 ---> Running in 65b9613efe13 08:45:15 Removing intermediate container 65b9613efe13 08:45:15 ---> e1d81244610a 08:45:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:45:15 ---> Running in cc418490377f 08:45:16 Removing intermediate container cc418490377f 08:45:16 ---> 14a981d46878 08:45:16 Step 6/12 : WORKDIR /device-gpio 08:45:17 ---> Running in d88dc7be738e 08:45:17 Removing intermediate container d88dc7be738e 08:45:17 ---> 7e6221ad2a8f 08:45:17 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:45:17 ---> Running in f6429da86f97 08:45:19 Removing intermediate container f6429da86f97 08:45:19 ---> 89db7c3a80b5 08:45:19 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:45:19 ---> Running in 0530e272cffa 08:45:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:45:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:45:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:45:22 (2/4) Installing libedit (20210910.3.1-r0) 08:45:22 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:45:22 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:45:22 Executing busybox-1.34.1-r3.trigger 08:45:22 OK: 224 MiB in 56 packages 08:45:23 Removing intermediate container 0530e272cffa 08:45:23 ---> 98aa07d85e4e 08:45:23 Step 9/12 : COPY go.mod vendor* ./ 08:45:23 ---> 64b1c1a4ad12 08:45:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:45:24 ---> Running in 16fc5abc15bf 08:46:33 Removing intermediate container 16fc5abc15bf 08:46:33 ---> 8f68535dafe0 08:46:33 Step 11/12 : COPY . . 08:46:33 ---> 1b010f7af7c7 08:46:33 Step 12/12 : RUN ${MAKE} 08:46:33 ---> Running in 67cc84dcbde0 08:46:33 noop 08:46:33 Removing intermediate container 67cc84dcbde0 08:46:33 ---> 81aa835ebed4 08:46:33 Successfully built 81aa835ebed4 08:46:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:33 + docker inspect -f . ci-base-image-arm64 08:46:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:33 prd-ubuntu20.04-docker-arm64-4c-16g-12788 does not seem to be running inside a container 08:46:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/28 -v /w/workspace/device-gpio/28:/w/workspace/device-gpio/28:rw,z -v /w/workspace/device-gpio/28@tmp:/w/workspace/device-gpio/28@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 ******** ci-base-image-arm64 cat 08:46:35 $ docker top f43df1eca09f2353c1d720d87fdb6461c592e254d04bfdb777d76f966b0b070e -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:35 + go version 08:46:35 go version go1.17.7 linux/arm64 [Pipeline] } 08:46:36 $ docker stop --time=1 f43df1eca09f2353c1d720d87fdb6461c592e254d04bfdb777d76f966b0b070e 08:46:37 $ docker rm -f f43df1eca09f2353c1d720d87fdb6461c592e254d04bfdb777d76f966b0b070e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:38 + docker inspect -f . ci-base-image-arm64 08:46:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:38 prd-ubuntu20.04-docker-arm64-4c-16g-12788 does not seem to be running inside a container 08:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/28 -v /w/workspace/device-gpio/28:/w/workspace/device-gpio/28:rw,z -v /w/workspace/device-gpio/28@tmp:/w/workspace/device-gpio/28@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 ******** ci-base-image-arm64 cat 08:46:39 $ docker top db2e6e4f51d6e9573c9bf5588f784dd5291c40a4d5cdeee55648578321fac873 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:46:40 + make test 08:46:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:46:42 ? github.com/edgexfoundry/device-gpio [no test files] 08:48:03 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:48:03 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:48:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:48:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:48:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:48:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:48:26 ./bin/test-attribution-txt.sh [Pipeline] echo 08:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:48:26 $ docker stop --time=1 db2e6e4f51d6e9573c9bf5588f784dd5291c40a4d5cdeee55648578321fac873 08:48:28 $ docker rm -f db2e6e4f51d6e9573c9bf5588f784dd5291c40a4d5cdeee55648578321fac873 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:48:28 Warning: overwriting stash ‘coverage-report’ 08:48:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:48:30 + ls -al . 08:48:30 total 168 08:48:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 08:48 . 08:48:30 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 08:44 .. 08:48:30 -rw-rw-r-- 1 jenkins jenkins 120 Jun 19 08:44 .dockerignore 08:48:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 08:44 .git 08:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:44 .github 08:48:30 -rw-rw-r-- 1 jenkins jenkins 343 Jun 19 08:44 .gitignore 08:48:30 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 08:44 .golangci.yml 08:48:30 -rw-rw-r-- 1 jenkins jenkins 9182 Jun 19 08:44 Attribution.txt 08:48:30 -rw-rw-r-- 1 jenkins jenkins 3081 Jun 19 08:44 CHANGELOG.md 08:48:30 -rw-rw-r-- 1 jenkins jenkins 1868 Jun 19 08:44 Dockerfile 08:48:30 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 08:44 GOVERNANCE.md 08:48:30 -rw-rw-r-- 1 jenkins jenkins 657 Jun 19 08:44 Jenkinsfile 08:48:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 08:44 LICENSE 08:48:30 -rw-rw-r-- 1 jenkins jenkins 1876 Jun 19 08:44 Makefile 08:48:30 -rw-rw-r-- 1 jenkins jenkins 617 Jun 19 08:44 OWNERS.md 08:48:30 -rw-rw-r-- 1 jenkins jenkins 11178 Jun 19 08:44 README.md 08:48:30 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:15 VERSION 08:48:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 08:44 bin 08:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:44 cmd 08:48:30 -rw-r--r-- 1 jenkins jenkins 10 Jun 19 08:46 coverage.out 08:48:30 -rw-rw-r-- 1 jenkins jenkins 3286 Jun 19 08:44 go.mod 08:48:30 -rw-rw-r-- 1 jenkins jenkins 47631 Jun 19 08:44 go.sum 08:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:44 internal 08:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:44 snap 08:48:30 -rw-rw-r-- 1 jenkins jenkins 209 Jun 19 08:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:30 + 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=d2f889f2e6331967c7dfcc00d4313b0bfed68330 --label arch=arm64 --label version=2.2.1-dev.1 . 08:48:30 Sending build context to Docker daemon 7.925MB 08:48:31 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 08:48:31 Step 2/26 : FROM ${BASE} AS builder 08:48:31 ---> 81aa835ebed4 08:48:31 Step 3/26 : ARG MAKE="make build" 08:48:31 ---> Running in 5f5594abbe99 08:48:31 Removing intermediate container 5f5594abbe99 08:48:31 ---> 5ef4e56c9305 08:48:31 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:48:31 ---> Running in baa434821cde 08:48:31 Removing intermediate container baa434821cde 08:48:31 ---> 910cd41a8a3b 08:48:31 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:48:31 ---> Running in b00dfe0f4180 08:48:32 Removing intermediate container b00dfe0f4180 08:48:32 ---> b0e385dddf7a 08:48:32 Step 6/26 : WORKDIR /device-gpio 08:48:32 ---> Running in 54cdf8a1a8c4 08:48:32 Removing intermediate container 54cdf8a1a8c4 08:48:32 ---> 8c077b798f8e 08:48:32 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:32 ---> Running in 98cee2afe132 08:48:34 Removing intermediate container 98cee2afe132 08:48:34 ---> fe0fa5bea001 08:48:34 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:48:34 ---> Running in 46a25533de6e 08:48:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:48:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:48:37 OK: 224 MiB in 56 packages 08:48:37 Removing intermediate container 46a25533de6e 08:48:37 ---> 4b849bf2dc28 08:48:37 Step 9/26 : COPY go.mod vendor* ./ 08:48:38 ---> 7766edd65684 08:48:38 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:48:38 ---> Running in 7fa1c1ae15e6 08:48:40 Removing intermediate container 7fa1c1ae15e6 08:48:40 ---> dcba39f6f612 08:48:40 Step 11/26 : COPY . . 08:48:41 ---> 62c02cad85be 08:48:41 Step 12/26 : RUN ${MAKE} 08:48:41 ---> Running in 18182a2244b9 08:48:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 08:50:49 Removing intermediate container 18182a2244b9 08:50:49 ---> ac079eed1df5 08:50:49 Step 13/26 : FROM alpine:3.15 08:50:49 3.15: Pulling from library/alpine 08:50:49 9981e73032c8: Pulling fs layer 08:50:49 9981e73032c8: Verifying Checksum 08:50:49 9981e73032c8: Download complete 08:50:49 9981e73032c8: Pull complete 08:50:49 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:50:49 Status: Downloaded newer image for alpine:3.15 08:50:49 ---> 3fb3c9af89a9 08:50:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:50:49 ---> Running in 2b90c57238ac 08:50:49 Removing intermediate container 2b90c57238ac 08:50:49 ---> 2e32cb677548 08:50:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:49 ---> Running in b27e39b4911f 08:50:49 Removing intermediate container b27e39b4911f 08:50:49 ---> b75652441912 08:50:49 Step 16/26 : RUN apk add --update --no-cache zeromq 08:50:49 ---> Running in 5ef0654d83b9 08:50:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:50:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:50:49 (1/5) Installing libgcc (10.3.1_git20211027-r0) 08:50:49 (2/5) Installing libsodium (1.0.18-r0) 08:50:49 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 08:50:49 (4/5) Installing libzmq (4.3.4-r0) 08:50:49 (5/5) Installing zeromq (4.3.4-r0) 08:50:49 Executing busybox-1.34.1-r5.trigger 08:50:49 OK: 8 MiB in 19 packages 08:50:49 Removing intermediate container 5ef0654d83b9 08:50:49 ---> 14614562fa5c 08:50:49 Step 17/26 : WORKDIR / 08:50:49 ---> Running in d6df83f1763a 08:50:49 Removing intermediate container d6df83f1763a 08:50:49 ---> e66495da7fd9 08:50:49 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:50:49 ---> 13ffe1beb706 08:50:49 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:50:49 ---> 1a2fb4a5a065 08:50:49 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:50:49 ---> 5b5b486f2d36 08:50:49 Step 21/26 : EXPOSE 59910 08:50:49 ---> Running in 27b11b8f1b30 08:50:49 Removing intermediate container 27b11b8f1b30 08:50:49 ---> 8d778180e54b 08:50:49 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:50:49 ---> Running in d570609affde 08:50:49 Removing intermediate container d570609affde 08:50:49 ---> 719f5d0f2bbe 08:50:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:49 ---> Running in 793e660e8279 08:50:49 Removing intermediate container 793e660e8279 08:50:49 ---> bc9218d37b93 08:50:49 Step 24/26 : LABEL arch=arm64 08:50:49 ---> Running in 0b25251d8bf0 08:50:49 Removing intermediate container 0b25251d8bf0 08:50:49 ---> ae54c6d5135d 08:50:49 Step 25/26 : LABEL git_sha=d2f889f2e6331967c7dfcc00d4313b0bfed68330 08:50:49 ---> Running in bfeced27130d 08:50:49 Removing intermediate container bfeced27130d 08:50:49 ---> 14e7262df3fe 08:50:49 Step 26/26 : LABEL version=2.2.1-dev.1 08:50:49 ---> Running in e7294c1b56f7 08:50:49 Removing intermediate container e7294c1b56f7 08:50:49 ---> 20bc1f8bc762 08:50:49 [Warning] One or more build-args [ARCH] were not consumed 08:50:49 Successfully built 20bc1f8bc762 08:50:49 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:50:49 provisioning config files... 08:50:49 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/28@tmp/config1991420661413406252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:50:49 ---> docker-login.sh 08:50:49 nexus3.edgexfoundry.org:10001 08:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:49 Configure a credential helper to remove this warning. See 08:50:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:49 08:50:49 Login Succeeded 08:50:49 nexus3.edgexfoundry.org:10002 08:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:50 Configure a credential helper to remove this warning. See 08:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:50 08:50:50 Login Succeeded 08:50:50 nexus3.edgexfoundry.org:10003 08:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:51 Configure a credential helper to remove this warning. See 08:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:51 08:50:51 Login Succeeded 08:50:51 nexus3.edgexfoundry.org:10004 08:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:51 Configure a credential helper to remove this warning. See 08:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:51 08:50:51 Login Succeeded 08:50:51 docker.io 08:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:52 Configure a credential helper to remove this warning. See 08:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:52 08:50:52 Login Succeeded 08:50:52 ---> docker-login.sh ends [Pipeline] } 08:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:50:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:50:52 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 08:50:52 d2f889f2e6331967c7dfcc00d4313b0bfed68330 08:50:52 latest 08:50:52 2.2.1-dev.1 08:50:52 d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 08:50:52 main 08:50:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:52 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330 08:50:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:50:52 2a9c6d6b7586: Preparing 08:50:52 492cea5e52ad: Preparing 08:50:52 7a6c3bf44404: Preparing 08:50:52 7bd07436ea74: Preparing 08:50:52 5d9b64086887: Preparing 08:50:52 4f4ce317c6bb: Preparing 08:50:52 4f4ce317c6bb: Waiting 08:50:53 492cea5e52ad: Pushed 08:50:53 5d9b64086887: Pushed 08:50:53 7a6c3bf44404: Pushed 08:50:53 4f4ce317c6bb: Layer already exists 08:50:53 7bd07436ea74: Pushed 08:51:00 2a9c6d6b7586: Pushed 08:51:00 d2f889f2e6331967c7dfcc00d4313b0bfed68330: digest: sha256:54945b9e269d1301ba5d555c32f43193766c586d267ceb2d4e4fab1a139ce4b6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:00 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:01 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 08:51:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:51:01 2a9c6d6b7586: Preparing 08:51:01 492cea5e52ad: Preparing 08:51:01 7a6c3bf44404: Preparing 08:51:01 7bd07436ea74: Preparing 08:51:01 5d9b64086887: Preparing 08:51:01 4f4ce317c6bb: Preparing 08:51:01 4f4ce317c6bb: Waiting 08:51:01 7a6c3bf44404: Layer already exists 08:51:01 7bd07436ea74: Layer already exists 08:51:01 492cea5e52ad: Layer already exists 08:51:01 5d9b64086887: Layer already exists 08:51:01 2a9c6d6b7586: Layer already exists 08:51:01 4f4ce317c6bb: Layer already exists 08:51:01 latest: digest: sha256:54945b9e269d1301ba5d555c32f43193766c586d267ceb2d4e4fab1a139ce4b6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:01 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:02 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 08:51:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:51:02 2a9c6d6b7586: Preparing 08:51:02 492cea5e52ad: Preparing 08:51:02 7a6c3bf44404: Preparing 08:51:02 7bd07436ea74: Preparing 08:51:02 5d9b64086887: Preparing 08:51:02 4f4ce317c6bb: Preparing 08:51:02 4f4ce317c6bb: Waiting 08:51:02 7a6c3bf44404: Layer already exists 08:51:02 492cea5e52ad: Layer already exists 08:51:02 5d9b64086887: Layer already exists 08:51:02 7bd07436ea74: Layer already exists 08:51:02 2a9c6d6b7586: Layer already exists 08:51:02 4f4ce317c6bb: Layer already exists 08:51:02 2.2.1-dev.1: digest: sha256:54945b9e269d1301ba5d555c32f43193766c586d267ceb2d4e4fab1a139ce4b6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:02 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:03 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 08:51:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:51:03 2a9c6d6b7586: Preparing 08:51:03 492cea5e52ad: Preparing 08:51:03 7a6c3bf44404: Preparing 08:51:03 7bd07436ea74: Preparing 08:51:03 5d9b64086887: Preparing 08:51:03 4f4ce317c6bb: Preparing 08:51:03 4f4ce317c6bb: Waiting 08:51:03 7a6c3bf44404: Layer already exists 08:51:03 2a9c6d6b7586: Layer already exists 08:51:03 5d9b64086887: Layer already exists 08:51:03 7bd07436ea74: Layer already exists 08:51:03 492cea5e52ad: Layer already exists 08:51:03 4f4ce317c6bb: Layer already exists 08:51:03 d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1: digest: sha256:54945b9e269d1301ba5d555c32f43193766c586d267ceb2d4e4fab1a139ce4b6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:03 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 08:51:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 08:51:04 2a9c6d6b7586: Preparing 08:51:04 492cea5e52ad: Preparing 08:51:04 7a6c3bf44404: Preparing 08:51:04 7bd07436ea74: Preparing 08:51:04 5d9b64086887: Preparing 08:51:04 4f4ce317c6bb: Preparing 08:51:04 4f4ce317c6bb: Waiting 08:51:04 492cea5e52ad: Layer already exists 08:51:04 2a9c6d6b7586: Layer already exists 08:51:04 7bd07436ea74: Layer already exists 08:51:04 7a6c3bf44404: Layer already exists 08:51:04 5d9b64086887: Layer already exists 08:51:04 4f4ce317c6bb: Layer already exists 08:51:04 main: digest: sha256:54945b9e269d1301ba5d555c32f43193766c586d267ceb2d4e4fab1a139ce4b6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:51:04 ===================================================== [Pipeline] echo 08:51:04 taggedImages: 08:51:04 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330 08:51:04 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 08:51:04 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.1 08:51:04 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:d2f889f2e6331967c7dfcc00d4313b0bfed68330-2.2.1-dev.1 08:51:04 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:05 08:51:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:05 arm64: Pulling from edgex-lftools-log-publisher 08:51:05 8998bd30e6a1: Pulling fs layer 08:51:05 04944245beec: Pulling fs layer 08:51:05 699f458cf7ca: Pulling fs layer 08:51:05 765212b225bb: Pulling fs layer 08:51:05 f23df028b6ca: Pulling fs layer 08:51:05 d65c8cfc05b1: Pulling fs layer 08:51:05 2437ff75d9bd: Pulling fs layer 08:51:05 f23df028b6ca: Waiting 08:51:05 d65c8cfc05b1: Waiting 08:51:05 2437ff75d9bd: Waiting 08:51:05 765212b225bb: Waiting 08:51:05 04944245beec: Verifying Checksum 08:51:05 04944245beec: Download complete 08:51:05 765212b225bb: Verifying Checksum 08:51:05 765212b225bb: Download complete 08:51:05 f23df028b6ca: Verifying Checksum 08:51:05 f23df028b6ca: Download complete 08:51:05 d65c8cfc05b1: Verifying Checksum 08:51:05 d65c8cfc05b1: Download complete 08:51:06 699f458cf7ca: Verifying Checksum 08:51:06 699f458cf7ca: Download complete 08:51:06 8998bd30e6a1: Verifying Checksum 08:51:06 8998bd30e6a1: Download complete 08:51:08 2437ff75d9bd: Verifying Checksum 08:51:08 2437ff75d9bd: Download complete 08:51:10 8998bd30e6a1: Pull complete 08:51:11 04944245beec: Pull complete 08:51:12 699f458cf7ca: Pull complete 08:51:12 765212b225bb: Pull complete 08:51:13 f23df028b6ca: Pull complete 08:51:13 d65c8cfc05b1: Pull complete 08:51:28 2437ff75d9bd: Pull complete 08:51:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:51:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:29 prd-ubuntu20.04-docker-arm64-4c-16g-12788 does not seem to be running inside a container 08:51:29 $ 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/28 -v /w/workspace/device-gpio/28:/w/workspace/device-gpio/28:rw,z -v /w/workspace/device-gpio/28@tmp:/w/workspace/device-gpio/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:51:31 $ docker top ccfbbd85fb5285bee81f88db863166e2e4a635b326bdc7f9035a2a290b0d3cae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:32 ---> job-cost.sh 08:51:32 lf-activate-venv: SKIPPING 08:51:32 INFO: No Stack... 08:51:32 INFO: Retrieving Pricing Info for: v3-standard-4 08:51:33 INFO: Archiving Costs [Pipeline] sh 08:51:34 + cut -d, -f6 08:51:34 + cat /w/workspace/device-gpio/28/archives/cost.csv [Pipeline] lock 08:51:34 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] 08:51:34 Resource [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] did not exist. Created. 08:51:34 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:51:35 /w/workspace/device-gpio/28@tmp/durable-241f6e93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:51:36 + echo total: 0.10999999940395355 [Pipeline] stash 08:51:36 Warning: overwriting stash ‘stack-cost’ 08:51:36 Stashed 1 file(s) [Pipeline] } 08:51:36 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 08:51:36 $ docker stop --time=1 ccfbbd85fb5285bee81f88db863166e2e4a635b326bdc7f9035a2a290b0d3cae 08:51:37 $ docker rm -f ccfbbd85fb5285bee81f88db863166e2e4a635b326bdc7f9035a2a290b0d3cae [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 08:51:38 provisioning config files... 08:51:38 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3339243750088688844tmp [Pipeline] { [Pipeline] sh 08:51:38 + set +x 08:51:38 + curl -s https://codecov.io/bash 08:51:38 + bash -s -- 08:51:38 08:51:38 _____ _ 08:51:38 / ____| | | 08:51:38 | | ___ __| | ___ ___ _____ __ 08:51:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:51:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:51:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:51:38 Bash-1.0.6 08:51:38 08:51:38 08:51:38 ==> git version 2.25.1 found 08:51:38 ==> 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 08:51:38 Release-Date: 2020-01-08 08:51:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:51:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:51:38 ==> Jenkins CI detected. 08:51:38 current dir:  /w/workspace/edgexfoundry_device-gpio_main 08:51:38 project root: . 08:51:38 --> token set from env 08:51:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:51:38 ==> Running gcov in . (disable via -X gcov) 08:51:38 ==> Python coveragepy not found 08:51:38 ==> Searching for coverage reports in: 08:51:38 + . 08:51:38 -> Found 1 reports 08:51:38 ==> Detecting git/mercurial file structure 08:51:38 ==> Reading reports 08:51:38 + ./coverage.out bytes=10 08:51:38 ==> Appending adjustments 08:51:38 https://docs.codecov.io/docs/fixing-reports 08:51:38 + Found adjustments 08:51:38 ==> Gzipping contents 08:51:38 4.0K /tmp/codecov.hskkm6.gz 08:51:38 ==> Uploading reports 08:51:38 url: https://codecov.io 08:51:38 query: branch=main&commit=d2f889f2e6331967c7dfcc00d4313b0bfed68330&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:51:38 -> Pinging Codecov 08:51:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=d2f889f2e6331967c7dfcc00d4313b0bfed68330&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 08:51:38 -> Uploading to 08:51:38 https://storage.googleapis.com/codecov/v4/raw/2022-06-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d2f889f2e6331967c7dfcc00d4313b0bfed68330/7fe53acc-937f-4c63-bd96-bec5aeef914b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T085138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2db8c5361d71e5bd2ff86c64a42058c014b07715f78fcddb658e1b27fde60fc0 08:51:38 % Total % Received % Xferd Average Speed Time Time Time Current 08:51:38 Dload Upload Total Spent Left Speed 08:51:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3601 --:--:-- --:--:-- --:--:-- 3601 08:51:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] } 08:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:51:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:51:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:51:39 08:51:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:51:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:51:39 df9b9388f04a: Already exists 08:51:39 52dc419b0ee2: Pulling fs layer 08:51:39 25bc292e5bac: Pulling fs layer 08:51:39 114826534d7a: Pulling fs layer 08:51:39 4657fd5d0bcf: Pulling fs layer 08:51:39 6ad1cebc031e: Pulling fs layer 08:51:39 8a3aa393b2d8: Pulling fs layer 08:51:39 4657fd5d0bcf: Waiting 08:51:39 6ad1cebc031e: Waiting 08:51:39 8a3aa393b2d8: Waiting 08:51:39 25bc292e5bac: Download complete 08:51:39 52dc419b0ee2: Download complete 08:51:39 4657fd5d0bcf: Download complete 08:51:39 52dc419b0ee2: Pull complete 08:51:40 25bc292e5bac: Pull complete 08:51:40 6ad1cebc031e: Verifying Checksum 08:51:40 6ad1cebc031e: Download complete 08:51:40 114826534d7a: Verifying Checksum 08:51:40 114826534d7a: Download complete 08:51:41 8a3aa393b2d8: Verifying Checksum 08:51:41 8a3aa393b2d8: Download complete 08:51:44 114826534d7a: Pull complete 08:51:44 4657fd5d0bcf: Pull complete 08:51:44 6ad1cebc031e: Pull complete 08:51:47 8a3aa393b2d8: Pull complete 08:51:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:51:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:47 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 08:51:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:51:49 $ docker top 49114100c70415f295eb558dcb3c9711b14bc3b8939080bb80e66cd399e98b6e -eo pid,comm [Pipeline] { [Pipeline] echo 08:51:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 08:51:49 + set -o pipefail 08:51:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 08:51:55 08:51:55 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 08:51:55 08:51:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/3b129b3d-0d54-4ed7-90d7-5ee8e4869de1 08:51:55 08:51:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:51:55 08:51:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:51:55 08:51:55 [Pipeline] } 08:51:55 $ docker stop --time=1 49114100c70415f295eb558dcb3c9711b14bc3b8939080bb80e66cd399e98b6e 08:51:57 $ docker rm -f 49114100c70415f295eb558dcb3c9711b14bc3b8939080bb80e66cd399e98b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:51:58 + git log --format=format:%s -1 d2f889f2e6331967c7dfcc00d4313b0bfed68330 [Pipeline] sh 08:51:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:51:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:59 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 08:51:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:51:59 $ docker top 39e1c657664e02ced9d8445b2bf4c3966017f4b0e2f4df03924590e10d7679a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:59 [ssh-agent] Looking for ssh-agent implementation... 08:51:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:59 $ docker exec 39e1c657664e02ced9d8445b2bf4c3966017f4b0e2f4df03924590e10d7679a7 ssh-agent 08:51:59 SSH_AUTH_SOCK=/tmp/ssh-rsZ1PCbsg7Kz/agent.33 08:51:59 SSH_AGENT_PID=40 08:51:59 Running ssh-add (command line suppressed) 08:52:00 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7315540827302317389.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7315540827302317389.key) 08:52:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:52:00 + git semver tag 08:52:00 2022-06-19 08:52:00,543 [run_tag] DEBUG tag force:False 08:52:00 2022-06-19 08:52:00,543 [check_head_tag] DEBUG check head tag 08:52:00 2022-06-19 08:52:00,543 [execute] INFO git cat-file --batch-check 08:52:00 2022-06-19 08:52:00,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 08:52:00 2022-06-19 08:52:00,547 [execute] INFO git cat-file --batch 08:52:00 2022-06-19 08:52:00,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 08:52:00 2022-06-19 08:52:00,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 08:52:00 2022-06-19 08:52:00,554 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 08:52:00 2022-06-19 08:52:00,554 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 08:52:00 2022-06-19 08:52:00,559 [main] ERROR Cmd('git') failed due to: exit code(128) 08:52:00 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 08:52:00 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' 08:52:00 ERROR: Cmd('git') failed due to: exit code(128) 08:52:00 cmdline: git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 08:52:00 stderr: 'fatal: tag 'v2.2.1-dev.1' already exists' [Pipeline] } 08:52:00 $ docker exec --env ******** --env ******** 39e1c657664e02ced9d8445b2bf4c3966017f4b0e2f4df03924590e10d7679a7 ssh-agent -k 08:52:00 unset SSH_AUTH_SOCK; 08:52:00 unset SSH_AGENT_PID; 08:52:00 echo Agent pid 40 killed; 08:52:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:52:00 $ docker stop --time=1 39e1c657664e02ced9d8445b2bf4c3966017f4b0e2f4df03924590e10d7679a7 08:52:02 $ docker rm -f 39e1c657664e02ced9d8445b2bf4c3966017f4b0e2f4df03924590e10d7679a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:52:02 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 08:52:02 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 08:52:02 total 16 08:52:02 drwxr-xr-x 3 root root 4096 Jun 19 06:16 . 08:52:02 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:16 .. 08:52:02 drwxr-xr-x 2 root root 4096 Jun 19 06:16 cost 08:52:02 -rw-r--r-- 1 root root 81 Jun 19 06:16 cost.csv 08:52:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 08:52:02 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 08:52:02 total 16 08:52:02 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:16 . 08:52:02 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:16 .. 08:52:02 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:16 cost 08:52:02 -rw-r--r-- 1 jenkins jenkins 81 Jun 19 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:52:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:52:03 ---> package-listing.sh 08:52:03 ++ facter osfamily 08:52:03 ++ tr '[:upper:]' '[:lower:]' 08:52:04 + OS_FAMILY=debian 08:52:04 + workspace=/w/workspace/edgexfoundry_device-gpio_main 08:52:04 + START_PACKAGES=/tmp/packages_start.txt 08:52:04 + END_PACKAGES=/tmp/packages_end.txt 08:52:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:52:04 + PACKAGES=/tmp/packages_start.txt 08:52:04 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 08:52:04 + PACKAGES=/tmp/packages_end.txt 08:52:04 + case "${OS_FAMILY}" in 08:52:04 + dpkg -l 08:52:04 + grep '^ii' 08:52:04 + '[' -f /tmp/packages_start.txt ']' 08:52:04 + '[' -f /tmp/packages_end.txt ']' 08:52:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:52:04 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 08:52:04 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 08:52:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 08:52:04 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:52:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:52:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:05 prd-ubuntu20.04-docker-8c-8g-2683 does not seem to be running inside a container 08:52:05 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:52:05 $ docker top b4be15dec07ed5f26e49672dee4e2f2b00f5d135396c6ce5f3712d9146c51e3d -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:05 + touch /tmp/pre-build-complete [Pipeline] sh 08:52:06 + mkdir -p /var/log/sysstat [Pipeline] sh 08:52:06 + ls /var/log/sa-host 08:52:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:52:06 provisioning config files... 08:52:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4776945200318417304tmp [Pipeline] { [Pipeline] echo 08:52:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:52:06 ---> create-netrc.sh [Pipeline] } 08:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:52:07 ---> python-tools-install.sh [Pipeline] echo 08:52:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:52:07 ---> sudo-logs.sh 08:52:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:52:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:52:07 ---> job-cost.sh 08:52:07 lf-activate-venv: SKIPPING 08:52:07 DEBUG: total: 0.2199999988079071 08:52:07 INFO: Retrieving Stack Cost... 08:52:08 INFO: Retrieving Pricing Info for: v3-standard-8 08:52:08 INFO: Archiving Costs [Pipeline] echo 08:52:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:52:09 ---> logs-deploy.sh 08:52:09 lf-activate-venv: SKIPPING 08:52:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/28 08:52:09 INFO: archiving workspace using pattern(s): 08:52:10 Archives upload complete. 08:52:10 INFO: archiving logs to Nexus