Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 438e9b89ef4afb0993607790962057af5e89a430 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-ssh15918355082917784084.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh12832020224237505545.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2045524644839975304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh987358532722789034.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5741929862929687439.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19753 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 438e9b89ef4afb0993607790962057af5e89a430 (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 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 Commit message: "Merge pull request #46 from lenny-intel/go1.18" > git rev-list --no-walk 032ebe613dddcd1a3cb800540854a6d80744a216 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T20:18:25.213Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T20:18:25.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T20:18:25.268Z] ========================================================= [2022-07-12T20:18:25.268Z] EdgeX Global Pipelines Version Info [2022-07-12T20:18:25.268Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:18:26.029Z] ------------------- [2022-07-12T20:18:26.029Z] stable info: [2022-07-12T20:18:26.029Z] ------------------- [2022-07-12T20:18:26.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T20:18:26.029Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:18:26.029Z] Message: update stable to v1.0.237 [2022-07-12T20:18:27.950Z] ------------------- [2022-07-12T20:18:27.950Z] experimental info: [2022-07-12T20:18:27.950Z] ------------------- [2022-07-12T20:18:27.950Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T20:18:27.950Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:18:27.950Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T20:18:28.243Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-07-12T20:18:28.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-07-12T20:18:28.267Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T20:18:28.278Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T20:18:28.289Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T20:18:28.300Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T20:18:28.319Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T20:18:28.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T20:18:28.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T20:18:28.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T20:18:28.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T20:18:28.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-07-12T20:18:28.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T20:18:28.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T20:18:28.413Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:18:28.430Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:18:28.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:18:28.466Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:18:28.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T20:18:28.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T20:18:28.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T20:18:28.514Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T20:18:28.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T20:18:28.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T20:18:28.552Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T20:18:28.564Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T20:18:28.578Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T20:18:28.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T20:18:28.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T20:18:28.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T20:18:28.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] echo [2022-07-12T20:18:28.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 438e9b8 [Pipeline] echo [2022-07-12T20:18:28.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:18:28.698Z] provisioning config files... [2022-07-12T20:18:28.713Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2729036655488151222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:18:29.021Z] ---> docker-login.sh [2022-07-12T20:18:29.022Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:18:29.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:29.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:29.284Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:29.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:29.284Z] [2022-07-12T20:18:29.284Z] Login Succeeded [2022-07-12T20:18:29.284Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:18:29.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:29.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:29.545Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:29.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:29.545Z] [2022-07-12T20:18:29.545Z] Login Succeeded [2022-07-12T20:18:29.545Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:18:29.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:29.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:29.545Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:29.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:29.545Z] [2022-07-12T20:18:29.545Z] Login Succeeded [2022-07-12T20:18:29.545Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:18:29.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:29.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:29.807Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:29.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:29.807Z] [2022-07-12T20:18:29.807Z] Login Succeeded [2022-07-12T20:18:29.807Z] docker.io [2022-07-12T20:18:29.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:30.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:30.070Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:30.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:30.070Z] [2022-07-12T20:18:30.070Z] Login Succeeded [2022-07-12T20:18:30.070Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:18:30.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T20:18:30.444Z] + git rev-list -1 --merges 438e9b89ef4afb0993607790962057af5e89a430~1..438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] echo [2022-07-12T20:18:30.473Z] -----------> git rev-list -1 --merges 438e9b89ef4afb0993607790962057af5e89a430~1..438e9b89ef4afb0993607790962057af5e89a430 438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:18:30.473Z] 438e9b89ef4afb0993607790962057af5e89a430 [false] [Pipeline] sh [2022-07-12T20:18:30.770Z] + git log --format=format:%s -1 438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] echo [2022-07-12T20:18:30.786Z] ========================================================= [2022-07-12T20:18:30.786Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T20:18:30.786Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:18:31.110Z] + git log --format=format:%s -1 438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] echo [2022-07-12T20:18:31.122Z] [semverPrep] GIT_COMMIT: 438e9b89ef4afb0993607790962057af5e89a430, Commit Message: Merge pull request #46 from lenny-intel/go1.18 [Pipeline] echo [2022-07-12T20:18:31.129Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T20:18:31.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:18:31.469Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T20:18:31.469Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T20:18:31.469Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T20:18:31.469Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T20:18:31.469Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T20:18:31.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:31.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:18:31.818Z] [2022-07-12T20:18:31.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:32.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:18:32.123Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T20:18:32.123Z] b85a868b505f: Pulling fs layer [2022-07-12T20:18:32.123Z] e2be974225ed: Pulling fs layer [2022-07-12T20:18:32.123Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T20:18:32.123Z] 988bab9f4d93: Pulling fs layer [2022-07-12T20:18:32.123Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T20:18:32.123Z] eaf3925da568: Pulling fs layer [2022-07-12T20:18:32.123Z] bab4dde63d76: Pulling fs layer [2022-07-12T20:18:32.123Z] 988bab9f4d93: Waiting [2022-07-12T20:18:32.123Z] eaf3925da568: Waiting [2022-07-12T20:18:32.123Z] 1469e6f7b9e6: Waiting [2022-07-12T20:18:32.123Z] bde34c3a00c8: Pulling fs layer [2022-07-12T20:18:32.123Z] bab4dde63d76: Waiting [2022-07-12T20:18:32.123Z] b352a97aabf1: Pulling fs layer [2022-07-12T20:18:32.123Z] bde34c3a00c8: Waiting [2022-07-12T20:18:32.123Z] 4872d77fe225: Pulling fs layer [2022-07-12T20:18:32.123Z] 5851b861e8e6: Pulling fs layer [2022-07-12T20:18:32.123Z] b352a97aabf1: Waiting [2022-07-12T20:18:32.123Z] 4872d77fe225: Waiting [2022-07-12T20:18:32.123Z] 5851b861e8e6: Waiting [2022-07-12T20:18:32.123Z] e2be974225ed: Verifying Checksum [2022-07-12T20:18:32.123Z] e2be974225ed: Download complete [2022-07-12T20:18:32.123Z] 988bab9f4d93: Verifying Checksum [2022-07-12T20:18:32.123Z] 988bab9f4d93: Download complete [2022-07-12T20:18:32.123Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T20:18:32.123Z] 339a4e72a1f5: Download complete [2022-07-12T20:18:32.123Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T20:18:32.123Z] 1469e6f7b9e6: Download complete [2022-07-12T20:18:32.384Z] eaf3925da568: Verifying Checksum [2022-07-12T20:18:32.384Z] eaf3925da568: Download complete [2022-07-12T20:18:32.384Z] bde34c3a00c8: Verifying Checksum [2022-07-12T20:18:32.384Z] bde34c3a00c8: Download complete [2022-07-12T20:18:32.384Z] b352a97aabf1: Verifying Checksum [2022-07-12T20:18:32.384Z] b352a97aabf1: Download complete [2022-07-12T20:18:32.384Z] 4872d77fe225: Verifying Checksum [2022-07-12T20:18:32.384Z] 4872d77fe225: Download complete [2022-07-12T20:18:32.384Z] 5851b861e8e6: Verifying Checksum [2022-07-12T20:18:32.384Z] 5851b861e8e6: Download complete [2022-07-12T20:18:32.384Z] b85a868b505f: Download complete [2022-07-12T20:18:32.644Z] bab4dde63d76: Verifying Checksum [2022-07-12T20:18:32.644Z] bab4dde63d76: Download complete [2022-07-12T20:18:33.595Z] b85a868b505f: Pull complete [2022-07-12T20:18:33.857Z] e2be974225ed: Pull complete [2022-07-12T20:18:34.428Z] 339a4e72a1f5: Pull complete [2022-07-12T20:18:34.428Z] 988bab9f4d93: Pull complete [2022-07-12T20:18:34.690Z] 1469e6f7b9e6: Pull complete [2022-07-12T20:18:34.690Z] eaf3925da568: Pull complete [2022-07-12T20:18:36.600Z] bab4dde63d76: Pull complete [2022-07-12T20:18:36.600Z] bde34c3a00c8: Pull complete [2022-07-12T20:18:36.861Z] b352a97aabf1: Pull complete [2022-07-12T20:18:36.861Z] 4872d77fe225: Pull complete [2022-07-12T20:18:36.861Z] 5851b861e8e6: Pull complete [2022-07-12T20:18:36.861Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T20:18:36.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:18:36.861Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:18:36.969Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:18:37.002Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:18:38.291Z] $ docker top f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a -eo pid,comm [2022-07-12T20:18:38.358Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T20:18:38.358Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:18:38.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:18:38.390Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:18:38.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:18:38.511Z] $ docker exec f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a ssh-agent [2022-07-12T20:18:38.636Z] SSH_AUTH_SOCK=/tmp/ssh-at5VEOgpycGH/agent.32 [2022-07-12T20:18:38.636Z] SSH_AGENT_PID=38 [2022-07-12T20:18:38.644Z] Running ssh-add (command line suppressed) [2022-07-12T20:18:38.754Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3781746880636282540.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3781746880636282540.key) [2022-07-12T20:18:38.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:18:39.060Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T20:18:39.078Z] $ docker exec --env ******** --env ******** f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a ssh-agent -k [2022-07-12T20:18:39.192Z] unset SSH_AUTH_SOCK; [2022-07-12T20:18:39.193Z] unset SSH_AGENT_PID; [2022-07-12T20:18:39.193Z] echo Agent pid 38 killed; [2022-07-12T20:18:39.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T20:18:39.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:18:39.228Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:18:39.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:18:39.365Z] $ docker exec f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a ssh-agent [2022-07-12T20:18:39.500Z] SSH_AUTH_SOCK=/tmp/ssh-FQZMvEaaQ6EL/agent.71 [2022-07-12T20:18:39.500Z] SSH_AGENT_PID=77 [2022-07-12T20:18:39.506Z] Running ssh-add (command line suppressed) [2022-07-12T20:18:39.620Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7020938624604778762.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7020938624604778762.key) [2022-07-12T20:18:39.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:18:39.934Z] + git semver init [2022-07-12T20:18:40.196Z] 2022-07-12 20:18:40,140 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T20:18:40.196Z] 2022-07-12 20:18:40,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-07-12T20:18:40.196Z] 2022-07-12 20:18:40,141 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-07-12T20:18:40.196Z] 2022-07-12 20:18:40,142 [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) [2022-07-12T20:18:41.137Z] 2022-07-12 20:18:40,908 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-07-12T20:18:41.137Z] 2022-07-12 20:18:40,908 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-07-12T20:18:41.137Z] 2022-07-12 20:18:40,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:18:41.137Z] 2022-07-12 20:18:40,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:18:41.137Z] 2.2.1-dev.3 [Pipeline] } [2022-07-12T20:18:41.146Z] $ docker exec --env ******** --env ******** f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a ssh-agent -k [2022-07-12T20:18:41.262Z] unset SSH_AUTH_SOCK; [2022-07-12T20:18:41.262Z] unset SSH_AGENT_PID; [2022-07-12T20:18:41.262Z] echo Agent pid 77 killed; [2022-07-12T20:18:41.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:18:41.584Z] + git semver [Pipeline] } [2022-07-12T20:18:41.857Z] $ docker stop --time=1 f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a [2022-07-12T20:18:43.193Z] $ docker rm -f f169972f750b28fa1e8fdcefdc255316ac3d29fd3348c89665dc8103bc5ebf1a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:18:43.544Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T20:18:43.790Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T20:18:43.793Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:18:43.978Z] provisioning config files... [2022-07-12T20:18:43.987Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7246763655134298062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:18:44.285Z] ---> docker-login.sh [2022-07-12T20:18:44.285Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:18:44.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:44.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:44.285Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:44.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:44.285Z] [2022-07-12T20:18:44.285Z] Login Succeeded [2022-07-12T20:18:44.285Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:18:44.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:44.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:44.547Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:44.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:44.547Z] [2022-07-12T20:18:44.547Z] Login Succeeded [2022-07-12T20:18:44.547Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:18:44.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:44.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:44.547Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:44.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:44.547Z] [2022-07-12T20:18:44.547Z] Login Succeeded [2022-07-12T20:18:44.547Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:18:44.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:44.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:44.807Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:44.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:44.807Z] [2022-07-12T20:18:44.807Z] Login Succeeded [2022-07-12T20:18:44.807Z] docker.io [2022-07-12T20:18:44.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:45.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:45.068Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:45.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:45.068Z] [2022-07-12T20:18:45.068Z] Login Succeeded [2022-07-12T20:18:45.068Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:18:45.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:18:45.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:18:45.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:18:45.158Z] ========================================================= [2022-07-12T20:18:45.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T20:18:45.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:45.469Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T20:18:45.469Z] Sending build context to Docker daemon 15.75MB [2022-07-12T20:18:45.469Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:18:45.469Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:18:45.469Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T20:18:45.469Z] 2408cc74d12b: Pulling fs layer [2022-07-12T20:18:45.469Z] ea60b727a1ce: Pulling fs layer [2022-07-12T20:18:45.469Z] 30c4a7721957: Pulling fs layer [2022-07-12T20:18:45.469Z] 370296b7ddb6: Pulling fs layer [2022-07-12T20:18:45.469Z] 7c6cee850709: Pulling fs layer [2022-07-12T20:18:45.469Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T20:18:45.469Z] d94ebbe4e438: Pulling fs layer [2022-07-12T20:18:45.469Z] 370296b7ddb6: Waiting [2022-07-12T20:18:45.469Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T20:18:45.469Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T20:18:45.469Z] 7c6cee850709: Waiting [2022-07-12T20:18:45.469Z] bcfd1f05c69d: Waiting [2022-07-12T20:18:45.469Z] 59ccb84bbe0f: Waiting [2022-07-12T20:18:45.469Z] d94ebbe4e438: Waiting [2022-07-12T20:18:45.736Z] 30c4a7721957: Verifying Checksum [2022-07-12T20:18:45.736Z] 30c4a7721957: Download complete [2022-07-12T20:18:45.736Z] ea60b727a1ce: Verifying Checksum [2022-07-12T20:18:45.736Z] ea60b727a1ce: Download complete [2022-07-12T20:18:45.736Z] 7c6cee850709: Verifying Checksum [2022-07-12T20:18:45.736Z] 7c6cee850709: Download complete [2022-07-12T20:18:45.736Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T20:18:45.736Z] 39a5fcdaea64: Download complete [2022-07-12T20:18:45.736Z] 2408cc74d12b: Verifying Checksum [2022-07-12T20:18:45.736Z] d94ebbe4e438: Verifying Checksum [2022-07-12T20:18:45.736Z] d94ebbe4e438: Download complete [2022-07-12T20:18:45.736Z] 2408cc74d12b: Pull complete [2022-07-12T20:18:46.011Z] ea60b727a1ce: Pull complete [2022-07-12T20:18:46.011Z] 30c4a7721957: Pull complete [2022-07-12T20:18:46.286Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T20:18:46.286Z] 59ccb84bbe0f: Download complete [2022-07-12T20:18:46.548Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T20:18:46.548Z] bcfd1f05c69d: Download complete [2022-07-12T20:18:46.548Z] 370296b7ddb6: Verifying Checksum [2022-07-12T20:18:46.548Z] 370296b7ddb6: Download complete [2022-07-12T20:18:50.747Z] 370296b7ddb6: Pull complete [2022-07-12T20:18:50.747Z] 7c6cee850709: Pull complete [2022-07-12T20:18:50.747Z] 39a5fcdaea64: Pull complete [2022-07-12T20:18:50.747Z] d94ebbe4e438: Pull complete [2022-07-12T20:18:53.290Z] bcfd1f05c69d: Pull complete [2022-07-12T20:18:53.549Z] 59ccb84bbe0f: Pull complete [2022-07-12T20:18:53.549Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T20:18:53.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T20:18:53.549Z] ---> a4fb48ad2a94 [2022-07-12T20:18:53.549Z] Step 3/12 : ARG MAKE="make build" [2022-07-12T20:18:54.933Z] ---> Running in 9b58f271a247 [2022-07-12T20:18:55.194Z] Removing intermediate container 9b58f271a247 [2022-07-12T20:18:55.195Z] ---> f40f6c220af9 [2022-07-12T20:18:55.195Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:18:55.195Z] ---> Running in f23a862b554c [2022-07-12T20:18:55.195Z] Removing intermediate container f23a862b554c [2022-07-12T20:18:55.195Z] ---> be22d18c86cd [2022-07-12T20:18:55.195Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:18:55.195Z] ---> Running in b81e32d39606 [2022-07-12T20:18:55.456Z] Removing intermediate container b81e32d39606 [2022-07-12T20:18:55.456Z] ---> b42839d88efd [2022-07-12T20:18:55.456Z] Step 6/12 : WORKDIR /device-gpio [2022-07-12T20:18:55.456Z] ---> Running in 96e030e49fdc [2022-07-12T20:18:55.456Z] Removing intermediate container 96e030e49fdc [2022-07-12T20:18:55.456Z] ---> eddcaefe10d0 [2022-07-12T20:18:55.456Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:18:55.456Z] ---> Running in 58c073dc8da6 [2022-07-12T20:18:56.029Z] Removing intermediate container 58c073dc8da6 [2022-07-12T20:18:56.029Z] ---> c64ee1f669b2 [2022-07-12T20:18:56.029Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:18:56.029Z] ---> Running in fcbd6a1bbfc9 [2022-07-12T20:18:56.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:18:57.231Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:18:58.618Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:18:58.618Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:18:58.618Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:18:58.937Z] Still waiting to schedule task [2022-07-12T20:18:58.937Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-12T20:18:59.192Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:18:59.192Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:18:59.192Z] OK: 216 MiB in 55 packages [2022-07-12T20:18:59.765Z] Removing intermediate container fcbd6a1bbfc9 [2022-07-12T20:18:59.765Z] ---> 88cd3430cef5 [2022-07-12T20:18:59.765Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T20:18:59.765Z] ---> 7866d022033a [2022-07-12T20:18:59.765Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:18:59.765Z] ---> Running in c03fe820fb66 [2022-07-12T20:19:14.670Z] Removing intermediate container c03fe820fb66 [2022-07-12T20:19:14.670Z] ---> 25055d001177 [2022-07-12T20:19:14.670Z] Step 11/12 : COPY . . [2022-07-12T20:19:14.670Z] ---> 25ffb557879a [2022-07-12T20:19:14.670Z] Step 12/12 : RUN ${MAKE} [2022-07-12T20:19:14.670Z] ---> Running in 9fcce5e20f12 [2022-07-12T20:19:14.670Z] noop [2022-07-12T20:19:14.932Z] Removing intermediate container 9fcce5e20f12 [2022-07-12T20:19:14.932Z] ---> 7e2487efbe37 [2022-07-12T20:19:14.932Z] Successfully built 7e2487efbe37 [2022-07-12T20:19:14.932Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:15.258Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:19:15.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:19:15.338Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:19:15.380Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T20:19:15.811Z] $ docker top ddd71bb8ae34a3fb424914541e40d9e8b49c39543decdf543c8d3e7c08a1719c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:19:16.183Z] + go version [2022-07-12T20:19:16.183Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T20:19:16.211Z] $ docker stop --time=1 ddd71bb8ae34a3fb424914541e40d9e8b49c39543decdf543c8d3e7c08a1719c [2022-07-12T20:19:17.520Z] $ docker rm -f ddd71bb8ae34a3fb424914541e40d9e8b49c39543decdf543c8d3e7c08a1719c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:17.944Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:19:17.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:19:18.030Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:19:18.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T20:19:18.453Z] $ docker top 5b71913a73cfa8f22b1a5f0a0f5be48ab35ba872b335f1c5cc125cb6f2b23cf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:19:19.018Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:19:19.315Z] + make test [2022-07-12T20:19:19.315Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:19:19.581Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-12T20:19:29.584Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-12T20:19:29.584Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-12T20:19:34.855Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-12T20:19:34.855Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:19:38.144Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:19:38.144Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:19:38.144Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:19:38.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:19:38.437Z] $ docker stop --time=1 5b71913a73cfa8f22b1a5f0a0f5be48ab35ba872b335f1c5cc125cb6f2b23cf7 [2022-07-12T20:19:48.250Z] $ docker rm -f 5b71913a73cfa8f22b1a5f0a0f5be48ab35ba872b335f1c5cc125cb6f2b23cf7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:19:48.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:19:48.716Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T20:19:49.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:19:49.437Z] + ls -al . [2022-07-12T20:19:49.437Z] total 160 [2022-07-12T20:19:49.437Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 20:19 . [2022-07-12T20:19:49.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:18 .. [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 12 20:18 .dockerignore [2022-07-12T20:19:49.437Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:19 .git [2022-07-12T20:19:49.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:18 .github [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 20:18 .gitignore [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:18 .golangci.yml [2022-07-12T20:19:49.437Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:18 .semver [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 12 20:18 Attribution.txt [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 12 20:18 CHANGELOG.md [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 20:18 Dockerfile [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:18 GOVERNANCE.md [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 12 20:18 Jenkinsfile [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:18 LICENSE [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 12 20:18 Makefile [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 20:18 OWNERS.md [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 12 20:18 README.md [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION [2022-07-12T20:19:49.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:18 bin [2022-07-12T20:19:49.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:18 cmd [2022-07-12T20:19:49.437Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 20:19 coverage.out [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jul 12 20:18 go.mod [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 35448 Jul 12 20:18 go.sum [2022-07-12T20:19:49.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:18 internal [2022-07-12T20:19:49.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:18 snap [2022-07-12T20:19:49.437Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:49.746Z] + 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=438e9b89ef4afb0993607790962057af5e89a430 --label arch=amd64 --label version=2.2.1-dev.3 . [2022-07-12T20:19:49.746Z] Sending build context to Docker daemon 15.75MB [2022-07-12T20:19:49.746Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:19:49.746Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-12T20:19:49.746Z] ---> 7e2487efbe37 [2022-07-12T20:19:49.746Z] Step 3/26 : ARG MAKE="make build" [2022-07-12T20:19:50.006Z] ---> Running in 14e4637cc753 [2022-07-12T20:19:50.006Z] Removing intermediate container 14e4637cc753 [2022-07-12T20:19:50.006Z] ---> 386d0d3e6311 [2022-07-12T20:19:50.006Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:19:50.006Z] ---> Running in bb769fd5ddac [2022-07-12T20:19:50.263Z] Removing intermediate container bb769fd5ddac [2022-07-12T20:19:50.263Z] ---> 9532d15b5daa [2022-07-12T20:19:50.263Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:19:50.263Z] ---> Running in 4dacad378558 [2022-07-12T20:19:50.263Z] Removing intermediate container 4dacad378558 [2022-07-12T20:19:50.263Z] ---> 8abc4c64883d [2022-07-12T20:19:50.263Z] Step 6/26 : WORKDIR /device-gpio [2022-07-12T20:19:50.263Z] ---> Running in d60b117dd875 [2022-07-12T20:19:50.522Z] Removing intermediate container d60b117dd875 [2022-07-12T20:19:50.522Z] ---> 5ddcd5860899 [2022-07-12T20:19:50.522Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:19:50.522Z] ---> Running in 0c034e9bd595 [2022-07-12T20:19:51.107Z] Removing intermediate container 0c034e9bd595 [2022-07-12T20:19:51.107Z] ---> 2cf1f332a4d2 [2022-07-12T20:19:51.107Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:19:51.107Z] ---> Running in 27ab922c4c62 [2022-07-12T20:19:51.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:52.323Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:52.583Z] OK: 216 MiB in 55 packages [2022-07-12T20:19:52.843Z] Removing intermediate container 27ab922c4c62 [2022-07-12T20:19:52.843Z] ---> 490da72415f4 [2022-07-12T20:19:52.843Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-12T20:19:53.102Z] ---> 7e1b4c7c899e [2022-07-12T20:19:53.102Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:19:53.102Z] ---> Running in 433878135acd [2022-07-12T20:19:53.671Z] Removing intermediate container 433878135acd [2022-07-12T20:19:53.672Z] ---> 430bab86ec47 [2022-07-12T20:19:53.672Z] Step 11/26 : COPY . . [2022-07-12T20:19:54.242Z] ---> d4e3569a3ac1 [2022-07-12T20:19:54.242Z] Step 12/26 : RUN ${MAKE} [2022-07-12T20:19:54.242Z] ---> Running in b5a3a27afcea [2022-07-12T20:19:54.501Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-12T20:20:16.450Z] Removing intermediate container b5a3a27afcea [2022-07-12T20:20:16.450Z] ---> 7d9809e4caf2 [2022-07-12T20:20:16.450Z] Step 13/26 : FROM alpine:3.16 [2022-07-12T20:20:16.450Z] 3.16: Pulling from library/alpine [2022-07-12T20:20:16.450Z] 2408cc74d12b: Already exists [2022-07-12T20:20:16.450Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:20:16.450Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:20:16.450Z] ---> e66264b98777 [2022-07-12T20:20:16.450Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-12T20:20:16.450Z] ---> Running in 662e713a7c8d [2022-07-12T20:20:16.450Z] Removing intermediate container 662e713a7c8d [2022-07-12T20:20:16.450Z] ---> 42ac56b4dc2b [2022-07-12T20:20:16.450Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:20:16.450Z] ---> Running in 8e205e2f0870 [2022-07-12T20:20:16.450Z] Removing intermediate container 8e205e2f0870 [2022-07-12T20:20:16.450Z] ---> 306597db9402 [2022-07-12T20:20:16.450Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-12T20:20:16.450Z] ---> Running in 6b691705df01 [2022-07-12T20:20:16.450Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:17.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:17.652Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:20:17.913Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-12T20:20:17.913Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:20:17.913Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-12T20:20:18.174Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-12T20:20:18.174Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:20:18.174Z] OK: 8 MiB in 19 packages [2022-07-12T20:20:18.751Z] Removing intermediate container 6b691705df01 [2022-07-12T20:20:18.751Z] ---> 4222b5c648ac [2022-07-12T20:20:18.751Z] Step 17/26 : WORKDIR / [2022-07-12T20:20:18.751Z] ---> Running in daf78a8cb74b [2022-07-12T20:20:19.011Z] Removing intermediate container daf78a8cb74b [2022-07-12T20:20:19.012Z] ---> 760ccf5a0793 [2022-07-12T20:20:19.012Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-12T20:20:19.012Z] ---> 6b9d7e43b208 [2022-07-12T20:20:19.012Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-12T20:20:19.271Z] ---> 846d2ba04b12 [2022-07-12T20:20:19.271Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-12T20:20:19.841Z] ---> e6e795bdca2f [2022-07-12T20:20:19.841Z] Step 21/26 : EXPOSE 59910 [2022-07-12T20:20:19.842Z] ---> Running in 4fdadeb898ba [2022-07-12T20:20:19.842Z] Removing intermediate container 4fdadeb898ba [2022-07-12T20:20:19.842Z] ---> ce2bfd0da3de [2022-07-12T20:20:19.842Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-12T20:20:19.842Z] ---> Running in bb607cabcf41 [2022-07-12T20:20:20.102Z] Removing intermediate container bb607cabcf41 [2022-07-12T20:20:20.102Z] ---> 7d631d1504f6 [2022-07-12T20:20:20.102Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:20:20.102Z] ---> Running in e1a2cdc25f56 [2022-07-12T20:20:20.102Z] Removing intermediate container e1a2cdc25f56 [2022-07-12T20:20:20.102Z] ---> 64dfc416bfee [2022-07-12T20:20:20.102Z] Step 24/26 : LABEL arch=amd64 [2022-07-12T20:20:20.362Z] ---> Running in 272836ecad3a [2022-07-12T20:20:20.362Z] Removing intermediate container 272836ecad3a [2022-07-12T20:20:20.362Z] ---> dd108a9a2f93 [2022-07-12T20:20:20.362Z] Step 25/26 : LABEL git_sha=438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:20:20.362Z] ---> Running in 6dbcd2ac8872 [2022-07-12T20:20:20.362Z] Removing intermediate container 6dbcd2ac8872 [2022-07-12T20:20:20.362Z] ---> d52ccd3e692e [2022-07-12T20:20:20.362Z] Step 26/26 : LABEL version=2.2.1-dev.3 [2022-07-12T20:20:20.624Z] ---> Running in f85081309fe1 [2022-07-12T20:20:20.624Z] Removing intermediate container f85081309fe1 [2022-07-12T20:20:20.624Z] ---> a91a5e434634 [2022-07-12T20:20:20.624Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:20:20.624Z] Successfully built a91a5e434634 [2022-07-12T20:20:20.624Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:20:20.727Z] provisioning config files... [2022-07-12T20:20:20.736Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7914817979552819748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:20:21.033Z] ---> docker-login.sh [2022-07-12T20:20:21.033Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:20:21.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:21.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:21.033Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:21.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:21.033Z] [2022-07-12T20:20:21.033Z] Login Succeeded [2022-07-12T20:20:21.033Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:20:21.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:21.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:21.293Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:21.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:21.293Z] [2022-07-12T20:20:21.293Z] Login Succeeded [2022-07-12T20:20:21.293Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:20:21.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:21.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:21.293Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:21.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:21.293Z] [2022-07-12T20:20:21.293Z] Login Succeeded [2022-07-12T20:20:21.293Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:20:21.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:21.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:21.553Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:21.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:21.553Z] [2022-07-12T20:20:21.553Z] Login Succeeded [2022-07-12T20:20:21.553Z] docker.io [2022-07-12T20:20:21.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:21.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:21.814Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:21.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:21.814Z] [2022-07-12T20:20:21.814Z] Login Succeeded [2022-07-12T20:20:21.814Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:20:21.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:20:21.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:20:21.884Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-07-12T20:20:21.884Z] 438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:20:21.884Z] latest [2022-07-12T20:20:21.884Z] 2.2.1-dev.3 [2022-07-12T20:20:21.884Z] 438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:20:21.884Z] main [2022-07-12T20:20:21.884Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:22.193Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:22.508Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:20:22.508Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-12T20:20:22.508Z] ac9c4cab3550: Preparing [2022-07-12T20:20:22.508Z] 66ad49b9fef9: Preparing [2022-07-12T20:20:22.508Z] 3af1d4f22374: Preparing [2022-07-12T20:20:22.508Z] df5426a6536e: Preparing [2022-07-12T20:20:22.508Z] a240721e580f: Preparing [2022-07-12T20:20:22.508Z] 24302eb7d908: Preparing [2022-07-12T20:20:22.508Z] 24302eb7d908: Waiting [2022-07-12T20:20:22.508Z] 3af1d4f22374: Pushed [2022-07-12T20:20:22.508Z] a240721e580f: Pushed [2022-07-12T20:20:22.508Z] 66ad49b9fef9: Pushed [2022-07-12T20:20:22.508Z] 24302eb7d908: Layer already exists [2022-07-12T20:20:22.769Z] df5426a6536e: Pushed [2022-07-12T20:20:25.315Z] ac9c4cab3550: Pushed [2022-07-12T20:20:25.315Z] 438e9b89ef4afb0993607790962057af5e89a430: digest: sha256:8a0b54df885465e6c2a0eaa4466617f40191758ba5571374cd62148c169ee848 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:25.636Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:25.959Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-07-12T20:20:25.959Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-12T20:20:25.959Z] ac9c4cab3550: Preparing [2022-07-12T20:20:25.959Z] 66ad49b9fef9: Preparing [2022-07-12T20:20:25.959Z] 3af1d4f22374: Preparing [2022-07-12T20:20:25.959Z] df5426a6536e: Preparing [2022-07-12T20:20:25.959Z] a240721e580f: Preparing [2022-07-12T20:20:25.959Z] 24302eb7d908: Preparing [2022-07-12T20:20:25.959Z] 24302eb7d908: Waiting [2022-07-12T20:20:25.959Z] ac9c4cab3550: Layer already exists [2022-07-12T20:20:25.959Z] a240721e580f: Layer already exists [2022-07-12T20:20:25.959Z] 3af1d4f22374: Layer already exists [2022-07-12T20:20:25.959Z] df5426a6536e: Layer already exists [2022-07-12T20:20:25.959Z] 66ad49b9fef9: Layer already exists [2022-07-12T20:20:25.959Z] 24302eb7d908: Layer already exists [2022-07-12T20:20:25.959Z] latest: digest: sha256:8a0b54df885465e6c2a0eaa4466617f40191758ba5571374cd62148c169ee848 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:26.282Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:26.598Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.3 [2022-07-12T20:20:26.598Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-12T20:20:26.598Z] ac9c4cab3550: Preparing [2022-07-12T20:20:26.598Z] 66ad49b9fef9: Preparing [2022-07-12T20:20:26.598Z] 3af1d4f22374: Preparing [2022-07-12T20:20:26.598Z] df5426a6536e: Preparing [2022-07-12T20:20:26.598Z] a240721e580f: Preparing [2022-07-12T20:20:26.598Z] 24302eb7d908: Preparing [2022-07-12T20:20:26.598Z] 24302eb7d908: Waiting [2022-07-12T20:20:26.598Z] ac9c4cab3550: Layer already exists [2022-07-12T20:20:26.598Z] a240721e580f: Layer already exists [2022-07-12T20:20:26.598Z] 3af1d4f22374: Layer already exists [2022-07-12T20:20:26.598Z] df5426a6536e: Layer already exists [2022-07-12T20:20:26.598Z] 66ad49b9fef9: Layer already exists [2022-07-12T20:20:26.598Z] 24302eb7d908: Layer already exists [2022-07-12T20:20:26.598Z] 2.2.1-dev.3: digest: sha256:8a0b54df885465e6c2a0eaa4466617f40191758ba5571374cd62148c169ee848 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:26.922Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:27.235Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:20:27.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-12T20:20:27.235Z] ac9c4cab3550: Preparing [2022-07-12T20:20:27.235Z] 66ad49b9fef9: Preparing [2022-07-12T20:20:27.235Z] 3af1d4f22374: Preparing [2022-07-12T20:20:27.235Z] df5426a6536e: Preparing [2022-07-12T20:20:27.235Z] a240721e580f: Preparing [2022-07-12T20:20:27.235Z] 24302eb7d908: Preparing [2022-07-12T20:20:27.235Z] 24302eb7d908: Waiting [2022-07-12T20:20:27.235Z] a240721e580f: Layer already exists [2022-07-12T20:20:27.235Z] 66ad49b9fef9: Layer already exists [2022-07-12T20:20:27.235Z] df5426a6536e: Layer already exists [2022-07-12T20:20:27.235Z] 3af1d4f22374: Layer already exists [2022-07-12T20:20:27.235Z] ac9c4cab3550: Layer already exists [2022-07-12T20:20:27.235Z] 24302eb7d908: Layer already exists [2022-07-12T20:20:27.235Z] 438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3: digest: sha256:8a0b54df885465e6c2a0eaa4466617f40191758ba5571374cd62148c169ee848 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:27.562Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:27.945Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-07-12T20:20:27.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-12T20:20:27.945Z] ac9c4cab3550: Preparing [2022-07-12T20:20:27.945Z] 66ad49b9fef9: Preparing [2022-07-12T20:20:27.945Z] 3af1d4f22374: Preparing [2022-07-12T20:20:27.945Z] df5426a6536e: Preparing [2022-07-12T20:20:27.945Z] a240721e580f: Preparing [2022-07-12T20:20:27.945Z] 24302eb7d908: Preparing [2022-07-12T20:20:27.945Z] 24302eb7d908: Waiting [2022-07-12T20:20:27.945Z] 3af1d4f22374: Layer already exists [2022-07-12T20:20:27.945Z] 66ad49b9fef9: Layer already exists [2022-07-12T20:20:27.945Z] df5426a6536e: Layer already exists [2022-07-12T20:20:27.945Z] ac9c4cab3550: Layer already exists [2022-07-12T20:20:27.945Z] a240721e580f: Layer already exists [2022-07-12T20:20:27.946Z] 24302eb7d908: Layer already exists [2022-07-12T20:20:27.946Z] main: digest: sha256:8a0b54df885465e6c2a0eaa4466617f40191758ba5571374cd62148c169ee848 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:20:27.999Z] ===================================================== [Pipeline] echo [2022-07-12T20:20:28.007Z] taggedImages: [2022-07-12T20:20:28.007Z] - nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:20:28.007Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-07-12T20:20:28.007Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.3 [2022-07-12T20:20:28.007Z] - nexus3.edgexfoundry.org:10004/device-gpio:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:20:28.007Z] - 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 [2022-07-12T20:20:28.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:20:28.382Z] [2022-07-12T20:20:28.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:28.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:20:28.689Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T20:20:28.689Z] 5eb5b503b376: Pulling fs layer [2022-07-12T20:20:28.689Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T20:20:28.689Z] ec43610c2a17: Pulling fs layer [2022-07-12T20:20:28.689Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T20:20:28.689Z] 33b1e0a273af: Pulling fs layer [2022-07-12T20:20:28.689Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T20:20:28.689Z] 2f39f015ded8: Pulling fs layer [2022-07-12T20:20:28.689Z] 3a2ae6a8a46f: Waiting [2022-07-12T20:20:28.689Z] 33b1e0a273af: Waiting [2022-07-12T20:20:28.689Z] 5d3b04190fa2: Waiting [2022-07-12T20:20:28.689Z] 2f39f015ded8: Waiting [2022-07-12T20:20:28.689Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T20:20:28.689Z] 5c69ac0246d0: Download complete [2022-07-12T20:20:28.689Z] 3a2ae6a8a46f: Download complete [2022-07-12T20:20:28.689Z] 33b1e0a273af: Verifying Checksum [2022-07-12T20:20:28.689Z] 33b1e0a273af: Download complete [2022-07-12T20:20:28.951Z] 5d3b04190fa2: Download complete [2022-07-12T20:20:28.951Z] ec43610c2a17: Verifying Checksum [2022-07-12T20:20:28.951Z] ec43610c2a17: Download complete [2022-07-12T20:20:28.951Z] 5eb5b503b376: Verifying Checksum [2022-07-12T20:20:28.951Z] 5eb5b503b376: Download complete [2022-07-12T20:20:29.521Z] 2f39f015ded8: Download complete [2022-07-12T20:20:30.460Z] 5eb5b503b376: Pull complete [2022-07-12T20:20:30.460Z] 5c69ac0246d0: Pull complete [2022-07-12T20:20:31.028Z] ec43610c2a17: Pull complete [2022-07-12T20:20:31.028Z] 3a2ae6a8a46f: Pull complete [2022-07-12T20:20:31.288Z] 33b1e0a273af: Pull complete [2022-07-12T20:20:31.288Z] 5d3b04190fa2: Pull complete [2022-07-12T20:20:36.567Z] 2f39f015ded8: Pull complete [2022-07-12T20:20:36.567Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T20:20:36.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:20:36.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:20:36.660Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:20:36.699Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T20:20:38.268Z] $ docker top a0059c50a9c7e379f4be568ec9ed26ac749fd91be98a65c27f7f4bb7fe3cd4d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:20:38.644Z] ---> job-cost.sh [2022-07-12T20:20:38.644Z] lf-activate-venv: SKIPPING [2022-07-12T20:20:38.644Z] INFO: No Stack... [2022-07-12T20:20:38.903Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:20:39.472Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:20:39.764Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-07-12T20:20:39.765Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T20:20:39.778Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [2022-07-12T20:20:39.786Z] Resource [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] did not exist. Created. [2022-07-12T20:20:39.786Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:20:40.090Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T20:20:40.114Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:20:40.123Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:20:40.148Z] $ docker stop --time=1 a0059c50a9c7e379f4be568ec9ed26ac749fd91be98a65c27f7f4bb7fe3cd4d5 [2022-07-12T20:20:41.307Z] $ docker rm -f a0059c50a9c7e379f4be568ec9ed26ac749fd91be98a65c27f7f4bb7fe3cd4d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T20:21:34.355Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19757 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-07-12T20:21:34.367Z] Running in /w/workspace/device-gpio/33 [Pipeline] { [Pipeline] checkout [2022-07-12T20:21:34.403Z] The recommended git tool is: git [2022-07-12T20:21:41.539Z] using credential edgex-jenkins-ssh [2022-07-12T20:21:41.559Z] Cloning the remote Git repository [2022-07-12T20:21:41.622Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-07-12T20:21:41.704Z] > git init /w/workspace/device-gpio/33 # timeout=10 [2022-07-12T20:21:41.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-12T20:21:41.809Z] > git --version # timeout=10 [2022-07-12T20:21:41.838Z] > git --version # 'git version 2.25.1' [2022-07-12T20:21:41.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:21:41.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:21:43.686Z] Avoid second fetch [2022-07-12T20:21:43.686Z] Checking out Revision 438e9b89ef4afb0993607790962057af5e89a430 (main) [2022-07-12T20:21:43.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-12T20:21:43.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:21:43.713Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T20:21:43.744Z] > git checkout -f 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 [2022-07-12T20:21:48.177Z] Commit message: "Merge pull request #46 from lenny-intel/go1.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:21:49.147Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T20:21:49.147Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:21:49.147Z] Dload Upload Total Spent Left Speed [2022-07-12T20:21:49.147Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2022-07-12T20:21:49.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T20:21:50.362Z] + sudo tee /etc/docker/daemon.new [2022-07-12T20:21:50.362Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T20:21:50.362Z] { [2022-07-12T20:21:50.362Z] "registry-mirrors": [ [2022-07-12T20:21:50.362Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T20:21:50.362Z] ], [2022-07-12T20:21:50.362Z] "bip": "10.250.0.254/24", [2022-07-12T20:21:50.362Z] "hosts": [ [2022-07-12T20:21:50.362Z] "tcp://0.0.0.0:5555", [2022-07-12T20:21:50.362Z] "unix:///var/run/docker.sock" [2022-07-12T20:21:50.362Z] ], [2022-07-12T20:21:50.362Z] "mtu": 1458, [2022-07-12T20:21:50.362Z] "selinux-enabled": true, [2022-07-12T20:21:50.362Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T20:21:50.362Z] } [Pipeline] sh [2022-07-12T20:21:50.756Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T20:21:51.214Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:22:09.594Z] provisioning config files... [2022-07-12T20:22:09.624Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/33@tmp/config3282850844722237283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:22:10.004Z] ---> docker-login.sh [2022-07-12T20:22:10.004Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:22:11.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:22:11.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:22:11.291Z] Configure a credential helper to remove this warning. See [2022-07-12T20:22:11.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:22:11.291Z] [2022-07-12T20:22:11.291Z] Login Succeeded [2022-07-12T20:22:11.291Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:22:11.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:22:11.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:22:11.846Z] Configure a credential helper to remove this warning. See [2022-07-12T20:22:11.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:22:11.846Z] [2022-07-12T20:22:11.846Z] Login Succeeded [2022-07-12T20:22:11.846Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:22:12.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:22:12.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:22:12.415Z] Configure a credential helper to remove this warning. See [2022-07-12T20:22:12.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:22:12.415Z] [2022-07-12T20:22:12.415Z] Login Succeeded [2022-07-12T20:22:12.415Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:22:12.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:22:12.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:22:12.966Z] Configure a credential helper to remove this warning. See [2022-07-12T20:22:12.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:22:12.966Z] [2022-07-12T20:22:12.966Z] Login Succeeded [2022-07-12T20:22:12.966Z] docker.io [2022-07-12T20:22:13.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:22:13.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:22:13.845Z] Configure a credential helper to remove this warning. See [2022-07-12T20:22:13.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:22:13.845Z] [2022-07-12T20:22:13.845Z] Login Succeeded [2022-07-12T20:22:13.845Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:22:13.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:22:14.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:22:14.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:22:14.212Z] ========================================================= [2022-07-12T20:22:14.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T20:22:14.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:22:14.596Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T20:22:15.205Z] Sending build context to Docker daemon 7.938MB [2022-07-12T20:22:15.205Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:22:15.205Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:22:15.205Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T20:22:15.205Z] b3c136eddcbf: Pulling fs layer [2022-07-12T20:22:15.205Z] c0a3192eca97: Pulling fs layer [2022-07-12T20:22:15.205Z] a050256f5b6f: Pulling fs layer [2022-07-12T20:22:15.205Z] 656be50a0ddc: Pulling fs layer [2022-07-12T20:22:15.205Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T20:22:15.205Z] 46d945488cbd: Pulling fs layer [2022-07-12T20:22:15.205Z] 8a5474983e97: Pulling fs layer [2022-07-12T20:22:15.205Z] 329c88fbcd65: Pulling fs layer [2022-07-12T20:22:15.205Z] 656be50a0ddc: Waiting [2022-07-12T20:22:15.205Z] 2bbca73fdf42: Waiting [2022-07-12T20:22:15.205Z] 46d945488cbd: Waiting [2022-07-12T20:22:15.205Z] 329c88fbcd65: Waiting [2022-07-12T20:22:15.205Z] 8a5474983e97: Waiting [2022-07-12T20:22:15.486Z] a050256f5b6f: Download complete [2022-07-12T20:22:15.486Z] c0a3192eca97: Verifying Checksum [2022-07-12T20:22:15.486Z] c0a3192eca97: Download complete [2022-07-12T20:22:15.486Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T20:22:15.486Z] 2bbca73fdf42: Download complete [2022-07-12T20:22:15.486Z] 46d945488cbd: Download complete [2022-07-12T20:22:15.486Z] b3c136eddcbf: Verifying Checksum [2022-07-12T20:22:16.493Z] b3c136eddcbf: Pull complete [2022-07-12T20:22:16.778Z] 329c88fbcd65: Verifying Checksum [2022-07-12T20:22:16.778Z] 329c88fbcd65: Download complete [2022-07-12T20:22:17.396Z] c0a3192eca97: Pull complete [2022-07-12T20:22:17.676Z] a050256f5b6f: Pull complete [2022-07-12T20:22:17.955Z] 8a5474983e97: Download complete [2022-07-12T20:22:18.557Z] 656be50a0ddc: Verifying Checksum [2022-07-12T20:22:18.557Z] 656be50a0ddc: Download complete [2022-07-12T20:22:33.696Z] 656be50a0ddc: Pull complete [2022-07-12T20:22:33.696Z] 2bbca73fdf42: Pull complete [2022-07-12T20:22:33.696Z] 46d945488cbd: Pull complete [2022-07-12T20:22:40.458Z] 8a5474983e97: Pull complete [2022-07-12T20:22:42.461Z] 329c88fbcd65: Pull complete [2022-07-12T20:22:42.739Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T20:22:42.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T20:22:42.739Z] ---> ff4287adb874 [2022-07-12T20:22:42.739Z] Step 3/12 : ARG MAKE="make build" [2022-07-12T20:22:43.736Z] ---> Running in be2df6bd51a0 [2022-07-12T20:22:44.014Z] Removing intermediate container be2df6bd51a0 [2022-07-12T20:22:44.014Z] ---> 45227eb95a0b [2022-07-12T20:22:44.014Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:22:44.014Z] ---> Running in 77cf77b7a42a [2022-07-12T20:22:44.622Z] Removing intermediate container 77cf77b7a42a [2022-07-12T20:22:44.622Z] ---> d659bccf143b [2022-07-12T20:22:44.622Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:22:44.622Z] ---> Running in 33b098abe953 [2022-07-12T20:22:44.898Z] Removing intermediate container 33b098abe953 [2022-07-12T20:22:44.898Z] ---> e0e5e5745cdc [2022-07-12T20:22:44.898Z] Step 6/12 : WORKDIR /device-gpio [2022-07-12T20:22:44.898Z] ---> Running in 3156f3d067a9 [2022-07-12T20:22:45.501Z] Removing intermediate container 3156f3d067a9 [2022-07-12T20:22:45.501Z] ---> 1cfcc5883cc1 [2022-07-12T20:22:45.501Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:22:45.777Z] ---> Running in e1e0ddcf7ef5 [2022-07-12T20:22:47.923Z] Removing intermediate container e1e0ddcf7ef5 [2022-07-12T20:22:47.923Z] ---> c2a4d6aa4f1a [2022-07-12T20:22:47.923Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:22:47.923Z] ---> Running in 5ab070215131 [2022-07-12T20:22:49.040Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:22:50.022Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:22:51.007Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:22:51.007Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:22:51.282Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:22:51.282Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:22:51.557Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:22:51.557Z] OK: 226 MiB in 55 packages [2022-07-12T20:22:52.542Z] Removing intermediate container 5ab070215131 [2022-07-12T20:22:52.542Z] ---> 87779d7a4ccb [2022-07-12T20:22:52.542Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T20:22:53.142Z] ---> a73daa1c164e [2022-07-12T20:22:53.142Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:22:53.142Z] ---> Running in 45a6fdea6497 [2022-07-12T20:23:49.718Z] Removing intermediate container 45a6fdea6497 [2022-07-12T20:23:49.718Z] ---> 54ad9a2a24dc [2022-07-12T20:23:49.718Z] Step 11/12 : COPY . . [2022-07-12T20:23:49.718Z] ---> 470a0ef6e827 [2022-07-12T20:23:49.718Z] Step 12/12 : RUN ${MAKE} [2022-07-12T20:23:49.718Z] ---> Running in e991c1c22341 [2022-07-12T20:23:49.718Z] noop [2022-07-12T20:23:49.718Z] Removing intermediate container e991c1c22341 [2022-07-12T20:23:49.718Z] ---> 84dfc905fa00 [2022-07-12T20:23:49.718Z] Successfully built 84dfc905fa00 [2022-07-12T20:23:49.718Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:23:50.100Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:23:50.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:23:50.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-19757 does not seem to be running inside a container [2022-07-12T20:23:50.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/33 -v /w/workspace/device-gpio/33:/w/workspace/device-gpio/33:rw,z -v /w/workspace/device-gpio/33@tmp:/w/workspace/device-gpio/33@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 [2022-07-12T20:23:51.856Z] $ docker top b33d23c56b85efd7c6f6dffddcebfade6bbb5a236f753265d4ff02dad52f4e72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:23:52.806Z] + go version [2022-07-12T20:23:52.806Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T20:23:52.835Z] $ docker stop --time=1 b33d23c56b85efd7c6f6dffddcebfade6bbb5a236f753265d4ff02dad52f4e72 [2022-07-12T20:23:54.547Z] $ docker rm -f b33d23c56b85efd7c6f6dffddcebfade6bbb5a236f753265d4ff02dad52f4e72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:23:55.177Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:23:55.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:23:55.445Z] prd-ubuntu20.04-docker-arm64-4c-16g-19757 does not seem to be running inside a container [2022-07-12T20:23:55.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-gpio/33 -v /w/workspace/device-gpio/33:/w/workspace/device-gpio/33:rw,z -v /w/workspace/device-gpio/33@tmp:/w/workspace/device-gpio/33@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 [2022-07-12T20:23:56.859Z] $ docker top c99e4999f4374ca3b0e2bad955b4092005e03b260901c2e6efe6f25ed668a9f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:23:57.792Z] + git config --global --add safe.directory /w/workspace/device-gpio/33 [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:23:58.462Z] + make test [2022-07-12T20:23:58.462Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:23:59.898Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-12T20:25:36.791Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-12T20:25:36.791Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-12T20:25:36.791Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T20:25:36.791Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:25:51.957Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:25:51.957Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:25:51.957Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:25:51.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:25:52.004Z] $ docker stop --time=1 c99e4999f4374ca3b0e2bad955b4092005e03b260901c2e6efe6f25ed668a9f8 [2022-07-12T20:25:53.893Z] $ docker rm -f c99e4999f4374ca3b0e2bad955b4092005e03b260901c2e6efe6f25ed668a9f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:25:54.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:25:54.961Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T20:25:55.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:25:56.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:25:56.384Z] + ls -al . [2022-07-12T20:25:56.384Z] total 156 [2022-07-12T20:25:56.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:23 . [2022-07-12T20:25:56.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:21 .. [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 12 20:21 .dockerignore [2022-07-12T20:25:56.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:21 .git [2022-07-12T20:25:56.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:21 .github [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 12 20:21 .gitignore [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:21 .golangci.yml [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 12 20:21 Attribution.txt [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 12 20:21 CHANGELOG.md [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 12 20:21 Dockerfile [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:21 GOVERNANCE.md [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 12 20:21 Jenkinsfile [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:21 LICENSE [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 12 20:21 Makefile [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 12 20:21 OWNERS.md [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 12 20:21 README.md [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION [2022-07-12T20:25:56.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:21 bin [2022-07-12T20:25:56.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:21 cmd [2022-07-12T20:25:56.384Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 20:23 coverage.out [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jul 12 20:21 go.mod [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 35448 Jul 12 20:21 go.sum [2022-07-12T20:25:56.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:21 internal [2022-07-12T20:25:56.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:21 snap [2022-07-12T20:25:56.384Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 12 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:25:56.817Z] + 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=438e9b89ef4afb0993607790962057af5e89a430 --label arch=arm64 --label version=2.2.1-dev.3 . [2022-07-12T20:25:57.477Z] Sending build context to Docker daemon 7.939MB [2022-07-12T20:25:57.477Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:25:57.477Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-12T20:25:57.477Z] ---> 84dfc905fa00 [2022-07-12T20:25:57.477Z] Step 3/26 : ARG MAKE="make build" [2022-07-12T20:25:57.804Z] ---> Running in d3f735ce11fc [2022-07-12T20:25:58.094Z] Removing intermediate container d3f735ce11fc [2022-07-12T20:25:58.094Z] ---> efdbf89ee1e1 [2022-07-12T20:25:58.094Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:25:58.094Z] ---> Running in 899fd4f4b4e3 [2022-07-12T20:25:58.374Z] Removing intermediate container 899fd4f4b4e3 [2022-07-12T20:25:58.374Z] ---> aed61bd30641 [2022-07-12T20:25:58.374Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:25:58.650Z] ---> Running in 85328dc0bfc5 [2022-07-12T20:25:58.924Z] Removing intermediate container 85328dc0bfc5 [2022-07-12T20:25:58.924Z] ---> 8d8ef128c07b [2022-07-12T20:25:58.924Z] Step 6/26 : WORKDIR /device-gpio [2022-07-12T20:25:58.924Z] ---> Running in 7c2c5fc7e458 [2022-07-12T20:25:59.523Z] Removing intermediate container 7c2c5fc7e458 [2022-07-12T20:25:59.523Z] ---> 3c31e4f7407d [2022-07-12T20:25:59.523Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:25:59.523Z] ---> Running in 334c7a3d3c19 [2022-07-12T20:26:01.502Z] Removing intermediate container 334c7a3d3c19 [2022-07-12T20:26:01.502Z] ---> b2e47b4c59e5 [2022-07-12T20:26:01.502Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:26:01.502Z] ---> Running in cde7b27a8b0c [2022-07-12T20:26:02.492Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:26:03.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:26:04.974Z] OK: 226 MiB in 55 packages [2022-07-12T20:26:05.574Z] Removing intermediate container cde7b27a8b0c [2022-07-12T20:26:05.574Z] ---> 68e0fe48e283 [2022-07-12T20:26:05.574Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-12T20:26:06.177Z] ---> 04031ef35723 [2022-07-12T20:26:06.177Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:26:06.177Z] ---> Running in 631bd632f383 [2022-07-12T20:26:08.178Z] Removing intermediate container 631bd632f383 [2022-07-12T20:26:08.178Z] ---> 4a8388e4cde2 [2022-07-12T20:26:08.178Z] Step 11/26 : COPY . . [2022-07-12T20:26:09.630Z] ---> d3f66ffb08b4 [2022-07-12T20:26:09.630Z] Step 12/26 : RUN ${MAKE} [2022-07-12T20:26:09.630Z] ---> Running in e1220919166b [2022-07-12T20:26:10.618Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-12T20:28:47.630Z] Removing intermediate container e1220919166b [2022-07-12T20:28:47.630Z] ---> 1f56ea6ffd10 [2022-07-12T20:28:47.630Z] Step 13/26 : FROM alpine:3.16 [2022-07-12T20:28:47.630Z] 3.16: Pulling from library/alpine [2022-07-12T20:28:47.630Z] b3c136eddcbf: Already exists [2022-07-12T20:28:47.630Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:28:47.630Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:28:47.630Z] ---> 6e30ab57aeee [2022-07-12T20:28:47.630Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-12T20:28:47.630Z] ---> Running in 06d8a7802101 [2022-07-12T20:28:47.630Z] Removing intermediate container 06d8a7802101 [2022-07-12T20:28:47.630Z] ---> 8aaa76cf88ff [2022-07-12T20:28:47.631Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:28:47.631Z] ---> Running in be73e6f1d78f [2022-07-12T20:28:47.631Z] Removing intermediate container be73e6f1d78f [2022-07-12T20:28:47.631Z] ---> a666bcf8e467 [2022-07-12T20:28:47.631Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-12T20:28:47.631Z] ---> Running in 7663334c6d20 [2022-07-12T20:28:47.631Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:28:47.631Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:28:47.631Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:28:47.631Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-12T20:28:47.631Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:28:47.631Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-12T20:28:47.631Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-12T20:28:47.631Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:28:47.631Z] OK: 8 MiB in 19 packages [2022-07-12T20:28:47.631Z] Removing intermediate container 7663334c6d20 [2022-07-12T20:28:47.631Z] ---> 366db1dd62c2 [2022-07-12T20:28:47.631Z] Step 17/26 : WORKDIR / [2022-07-12T20:28:47.631Z] ---> Running in a6306aac304e [2022-07-12T20:28:47.631Z] Removing intermediate container a6306aac304e [2022-07-12T20:28:47.631Z] ---> bf375d5bddd8 [2022-07-12T20:28:47.631Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-12T20:28:47.631Z] ---> 5bbab7dd1969 [2022-07-12T20:28:47.631Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-12T20:28:47.631Z] ---> d1b2e12182b2 [2022-07-12T20:28:47.631Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-12T20:28:47.631Z] ---> 42dce56c77ab [2022-07-12T20:28:47.631Z] Step 21/26 : EXPOSE 59910 [2022-07-12T20:28:47.631Z] ---> Running in f853ac18a9a3 [2022-07-12T20:28:47.631Z] Removing intermediate container f853ac18a9a3 [2022-07-12T20:28:47.631Z] ---> 680eaa3e8c2a [2022-07-12T20:28:47.631Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-12T20:28:47.631Z] ---> Running in 7cf6c3ee4962 [2022-07-12T20:28:47.631Z] Removing intermediate container 7cf6c3ee4962 [2022-07-12T20:28:47.631Z] ---> cd5864b1416b [2022-07-12T20:28:47.631Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:28:47.631Z] ---> Running in 14a6f3cdeb98 [2022-07-12T20:28:47.906Z] Removing intermediate container 14a6f3cdeb98 [2022-07-12T20:28:47.906Z] ---> 16eb5483297d [2022-07-12T20:28:47.906Z] Step 24/26 : LABEL arch=arm64 [2022-07-12T20:28:48.183Z] ---> Running in 77c1d2912fdf [2022-07-12T20:28:48.454Z] Removing intermediate container 77c1d2912fdf [2022-07-12T20:28:48.454Z] ---> f082611f7403 [2022-07-12T20:28:48.454Z] Step 25/26 : LABEL git_sha=438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:28:48.454Z] ---> Running in b69321d58834 [2022-07-12T20:28:49.051Z] Removing intermediate container b69321d58834 [2022-07-12T20:28:49.051Z] ---> c981bdb60335 [2022-07-12T20:28:49.051Z] Step 26/26 : LABEL version=2.2.1-dev.3 [2022-07-12T20:28:49.051Z] ---> Running in 5c34bf94388e [2022-07-12T20:28:49.324Z] Removing intermediate container 5c34bf94388e [2022-07-12T20:28:49.324Z] ---> 8bd2a7a1662a [2022-07-12T20:28:49.324Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:28:49.324Z] Successfully built 8bd2a7a1662a [2022-07-12T20:28:49.324Z] 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 [2022-07-12T20:28:49.426Z] provisioning config files... [2022-07-12T20:28:49.446Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/33@tmp/config3495142123173221054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:49.802Z] ---> docker-login.sh [2022-07-12T20:28:49.802Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:28:50.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:28:50.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:28:50.073Z] Configure a credential helper to remove this warning. See [2022-07-12T20:28:50.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:28:50.073Z] [2022-07-12T20:28:50.073Z] Login Succeeded [2022-07-12T20:28:50.344Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:28:50.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:28:50.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:28:50.618Z] Configure a credential helper to remove this warning. See [2022-07-12T20:28:50.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:28:50.618Z] [2022-07-12T20:28:50.618Z] Login Succeeded [2022-07-12T20:28:50.890Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:28:51.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:28:51.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:28:51.161Z] Configure a credential helper to remove this warning. See [2022-07-12T20:28:51.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:28:51.161Z] [2022-07-12T20:28:51.161Z] Login Succeeded [2022-07-12T20:28:51.434Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:28:51.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:28:51.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:28:51.705Z] Configure a credential helper to remove this warning. See [2022-07-12T20:28:51.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:28:51.705Z] [2022-07-12T20:28:51.705Z] Login Succeeded [2022-07-12T20:28:51.705Z] docker.io [2022-07-12T20:28:52.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:28:52.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:28:52.569Z] Configure a credential helper to remove this warning. See [2022-07-12T20:28:52.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:28:52.569Z] [2022-07-12T20:28:52.569Z] Login Succeeded [2022-07-12T20:28:52.569Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:28:52.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:28:52.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:28:52.645Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-07-12T20:28:52.645Z] 438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:28:52.645Z] latest [2022-07-12T20:28:52.645Z] 2.2.1-dev.3 [2022-07-12T20:28:52.645Z] 438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:28:52.645Z] main [2022-07-12T20:28:52.645Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:53.010Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:53.372Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:28:53.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-12T20:28:53.372Z] 7ffca99e3682: Preparing [2022-07-12T20:28:53.372Z] ec309d746a53: Preparing [2022-07-12T20:28:53.372Z] 536a4d666a1f: Preparing [2022-07-12T20:28:53.372Z] 7f24e73386d5: Preparing [2022-07-12T20:28:53.372Z] c512b702c01e: Preparing [2022-07-12T20:28:53.372Z] dd565ff850e7: Preparing [2022-07-12T20:28:53.372Z] dd565ff850e7: Waiting [2022-07-12T20:28:53.646Z] 536a4d666a1f: Pushed [2022-07-12T20:28:53.646Z] ec309d746a53: Pushed [2022-07-12T20:28:53.646Z] c512b702c01e: Pushed [2022-07-12T20:28:53.646Z] dd565ff850e7: Layer already exists [2022-07-12T20:28:54.242Z] 7f24e73386d5: Pushed [2022-07-12T20:28:58.536Z] 7ffca99e3682: Pushed [2022-07-12T20:29:16.816Z] 438e9b89ef4afb0993607790962057af5e89a430: digest: sha256:6e90d7d4576a730c8e9f35df30b1b6822f1e4a0e4d7277c8a43b343d7b2e6a33 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:17.180Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:17.535Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-07-12T20:29:17.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-12T20:29:17.535Z] 7ffca99e3682: Preparing [2022-07-12T20:29:17.535Z] ec309d746a53: Preparing [2022-07-12T20:29:17.535Z] 536a4d666a1f: Preparing [2022-07-12T20:29:17.535Z] 7f24e73386d5: Preparing [2022-07-12T20:29:17.535Z] c512b702c01e: Preparing [2022-07-12T20:29:17.535Z] dd565ff850e7: Preparing [2022-07-12T20:29:17.535Z] dd565ff850e7: Waiting [2022-07-12T20:29:17.535Z] 536a4d666a1f: Layer already exists [2022-07-12T20:29:17.535Z] c512b702c01e: Layer already exists [2022-07-12T20:29:17.535Z] 7f24e73386d5: Layer already exists [2022-07-12T20:29:17.535Z] 7ffca99e3682: Layer already exists [2022-07-12T20:29:17.535Z] ec309d746a53: Layer already exists [2022-07-12T20:29:17.808Z] dd565ff850e7: Layer already exists [2022-07-12T20:29:17.808Z] latest: digest: sha256:6e90d7d4576a730c8e9f35df30b1b6822f1e4a0e4d7277c8a43b343d7b2e6a33 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:18.187Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:18.551Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.3 [2022-07-12T20:29:18.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-12T20:29:18.551Z] 7ffca99e3682: Preparing [2022-07-12T20:29:18.551Z] ec309d746a53: Preparing [2022-07-12T20:29:18.551Z] 536a4d666a1f: Preparing [2022-07-12T20:29:18.551Z] 7f24e73386d5: Preparing [2022-07-12T20:29:18.551Z] c512b702c01e: Preparing [2022-07-12T20:29:18.551Z] dd565ff850e7: Preparing [2022-07-12T20:29:18.551Z] dd565ff850e7: Waiting [2022-07-12T20:29:18.551Z] 536a4d666a1f: Layer already exists [2022-07-12T20:29:18.551Z] ec309d746a53: Layer already exists [2022-07-12T20:29:18.551Z] 7f24e73386d5: Layer already exists [2022-07-12T20:29:18.551Z] 7ffca99e3682: Layer already exists [2022-07-12T20:29:18.551Z] c512b702c01e: Layer already exists [2022-07-12T20:29:18.823Z] dd565ff850e7: Layer already exists [2022-07-12T20:29:18.823Z] 2.2.1-dev.3: digest: sha256:6e90d7d4576a730c8e9f35df30b1b6822f1e4a0e4d7277c8a43b343d7b2e6a33 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:19.190Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:19.546Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:29:19.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-12T20:29:19.546Z] 7ffca99e3682: Preparing [2022-07-12T20:29:19.546Z] ec309d746a53: Preparing [2022-07-12T20:29:19.546Z] 536a4d666a1f: Preparing [2022-07-12T20:29:19.546Z] 7f24e73386d5: Preparing [2022-07-12T20:29:19.546Z] c512b702c01e: Preparing [2022-07-12T20:29:19.546Z] dd565ff850e7: Preparing [2022-07-12T20:29:19.546Z] dd565ff850e7: Waiting [2022-07-12T20:29:19.546Z] 536a4d666a1f: Layer already exists [2022-07-12T20:29:19.546Z] ec309d746a53: Layer already exists [2022-07-12T20:29:19.546Z] 7ffca99e3682: Layer already exists [2022-07-12T20:29:19.546Z] c512b702c01e: Layer already exists [2022-07-12T20:29:19.546Z] 7f24e73386d5: Layer already exists [2022-07-12T20:29:19.821Z] dd565ff850e7: Layer already exists [2022-07-12T20:29:19.821Z] 438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3: digest: sha256:6e90d7d4576a730c8e9f35df30b1b6822f1e4a0e4d7277c8a43b343d7b2e6a33 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:20.191Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:20.555Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-07-12T20:29:20.555Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-12T20:29:20.556Z] 7ffca99e3682: Preparing [2022-07-12T20:29:20.556Z] ec309d746a53: Preparing [2022-07-12T20:29:20.556Z] 536a4d666a1f: Preparing [2022-07-12T20:29:20.556Z] 7f24e73386d5: Preparing [2022-07-12T20:29:20.556Z] c512b702c01e: Preparing [2022-07-12T20:29:20.556Z] dd565ff850e7: Preparing [2022-07-12T20:29:20.556Z] dd565ff850e7: Waiting [2022-07-12T20:29:20.556Z] 536a4d666a1f: Layer already exists [2022-07-12T20:29:20.556Z] 7f24e73386d5: Layer already exists [2022-07-12T20:29:20.556Z] c512b702c01e: Layer already exists [2022-07-12T20:29:20.556Z] 7ffca99e3682: Layer already exists [2022-07-12T20:29:20.556Z] ec309d746a53: Layer already exists [2022-07-12T20:29:20.845Z] dd565ff850e7: Layer already exists [2022-07-12T20:29:20.845Z] main: digest: sha256:6e90d7d4576a730c8e9f35df30b1b6822f1e4a0e4d7277c8a43b343d7b2e6a33 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:29:20.914Z] ===================================================== [Pipeline] echo [2022-07-12T20:29:20.923Z] taggedImages: [2022-07-12T20:29:20.923Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430 [2022-07-12T20:29:20.923Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-07-12T20:29:20.923Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.3 [2022-07-12T20:29:20.923Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:438e9b89ef4afb0993607790962057af5e89a430-2.2.1-dev.3 [2022-07-12T20:29:20.923Z] - 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 [2022-07-12T20:29:21.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:29:21.323Z] [2022-07-12T20:29:21.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:21.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:29:21.993Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T20:29:21.993Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T20:29:21.993Z] 04944245beec: Pulling fs layer [2022-07-12T20:29:21.993Z] 699f458cf7ca: Pulling fs layer [2022-07-12T20:29:21.993Z] 765212b225bb: Pulling fs layer [2022-07-12T20:29:21.993Z] f23df028b6ca: Pulling fs layer [2022-07-12T20:29:21.993Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T20:29:21.993Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T20:29:21.993Z] 765212b225bb: Waiting [2022-07-12T20:29:21.993Z] f23df028b6ca: Waiting [2022-07-12T20:29:21.993Z] d65c8cfc05b1: Waiting [2022-07-12T20:29:21.993Z] 2437ff75d9bd: Waiting [2022-07-12T20:29:21.993Z] 04944245beec: Verifying Checksum [2022-07-12T20:29:21.993Z] 04944245beec: Download complete [2022-07-12T20:29:21.993Z] 765212b225bb: Download complete [2022-07-12T20:29:22.289Z] f23df028b6ca: Download complete [2022-07-12T20:29:22.289Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T20:29:22.289Z] d65c8cfc05b1: Download complete [2022-07-12T20:29:22.289Z] 699f458cf7ca: Verifying Checksum [2022-07-12T20:29:22.289Z] 699f458cf7ca: Download complete [2022-07-12T20:29:22.909Z] 8998bd30e6a1: Download complete [2022-07-12T20:29:25.546Z] 2437ff75d9bd: Download complete [2022-07-12T20:29:27.531Z] 8998bd30e6a1: Pull complete [2022-07-12T20:29:27.805Z] 04944245beec: Pull complete [2022-07-12T20:29:29.243Z] 699f458cf7ca: Pull complete [2022-07-12T20:29:29.517Z] 765212b225bb: Pull complete [2022-07-12T20:29:30.503Z] f23df028b6ca: Pull complete [2022-07-12T20:29:30.778Z] d65c8cfc05b1: Pull complete [2022-07-12T20:29:45.881Z] 2437ff75d9bd: Pull complete [2022-07-12T20:29:45.881Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T20:29:46.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:29:46.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:29:46.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-19757 does not seem to be running inside a container [2022-07-12T20:29:46.532Z] $ 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/33 -v /w/workspace/device-gpio/33:/w/workspace/device-gpio/33:rw,z -v /w/workspace/device-gpio/33@tmp:/w/workspace/device-gpio/33@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 [2022-07-12T20:29:49.551Z] $ docker top 92ebf8e736c04698353f9476ab05fb58f2328676837e8d63bba11d4c99964249 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:29:50.508Z] ---> job-cost.sh [2022-07-12T20:29:50.508Z] lf-activate-venv: SKIPPING [2022-07-12T20:29:50.508Z] INFO: No Stack... [2022-07-12T20:29:51.104Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T20:29:52.081Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:29:52.752Z] + cat /w/workspace/device-gpio/33/archives/cost.csv [2022-07-12T20:29:52.752Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T20:29:52.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [2022-07-12T20:29:52.829Z] Resource [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] did not exist. Created. [2022-07-12T20:29:52.829Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:29:53.499Z] /w/workspace/device-gpio/33@tmp/durable-54acd0dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T20:29:54.188Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T20:29:54.217Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T20:29:54.268Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:29:54.275Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:29:54.301Z] $ docker stop --time=1 92ebf8e736c04698353f9476ab05fb58f2328676837e8d63bba11d4c99964249 [2022-07-12T20:29:55.862Z] $ docker rm -f 92ebf8e736c04698353f9476ab05fb58f2328676837e8d63bba11d4c99964249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-12T20:29:56.292Z] provisioning config files... [2022-07-12T20:29:56.299Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config108511889340404205tmp [Pipeline] { [Pipeline] sh [2022-07-12T20:29:56.592Z] + set +x [2022-07-12T20:29:56.593Z] + curl -s https://codecov.io/bash [2022-07-12T20:29:56.593Z] + bash -s -- [2022-07-12T20:29:56.593Z] [2022-07-12T20:29:56.593Z] _____ _ [2022-07-12T20:29:56.593Z] / ____| | | [2022-07-12T20:29:56.593Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T20:29:56.593Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T20:29:56.593Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T20:29:56.593Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T20:29:56.593Z] Bash-1.0.6 [2022-07-12T20:29:56.593Z] [2022-07-12T20:29:56.593Z] [2022-07-12T20:29:56.593Z] ==> git version 2.25.1 found [2022-07-12T20:29:56.593Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-12T20:29:56.593Z] Release-Date: 2020-01-08 [2022-07-12T20:29:56.593Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T20:29:56.593Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T20:29:56.593Z] ==> Jenkins CI detected. [2022-07-12T20:29:56.593Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-07-12T20:29:56.593Z] project root: . [2022-07-12T20:29:56.593Z] --> token set from env [2022-07-12T20:29:56.593Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T20:29:56.593Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T20:29:56.593Z] ==> Python coveragepy not found [2022-07-12T20:29:56.593Z] ==> Searching for coverage reports in: [2022-07-12T20:29:56.593Z] + . [2022-07-12T20:29:56.593Z] -> Found 1 reports [2022-07-12T20:29:56.593Z] ==> Detecting git/mercurial file structure [2022-07-12T20:29:56.593Z] ==> Reading reports [2022-07-12T20:29:56.593Z] + ./coverage.out bytes=10 [2022-07-12T20:29:56.593Z] ==> Appending adjustments [2022-07-12T20:29:56.593Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T20:29:56.593Z] + Found adjustments [2022-07-12T20:29:56.593Z] ==> Gzipping contents [2022-07-12T20:29:56.593Z] 4.0K /tmp/codecov.XKPmwp.gz [2022-07-12T20:29:56.854Z] ==> Uploading reports [2022-07-12T20:29:56.854Z] url: https://codecov.io [2022-07-12T20:29:56.854Z] query: branch=main&commit=438e9b89ef4afb0993607790962057af5e89a430&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T20:29:56.854Z] -> Pinging Codecov [2022-07-12T20:29:56.854Z] 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=438e9b89ef4afb0993607790962057af5e89a430&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T20:29:57.115Z] -> Uploading to [2022-07-12T20:29:57.115Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/438e9b89ef4afb0993607790962057af5e89a430/551bd2e9-021e-4b44-803d-f8bdef34a537.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T202956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba6b3320701369ce4f4ad3ccd693d1228fe203b9926093cb8d3130ba94fba999 [2022-07-12T20:29:57.115Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:29:57.115Z] Dload Upload Total Spent Left Speed [2022-07-12T20:29:57.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3187 --:--:-- --:--:-- --:--:-- 3187 [2022-07-12T20:29:57.376Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] } [2022-07-12T20:29:57.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-12T20:29:57.485Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-12T20:29:57.496Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:57.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:29:57.844Z] [2022-07-12T20:29:57.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:58.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:29:58.146Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-12T20:29:58.146Z] df9b9388f04a: Pulling fs layer [2022-07-12T20:29:58.146Z] 52dc419b0ee2: Pulling fs layer [2022-07-12T20:29:58.146Z] 25bc292e5bac: Pulling fs layer [2022-07-12T20:29:58.146Z] 114826534d7a: Pulling fs layer [2022-07-12T20:29:58.146Z] 4657fd5d0bcf: Pulling fs layer [2022-07-12T20:29:58.146Z] 6ad1cebc031e: Pulling fs layer [2022-07-12T20:29:58.146Z] 8a3aa393b2d8: Pulling fs layer [2022-07-12T20:29:58.146Z] 4657fd5d0bcf: Waiting [2022-07-12T20:29:58.146Z] 6ad1cebc031e: Waiting [2022-07-12T20:29:58.146Z] 8a3aa393b2d8: Waiting [2022-07-12T20:29:58.146Z] 114826534d7a: Waiting [2022-07-12T20:29:58.146Z] 25bc292e5bac: Verifying Checksum [2022-07-12T20:29:58.146Z] 25bc292e5bac: Download complete [2022-07-12T20:29:58.146Z] 52dc419b0ee2: Download complete [2022-07-12T20:29:58.146Z] 4657fd5d0bcf: Verifying Checksum [2022-07-12T20:29:58.146Z] 4657fd5d0bcf: Download complete [2022-07-12T20:29:58.146Z] df9b9388f04a: Verifying Checksum [2022-07-12T20:29:58.409Z] df9b9388f04a: Pull complete [2022-07-12T20:29:58.409Z] 6ad1cebc031e: Verifying Checksum [2022-07-12T20:29:58.409Z] 6ad1cebc031e: Download complete [2022-07-12T20:29:58.409Z] 52dc419b0ee2: Pull complete [2022-07-12T20:29:58.683Z] 25bc292e5bac: Pull complete [2022-07-12T20:29:59.260Z] 114826534d7a: Download complete [2022-07-12T20:29:59.260Z] 8a3aa393b2d8: Verifying Checksum [2022-07-12T20:30:02.549Z] 114826534d7a: Pull complete [2022-07-12T20:30:02.549Z] 4657fd5d0bcf: Pull complete [2022-07-12T20:30:03.117Z] 6ad1cebc031e: Pull complete [2022-07-12T20:30:05.653Z] 8a3aa393b2d8: Pull complete [2022-07-12T20:30:05.653Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-12T20:30:05.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:30:05.653Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:05.760Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:05.804Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-12T20:30:07.524Z] $ docker top 9c23e8fd25da61c76f179dd5b030b2404a0b7486bb1a639b1d297d89503a30f4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-12T20:30:07.588Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-07-12T20:30:07.868Z] + set -o pipefail [2022-07-12T20:30:07.869Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-07-12T20:30:13.147Z] [2022-07-12T20:30:13.147Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-07-12T20:30:13.147Z] [2022-07-12T20:30:13.147Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/b46449ff-30d5-4866-b200-6f09bb42c549 [2022-07-12T20:30:13.147Z] [2022-07-12T20:30:13.147Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-12T20:30:13.147Z] [2022-07-12T20:30:13.147Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-12T20:30:13.147Z] [2022-07-12T20:30:13.409Z] [2022-07-12T20:30:13.409Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-12T20:30:13.409Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-12T20:30:13.431Z] $ docker stop --time=1 9c23e8fd25da61c76f179dd5b030b2404a0b7486bb1a639b1d297d89503a30f4 [2022-07-12T20:30:15.767Z] $ docker rm -f 9c23e8fd25da61c76f179dd5b030b2404a0b7486bb1a639b1d297d89503a30f4 [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 [2022-07-12T20:30:16.471Z] + git log --format=format:%s -1 438e9b89ef4afb0993607790962057af5e89a430 [Pipeline] sh [2022-07-12T20:30:16.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:30:16.772Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:17.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:30:17.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:17.164Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:17.210Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:30:17.634Z] $ docker top 1a4540092a992bb57bfdd735ff495d5cf253ca950ef277a3c29fb6e2ee16b08a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:30:17.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:30:17.719Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:30:17.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:30:17.859Z] $ docker exec 1a4540092a992bb57bfdd735ff495d5cf253ca950ef277a3c29fb6e2ee16b08a ssh-agent [2022-07-12T20:30:17.970Z] SSH_AUTH_SOCK=/tmp/ssh-r9y8wgU0mdrp/agent.32 [2022-07-12T20:30:17.970Z] SSH_AGENT_PID=38 [2022-07-12T20:30:17.975Z] Running ssh-add (command line suppressed) [2022-07-12T20:30:18.110Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8522387930357450746.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8522387930357450746.key) [2022-07-12T20:30:18.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:30:18.412Z] + git semver tag [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,612 [run_tag] DEBUG tag force:False [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,612 [check_head_tag] DEBUG check head tag [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,613 [execute] INFO git cat-file --batch-check [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,616 [execute] INFO git cat-file --batch [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,623 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,623 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:30:18.672Z] 2022-07-12 20:30:18,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:18.672Z] 2.2.1-dev.3 [Pipeline] } [2022-07-12T20:30:18.691Z] $ docker exec --env ******** --env ******** 1a4540092a992bb57bfdd735ff495d5cf253ca950ef277a3c29fb6e2ee16b08a ssh-agent -k [2022-07-12T20:30:18.822Z] unset SSH_AUTH_SOCK; [2022-07-12T20:30:18.822Z] unset SSH_AGENT_PID; [2022-07-12T20:30:18.822Z] echo Agent pid 38 killed; [2022-07-12T20:30:18.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:30:19.127Z] + git semver [Pipeline] } [2022-07-12T20:30:19.412Z] $ docker stop --time=1 1a4540092a992bb57bfdd735ff495d5cf253ca950ef277a3c29fb6e2ee16b08a [2022-07-12T20:30:20.715Z] $ docker rm -f 1a4540092a992bb57bfdd735ff495d5cf253ca950ef277a3c29fb6e2ee16b08a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:21.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:30:21.091Z] [2022-07-12T20:30:21.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:21.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:30:21.392Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T20:30:21.392Z] ab5ef0e58194: Pulling fs layer [2022-07-12T20:30:21.392Z] 9712f1f96733: Pulling fs layer [2022-07-12T20:30:21.392Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T20:30:21.392Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T20:30:21.392Z] e9a5061849ea: Pulling fs layer [2022-07-12T20:30:21.392Z] d747dcd14b5f: Pulling fs layer [2022-07-12T20:30:21.392Z] 2de7ff778b66: Pulling fs layer [2022-07-12T20:30:21.392Z] d747dcd14b5f: Waiting [2022-07-12T20:30:21.392Z] 0d9ebad4ef96: Waiting [2022-07-12T20:30:21.392Z] e9a5061849ea: Waiting [2022-07-12T20:30:21.392Z] 2de7ff778b66: Waiting [2022-07-12T20:30:21.392Z] 9712f1f96733: Verifying Checksum [2022-07-12T20:30:21.392Z] 9712f1f96733: Download complete [2022-07-12T20:30:21.652Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T20:30:21.652Z] 63f879dbbcfc: Download complete [2022-07-12T20:30:21.912Z] e9a5061849ea: Verifying Checksum [2022-07-12T20:30:21.912Z] e9a5061849ea: Download complete [2022-07-12T20:30:21.912Z] d747dcd14b5f: Verifying Checksum [2022-07-12T20:30:21.912Z] d747dcd14b5f: Download complete [2022-07-12T20:30:21.912Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T20:30:21.912Z] 0d9ebad4ef96: Download complete [2022-07-12T20:30:22.172Z] ab5ef0e58194: Verifying Checksum [2022-07-12T20:30:22.172Z] ab5ef0e58194: Download complete [2022-07-12T20:30:22.172Z] 2de7ff778b66: Verifying Checksum [2022-07-12T20:30:22.172Z] 2de7ff778b66: Download complete [2022-07-12T20:30:25.464Z] ab5ef0e58194: Pull complete [2022-07-12T20:30:25.464Z] 9712f1f96733: Pull complete [2022-07-12T20:30:25.724Z] 63f879dbbcfc: Pull complete [2022-07-12T20:30:29.922Z] 0d9ebad4ef96: Pull complete [2022-07-12T20:30:29.922Z] e9a5061849ea: Pull complete [2022-07-12T20:30:29.922Z] d747dcd14b5f: Pull complete [2022-07-12T20:30:30.860Z] 2de7ff778b66: Pull complete [2022-07-12T20:30:30.860Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T20:30:30.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:30:30.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:30.952Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:30.997Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-12T20:30:33.296Z] $ docker top 0070cb8ea20cf903e435b95ad0b0236637286135237462bad8994c700e673ef2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:30:33.369Z] provisioning config files... [2022-07-12T20:30:33.375Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2154475744535691614tmp [2022-07-12T20:30:33.386Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8351831232502727604tmp [2022-07-12T20:30:33.395Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8986483529555108250tmp [Pipeline] { [Pipeline] echo [2022-07-12T20:30:33.411Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:33.691Z] ---> sigul-configuration.sh [2022-07-12T20:30:33.691Z] gpg: directory `/root/.gnupg' created [2022-07-12T20:30:33.691Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T20:30:33.691Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T20:30:33.691Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T20:30:33.691Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T20:30:33.691Z] gpg: CAST5 encrypted data [2022-07-12T20:30:33.691Z] gpg: encrypted with 1 passphrase [2022-07-12T20:30:33.691Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T20:30:33.978Z] + mkdir /home/jenkins [2022-07-12T20:30:33.978Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T20:30:34.262Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-12T20:30:34.270Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:34.553Z] ---> sigul-install.sh [2022-07-12T20:30:34.553Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T20:30:34.840Z] + git tag --list [2022-07-12T20:30:34.840Z] v1.0.0 [2022-07-12T20:30:34.840Z] v2.1.0 [2022-07-12T20:30:34.840Z] v2.1.1 [2022-07-12T20:30:34.840Z] v2.1.1-dev.1 [2022-07-12T20:30:34.840Z] v2.2.0 [2022-07-12T20:30:34.840Z] v2.2.1-dev.1 [2022-07-12T20:30:34.840Z] v2.2.1-dev.2 [2022-07-12T20:30:34.840Z] v2.2.1-dev.3 [Pipeline] sh [2022-07-12T20:30:35.129Z] + lftools sign git-tag v2.2.1-dev.3 [2022-07-12T20:30:35.699Z] Signing Git tag with Sigul... [2022-07-12T20:30:35.699Z] Signing v2.2.1-dev.3 [Pipeline] echo [2022-07-12T20:30:35.968Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:36.256Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T20:30:36.264Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T20:30:36.291Z] $ docker stop --time=1 0070cb8ea20cf903e435b95ad0b0236637286135237462bad8994c700e673ef2 [2022-07-12T20:30:37.571Z] $ docker rm -f 0070cb8ea20cf903e435b95ad0b0236637286135237462bad8994c700e673ef2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T20:30:37.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:30:37.965Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:38.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:30:38.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:38.347Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:38.396Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:30:38.743Z] $ docker top afafec41b66b786f9a4f94883c4ae7b49a0c5d8c76a90cf8cf783aa6b33abbfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:30:38.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:30:38.833Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:30:38.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:30:38.971Z] $ docker exec afafec41b66b786f9a4f94883c4ae7b49a0c5d8c76a90cf8cf783aa6b33abbfc ssh-agent [2022-07-12T20:30:39.086Z] SSH_AUTH_SOCK=/tmp/ssh-jpfPjOtfO5qD/agent.32 [2022-07-12T20:30:39.086Z] SSH_AGENT_PID=38 [2022-07-12T20:30:39.091Z] Running ssh-add (command line suppressed) [2022-07-12T20:30:39.217Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3394480889297358567.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3394480889297358567.key) [2022-07-12T20:30:39.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:30:39.518Z] + git semver bump pre [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [bump_version] DEBUG bumped version:2.2.1-dev.4 [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,713 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:39.778Z] 2022-07-12 20:30:39,716 [execute] INFO git cat-file --batch-check [2022-07-12T20:30:39.779Z] 2022-07-12 20:30:39,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:30:39.779Z] 2022-07-12 20:30:39,721 [execute] INFO git cat-file --batch [2022-07-12T20:30:39.779Z] 2022-07-12 20:30:39,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:30:39.779Z] 2022-07-12 20:30:39,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:39.779Z] 2.2.1-dev.4 [Pipeline] } [2022-07-12T20:30:39.798Z] $ docker exec --env ******** --env ******** afafec41b66b786f9a4f94883c4ae7b49a0c5d8c76a90cf8cf783aa6b33abbfc ssh-agent -k [2022-07-12T20:30:39.905Z] unset SSH_AUTH_SOCK; [2022-07-12T20:30:39.906Z] unset SSH_AGENT_PID; [2022-07-12T20:30:39.906Z] echo Agent pid 38 killed; [2022-07-12T20:30:39.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:30:40.212Z] + git semver [Pipeline] } [2022-07-12T20:30:40.497Z] $ docker stop --time=1 afafec41b66b786f9a4f94883c4ae7b49a0c5d8c76a90cf8cf783aa6b33abbfc [2022-07-12T20:30:41.775Z] $ docker rm -f afafec41b66b786f9a4f94883c4ae7b49a0c5d8c76a90cf8cf783aa6b33abbfc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:30:42.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:30:42.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:42.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:30:42.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:42.517Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:42.565Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:30:42.979Z] $ docker top 8a2c1b45c772e7c859690bb4e62cf6697fb79039f69502fbdfcf47cc8d48a97f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:30:43.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:30:43.061Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:30:43.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:30:43.212Z] $ docker exec 8a2c1b45c772e7c859690bb4e62cf6697fb79039f69502fbdfcf47cc8d48a97f ssh-agent [2022-07-12T20:30:43.329Z] SSH_AUTH_SOCK=/tmp/ssh-i1fblIxKaStv/agent.33 [2022-07-12T20:30:43.329Z] SSH_AGENT_PID=39 [2022-07-12T20:30:43.334Z] Running ssh-add (command line suppressed) [2022-07-12T20:30:43.458Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9070680555402879916.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9070680555402879916.key) [2022-07-12T20:30:43.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:30:43.753Z] + git semver push [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,963 [run_push] DEBUG push [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,964 [execute] INFO git cat-file --batch-check [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,968 [execute] INFO git rev-list 91708475415c6a0984a661b4450f40aea2f7e4e6 -- [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,968 [execute] DEBUG Popen(['git', 'rev-list', '91708475415c6a0984a661b4450f40aea2f7e4e6', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,973 [execute] INFO git fetch -v origin [2022-07-12T20:30:44.014Z] 2022-07-12 20:30:43,974 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T20:30:44.586Z] 2022-07-12 20:30:44,457 [run_push] DEBUG no remote changes detected [2022-07-12T20:30:44.586Z] 2022-07-12 20:30:44,457 [execute] INFO git push origin semver [2022-07-12T20:30:44.586Z] 2022-07-12 20:30:44,457 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:30:45.531Z] 2022-07-12 20:30:45,419 [run_push] DEBUG push all version tags [2022-07-12T20:30:45.531Z] 2022-07-12 20:30:45,420 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T20:30:45.531Z] 2022-07-12 20:30:45,420 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:30:46.477Z] 2022-07-12 20:30:46,128 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-12T20:30:46.477Z] 2.2.1-dev.4 [Pipeline] } [2022-07-12T20:30:46.499Z] $ docker exec --env ******** --env ******** 8a2c1b45c772e7c859690bb4e62cf6697fb79039f69502fbdfcf47cc8d48a97f ssh-agent -k [2022-07-12T20:30:46.616Z] unset SSH_AUTH_SOCK; [2022-07-12T20:30:46.617Z] unset SSH_AGENT_PID; [2022-07-12T20:30:46.617Z] echo Agent pid 39 killed; [2022-07-12T20:30:46.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:30:46.922Z] + git semver [Pipeline] } [2022-07-12T20:30:47.227Z] $ docker stop --time=1 8a2c1b45c772e7c859690bb4e62cf6697fb79039f69502fbdfcf47cc8d48a97f [2022-07-12T20:30:48.536Z] $ docker rm -f 8a2c1b45c772e7c859690bb4e62cf6697fb79039f69502fbdfcf47cc8d48a97f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T20:30:49.066Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-07-12T20:30:49.066Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-12T20:30:49.066Z] total 16 [2022-07-12T20:30:49.066Z] drwxr-xr-x 3 root root 4096 Jul 12 20:20 . [2022-07-12T20:30:49.066Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:30 .. [2022-07-12T20:30:49.066Z] drwxr-xr-x 2 root root 4096 Jul 12 20:20 cost [2022-07-12T20:30:49.066Z] -rw-r--r-- 1 root root 81 Jul 12 20:20 cost.csv [2022-07-12T20:30:49.066Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-12T20:30:49.066Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-12T20:30:49.066Z] total 16 [2022-07-12T20:30:49.066Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:20 . [2022-07-12T20:30:49.066Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:30 .. [2022-07-12T20:30:49.066Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 20:20 cost [2022-07-12T20:30:49.066Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 12 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:49.395Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:50.257Z] ---> package-listing.sh [2022-07-12T20:30:50.257Z] ++ facter osfamily [2022-07-12T20:30:50.257Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T20:30:50.518Z] + OS_FAMILY=debian [2022-07-12T20:30:50.518Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-07-12T20:30:50.518Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T20:30:50.518Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T20:30:50.518Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T20:30:50.518Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T20:30:50.518Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-07-12T20:30:50.518Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T20:30:50.518Z] + case "${OS_FAMILY}" in [2022-07-12T20:30:50.518Z] + dpkg -l [2022-07-12T20:30:50.518Z] + grep '^ii' [2022-07-12T20:30:50.518Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T20:30:50.518Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T20:30:50.518Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T20:30:50.518Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-07-12T20:30:50.518Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-07-12T20:30:50.518Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-07-12T20:30:50.531Z] 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 [2022-07-12T20:30:50.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:51.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:30:51.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:51.461Z] prd-ubuntu20.04-docker-8c-8g-19753 does not seem to be running inside a container [2022-07-12T20:30:51.507Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T20:30:51.754Z] $ docker top 124465a19f84a7f18054eb5b2e572f36cbc94e58901b97bd31dfd04b1a014a8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:30:52.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T20:30:52.403Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T20:30:52.691Z] + ls /var/log/sa-host [2022-07-12T20:30:52.691Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:30:52.752Z] provisioning config files... [2022-07-12T20:30:52.761Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7605050192860561784tmp [Pipeline] { [Pipeline] echo [2022-07-12T20:30:52.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:53.062Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T20:30:53.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:53.401Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T20:30:53.410Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:53.696Z] ---> sudo-logs.sh [2022-07-12T20:30:53.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T20:30:53.728Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:54.012Z] ---> job-cost.sh [2022-07-12T20:30:54.012Z] lf-activate-venv: SKIPPING [2022-07-12T20:30:54.012Z] DEBUG: total: 0.2199999988079071 [2022-07-12T20:30:54.012Z] INFO: Retrieving Stack Cost... [2022-07-12T20:30:54.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:30:54.841Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T20:30:54.854Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:55.142Z] ---> logs-deploy.sh [2022-07-12T20:30:55.142Z] lf-activate-venv: SKIPPING [2022-07-12T20:30:55.142Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/33 [2022-07-12T20:30:55.142Z] INFO: archiving workspace using pattern(s): [2022-07-12T20:30:56.083Z] Archives upload complete. [2022-07-12T20:30:56.083Z] INFO: archiving logs to Nexus