Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83219317ed357fa41fa49faebd7c1604abe399ab 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-ssh10270125229599353427.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6308185299116502041.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh170058463928784115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6119831137520232421.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh2975694421942594323.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8410 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 83219317ed357fa41fa49faebd7c1604abe399ab (main) Commit message: "Merge pull request #149 from weichou1229/interface-change" > 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 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 > git rev-list --no-walk f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T07:06:41.704Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T07:06:41.763Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T07:06:41.783Z] ========================================================= [2023-04-13T07:06:41.783Z] EdgeX Global Pipelines Version Info [2023-04-13T07:06:41.783Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:06:42.884Z] ------------------- [2023-04-13T07:06:42.884Z] stable info: [2023-04-13T07:06:42.884Z] ------------------- [2023-04-13T07:06:42.884Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T07:06:42.884Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:06:42.884Z] Message: update stable to v1.0.248 [2023-04-13T07:06:43.144Z] ------------------- [2023-04-13T07:06:43.144Z] experimental info: [2023-04-13T07:06:43.144Z] ------------------- [2023-04-13T07:06:43.144Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T07:06:43.144Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:06:43.144Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T07:06:43.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-13T07:06:43.320Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-13T07:06:43.336Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T07:06:43.347Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T07:06:43.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T07:06:43.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T07:06:43.381Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T07:06:43.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T07:06:43.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T07:06:43.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T07:06:43.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T07:06:43.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-13T07:06:43.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T07:06:43.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T07:06:43.477Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:06:43.488Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:06:43.499Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:06:43.508Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:06:43.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T07:06:43.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T07:06:43.539Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T07:06:43.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T07:06:43.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T07:06:43.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T07:06:43.585Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T07:06:43.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T07:06:43.613Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T07:06:43.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-13T07:06:43.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-13T07:06:43.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-13T07:06:43.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] echo [2023-04-13T07:06:43.668Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8321931 [Pipeline] echo [2023-04-13T07:06:43.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:06:43.728Z] provisioning config files... [2023-04-13T07:06:43.741Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4299523935942761338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:06:44.042Z] ---> docker-login.sh [2023-04-13T07:06:44.042Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:06:44.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:44.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:44.303Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:44.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:44.303Z] [2023-04-13T07:06:44.303Z] Login Succeeded [2023-04-13T07:06:44.303Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:06:44.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:44.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:44.303Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:44.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:44.303Z] [2023-04-13T07:06:44.303Z] Login Succeeded [2023-04-13T07:06:44.303Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:06:44.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:44.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:44.563Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:44.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:44.563Z] [2023-04-13T07:06:44.563Z] Login Succeeded [2023-04-13T07:06:44.563Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:06:44.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:44.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:44.563Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:44.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:44.563Z] [2023-04-13T07:06:44.563Z] Login Succeeded [2023-04-13T07:06:44.563Z] docker.io [2023-04-13T07:06:44.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:44.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:44.823Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:44.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:44.823Z] [2023-04-13T07:06:44.823Z] Login Succeeded [2023-04-13T07:06:44.823Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:06:44.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T07:06:45.171Z] + git rev-list -1 --merges 83219317ed357fa41fa49faebd7c1604abe399ab~1..83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] echo [2023-04-13T07:06:45.216Z] -----------> git rev-list -1 --merges 83219317ed357fa41fa49faebd7c1604abe399ab~1..83219317ed357fa41fa49faebd7c1604abe399ab 83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:06:45.216Z] 83219317ed357fa41fa49faebd7c1604abe399ab [false] [Pipeline] sh [2023-04-13T07:06:45.501Z] + git log --format=format:%s -1 83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] echo [2023-04-13T07:06:45.516Z] ========================================================= [2023-04-13T07:06:45.516Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T07:06:45.516Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:06:45.831Z] + git log --format=format:%s -1 83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] echo [2023-04-13T07:06:45.842Z] [semverPrep] GIT_COMMIT: 83219317ed357fa41fa49faebd7c1604abe399ab, Commit Message: Merge pull request #149 from weichou1229/interface-change [Pipeline] echo [2023-04-13T07:06:45.850Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T07:06:46.179Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:06:46.179Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T07:06:46.179Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T07:06:46.179Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T07:06:46.179Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-04-13T07:06:46.179Z] tee -a /etc/ssh/ssh_known_hosts [2023-04-13T07:06:46.179Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:46.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:06:46.519Z] [2023-04-13T07:06:46.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:46.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:06:46.820Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T07:06:46.820Z] b85a868b505f: Pulling fs layer [2023-04-13T07:06:46.820Z] e2be974225ed: Pulling fs layer [2023-04-13T07:06:46.820Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T07:06:46.820Z] 988bab9f4d93: Pulling fs layer [2023-04-13T07:06:46.820Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T07:06:46.820Z] eaf3925da568: Pulling fs layer [2023-04-13T07:06:46.820Z] 988bab9f4d93: Waiting [2023-04-13T07:06:46.820Z] bab4dde63d76: Pulling fs layer [2023-04-13T07:06:46.820Z] bde34c3a00c8: Pulling fs layer [2023-04-13T07:06:46.820Z] b352a97aabf1: Pulling fs layer [2023-04-13T07:06:46.820Z] 4872d77fe225: Pulling fs layer [2023-04-13T07:06:46.820Z] 5851b861e8e6: Pulling fs layer [2023-04-13T07:06:46.820Z] eaf3925da568: Waiting [2023-04-13T07:06:46.820Z] 4872d77fe225: Waiting [2023-04-13T07:06:46.820Z] 5851b861e8e6: Waiting [2023-04-13T07:06:46.820Z] bab4dde63d76: Waiting [2023-04-13T07:06:46.820Z] b352a97aabf1: Waiting [2023-04-13T07:06:46.820Z] bde34c3a00c8: Waiting [2023-04-13T07:06:46.820Z] 1469e6f7b9e6: Waiting [2023-04-13T07:06:46.820Z] e2be974225ed: Verifying Checksum [2023-04-13T07:06:46.820Z] e2be974225ed: Download complete [2023-04-13T07:06:46.820Z] 988bab9f4d93: Verifying Checksum [2023-04-13T07:06:46.820Z] 988bab9f4d93: Download complete [2023-04-13T07:06:47.079Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T07:06:47.079Z] 339a4e72a1f5: Download complete [2023-04-13T07:06:47.080Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T07:06:47.080Z] 1469e6f7b9e6: Download complete [2023-04-13T07:06:47.080Z] eaf3925da568: Verifying Checksum [2023-04-13T07:06:47.080Z] eaf3925da568: Download complete [2023-04-13T07:06:47.080Z] bde34c3a00c8: Verifying Checksum [2023-04-13T07:06:47.080Z] bde34c3a00c8: Download complete [2023-04-13T07:06:47.080Z] b352a97aabf1: Download complete [2023-04-13T07:06:47.080Z] 5851b861e8e6: Download complete [2023-04-13T07:06:47.080Z] b85a868b505f: Verifying Checksum [2023-04-13T07:06:47.080Z] b85a868b505f: Download complete [2023-04-13T07:06:47.337Z] bab4dde63d76: Verifying Checksum [2023-04-13T07:06:47.337Z] bab4dde63d76: Download complete [2023-04-13T07:06:48.275Z] b85a868b505f: Pull complete [2023-04-13T07:06:48.534Z] e2be974225ed: Pull complete [2023-04-13T07:06:48.793Z] 339a4e72a1f5: Pull complete [2023-04-13T07:06:49.052Z] 988bab9f4d93: Pull complete [2023-04-13T07:06:49.311Z] 1469e6f7b9e6: Pull complete [2023-04-13T07:06:49.311Z] eaf3925da568: Pull complete [2023-04-13T07:06:50.688Z] bab4dde63d76: Pull complete [2023-04-13T07:06:50.948Z] bde34c3a00c8: Pull complete [2023-04-13T07:06:50.948Z] b352a97aabf1: Pull complete [2023-04-13T07:06:51.208Z] 4872d77fe225: Pull complete [2023-04-13T07:06:51.208Z] 5851b861e8e6: Pull complete [2023-04-13T07:06:51.208Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T07:06:51.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:06:51.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:06:51.304Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:06:51.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:06:52.868Z] $ docker top 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef -eo pid,comm [2023-04-13T07:06:52.942Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-13T07:06:52.942Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:06:52.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:06:52.976Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:06:53.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:06:53.091Z] $ docker exec 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef ssh-agent [2023-04-13T07:06:53.211Z] SSH_AUTH_SOCK=/tmp/ssh-iMFZCow44l83/agent.34 [2023-04-13T07:06:53.211Z] SSH_AGENT_PID=40 [2023-04-13T07:06:53.217Z] Running ssh-add (command line suppressed) [2023-04-13T07:06:53.311Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1808641445576554430.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1808641445576554430.key) [2023-04-13T07:06:53.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:06:53.633Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T07:06:53.643Z] $ docker exec --env ******** --env ******** 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef ssh-agent -k [2023-04-13T07:06:53.759Z] unset SSH_AUTH_SOCK; [2023-04-13T07:06:53.759Z] unset SSH_AGENT_PID; [2023-04-13T07:06:53.760Z] echo Agent pid 40 killed; [2023-04-13T07:06:53.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T07:06:53.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:06:53.814Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:06:53.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:06:53.916Z] $ docker exec 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef ssh-agent [2023-04-13T07:06:54.039Z] SSH_AUTH_SOCK=/tmp/ssh-uGK9yMMeA5Wx/agent.72 [2023-04-13T07:06:54.039Z] SSH_AGENT_PID=78 [2023-04-13T07:06:54.044Z] Running ssh-add (command line suppressed) [2023-04-13T07:06:54.133Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9561119390576674378.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9561119390576674378.key) [2023-04-13T07:06:54.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:06:54.443Z] + git semver init [2023-04-13T07:06:54.702Z] 2023-04-13 07:06:54,613 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T07:06:54.702Z] 2023-04-13 07:06:54,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-13T07:06:54.702Z] 2023-04-13 07:06:54,614 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-13T07:06:54.702Z] 2023-04-13 07:06:54,615 [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) [2023-04-13T07:06:55.640Z] 2023-04-13 07:06:55,522 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-04-13T07:06:55.640Z] 2023-04-13 07:06:55,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-04-13T07:06:55.640Z] 2023-04-13 07:06:55,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:06:55.640Z] 2023-04-13 07:06:55,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:06:55.640Z] 3.0.0-dev.17 [Pipeline] } [2023-04-13T07:06:55.638Z] $ docker exec --env ******** --env ******** 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef ssh-agent -k [2023-04-13T07:06:55.735Z] unset SSH_AUTH_SOCK; [2023-04-13T07:06:55.735Z] unset SSH_AGENT_PID; [2023-04-13T07:06:55.735Z] echo Agent pid 78 killed; [2023-04-13T07:06:55.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:06:56.067Z] + git semver [Pipeline] } [2023-04-13T07:06:56.328Z] $ docker stop --time=1 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef [2023-04-13T07:06:57.679Z] $ docker rm -f --volumes 7e6971e8383b2765057a709756d05df47b57feebe94fccb4a0fea6e2419d6bef [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:06:58.032Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T07:06:58.247Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T07:06:58.250Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:06:58.382Z] provisioning config files... [2023-04-13T07:06:58.391Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4360414539849519732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:06:58.686Z] ---> docker-login.sh [2023-04-13T07:06:58.686Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:06:58.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:58.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:58.686Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:58.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:58.686Z] [2023-04-13T07:06:58.686Z] Login Succeeded [2023-04-13T07:06:58.686Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:06:58.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:58.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:58.686Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:58.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:58.686Z] [2023-04-13T07:06:58.686Z] Login Succeeded [2023-04-13T07:06:58.686Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:06:58.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:58.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:58.945Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:58.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:58.945Z] [2023-04-13T07:06:58.945Z] Login Succeeded [2023-04-13T07:06:58.945Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:06:58.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:58.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:58.945Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:58.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:58.945Z] [2023-04-13T07:06:58.945Z] Login Succeeded [2023-04-13T07:06:58.945Z] docker.io [2023-04-13T07:06:58.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:06:59.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:06:59.202Z] Configure a credential helper to remove this warning. See [2023-04-13T07:06:59.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:06:59.202Z] [2023-04-13T07:06:59.202Z] Login Succeeded [2023-04-13T07:06:59.202Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:06:59.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:06:59.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:06:59.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:06:59.272Z] ========================================================= [2023-04-13T07:06:59.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T07:06:59.272Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:06:59.570Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-13T07:06:59.570Z] Sending build context to Docker daemon 16.04MB [2023-04-13T07:06:59.570Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:06:59.570Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T07:06:59.570Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T07:06:59.570Z] 63b65145d645: Pulling fs layer [2023-04-13T07:06:59.570Z] a2d21d5440eb: Pulling fs layer [2023-04-13T07:06:59.570Z] 935e6c44a52c: Pulling fs layer [2023-04-13T07:06:59.570Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T07:06:59.570Z] 30dea6a524f1: Pulling fs layer [2023-04-13T07:06:59.570Z] a2aff8979fd8: Pulling fs layer [2023-04-13T07:06:59.570Z] 6808be2612f2: Pulling fs layer [2023-04-13T07:06:59.570Z] f25807f1079a: Pulling fs layer [2023-04-13T07:06:59.570Z] 30dea6a524f1: Waiting [2023-04-13T07:06:59.570Z] a2aff8979fd8: Waiting [2023-04-13T07:06:59.570Z] 6808be2612f2: Waiting [2023-04-13T07:06:59.570Z] f25807f1079a: Waiting [2023-04-13T07:06:59.570Z] 94cc34f8dd06: Waiting [2023-04-13T07:06:59.570Z] a2d21d5440eb: Verifying Checksum [2023-04-13T07:06:59.570Z] a2d21d5440eb: Download complete [2023-04-13T07:06:59.570Z] 94cc34f8dd06: Verifying Checksum [2023-04-13T07:06:59.570Z] 94cc34f8dd06: Download complete [2023-04-13T07:06:59.831Z] 30dea6a524f1: Verifying Checksum [2023-04-13T07:06:59.831Z] 30dea6a524f1: Download complete [2023-04-13T07:06:59.831Z] 63b65145d645: Verifying Checksum [2023-04-13T07:06:59.831Z] 63b65145d645: Download complete [2023-04-13T07:06:59.831Z] a2aff8979fd8: Verifying Checksum [2023-04-13T07:06:59.831Z] a2aff8979fd8: Download complete [2023-04-13T07:06:59.831Z] 63b65145d645: Pull complete [2023-04-13T07:07:00.090Z] a2d21d5440eb: Pull complete [2023-04-13T07:07:00.090Z] f25807f1079a: Verifying Checksum [2023-04-13T07:07:00.090Z] f25807f1079a: Download complete [2023-04-13T07:07:00.349Z] 935e6c44a52c: Verifying Checksum [2023-04-13T07:07:00.349Z] 935e6c44a52c: Download complete [2023-04-13T07:07:00.608Z] 6808be2612f2: Verifying Checksum [2023-04-13T07:07:00.608Z] 6808be2612f2: Download complete [2023-04-13T07:07:03.136Z] 935e6c44a52c: Pull complete [2023-04-13T07:07:03.395Z] 94cc34f8dd06: Pull complete [2023-04-13T07:07:03.395Z] 30dea6a524f1: Pull complete [2023-04-13T07:07:03.395Z] a2aff8979fd8: Pull complete [2023-04-13T07:07:05.927Z] 6808be2612f2: Pull complete [2023-04-13T07:07:06.495Z] f25807f1079a: Pull complete [2023-04-13T07:07:06.495Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T07:07:06.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T07:07:06.495Z] ---> 3b553350e43f [2023-04-13T07:07:06.495Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:07:08.401Z] ---> Running in 36e494a8983b [2023-04-13T07:07:08.401Z] Removing intermediate container 36e494a8983b [2023-04-13T07:07:08.401Z] ---> 539f2485e413 [2023-04-13T07:07:08.401Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:07:08.401Z] ---> Running in 2b191c82b6d2 [2023-04-13T07:07:08.401Z] Removing intermediate container 2b191c82b6d2 [2023-04-13T07:07:08.401Z] ---> f88eb906d3c0 [2023-04-13T07:07:08.401Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-13T07:07:08.661Z] ---> Running in 89570578abec [2023-04-13T07:07:08.661Z] Removing intermediate container 89570578abec [2023-04-13T07:07:08.661Z] ---> 2c0fe7518574 [2023-04-13T07:07:08.661Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:07:08.661Z] ---> Running in 6be6ba9828be [2023-04-13T07:07:08.921Z] Removing intermediate container 6be6ba9828be [2023-04-13T07:07:08.921Z] ---> 7ba2fb65e892 [2023-04-13T07:07:08.921Z] Step 7/12 : WORKDIR /device-gpio [2023-04-13T07:07:08.921Z] ---> Running in 3554228c1491 [2023-04-13T07:07:08.921Z] Removing intermediate container 3554228c1491 [2023-04-13T07:07:08.921Z] ---> c795f4c6a843 [2023-04-13T07:07:08.921Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:07:08.921Z] ---> Running in ca0739a4096f [2023-04-13T07:07:09.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:07:09.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:07:09.437Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:07:09.437Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T07:07:09.437Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:07:09.437Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:07:09.696Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:07:09.696Z] OK: 269 MiB in 57 packages [2023-04-13T07:07:10.264Z] Removing intermediate container ca0739a4096f [2023-04-13T07:07:10.264Z] ---> 41bbddf2985d [2023-04-13T07:07:10.264Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T07:07:10.264Z] ---> e22d245dff99 [2023-04-13T07:07:10.264Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:07:10.264Z] ---> Running in a95574f2baa5 [2023-04-13T07:07:13.338Z] Still waiting to schedule task [2023-04-13T07:07:13.338Z] ‘prd-centos7-blackbox-4c-2g-7184’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-13T07:07:13.338Z] ‘prd-centos7-blackbox-4c-2g-7185’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-13T07:07:13.339Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8411’ is offline [2023-04-13T07:07:36.815Z] Removing intermediate container a95574f2baa5 [2023-04-13T07:07:36.815Z] ---> a6f5ae90ec45 [2023-04-13T07:07:36.815Z] Step 11/12 : COPY . . [2023-04-13T07:07:36.815Z] ---> 02446f744b61 [2023-04-13T07:07:36.815Z] Step 12/12 : RUN ${MAKE} [2023-04-13T07:07:36.815Z] ---> Running in 5ccf30d1a23f [2023-04-13T07:07:36.815Z] noop [2023-04-13T07:07:36.815Z] Removing intermediate container 5ccf30d1a23f [2023-04-13T07:07:36.815Z] ---> 60a4536af7c2 [2023-04-13T07:07:36.816Z] Successfully built 60a4536af7c2 [2023-04-13T07:07:36.816Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:07:37.134Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:07:37.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:07:37.209Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:07:37.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T07:07:37.618Z] $ docker top 0ea8b292a16cccd5d366f0b54e878102bb4becd494c03a8470ee3e08f44a3485 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:07:37.955Z] + go version [2023-04-13T07:07:37.955Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T07:07:37.965Z] $ docker stop --time=1 0ea8b292a16cccd5d366f0b54e878102bb4becd494c03a8470ee3e08f44a3485 [2023-04-13T07:07:39.234Z] $ docker rm -f --volumes 0ea8b292a16cccd5d366f0b54e878102bb4becd494c03a8470ee3e08f44a3485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:07:39.628Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:07:39.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:07:39.696Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:07:39.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T07:07:40.032Z] $ docker top cd85b4c0fb1c399edfb2d3e4c790c98479b16c00553065b4de02e19f4d9bd49e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:07:40.366Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:07:40.659Z] + make test [2023-04-13T07:07:40.659Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T07:07:44.841Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-13T07:07:54.806Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-13T07:07:54.806Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-13T07:08:01.365Z] go vet ./... [2023-04-13T07:08:05.555Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:08:05.555Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:08:05.555Z] ./bin/test-attribution-txt.sh [2023-04-13T07:08:05.555Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:08:05.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:08:05.579Z] $ docker stop --time=1 cd85b4c0fb1c399edfb2d3e4c790c98479b16c00553065b4de02e19f4d9bd49e [2023-04-13T07:08:07.690Z] $ docker rm -f --volumes cd85b4c0fb1c399edfb2d3e4c790c98479b16c00553065b4de02e19f4d9bd49e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:08:08.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:08:08.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T07:08:08.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:08:08.923Z] + ls -al . [2023-04-13T07:08:08.923Z] total 156 [2023-04-13T07:08:08.923Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:07 . [2023-04-13T07:08:08.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:06 .. [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 07:06 .dockerignore [2023-04-13T07:08:08.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:06 .git [2023-04-13T07:08:08.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:06 .github [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 07:06 .gitignore [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:06 .golangci.yml [2023-04-13T07:08:08.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:06 .semver [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 07:06 Attribution.txt [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 07:06 CHANGELOG.md [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 07:06 Dockerfile [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:06 GOVERNANCE.md [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 07:06 Jenkinsfile [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:06 LICENSE [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 07:06 Makefile [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 07:06 OWNERS.md [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 07:06 README.md [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:06 VERSION [2023-04-13T07:08:08.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:06 bin [2023-04-13T07:08:08.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:06 cmd [2023-04-13T07:08:08.923Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 13 07:07 coverage.out [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 07:06 go.mod [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 07:06 go.sum [2023-04-13T07:08:08.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:06 internal [2023-04-13T07:08:08.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:06 snap [2023-04-13T07:08:08.923Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 07:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:09.227Z] + 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=83219317ed357fa41fa49faebd7c1604abe399ab --label arch=amd64 --label version=3.0.0-dev.17 . [2023-04-13T07:08:09.227Z] Sending build context to Docker daemon 16.04MB [2023-04-13T07:08:09.227Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:08:09.227Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T07:08:09.227Z] ---> 60a4536af7c2 [2023-04-13T07:08:09.227Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:08:09.486Z] ---> Running in fe183a7ee83d [2023-04-13T07:08:09.486Z] Removing intermediate container fe183a7ee83d [2023-04-13T07:08:09.486Z] ---> cfd8dbb33f13 [2023-04-13T07:08:09.486Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:08:09.486Z] ---> Running in a36d56c9ab27 [2023-04-13T07:08:09.746Z] Removing intermediate container a36d56c9ab27 [2023-04-13T07:08:09.746Z] ---> 419c0a9c6db0 [2023-04-13T07:08:09.746Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-13T07:08:09.746Z] ---> Running in cca4f8c5065d [2023-04-13T07:08:09.746Z] Removing intermediate container cca4f8c5065d [2023-04-13T07:08:09.746Z] ---> 64d0f7011229 [2023-04-13T07:08:09.746Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:08:09.746Z] ---> Running in 2b8709ed3322 [2023-04-13T07:08:10.007Z] Removing intermediate container 2b8709ed3322 [2023-04-13T07:08:10.007Z] ---> e13daa73291d [2023-04-13T07:08:10.007Z] Step 7/25 : WORKDIR /device-gpio [2023-04-13T07:08:10.007Z] ---> Running in 54eb9f5efab7 [2023-04-13T07:08:10.007Z] Removing intermediate container 54eb9f5efab7 [2023-04-13T07:08:10.007Z] ---> d4f1ba12eb05 [2023-04-13T07:08:10.007Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:08:10.007Z] ---> Running in 9bc6d1a7dd90 [2023-04-13T07:08:10.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:08:10.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:08:10.786Z] OK: 269 MiB in 57 packages [2023-04-13T07:08:11.354Z] Removing intermediate container 9bc6d1a7dd90 [2023-04-13T07:08:11.354Z] ---> c140a3447e8b [2023-04-13T07:08:11.354Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T07:08:11.354Z] ---> 7a0f84a3ce7c [2023-04-13T07:08:11.354Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:08:11.354Z] ---> Running in c7d292b126f6 [2023-04-13T07:08:12.292Z] Removing intermediate container c7d292b126f6 [2023-04-13T07:08:12.292Z] ---> bee0481ecb71 [2023-04-13T07:08:12.292Z] Step 11/25 : COPY . . [2023-04-13T07:08:12.861Z] ---> 0c92488c99bb [2023-04-13T07:08:12.861Z] Step 12/25 : RUN ${MAKE} [2023-04-13T07:08:12.861Z] ---> Running in 0d03a3fcc5dc [2023-04-13T07:08:13.120Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-13T07:08:31.196Z] Removing intermediate container 0d03a3fcc5dc [2023-04-13T07:08:31.196Z] ---> 5f12e758bd2e [2023-04-13T07:08:31.196Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T07:08:31.196Z] 3.17: Pulling from library/alpine [2023-04-13T07:08:31.196Z] f56be85fc22e: Pulling fs layer [2023-04-13T07:08:31.196Z] f56be85fc22e: Verifying Checksum [2023-04-13T07:08:31.196Z] f56be85fc22e: Download complete [2023-04-13T07:08:31.196Z] f56be85fc22e: Pull complete [2023-04-13T07:08:31.196Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:08:31.196Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:08:31.196Z] ---> 9ed4aefc74f6 [2023-04-13T07:08:31.196Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-13T07:08:31.196Z] ---> Running in 391e8b246a11 [2023-04-13T07:08:31.196Z] Removing intermediate container 391e8b246a11 [2023-04-13T07:08:31.196Z] ---> 3c070485df65 [2023-04-13T07:08:31.196Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-13T07:08:31.196Z] ---> Running in a85e24a89b7e [2023-04-13T07:08:31.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:08:31.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:08:31.455Z] OK: 7 MiB in 15 packages [2023-04-13T07:08:31.714Z] Removing intermediate container a85e24a89b7e [2023-04-13T07:08:31.714Z] ---> c72bf04aa871 [2023-04-13T07:08:31.714Z] Step 16/25 : WORKDIR / [2023-04-13T07:08:31.714Z] ---> Running in 48e07bf669ee [2023-04-13T07:08:31.973Z] Removing intermediate container 48e07bf669ee [2023-04-13T07:08:31.973Z] ---> 439562995c86 [2023-04-13T07:08:31.973Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-13T07:08:31.973Z] ---> 8c9ebb48c753 [2023-04-13T07:08:31.973Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-13T07:08:32.233Z] ---> ddfd0a43357d [2023-04-13T07:08:32.233Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-13T07:08:32.530Z] ---> f36357106541 [2023-04-13T07:08:32.530Z] Step 20/25 : EXPOSE 59910 [2023-04-13T07:08:32.804Z] ---> Running in 5ca6f56dd0d0 [2023-04-13T07:08:32.804Z] Removing intermediate container 5ca6f56dd0d0 [2023-04-13T07:08:32.804Z] ---> c9268ac49eeb [2023-04-13T07:08:32.804Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-13T07:08:32.804Z] ---> Running in 9ce7769b2f42 [2023-04-13T07:08:32.804Z] Removing intermediate container 9ce7769b2f42 [2023-04-13T07:08:32.804Z] ---> e41557e68c5a [2023-04-13T07:08:32.804Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T07:08:32.804Z] ---> Running in 466f96187119 [2023-04-13T07:08:33.077Z] Removing intermediate container 466f96187119 [2023-04-13T07:08:33.077Z] ---> 9c76ad160333 [2023-04-13T07:08:33.077Z] Step 23/25 : LABEL arch=amd64 [2023-04-13T07:08:33.077Z] ---> Running in e6ff0dee69f0 [2023-04-13T07:08:33.077Z] Removing intermediate container e6ff0dee69f0 [2023-04-13T07:08:33.077Z] ---> 85d9d9dda52e [2023-04-13T07:08:33.077Z] Step 24/25 : LABEL git_sha=83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:08:33.077Z] ---> Running in 5d9919daae1f [2023-04-13T07:08:33.345Z] Removing intermediate container 5d9919daae1f [2023-04-13T07:08:33.345Z] ---> 8687ad367cd8 [2023-04-13T07:08:33.345Z] Step 25/25 : LABEL version=3.0.0-dev.17 [2023-04-13T07:08:33.345Z] ---> Running in bad72d1660cb [2023-04-13T07:08:33.345Z] Removing intermediate container bad72d1660cb [2023-04-13T07:08:33.345Z] ---> a0c76bfd9bfe [2023-04-13T07:08:33.345Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:08:33.345Z] Successfully built a0c76bfd9bfe [2023-04-13T07:08:33.345Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:08:33.433Z] provisioning config files... [2023-04-13T07:08:33.453Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12059648076127294262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:08:33.785Z] ---> docker-login.sh [2023-04-13T07:08:33.785Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:08:33.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:33.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:33.785Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:33.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:33.785Z] [2023-04-13T07:08:33.785Z] Login Succeeded [2023-04-13T07:08:33.785Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:08:33.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:33.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:33.785Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:33.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:33.785Z] [2023-04-13T07:08:33.785Z] Login Succeeded [2023-04-13T07:08:33.785Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:08:34.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:34.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:34.046Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:34.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:34.046Z] [2023-04-13T07:08:34.046Z] Login Succeeded [2023-04-13T07:08:34.046Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:08:34.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:34.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:34.046Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:34.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:34.046Z] [2023-04-13T07:08:34.046Z] Login Succeeded [2023-04-13T07:08:34.046Z] docker.io [2023-04-13T07:08:34.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:08:34.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:08:34.305Z] Configure a credential helper to remove this warning. See [2023-04-13T07:08:34.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:08:34.305Z] [2023-04-13T07:08:34.305Z] Login Succeeded [2023-04-13T07:08:34.305Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:08:34.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:08:34.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:08:34.360Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-04-13T07:08:34.360Z] 83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:08:34.360Z] latest [2023-04-13T07:08:34.360Z] 3.0.0-dev.17 [2023-04-13T07:08:34.360Z] 83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:08:34.360Z] main [2023-04-13T07:08:34.360Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:34.678Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:34.981Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:08:34.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-13T07:08:34.981Z] 4507b458e5d4: Preparing [2023-04-13T07:08:34.981Z] 596f133ecaa1: Preparing [2023-04-13T07:08:34.981Z] b4a0b383cfef: Preparing [2023-04-13T07:08:34.981Z] 7cdda2ab04bc: Preparing [2023-04-13T07:08:34.981Z] f1417ff83b31: Preparing [2023-04-13T07:08:34.981Z] f1417ff83b31: Layer already exists [2023-04-13T07:08:34.981Z] b4a0b383cfef: Pushed [2023-04-13T07:08:34.981Z] 596f133ecaa1: Pushed [2023-04-13T07:08:34.981Z] 7cdda2ab04bc: Pushed [2023-04-13T07:08:37.509Z] 4507b458e5d4: Pushed [2023-04-13T07:08:37.509Z] 83219317ed357fa41fa49faebd7c1604abe399ab: digest: sha256:dd016d3dc648c5f1ceafef6bfcb84719a8d5eac32ae380f69fc48102e25e5c95 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:37.830Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:38.137Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-13T07:08:38.137Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-13T07:08:38.137Z] 4507b458e5d4: Preparing [2023-04-13T07:08:38.137Z] 596f133ecaa1: Preparing [2023-04-13T07:08:38.137Z] b4a0b383cfef: Preparing [2023-04-13T07:08:38.137Z] 7cdda2ab04bc: Preparing [2023-04-13T07:08:38.137Z] f1417ff83b31: Preparing [2023-04-13T07:08:38.137Z] 596f133ecaa1: Layer already exists [2023-04-13T07:08:38.137Z] f1417ff83b31: Layer already exists [2023-04-13T07:08:38.137Z] 7cdda2ab04bc: Layer already exists [2023-04-13T07:08:38.137Z] b4a0b383cfef: Layer already exists [2023-04-13T07:08:38.137Z] 4507b458e5d4: Layer already exists [2023-04-13T07:08:38.137Z] latest: digest: sha256:dd016d3dc648c5f1ceafef6bfcb84719a8d5eac32ae380f69fc48102e25e5c95 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:38.438Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:38.742Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.17 [2023-04-13T07:08:38.742Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-13T07:08:38.742Z] 4507b458e5d4: Preparing [2023-04-13T07:08:38.742Z] 596f133ecaa1: Preparing [2023-04-13T07:08:38.742Z] b4a0b383cfef: Preparing [2023-04-13T07:08:38.742Z] 7cdda2ab04bc: Preparing [2023-04-13T07:08:38.742Z] f1417ff83b31: Preparing [2023-04-13T07:08:38.742Z] 7cdda2ab04bc: Layer already exists [2023-04-13T07:08:38.742Z] 4507b458e5d4: Layer already exists [2023-04-13T07:08:38.742Z] b4a0b383cfef: Layer already exists [2023-04-13T07:08:38.742Z] f1417ff83b31: Layer already exists [2023-04-13T07:08:38.742Z] 596f133ecaa1: Layer already exists [2023-04-13T07:08:38.742Z] 3.0.0-dev.17: digest: sha256:dd016d3dc648c5f1ceafef6bfcb84719a8d5eac32ae380f69fc48102e25e5c95 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:39.050Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:39.353Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:08:39.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-13T07:08:39.353Z] 4507b458e5d4: Preparing [2023-04-13T07:08:39.353Z] 596f133ecaa1: Preparing [2023-04-13T07:08:39.353Z] b4a0b383cfef: Preparing [2023-04-13T07:08:39.353Z] 7cdda2ab04bc: Preparing [2023-04-13T07:08:39.353Z] f1417ff83b31: Preparing [2023-04-13T07:08:39.353Z] 596f133ecaa1: Layer already exists [2023-04-13T07:08:39.353Z] 7cdda2ab04bc: Layer already exists [2023-04-13T07:08:39.353Z] 4507b458e5d4: Layer already exists [2023-04-13T07:08:39.353Z] b4a0b383cfef: Layer already exists [2023-04-13T07:08:39.353Z] f1417ff83b31: Layer already exists [2023-04-13T07:08:39.353Z] 83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17: digest: sha256:dd016d3dc648c5f1ceafef6bfcb84719a8d5eac32ae380f69fc48102e25e5c95 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:39.670Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:39.972Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-04-13T07:08:39.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-13T07:08:39.972Z] 4507b458e5d4: Preparing [2023-04-13T07:08:39.972Z] 596f133ecaa1: Preparing [2023-04-13T07:08:39.972Z] b4a0b383cfef: Preparing [2023-04-13T07:08:39.972Z] 7cdda2ab04bc: Preparing [2023-04-13T07:08:39.972Z] f1417ff83b31: Preparing [2023-04-13T07:08:39.972Z] f1417ff83b31: Layer already exists [2023-04-13T07:08:39.972Z] 7cdda2ab04bc: Layer already exists [2023-04-13T07:08:39.972Z] 596f133ecaa1: Layer already exists [2023-04-13T07:08:39.972Z] b4a0b383cfef: Layer already exists [2023-04-13T07:08:39.972Z] 4507b458e5d4: Layer already exists [2023-04-13T07:08:39.972Z] main: digest: sha256:dd016d3dc648c5f1ceafef6bfcb84719a8d5eac32ae380f69fc48102e25e5c95 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:08:40.019Z] ===================================================== [Pipeline] echo [2023-04-13T07:08:40.028Z] taggedImages: [2023-04-13T07:08:40.028Z] - nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:08:40.028Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-13T07:08:40.028Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.17 [2023-04-13T07:08:40.028Z] - nexus3.edgexfoundry.org:10004/device-gpio:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:08:40.028Z] - 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 [2023-04-13T07:08:40.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:08:40.407Z] [2023-04-13T07:08:40.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:08:40.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:08:40.708Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T07:08:40.708Z] 5eb5b503b376: Pulling fs layer [2023-04-13T07:08:40.708Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T07:08:40.708Z] ec43610c2a17: Pulling fs layer [2023-04-13T07:08:40.708Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T07:08:40.708Z] 33b1e0a273af: Pulling fs layer [2023-04-13T07:08:40.708Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T07:08:40.708Z] 2f39f015ded8: Pulling fs layer [2023-04-13T07:08:40.708Z] 33b1e0a273af: Waiting [2023-04-13T07:08:40.708Z] 2f39f015ded8: Waiting [2023-04-13T07:08:40.708Z] 5d3b04190fa2: Waiting [2023-04-13T07:08:40.708Z] 3a2ae6a8a46f: Waiting [2023-04-13T07:08:40.708Z] 5c69ac0246d0: Download complete [2023-04-13T07:08:40.708Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T07:08:40.708Z] 3a2ae6a8a46f: Download complete [2023-04-13T07:08:40.708Z] 33b1e0a273af: Verifying Checksum [2023-04-13T07:08:40.708Z] 33b1e0a273af: Download complete [2023-04-13T07:08:40.708Z] ec43610c2a17: Verifying Checksum [2023-04-13T07:08:40.708Z] ec43610c2a17: Download complete [2023-04-13T07:08:40.708Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T07:08:40.708Z] 5d3b04190fa2: Download complete [2023-04-13T07:08:40.966Z] 5eb5b503b376: Verifying Checksum [2023-04-13T07:08:40.966Z] 5eb5b503b376: Download complete [2023-04-13T07:08:41.533Z] 2f39f015ded8: Download complete [2023-04-13T07:08:42.100Z] 5eb5b503b376: Pull complete [2023-04-13T07:08:42.100Z] 5c69ac0246d0: Pull complete [2023-04-13T07:08:42.665Z] ec43610c2a17: Pull complete [2023-04-13T07:08:42.665Z] 3a2ae6a8a46f: Pull complete [2023-04-13T07:08:42.922Z] 33b1e0a273af: Pull complete [2023-04-13T07:08:42.922Z] 5d3b04190fa2: Pull complete [2023-04-13T07:08:47.110Z] 2f39f015ded8: Pull complete [2023-04-13T07:08:47.110Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T07:08:47.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:08:47.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:08:47.192Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:08:47.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:08:49.223Z] $ docker top 9776cf804aada18622ce53f03a17da78b0672a29aaf50a6392c998d3b1f8594e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:08:49.596Z] ---> job-cost.sh [2023-04-13T07:08:49.596Z] lf-activate-venv: SKIPPING [2023-04-13T07:08:49.596Z] INFO: No Stack... [2023-04-13T07:08:50.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:08:50.423Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:08:50.707Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-04-13T07:08:50.707Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:08:50.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [2023-04-13T07:08:50.725Z] Resource [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] did not exist. Created. [2023-04-13T07:08:50.725Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:08:51.025Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T07:08:51.055Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:08:51.061Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:08:51.082Z] $ docker stop --time=1 9776cf804aada18622ce53f03a17da78b0672a29aaf50a6392c998d3b1f8594e [2023-04-13T07:08:52.276Z] $ docker rm -f --volumes 9776cf804aada18622ce53f03a17da78b0672a29aaf50a6392c998d3b1f8594e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T07:09:34.963Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8414 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-04-13T07:09:34.976Z] Running in /w/workspace/device-gpio/70 [Pipeline] { [Pipeline] checkout [2023-04-13T07:09:35.009Z] The recommended git tool is: git [2023-04-13T07:09:41.271Z] using credential edgex-jenkins-ssh [2023-04-13T07:09:41.292Z] Cloning the remote Git repository [2023-04-13T07:09:41.348Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-13T07:09:41.455Z] > git init /w/workspace/device-gpio/70 # timeout=10 [2023-04-13T07:09:41.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-13T07:09:41.623Z] > git --version # timeout=10 [2023-04-13T07:09:41.645Z] > git --version # 'git version 2.25.1' [2023-04-13T07:09:41.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T07:09:41.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:09:43.435Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-13T07:09:43.462Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:09:44.481Z] Avoid second fetch [2023-04-13T07:09:44.481Z] Checking out Revision 83219317ed357fa41fa49faebd7c1604abe399ab (main) [2023-04-13T07:09:45.081Z] Commit message: "Merge pull request #149 from weichou1229/interface-change" [2023-04-13T07:09:44.500Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T07:09:44.576Z] > git checkout -f 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:09:46.073Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T07:09:46.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:09:46.073Z] Dload Upload Total Spent Left Speed [2023-04-13T07:09:46.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-04-13T07:09:46.687Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T07:09:47.029Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-04-13T07:09:47.029Z] [2023-04-13T07:09:47.029Z] { [2023-04-13T07:09:47.029Z] "registry-mirrors": [ [2023-04-13T07:09:47.029Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T07:09:47.029Z] ], [2023-04-13T07:09:47.029Z] "bip": "10.250.0.254/24", [2023-04-13T07:09:47.029Z] "hosts": [ [2023-04-13T07:09:47.029Z] "tcp://0.0.0.0:5555", [2023-04-13T07:09:47.029Z] "unix:///var/run/docker.sock" [2023-04-13T07:09:47.029Z] ], [2023-04-13T07:09:47.029Z] "mtu": 1458, [2023-04-13T07:09:47.029Z] "selinux-enabled": true, [2023-04-13T07:09:47.029Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T07:09:47.029Z] } [Pipeline] sh [2023-04-13T07:09:47.369Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T07:09:47.712Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:10:06.013Z] provisioning config files... [2023-04-13T07:10:06.043Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/70@tmp/config5956584315113424933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:10:06.410Z] ---> docker-login.sh [2023-04-13T07:10:06.410Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:10:07.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:10:07.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:10:07.007Z] Configure a credential helper to remove this warning. See [2023-04-13T07:10:07.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:10:07.007Z] [2023-04-13T07:10:07.007Z] Login Succeeded [2023-04-13T07:10:07.007Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:10:07.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:10:07.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:10:07.561Z] Configure a credential helper to remove this warning. See [2023-04-13T07:10:07.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:10:07.561Z] [2023-04-13T07:10:07.561Z] Login Succeeded [2023-04-13T07:10:07.561Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:10:07.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:10:07.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:10:07.834Z] Configure a credential helper to remove this warning. See [2023-04-13T07:10:07.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:10:07.834Z] [2023-04-13T07:10:07.834Z] Login Succeeded [2023-04-13T07:10:07.834Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:10:08.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:10:08.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:10:08.387Z] Configure a credential helper to remove this warning. See [2023-04-13T07:10:08.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:10:08.387Z] [2023-04-13T07:10:08.387Z] Login Succeeded [2023-04-13T07:10:08.387Z] docker.io [2023-04-13T07:10:08.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:10:08.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:10:08.927Z] Configure a credential helper to remove this warning. See [2023-04-13T07:10:08.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:10:08.927Z] [2023-04-13T07:10:08.927Z] Login Succeeded [2023-04-13T07:10:08.927Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:10:08.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:10:09.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:10:09.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:10:09.246Z] ========================================================= [2023-04-13T07:10:09.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T07:10:09.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:10:09.582Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-13T07:10:09.852Z] Sending build context to Docker daemon 8.101MB [2023-04-13T07:10:09.852Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:10:09.852Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T07:10:10.124Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T07:10:10.124Z] af6eaf76a39c: Pulling fs layer [2023-04-13T07:10:10.124Z] 55522c791124: Pulling fs layer [2023-04-13T07:10:10.124Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T07:10:10.124Z] 169dfbe0d373: Pulling fs layer [2023-04-13T07:10:10.124Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T07:10:10.124Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T07:10:10.124Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T07:10:10.124Z] 169dfbe0d373: Waiting [2023-04-13T07:10:10.124Z] e1ff8fa3b103: Waiting [2023-04-13T07:10:10.124Z] 5abe8eddf0d5: Waiting [2023-04-13T07:10:10.124Z] 52ebb69f0ebf: Waiting [2023-04-13T07:10:10.124Z] 55522c791124: Verifying Checksum [2023-04-13T07:10:10.124Z] 55522c791124: Download complete [2023-04-13T07:10:10.124Z] 169dfbe0d373: Verifying Checksum [2023-04-13T07:10:10.124Z] 169dfbe0d373: Download complete [2023-04-13T07:10:10.124Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T07:10:10.124Z] e1ff8fa3b103: Download complete [2023-04-13T07:10:10.124Z] af6eaf76a39c: Verifying Checksum [2023-04-13T07:10:11.549Z] 5abe8eddf0d5: Verifying Checksum [2023-04-13T07:10:11.549Z] 5abe8eddf0d5: Download complete [2023-04-13T07:10:11.549Z] af6eaf76a39c: Pull complete [2023-04-13T07:10:12.164Z] 55522c791124: Pull complete [2023-04-13T07:10:13.146Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T07:10:13.146Z] ce5c4a1c91eb: Download complete [2023-04-13T07:10:13.146Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T07:10:13.146Z] 52ebb69f0ebf: Download complete [2023-04-13T07:10:25.506Z] ce5c4a1c91eb: Pull complete [2023-04-13T07:10:25.506Z] 169dfbe0d373: Pull complete [2023-04-13T07:10:25.506Z] e1ff8fa3b103: Pull complete [2023-04-13T07:10:30.876Z] 52ebb69f0ebf: Pull complete [2023-04-13T07:10:32.310Z] 5abe8eddf0d5: Pull complete [2023-04-13T07:10:32.310Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T07:10:32.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T07:10:32.310Z] ---> 6cb57ee374ae [2023-04-13T07:10:32.310Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:10:34.259Z] ---> Running in a841594fd6f2 [2023-04-13T07:10:34.259Z] Removing intermediate container a841594fd6f2 [2023-04-13T07:10:34.259Z] ---> 2edf196818e5 [2023-04-13T07:10:34.259Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:10:34.547Z] ---> Running in 6e8176f83d51 [2023-04-13T07:10:34.818Z] Removing intermediate container 6e8176f83d51 [2023-04-13T07:10:34.818Z] ---> 67befcdf5157 [2023-04-13T07:10:34.818Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-13T07:10:34.818Z] ---> Running in 9e2428bc403e [2023-04-13T07:10:35.096Z] Removing intermediate container 9e2428bc403e [2023-04-13T07:10:35.096Z] ---> cb189c4c0ff2 [2023-04-13T07:10:35.096Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:10:35.361Z] ---> Running in b9ece5e40253 [2023-04-13T07:10:35.627Z] Removing intermediate container b9ece5e40253 [2023-04-13T07:10:35.627Z] ---> 97b1a2d51936 [2023-04-13T07:10:35.627Z] Step 7/12 : WORKDIR /device-gpio [2023-04-13T07:10:35.905Z] ---> Running in 707a742acb87 [2023-04-13T07:10:36.173Z] Removing intermediate container 707a742acb87 [2023-04-13T07:10:36.173Z] ---> d8fdb436d150 [2023-04-13T07:10:36.173Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:10:36.442Z] ---> Running in 4695cbbed52d [2023-04-13T07:10:37.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:10:38.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:10:39.413Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:10:39.413Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T07:10:39.413Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:10:39.413Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:10:39.413Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:10:39.682Z] OK: 268 MiB in 57 packages [2023-04-13T07:10:41.648Z] Removing intermediate container 4695cbbed52d [2023-04-13T07:10:41.648Z] ---> d14a0d480212 [2023-04-13T07:10:41.648Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T07:10:41.917Z] ---> 4f13d5710d2e [2023-04-13T07:10:41.917Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:10:41.917Z] ---> Running in e92ac51e2eff [2023-04-13T07:11:49.831Z] Removing intermediate container e92ac51e2eff [2023-04-13T07:11:49.831Z] ---> 605121759929 [2023-04-13T07:11:49.831Z] Step 11/12 : COPY . . [2023-04-13T07:11:49.831Z] ---> 7d5c52519092 [2023-04-13T07:11:49.831Z] Step 12/12 : RUN ${MAKE} [2023-04-13T07:11:49.831Z] ---> Running in d25e056f8256 [2023-04-13T07:11:49.831Z] noop [2023-04-13T07:11:49.831Z] Removing intermediate container d25e056f8256 [2023-04-13T07:11:49.831Z] ---> 7f5206cfde3c [2023-04-13T07:11:49.831Z] Successfully built 7f5206cfde3c [2023-04-13T07:11:49.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:11:50.179Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:11:50.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:11:50.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container [2023-04-13T07:11:50.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/70 -v /w/workspace/device-gpio/70:/w/workspace/device-gpio/70:rw,z -v /w/workspace/device-gpio/70@tmp:/w/workspace/device-gpio/70@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 [2023-04-13T07:11:51.980Z] $ docker top d1941e9da3bca6110f3bf44968d69b81f6984ec6262e34237953c15147f02664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:11:52.869Z] + go version [2023-04-13T07:11:52.869Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T07:11:52.893Z] $ docker stop --time=1 d1941e9da3bca6110f3bf44968d69b81f6984ec6262e34237953c15147f02664 [2023-04-13T07:11:54.604Z] $ docker rm -f --volumes d1941e9da3bca6110f3bf44968d69b81f6984ec6262e34237953c15147f02664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:11:55.203Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:11:55.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:11:55.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container [2023-04-13T07:11:55.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/70 -v /w/workspace/device-gpio/70:/w/workspace/device-gpio/70:rw,z -v /w/workspace/device-gpio/70@tmp:/w/workspace/device-gpio/70@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 [2023-04-13T07:11:56.790Z] $ docker top 18f822b032ab0419f57638389afae9aff8d2f8c46f19b0b4d6890d3973d9353d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:11:57.640Z] + git config --global --add safe.directory /w/workspace/device-gpio/70 [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:11:58.302Z] + make test [2023-04-13T07:11:58.303Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T07:12:37.243Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-13T07:14:59.020Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-13T07:14:59.020Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-13T07:14:59.020Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T07:14:59.020Z] go vet ./... [2023-04-13T07:15:31.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:15:31.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:15:31.299Z] ./bin/test-attribution-txt.sh [2023-04-13T07:15:31.299Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:15:31.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:15:31.329Z] $ docker stop --time=1 18f822b032ab0419f57638389afae9aff8d2f8c46f19b0b4d6890d3973d9353d [2023-04-13T07:15:35.791Z] $ docker rm -f --volumes 18f822b032ab0419f57638389afae9aff8d2f8c46f19b0b4d6890d3973d9353d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:15:37.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:15:37.029Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T07:15:37.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:15:37.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:15:38.271Z] + ls -al . [2023-04-13T07:15:38.271Z] total 152 [2023-04-13T07:15:38.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:12 . [2023-04-13T07:15:38.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:09 .. [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 07:09 .dockerignore [2023-04-13T07:15:38.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:09 .git [2023-04-13T07:15:38.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 .github [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 07:09 .gitignore [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:09 .golangci.yml [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 07:09 Attribution.txt [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 07:09 CHANGELOG.md [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 07:09 Dockerfile [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:09 GOVERNANCE.md [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 07:09 Jenkinsfile [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:09 LICENSE [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 07:09 Makefile [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 07:09 OWNERS.md [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 07:09 README.md [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:06 VERSION [2023-04-13T07:15:38.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:09 bin [2023-04-13T07:15:38.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 cmd [2023-04-13T07:15:38.271Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 13 07:12 coverage.out [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 07:09 go.mod [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 07:09 go.sum [2023-04-13T07:15:38.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:09 internal [2023-04-13T07:15:38.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:09 snap [2023-04-13T07:15:38.271Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 07:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:15:38.633Z] + 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=83219317ed357fa41fa49faebd7c1604abe399ab --label arch=arm64 --label version=3.0.0-dev.17 . [2023-04-13T07:15:38.904Z] Sending build context to Docker daemon 8.102MB [2023-04-13T07:15:38.904Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:15:38.904Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-13T07:15:38.904Z] ---> 7f5206cfde3c [2023-04-13T07:15:38.904Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:15:39.180Z] ---> Running in 5f928e69f7c9 [2023-04-13T07:15:39.449Z] Removing intermediate container 5f928e69f7c9 [2023-04-13T07:15:39.449Z] ---> f922c1acdc25 [2023-04-13T07:15:39.449Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:15:39.719Z] ---> Running in 13e68a562e0d [2023-04-13T07:15:39.988Z] Removing intermediate container 13e68a562e0d [2023-04-13T07:15:39.988Z] ---> c8d0da93e1e4 [2023-04-13T07:15:39.988Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-13T07:15:39.988Z] ---> Running in 177541966f1c [2023-04-13T07:15:40.257Z] Removing intermediate container 177541966f1c [2023-04-13T07:15:40.257Z] ---> 500a719fcb86 [2023-04-13T07:15:40.257Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:15:40.526Z] ---> Running in c9ea0076c551 [2023-04-13T07:15:40.795Z] Removing intermediate container c9ea0076c551 [2023-04-13T07:15:40.795Z] ---> 978f7f0ee07e [2023-04-13T07:15:40.795Z] Step 7/25 : WORKDIR /device-gpio [2023-04-13T07:15:40.795Z] ---> Running in 53508b397868 [2023-04-13T07:15:41.064Z] Removing intermediate container 53508b397868 [2023-04-13T07:15:41.064Z] ---> e1914cec65c9 [2023-04-13T07:15:41.064Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:15:41.335Z] ---> Running in b096410f3d6b [2023-04-13T07:15:42.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:15:43.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:15:44.683Z] OK: 268 MiB in 57 packages [2023-04-13T07:15:47.286Z] Removing intermediate container b096410f3d6b [2023-04-13T07:15:47.286Z] ---> 7cfa8cb997bf [2023-04-13T07:15:47.286Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-13T07:15:47.883Z] ---> 108a2c767c7a [2023-04-13T07:15:47.883Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:15:47.883Z] ---> Running in aadf236bb875 [2023-04-13T07:15:51.252Z] Removing intermediate container aadf236bb875 [2023-04-13T07:15:51.252Z] ---> 668d1d320982 [2023-04-13T07:15:51.252Z] Step 11/25 : COPY . . [2023-04-13T07:15:51.843Z] ---> 1e936efad14a [2023-04-13T07:15:51.843Z] Step 12/25 : RUN ${MAKE} [2023-04-13T07:15:52.114Z] ---> Running in e5d707a2c6a5 [2023-04-13T07:15:53.087Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-13T07:18:29.879Z] Removing intermediate container e5d707a2c6a5 [2023-04-13T07:18:29.879Z] ---> c368d330f8ec [2023-04-13T07:18:29.879Z] Step 13/25 : FROM alpine:3.17 [2023-04-13T07:18:29.879Z] 3.17: Pulling from library/alpine [2023-04-13T07:18:29.879Z] c41833b44d91: Pulling fs layer [2023-04-13T07:18:29.879Z] c41833b44d91: Verifying Checksum [2023-04-13T07:18:29.879Z] c41833b44d91: Download complete [2023-04-13T07:18:29.879Z] c41833b44d91: Pull complete [2023-04-13T07:18:29.879Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:18:29.879Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:18:29.879Z] ---> 51e60588ff2c [2023-04-13T07:18:29.879Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-13T07:18:29.879Z] ---> Running in 5606ddfdb4a8 [2023-04-13T07:18:29.879Z] Removing intermediate container 5606ddfdb4a8 [2023-04-13T07:18:29.879Z] ---> 847ba87fe509 [2023-04-13T07:18:29.879Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-13T07:18:29.879Z] ---> Running in 6f2c29c32f8d [2023-04-13T07:18:29.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:18:29.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:18:29.879Z] OK: 7 MiB in 15 packages [2023-04-13T07:18:29.879Z] Removing intermediate container 6f2c29c32f8d [2023-04-13T07:18:29.879Z] ---> 6e6e4a37f3a9 [2023-04-13T07:18:29.879Z] Step 16/25 : WORKDIR / [2023-04-13T07:18:29.879Z] ---> Running in 1c7c2162bc6c [2023-04-13T07:18:29.879Z] Removing intermediate container 1c7c2162bc6c [2023-04-13T07:18:29.879Z] ---> 6e424bd5ad6c [2023-04-13T07:18:29.879Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-13T07:18:29.879Z] ---> 30240af7a499 [2023-04-13T07:18:29.879Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-13T07:18:29.879Z] ---> 22aca414748e [2023-04-13T07:18:29.879Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-13T07:18:29.879Z] ---> d62c5b75a55f [2023-04-13T07:18:29.879Z] Step 20/25 : EXPOSE 59910 [2023-04-13T07:18:30.145Z] ---> Running in f6c96cb53d11 [2023-04-13T07:18:30.413Z] Removing intermediate container f6c96cb53d11 [2023-04-13T07:18:30.413Z] ---> b2b4f75fde68 [2023-04-13T07:18:30.413Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-13T07:18:30.413Z] ---> Running in 39758f680450 [2023-04-13T07:18:30.681Z] Removing intermediate container 39758f680450 [2023-04-13T07:18:30.681Z] ---> 3887b5c150a1 [2023-04-13T07:18:30.681Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-13T07:18:30.950Z] ---> Running in 1cd2717af7bf [2023-04-13T07:18:31.218Z] Removing intermediate container 1cd2717af7bf [2023-04-13T07:18:31.218Z] ---> 693077ff5185 [2023-04-13T07:18:31.218Z] Step 23/25 : LABEL arch=arm64 [2023-04-13T07:18:31.218Z] ---> Running in 02671e31b243 [2023-04-13T07:18:31.491Z] Removing intermediate container 02671e31b243 [2023-04-13T07:18:31.491Z] ---> 325b40872277 [2023-04-13T07:18:31.491Z] Step 24/25 : LABEL git_sha=83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:18:31.491Z] ---> Running in 67f56fb50bc0 [2023-04-13T07:18:31.769Z] Removing intermediate container 67f56fb50bc0 [2023-04-13T07:18:31.769Z] ---> ee2b4c1311ca [2023-04-13T07:18:31.769Z] Step 25/25 : LABEL version=3.0.0-dev.17 [2023-04-13T07:18:32.036Z] ---> Running in 620d0710d94c [2023-04-13T07:18:32.305Z] Removing intermediate container 620d0710d94c [2023-04-13T07:18:32.305Z] ---> af639e827899 [2023-04-13T07:18:32.305Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:18:32.305Z] Successfully built af639e827899 [2023-04-13T07:18:32.305Z] 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 [2023-04-13T07:18:32.407Z] provisioning config files... [2023-04-13T07:18:32.425Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/70@tmp/config17452370008605654478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:18:32.774Z] ---> docker-login.sh [2023-04-13T07:18:32.774Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:18:33.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:18:33.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:18:33.045Z] Configure a credential helper to remove this warning. See [2023-04-13T07:18:33.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:18:33.045Z] [2023-04-13T07:18:33.045Z] Login Succeeded [2023-04-13T07:18:33.045Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:18:33.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:18:33.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:18:33.314Z] Configure a credential helper to remove this warning. See [2023-04-13T07:18:33.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:18:33.314Z] [2023-04-13T07:18:33.314Z] Login Succeeded [2023-04-13T07:18:33.314Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:18:33.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:18:33.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:18:33.847Z] Configure a credential helper to remove this warning. See [2023-04-13T07:18:33.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:18:33.847Z] [2023-04-13T07:18:33.847Z] Login Succeeded [2023-04-13T07:18:33.847Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:18:34.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:18:34.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:18:34.115Z] Configure a credential helper to remove this warning. See [2023-04-13T07:18:34.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:18:34.115Z] [2023-04-13T07:18:34.115Z] Login Succeeded [2023-04-13T07:18:34.115Z] docker.io [2023-04-13T07:18:34.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:18:34.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:18:34.648Z] Configure a credential helper to remove this warning. See [2023-04-13T07:18:34.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:18:34.648Z] [2023-04-13T07:18:34.648Z] Login Succeeded [2023-04-13T07:18:34.648Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:18:34.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:18:34.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:18:34.704Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-04-13T07:18:34.704Z] 83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:18:34.704Z] latest [2023-04-13T07:18:34.704Z] 3.0.0-dev.17 [2023-04-13T07:18:34.704Z] 83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:18:34.704Z] main [2023-04-13T07:18:34.704Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:35.039Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:35.379Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:18:35.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-13T07:18:35.379Z] 61767004d38c: Preparing [2023-04-13T07:18:35.379Z] e6ead523b9d6: Preparing [2023-04-13T07:18:35.379Z] 992edf0f4c1d: Preparing [2023-04-13T07:18:35.379Z] f55bb240ae72: Preparing [2023-04-13T07:18:35.379Z] 26cbea5cba74: Preparing [2023-04-13T07:18:35.379Z] 26cbea5cba74: Layer already exists [2023-04-13T07:18:35.647Z] f55bb240ae72: Pushed [2023-04-13T07:18:35.647Z] 992edf0f4c1d: Pushed [2023-04-13T07:18:35.647Z] e6ead523b9d6: Pushed [2023-04-13T07:18:41.097Z] 61767004d38c: Pushed [2023-04-13T07:18:41.097Z] 83219317ed357fa41fa49faebd7c1604abe399ab: digest: sha256:645a798824a8fb534d904d8c8188749fa56b86e9550755aa1b9d80042c336bab size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:41.469Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:41.815Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-13T07:18:41.816Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-13T07:18:41.816Z] 61767004d38c: Preparing [2023-04-13T07:18:41.816Z] e6ead523b9d6: Preparing [2023-04-13T07:18:41.816Z] 992edf0f4c1d: Preparing [2023-04-13T07:18:41.816Z] f55bb240ae72: Preparing [2023-04-13T07:18:41.816Z] 26cbea5cba74: Preparing [2023-04-13T07:18:41.816Z] 992edf0f4c1d: Layer already exists [2023-04-13T07:18:41.816Z] e6ead523b9d6: Layer already exists [2023-04-13T07:18:41.816Z] f55bb240ae72: Layer already exists [2023-04-13T07:18:41.816Z] 26cbea5cba74: Layer already exists [2023-04-13T07:18:41.816Z] 61767004d38c: Layer already exists [2023-04-13T07:18:42.084Z] latest: digest: sha256:645a798824a8fb534d904d8c8188749fa56b86e9550755aa1b9d80042c336bab size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:42.438Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:42.791Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.17 [2023-04-13T07:18:42.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-13T07:18:42.791Z] 61767004d38c: Preparing [2023-04-13T07:18:42.791Z] e6ead523b9d6: Preparing [2023-04-13T07:18:42.791Z] 992edf0f4c1d: Preparing [2023-04-13T07:18:42.791Z] f55bb240ae72: Preparing [2023-04-13T07:18:42.791Z] 26cbea5cba74: Preparing [2023-04-13T07:18:42.791Z] e6ead523b9d6: Layer already exists [2023-04-13T07:18:42.791Z] 26cbea5cba74: Layer already exists [2023-04-13T07:18:42.791Z] 992edf0f4c1d: Layer already exists [2023-04-13T07:18:42.791Z] f55bb240ae72: Layer already exists [2023-04-13T07:18:42.791Z] 61767004d38c: Layer already exists [2023-04-13T07:18:42.791Z] 3.0.0-dev.17: digest: sha256:645a798824a8fb534d904d8c8188749fa56b86e9550755aa1b9d80042c336bab size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:43.132Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:43.465Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:18:43.465Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-13T07:18:43.465Z] 61767004d38c: Preparing [2023-04-13T07:18:43.465Z] e6ead523b9d6: Preparing [2023-04-13T07:18:43.465Z] 992edf0f4c1d: Preparing [2023-04-13T07:18:43.465Z] f55bb240ae72: Preparing [2023-04-13T07:18:43.465Z] 26cbea5cba74: Preparing [2023-04-13T07:18:43.465Z] 992edf0f4c1d: Layer already exists [2023-04-13T07:18:43.465Z] f55bb240ae72: Layer already exists [2023-04-13T07:18:43.465Z] 26cbea5cba74: Layer already exists [2023-04-13T07:18:43.465Z] e6ead523b9d6: Layer already exists [2023-04-13T07:18:43.465Z] 61767004d38c: Layer already exists [2023-04-13T07:18:43.465Z] 83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17: digest: sha256:645a798824a8fb534d904d8c8188749fa56b86e9550755aa1b9d80042c336bab size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:43.802Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:44.142Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-04-13T07:18:44.142Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-13T07:18:44.142Z] 61767004d38c: Preparing [2023-04-13T07:18:44.142Z] e6ead523b9d6: Preparing [2023-04-13T07:18:44.142Z] 992edf0f4c1d: Preparing [2023-04-13T07:18:44.142Z] f55bb240ae72: Preparing [2023-04-13T07:18:44.142Z] 26cbea5cba74: Preparing [2023-04-13T07:18:44.142Z] 992edf0f4c1d: Layer already exists [2023-04-13T07:18:44.142Z] f55bb240ae72: Layer already exists [2023-04-13T07:18:44.142Z] 61767004d38c: Layer already exists [2023-04-13T07:18:44.142Z] e6ead523b9d6: Layer already exists [2023-04-13T07:18:44.142Z] 26cbea5cba74: Layer already exists [2023-04-13T07:18:44.409Z] main: digest: sha256:645a798824a8fb534d904d8c8188749fa56b86e9550755aa1b9d80042c336bab size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-13T07:18:44.452Z] ===================================================== [Pipeline] echo [2023-04-13T07:18:44.457Z] taggedImages: [2023-04-13T07:18:44.457Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab [2023-04-13T07:18:44.457Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-13T07:18:44.457Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.17 [2023-04-13T07:18:44.457Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:83219317ed357fa41fa49faebd7c1604abe399ab-3.0.0-dev.17 [2023-04-13T07:18:44.457Z] - 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 [2023-04-13T07:18:44.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:18:44.817Z] [2023-04-13T07:18:44.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:18:45.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:18:45.421Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T07:18:45.421Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T07:18:45.421Z] 04944245beec: Pulling fs layer [2023-04-13T07:18:45.421Z] 699f458cf7ca: Pulling fs layer [2023-04-13T07:18:45.421Z] 765212b225bb: Pulling fs layer [2023-04-13T07:18:45.421Z] f23df028b6ca: Pulling fs layer [2023-04-13T07:18:45.421Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T07:18:45.421Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T07:18:45.421Z] 765212b225bb: Waiting [2023-04-13T07:18:45.421Z] f23df028b6ca: Waiting [2023-04-13T07:18:45.421Z] d65c8cfc05b1: Waiting [2023-04-13T07:18:45.421Z] 2437ff75d9bd: Waiting [2023-04-13T07:18:45.421Z] 04944245beec: Verifying Checksum [2023-04-13T07:18:45.421Z] 04944245beec: Download complete [2023-04-13T07:18:45.421Z] 765212b225bb: Verifying Checksum [2023-04-13T07:18:45.421Z] 765212b225bb: Download complete [2023-04-13T07:18:45.421Z] f23df028b6ca: Verifying Checksum [2023-04-13T07:18:45.421Z] f23df028b6ca: Download complete [2023-04-13T07:18:45.421Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T07:18:45.421Z] d65c8cfc05b1: Download complete [2023-04-13T07:18:45.690Z] 699f458cf7ca: Verifying Checksum [2023-04-13T07:18:45.690Z] 699f458cf7ca: Download complete [2023-04-13T07:18:45.961Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T07:18:45.961Z] 8998bd30e6a1: Download complete [2023-04-13T07:18:48.552Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T07:18:48.552Z] 2437ff75d9bd: Download complete [2023-04-13T07:18:49.962Z] 8998bd30e6a1: Pull complete [2023-04-13T07:18:53.302Z] 04944245beec: Pull complete [2023-04-13T07:18:54.262Z] 699f458cf7ca: Pull complete [2023-04-13T07:18:54.262Z] 765212b225bb: Pull complete [2023-04-13T07:18:55.222Z] f23df028b6ca: Pull complete [2023-04-13T07:18:55.222Z] d65c8cfc05b1: Pull complete [2023-04-13T07:19:10.220Z] 2437ff75d9bd: Pull complete [2023-04-13T07:19:10.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T07:19:10.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:19:10.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:19:10.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-8414 does not seem to be running inside a container [2023-04-13T07:19:10.496Z] $ 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/70 -v /w/workspace/device-gpio/70:/w/workspace/device-gpio/70:rw,z -v /w/workspace/device-gpio/70@tmp:/w/workspace/device-gpio/70@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 [2023-04-13T07:19:13.450Z] $ docker top 1ff8d113062bbcc248b8d8a07039e8bd59c80184a3dce4bc03eb671161ddbe79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:19:14.325Z] ---> job-cost.sh [2023-04-13T07:19:14.325Z] lf-activate-venv: SKIPPING [2023-04-13T07:19:14.325Z] INFO: No Stack... [2023-04-13T07:19:14.908Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T07:19:15.873Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:19:16.523Z] + cat /w/workspace/device-gpio/70/archives/cost.csv [2023-04-13T07:19:16.523Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:19:16.603Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [2023-04-13T07:19:16.612Z] Resource [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] did not exist. Created. [2023-04-13T07:19:16.612Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:19:17.270Z] /w/workspace/device-gpio/70@tmp/durable-cb733fca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T07:19:17.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T07:19:17.955Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T07:19:18.013Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:19:18.021Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:19:18.037Z] $ docker stop --time=1 1ff8d113062bbcc248b8d8a07039e8bd59c80184a3dce4bc03eb671161ddbe79 [2023-04-13T07:19:19.742Z] $ docker rm -f --volumes 1ff8d113062bbcc248b8d8a07039e8bd59c80184a3dce4bc03eb671161ddbe79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-13T07:19:20.106Z] provisioning config files... [2023-04-13T07:19:20.113Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6245965533795805508tmp [Pipeline] { [Pipeline] sh [2023-04-13T07:19:20.403Z] + set +x [2023-04-13T07:19:20.403Z] + bash -s -- [2023-04-13T07:19:20.403Z] + curl -s https://codecov.io/bash [2023-04-13T07:19:20.403Z] [2023-04-13T07:19:20.403Z] _____ _ [2023-04-13T07:19:20.403Z] / ____| | | [2023-04-13T07:19:20.403Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T07:19:20.403Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T07:19:20.403Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T07:19:20.403Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T07:19:20.403Z] Bash-1.0.6 [2023-04-13T07:19:20.403Z] [2023-04-13T07:19:20.403Z] [2023-04-13T07:19:20.403Z] ==> git version 2.25.1 found [2023-04-13T07:19:20.403Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-13T07:19:20.403Z] Release-Date: 2020-01-08 [2023-04-13T07:19:20.403Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-13T07:19:20.403Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T07:19:20.403Z] ==> Jenkins CI detected. [2023-04-13T07:19:20.403Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-04-13T07:19:20.403Z] project root: . [2023-04-13T07:19:20.403Z] --> token set from env [2023-04-13T07:19:20.403Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T07:19:20.403Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T07:19:20.403Z] ==> Python coveragepy not found [2023-04-13T07:19:20.403Z] ==> Searching for coverage reports in: [2023-04-13T07:19:20.403Z] + . [2023-04-13T07:19:20.403Z] -> Found 1 reports [2023-04-13T07:19:20.403Z] ==> Detecting git/mercurial file structure [2023-04-13T07:19:20.403Z] ==> Reading reports [2023-04-13T07:19:20.403Z] + ./coverage.out bytes=10 [2023-04-13T07:19:20.403Z] ==> Appending adjustments [2023-04-13T07:19:20.403Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T07:19:20.661Z] + Found adjustments [2023-04-13T07:19:20.661Z] ==> Gzipping contents [2023-04-13T07:19:20.661Z] 4.0K /tmp/codecov.m24VDh.gz [2023-04-13T07:19:20.661Z] ==> Uploading reports [2023-04-13T07:19:20.661Z] url: https://codecov.io [2023-04-13T07:19:20.661Z] query: branch=main&commit=83219317ed357fa41fa49faebd7c1604abe399ab&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T07:19:20.661Z] -> Pinging Codecov [2023-04-13T07:19:20.662Z] 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=83219317ed357fa41fa49faebd7c1604abe399ab&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-13T07:19:20.662Z] -> Uploading to [2023-04-13T07:19:20.662Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/83219317ed357fa41fa49faebd7c1604abe399ab/f74b0ac2-109f-4768-8fba-c6906140b037.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T071920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44d382ac2d3225f5e343ebb2fef3a767efe517b807e2aa596cc1c039aa51311c [2023-04-13T07:19:20.662Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:19:20.662Z] Dload Upload Total Spent Left Speed [2023-04-13T07:19:20.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 3072 --:--:-- --:--:-- --:--:-- 3072 [2023-04-13T07:19:20.920Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] } [2023-04-13T07:19:20.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-13T07:19:21.046Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-13T07:19:21.057Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:21.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:19:21.360Z] [2023-04-13T07:19:21.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:21.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:19:21.655Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-13T07:19:21.655Z] df9b9388f04a: Pulling fs layer [2023-04-13T07:19:21.655Z] 52dc419b0ee2: Pulling fs layer [2023-04-13T07:19:21.655Z] 25bc292e5bac: Pulling fs layer [2023-04-13T07:19:21.655Z] 114826534d7a: Pulling fs layer [2023-04-13T07:19:21.655Z] 4657fd5d0bcf: Pulling fs layer [2023-04-13T07:19:21.655Z] 6ad1cebc031e: Pulling fs layer [2023-04-13T07:19:21.655Z] 8a3aa393b2d8: Pulling fs layer [2023-04-13T07:19:21.655Z] 114826534d7a: Waiting [2023-04-13T07:19:21.655Z] 6ad1cebc031e: Waiting [2023-04-13T07:19:21.655Z] 25bc292e5bac: Verifying Checksum [2023-04-13T07:19:21.655Z] 25bc292e5bac: Download complete [2023-04-13T07:19:21.655Z] 52dc419b0ee2: Verifying Checksum [2023-04-13T07:19:21.655Z] 52dc419b0ee2: Download complete [2023-04-13T07:19:21.655Z] 4657fd5d0bcf: Download complete [2023-04-13T07:19:21.655Z] df9b9388f04a: Download complete [2023-04-13T07:19:21.914Z] df9b9388f04a: Pull complete [2023-04-13T07:19:21.914Z] 6ad1cebc031e: Verifying Checksum [2023-04-13T07:19:21.914Z] 6ad1cebc031e: Download complete [2023-04-13T07:19:21.914Z] 52dc419b0ee2: Pull complete [2023-04-13T07:19:21.914Z] 25bc292e5bac: Pull complete [2023-04-13T07:19:22.489Z] 114826534d7a: Verifying Checksum [2023-04-13T07:19:22.489Z] 114826534d7a: Download complete [2023-04-13T07:19:22.489Z] 8a3aa393b2d8: Verifying Checksum [2023-04-13T07:19:22.489Z] 8a3aa393b2d8: Download complete [2023-04-13T07:19:25.773Z] 114826534d7a: Pull complete [2023-04-13T07:19:25.773Z] 4657fd5d0bcf: Pull complete [2023-04-13T07:19:25.773Z] 6ad1cebc031e: Pull complete [2023-04-13T07:19:28.298Z] 8a3aa393b2d8: Pull complete [2023-04-13T07:19:28.298Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-13T07:19:28.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-13T07:19:28.298Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:19:28.369Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:19:28.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-13T07:19:30.822Z] $ docker top 6ee0dbb8b118228cb8e5276032f9f063d9224fb3a853fcec0cdf2fab0d1c3a32 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-13T07:19:30.878Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-04-13T07:19:31.156Z] + set -o pipefail [2023-04-13T07:19:31.156Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-04-13T07:19:35.357Z] [2023-04-13T07:19:35.357Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-04-13T07:19:35.357Z] [2023-04-13T07:19:35.357Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/fb2036fc-e8f2-48ee-80a8-22bc0b3eefbd [2023-04-13T07:19:35.357Z] [2023-04-13T07:19:35.357Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-13T07:19:35.357Z] [2023-04-13T07:19:35.357Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-13T07:19:35.357Z] [2023-04-13T07:19:35.615Z] [2023-04-13T07:19:35.615Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-13T07:19:35.615Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-13T07:19:35.615Z] More details here: https://snyk.co/ue1NS [2023-04-13T07:19:35.615Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-04-13T07:19:35.615Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-04-13T07:19:35.633Z] $ docker stop --time=1 6ee0dbb8b118228cb8e5276032f9f063d9224fb3a853fcec0cdf2fab0d1c3a32 [2023-04-13T07:19:37.955Z] $ docker rm -f --volumes 6ee0dbb8b118228cb8e5276032f9f063d9224fb3a853fcec0cdf2fab0d1c3a32 [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 [2023-04-13T07:19:38.609Z] + git log --format=format:%s -1 83219317ed357fa41fa49faebd7c1604abe399ab [Pipeline] sh [2023-04-13T07:19:38.897Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:19:38.897Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:39.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:19:39.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:19:39.253Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:19:39.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:19:39.669Z] $ docker top 52ba044475982c763fedb39f904eb6b86f9c1bc25e686a2f64c8f3650c51dc00 -eo pid,comm [2023-04-13T07:19:39.705Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-13T07:19:39.705Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:19:39.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:19:39.741Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:19:39.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:19:39.861Z] $ docker exec 52ba044475982c763fedb39f904eb6b86f9c1bc25e686a2f64c8f3650c51dc00 ssh-agent [2023-04-13T07:19:39.953Z] SSH_AUTH_SOCK=/tmp/ssh-9puooMP38J0E/agent.32 [2023-04-13T07:19:39.953Z] SSH_AGENT_PID=38 [2023-04-13T07:19:39.958Z] Running ssh-add (command line suppressed) [2023-04-13T07:19:40.065Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4450396754289920346.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4450396754289920346.key) [2023-04-13T07:19:40.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:19:40.394Z] + git semver tag [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,547 [run_tag] DEBUG tag force:False [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,547 [check_head_tag] DEBUG check head tag [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,548 [execute] INFO git cat-file --batch-check [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,550 [execute] INFO git cat-file --batch [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,566 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,566 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:19:40.653Z] 2023-04-13 07:19:40,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:19:40.653Z] 3.0.0-dev.17 [Pipeline] } [2023-04-13T07:19:40.668Z] $ docker exec --env ******** --env ******** 52ba044475982c763fedb39f904eb6b86f9c1bc25e686a2f64c8f3650c51dc00 ssh-agent -k [2023-04-13T07:19:40.757Z] unset SSH_AUTH_SOCK; [2023-04-13T07:19:40.757Z] unset SSH_AGENT_PID; [2023-04-13T07:19:40.758Z] echo Agent pid 38 killed; [2023-04-13T07:19:40.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:19:41.061Z] + git semver [Pipeline] } [2023-04-13T07:19:41.338Z] $ docker stop --time=1 52ba044475982c763fedb39f904eb6b86f9c1bc25e686a2f64c8f3650c51dc00 [2023-04-13T07:19:42.651Z] $ docker rm -f --volumes 52ba044475982c763fedb39f904eb6b86f9c1bc25e686a2f64c8f3650c51dc00 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:43.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:19:43.012Z] [2023-04-13T07:19:43.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:43.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:19:43.306Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-13T07:19:43.306Z] ab5ef0e58194: Pulling fs layer [2023-04-13T07:19:43.306Z] 9712f1f96733: Pulling fs layer [2023-04-13T07:19:43.306Z] 63f879dbbcfc: Pulling fs layer [2023-04-13T07:19:43.306Z] 0d9ebad4ef96: Pulling fs layer [2023-04-13T07:19:43.306Z] e9a5061849ea: Pulling fs layer [2023-04-13T07:19:43.306Z] d747dcd14b5f: Pulling fs layer [2023-04-13T07:19:43.306Z] 2de7ff778b66: Pulling fs layer [2023-04-13T07:19:43.306Z] d747dcd14b5f: Waiting [2023-04-13T07:19:43.306Z] 0d9ebad4ef96: Waiting [2023-04-13T07:19:43.306Z] e9a5061849ea: Waiting [2023-04-13T07:19:43.306Z] 9712f1f96733: Verifying Checksum [2023-04-13T07:19:43.306Z] 9712f1f96733: Download complete [2023-04-13T07:19:43.564Z] 63f879dbbcfc: Verifying Checksum [2023-04-13T07:19:43.564Z] 63f879dbbcfc: Download complete [2023-04-13T07:19:43.564Z] e9a5061849ea: Verifying Checksum [2023-04-13T07:19:43.564Z] e9a5061849ea: Download complete [2023-04-13T07:19:43.564Z] d747dcd14b5f: Verifying Checksum [2023-04-13T07:19:43.564Z] d747dcd14b5f: Download complete [2023-04-13T07:19:43.821Z] 0d9ebad4ef96: Verifying Checksum [2023-04-13T07:19:43.821Z] 0d9ebad4ef96: Download complete [2023-04-13T07:19:43.821Z] ab5ef0e58194: Verifying Checksum [2023-04-13T07:19:43.821Z] ab5ef0e58194: Download complete [2023-04-13T07:19:43.821Z] 2de7ff778b66: Verifying Checksum [2023-04-13T07:19:43.821Z] 2de7ff778b66: Download complete [2023-04-13T07:19:46.349Z] ab5ef0e58194: Pull complete [2023-04-13T07:19:46.349Z] 9712f1f96733: Pull complete [2023-04-13T07:19:46.913Z] 63f879dbbcfc: Pull complete [2023-04-13T07:19:50.192Z] 0d9ebad4ef96: Pull complete [2023-04-13T07:19:50.192Z] e9a5061849ea: Pull complete [2023-04-13T07:19:50.451Z] d747dcd14b5f: Pull complete [2023-04-13T07:19:51.384Z] 2de7ff778b66: Pull complete [2023-04-13T07:19:51.384Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-13T07:19:51.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-13T07:19:51.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:19:51.467Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:19:51.496Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-13T07:19:54.054Z] $ docker top 356ed6f47b4018bea5516a66f6394828da29365f30ce9bae70b280c367e3a68c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:19:54.114Z] provisioning config files... [2023-04-13T07:19:54.119Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8554344716802867092tmp [2023-04-13T07:19:54.127Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10109164969355895825tmp [2023-04-13T07:19:54.136Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13599210714992742139tmp [Pipeline] { [Pipeline] echo [2023-04-13T07:19:54.147Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:19:54.425Z] ---> sigul-configuration.sh [2023-04-13T07:19:54.425Z] gpg: directory `/root/.gnupg' created [2023-04-13T07:19:54.425Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-13T07:19:54.425Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-13T07:19:54.425Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-13T07:19:54.425Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-13T07:19:54.425Z] gpg: CAST5 encrypted data [2023-04-13T07:19:54.425Z] gpg: encrypted with 1 passphrase [2023-04-13T07:19:54.425Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-13T07:19:54.707Z] + mkdir /home/jenkins [2023-04-13T07:19:54.708Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-13T07:19:54.992Z] + 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 [2023-04-13T07:19:55.001Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:19:55.282Z] ---> sigul-install.sh [2023-04-13T07:19:55.282Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-13T07:19:55.566Z] + git tag --list [2023-04-13T07:19:55.566Z] v1.0.0 [2023-04-13T07:19:55.566Z] v2.1.0 [2023-04-13T07:19:55.566Z] v2.1.1 [2023-04-13T07:19:55.566Z] v2.1.1-dev.1 [2023-04-13T07:19:55.566Z] v2.2.0 [2023-04-13T07:19:55.566Z] v2.2.1-dev.1 [2023-04-13T07:19:55.566Z] v2.2.1-dev.2 [2023-04-13T07:19:55.566Z] v2.2.1-dev.3 [2023-04-13T07:19:55.566Z] v2.2.1-dev.4 [2023-04-13T07:19:55.566Z] v2.3.0 [2023-04-13T07:19:55.566Z] v2.3.0-dev.10 [2023-04-13T07:19:55.566Z] v2.3.0-dev.11 [2023-04-13T07:19:55.566Z] v2.3.0-dev.12 [2023-04-13T07:19:55.566Z] v2.3.0-dev.13 [2023-04-13T07:19:55.566Z] v2.3.0-dev.14 [2023-04-13T07:19:55.566Z] v2.3.0-dev.15 [2023-04-13T07:19:55.566Z] v2.3.0-dev.16 [2023-04-13T07:19:55.566Z] v2.3.0-dev.17 [2023-04-13T07:19:55.566Z] v2.3.0-dev.18 [2023-04-13T07:19:55.566Z] v2.3.0-dev.19 [2023-04-13T07:19:55.566Z] v2.3.0-dev.20 [2023-04-13T07:19:55.566Z] v2.3.0-dev.4 [2023-04-13T07:19:55.566Z] v2.3.0-dev.5 [2023-04-13T07:19:55.566Z] v2.3.0-dev.6 [2023-04-13T07:19:55.566Z] v2.3.0-dev.7 [2023-04-13T07:19:55.566Z] v2.3.0-dev.8 [2023-04-13T07:19:55.566Z] v2.3.0-dev.9 [2023-04-13T07:19:55.566Z] v3.0.0-dev.1 [2023-04-13T07:19:55.566Z] v3.0.0-dev.10 [2023-04-13T07:19:55.566Z] v3.0.0-dev.11 [2023-04-13T07:19:55.566Z] v3.0.0-dev.12 [2023-04-13T07:19:55.566Z] v3.0.0-dev.13 [2023-04-13T07:19:55.566Z] v3.0.0-dev.14 [2023-04-13T07:19:55.566Z] v3.0.0-dev.15 [2023-04-13T07:19:55.566Z] v3.0.0-dev.16 [2023-04-13T07:19:55.566Z] v3.0.0-dev.17 [2023-04-13T07:19:55.566Z] v3.0.0-dev.2 [2023-04-13T07:19:55.566Z] v3.0.0-dev.3 [2023-04-13T07:19:55.566Z] v3.0.0-dev.4 [2023-04-13T07:19:55.566Z] v3.0.0-dev.5 [2023-04-13T07:19:55.566Z] v3.0.0-dev.6 [2023-04-13T07:19:55.566Z] v3.0.0-dev.7 [2023-04-13T07:19:55.566Z] v3.0.0-dev.8 [2023-04-13T07:19:55.566Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-13T07:19:55.852Z] + lftools sign git-tag v3.0.0-dev.17 [2023-04-13T07:19:56.422Z] Signing Git tag with Sigul... [2023-04-13T07:19:56.422Z] Signing v3.0.0-dev.17 [Pipeline] echo [2023-04-13T07:19:56.695Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:19:56.979Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-13T07:19:56.986Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-13T07:19:57.017Z] $ docker stop --time=1 356ed6f47b4018bea5516a66f6394828da29365f30ce9bae70b280c367e3a68c [2023-04-13T07:19:58.332Z] $ docker rm -f --volumes 356ed6f47b4018bea5516a66f6394828da29365f30ce9bae70b280c367e3a68c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-13T07:19:58.723Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:19:58.723Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:19:59.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:19:59.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:19:59.078Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:19:59.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:19:59.483Z] $ docker top 194b9d60d772b036fcf93127b2addff80a215fb73bfbed9e4a5d62efb3ad0669 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:19:59.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:19:59.555Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:19:59.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:19:59.668Z] $ docker exec 194b9d60d772b036fcf93127b2addff80a215fb73bfbed9e4a5d62efb3ad0669 ssh-agent [2023-04-13T07:19:59.756Z] SSH_AUTH_SOCK=/tmp/ssh-tBNUKhOkwobd/agent.32 [2023-04-13T07:19:59.756Z] SSH_AGENT_PID=38 [2023-04-13T07:19:59.760Z] Running ssh-add (command line suppressed) [2023-04-13T07:19:59.859Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7439906299360283228.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7439906299360283228.key) [2023-04-13T07:19:59.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:20:00.152Z] + git semver bump pre [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [bump_version] DEBUG bumped version:3.0.0-dev.18 [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,324 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,327 [execute] INFO git cat-file --batch-check [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,332 [execute] INFO git cat-file --batch [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:20:00.412Z] 2023-04-13 07:20:00,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:20:00.412Z] 3.0.0-dev.18 [Pipeline] } [2023-04-13T07:20:00.428Z] $ docker exec --env ******** --env ******** 194b9d60d772b036fcf93127b2addff80a215fb73bfbed9e4a5d62efb3ad0669 ssh-agent -k [2023-04-13T07:20:00.519Z] unset SSH_AUTH_SOCK; [2023-04-13T07:20:00.520Z] unset SSH_AGENT_PID; [2023-04-13T07:20:00.520Z] echo Agent pid 38 killed; [2023-04-13T07:20:00.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:20:00.833Z] + git semver [Pipeline] } [2023-04-13T07:20:01.113Z] $ docker stop --time=1 194b9d60d772b036fcf93127b2addff80a215fb73bfbed9e4a5d62efb3ad0669 [2023-04-13T07:20:02.437Z] $ docker rm -f --volumes 194b9d60d772b036fcf93127b2addff80a215fb73bfbed9e4a5d62efb3ad0669 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:20:02.764Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:20:02.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:20:03.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:20:03.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:20:03.123Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:20:03.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-13T07:20:03.493Z] $ docker top 98779153b659f9e66526d59a180db02b8df4c3537e86ee3bc6bf1d521c11b225 -eo pid,comm [2023-04-13T07:20:03.532Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-13T07:20:03.532Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:20:03.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:20:03.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:20:03.677Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:20:03.686Z] $ docker exec 98779153b659f9e66526d59a180db02b8df4c3537e86ee3bc6bf1d521c11b225 ssh-agent [2023-04-13T07:20:03.776Z] SSH_AUTH_SOCK=/tmp/ssh-DsynfPKbtUeF/agent.32 [2023-04-13T07:20:03.776Z] SSH_AGENT_PID=38 [2023-04-13T07:20:03.780Z] Running ssh-add (command line suppressed) [2023-04-13T07:20:03.880Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13900595692534360753.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13900595692534360753.key) [2023-04-13T07:20:03.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:20:04.169Z] + git semver push [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,327 [run_push] DEBUG push [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,328 [execute] INFO git cat-file --batch-check [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,332 [execute] INFO git rev-list b9cea6b1112a2937c910da60debb74fda63bccf9 -- [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,332 [execute] DEBUG Popen(['git', 'rev-list', 'b9cea6b1112a2937c910da60debb74fda63bccf9', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,339 [execute] INFO git fetch -v origin [2023-04-13T07:20:04.428Z] 2023-04-13 07:20:04,340 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-13T07:20:04.995Z] 2023-04-13 07:20:04,818 [run_push] DEBUG no remote changes detected [2023-04-13T07:20:04.995Z] 2023-04-13 07:20:04,819 [execute] INFO git push origin semver [2023-04-13T07:20:04.995Z] 2023-04-13 07:20:04,819 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:20:05.935Z] 2023-04-13 07:20:05,623 [run_push] DEBUG push all version tags [2023-04-13T07:20:05.935Z] 2023-04-13 07:20:05,624 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-13T07:20:05.935Z] 2023-04-13 07:20:05,624 [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) [2023-04-13T07:20:06.503Z] 2023-04-13 07:20:06,405 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-13T07:20:06.503Z] 3.0.0-dev.18 [Pipeline] } [2023-04-13T07:20:06.520Z] $ docker exec --env ******** --env ******** 98779153b659f9e66526d59a180db02b8df4c3537e86ee3bc6bf1d521c11b225 ssh-agent -k [2023-04-13T07:20:06.635Z] unset SSH_AUTH_SOCK; [2023-04-13T07:20:06.635Z] unset SSH_AGENT_PID; [2023-04-13T07:20:06.635Z] echo Agent pid 38 killed; [2023-04-13T07:20:06.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:20:06.941Z] + git semver [Pipeline] } [2023-04-13T07:20:07.218Z] $ docker stop --time=1 98779153b659f9e66526d59a180db02b8df4c3537e86ee3bc6bf1d521c11b225 [2023-04-13T07:20:08.539Z] $ docker rm -f --volumes 98779153b659f9e66526d59a180db02b8df4c3537e86ee3bc6bf1d521c11b225 [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 [2023-04-13T07:20:09.037Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-04-13T07:20:09.037Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-13T07:20:09.037Z] total 16 [2023-04-13T07:20:09.037Z] drwxr-xr-x 3 root root 4096 Apr 13 07:08 . [2023-04-13T07:20:09.037Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:19 .. [2023-04-13T07:20:09.037Z] drwxr-xr-x 2 root root 4096 Apr 13 07:08 cost [2023-04-13T07:20:09.037Z] -rw-r--r-- 1 root root 82 Apr 13 07:08 cost.csv [2023-04-13T07:20:09.037Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-13T07:20:09.037Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-13T07:20:09.037Z] total 16 [2023-04-13T07:20:09.037Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:08 . [2023-04-13T07:20:09.037Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:19 .. [2023-04-13T07:20:09.037Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:08 cost [2023-04-13T07:20:09.037Z] -rw-r--r-- 1 jenkins jenkins 82 Apr 13 07:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:09.327Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:10.176Z] ---> package-listing.sh [2023-04-13T07:20:10.176Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T07:20:10.176Z] ++ facter osfamily [2023-04-13T07:20:10.435Z] + OS_FAMILY=debian [2023-04-13T07:20:10.435Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-04-13T07:20:10.435Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T07:20:10.435Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T07:20:10.435Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T07:20:10.435Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T07:20:10.435Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-13T07:20:10.435Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T07:20:10.435Z] + case "${OS_FAMILY}" in [2023-04-13T07:20:10.435Z] + dpkg -l [2023-04-13T07:20:10.435Z] + grep '^ii' [2023-04-13T07:20:10.435Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T07:20:10.435Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T07:20:10.435Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T07:20:10.435Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-13T07:20:10.435Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-04-13T07:20:10.435Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-04-13T07:20:10.444Z] 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 [2023-04-13T07:20:10.719Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:20:11.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:20:11.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:20:11.373Z] prd-ubuntu20.04-docker-8c-8g-8410 does not seem to be running inside a container [2023-04-13T07:20:11.508Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:20:11.758Z] $ docker top c90aa89c922b9ae1ce3effe84505e3c1454f3f637ccdd938ee7dd0ba3746973e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:20:12.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T07:20:12.385Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T07:20:12.668Z] + ls /var/log/sa-host [2023-04-13T07:20:12.668Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:20:12.728Z] provisioning config files... [2023-04-13T07:20:12.733Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15186248267978263675tmp [Pipeline] { [Pipeline] echo [2023-04-13T07:20:12.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:13.020Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T07:20:13.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:13.339Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T07:20:13.348Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:13.626Z] ---> sudo-logs.sh [2023-04-13T07:20:13.626Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T07:20:13.646Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:13.926Z] ---> job-cost.sh [2023-04-13T07:20:13.926Z] lf-activate-venv: SKIPPING [2023-04-13T07:20:13.926Z] DEBUG: total: 0.2199999988079071 [2023-04-13T07:20:13.926Z] INFO: Retrieving Stack Cost... [2023-04-13T07:20:14.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:20:14.753Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T07:20:14.765Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:15.044Z] ---> logs-deploy.sh [2023-04-13T07:20:15.044Z] lf-activate-venv: SKIPPING [2023-04-13T07:20:15.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/70 [2023-04-13T07:20:15.044Z] INFO: archiving workspace using pattern(s): [2023-04-13T07:20:15.980Z] Archives upload complete. [2023-04-13T07:20:16.238Z] INFO: archiving logs to Nexus