Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07ff70a745b77f70f4b47d5a2d31a9f78666f659 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh3895367038548492703.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision badcf42234fb1e6cb640581e12a7601bf0f58365 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-ssh142396152514108034.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 badcf42234fb1e6cb640581e12a7601bf0f58365 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/edgex-global-pipelines/.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/app-rfid-llrp-inventory/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh546744548870962929.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision badcf42234fb1e6cb640581e12a7601bf0f58365 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f badcf42234fb1e6cb640581e12a7601bf0f58365 # timeout=10 Commit message: "Merge pull request #344 from ernestojeda/dockerfile-build-optional" > 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 shared 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-ssh6340841472467251583.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/main/workspace@libs/lf-pipelines/.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/app-rfid-llrp-inventory/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5429124223310502427.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 shared 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:app-rfid-llrp-inventory, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory 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: true 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-577 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/dry_app-rfid-llrp-inventory_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/jenkins-gitclient-ssh5927547446125864601.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 07ff70a745b77f70f4b47d5a2d31a9f78666f659 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.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 07ff70a745b77f70f4b47d5a2d31a9f78666f659 # timeout=10 Commit message: "Merge pull request #46 from soda480/US1907" > git rev-list --no-walk 5b6662352b87c3cff91568a79a832288180406c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:18:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:18:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:18:11 ========================================================= 22:18:11 EdgeX Global Pipelines Version Info 22:18:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:18:12 ------------------- 22:18:12 stable info: 22:18:12 ------------------- 22:18:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:18:12 Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 22:18:12 Message: update stable to v1.0.198 22:18:12 ------------------- 22:18:12 experimental info: 22:18:12 ------------------- 22:18:12 Commited By: **** collab-it+edgex@linuxfoundation.org 22:18:12 Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 22:18:12 Message: update experimental to v1.0.198 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07ff70a745b77f70f4b47d5a2d31a9f78666f659 [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07ff70a [Pipeline] echo 22:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:13 provisioning config files... 22:18:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3191426013902690387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:14 ---> docker-login.sh 22:18:14 nexus3.edgexfoundry.org:10001 22:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:14 Configure a credential helper to remove this warning. See 22:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:14 22:18:14 Login Succeeded 22:18:14 nexus3.edgexfoundry.org:10002 22:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:14 Configure a credential helper to remove this warning. See 22:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:14 22:18:14 Login Succeeded 22:18:14 nexus3.edgexfoundry.org:10003 22:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:14 Configure a credential helper to remove this warning. See 22:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:14 22:18:14 Login Succeeded 22:18:14 nexus3.edgexfoundry.org:10004 22:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:15 Configure a credential helper to remove this warning. See 22:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:15 22:18:15 Login Succeeded 22:18:15 docker.io 22:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:15 Configure a credential helper to remove this warning. See 22:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:15 22:18:15 Login Succeeded 22:18:15 ---> docker-login.sh ends [Pipeline] } 22:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:15 + git log --format=format:%s -1 07ff70a745b77f70f4b47d5a2d31a9f78666f659 [Pipeline] echo 22:18:16 GIT_COMMIT: 07ff70a745b77f70f4b47d5a2d31a9f78666f659, Commit Message: Merge pull request #46 from soda480/US1907 [Pipeline] echo 22:18:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:18:17 22:18:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:18:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:18:17 latest: Pulling from edgex-devops/git-semver 22:18:17 31603596830f: Pulling fs layer 22:18:17 b6dc333f4379: Pulling fs layer 22:18:17 3d9ef1400e77: Pulling fs layer 22:18:17 fd332fbdc1db: Pulling fs layer 22:18:17 b6dc333f4379: Verifying Checksum 22:18:17 b6dc333f4379: Download complete 22:18:17 31603596830f: Verifying Checksum 22:18:17 31603596830f: Download complete 22:18:17 31603596830f: Pull complete 22:18:17 fd332fbdc1db: Verifying Checksum 22:18:17 fd332fbdc1db: Download complete 22:18:17 b6dc333f4379: Pull complete 22:18:18 3d9ef1400e77: Verifying Checksum 22:18:18 3d9ef1400e77: Download complete 22:18:18 3d9ef1400e77: Pull complete 22:18:18 fd332fbdc1db: Pull complete 22:18:18 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 22:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:18:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:18:18 prd-centos7-docker-4c-2g-577 does not seem to be running inside a container 22:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_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:10004/edgex-devops/git-semver:latest cat 22:18:19 $ docker top 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:20 [ssh-agent] Looking for ssh-agent implementation... 22:18:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:20 $ docker exec 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d ssh-agent 22:18:20 SSH_AUTH_SOCK=/tmp/ssh-3XsEUrlSGaN4/agent.14 22:18:20 SSH_AGENT_PID=20 22:18:20 Running ssh-add (command line suppressed) 22:18:20 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4513838437665153140.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_4513838437665153140.key) 22:18:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:20 + git tag --points-at HEAD [Pipeline] } 22:18:20 $ docker exec --env ******** --env ******** 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d ssh-agent -k 22:18:20 unset SSH_AUTH_SOCK; 22:18:20 unset SSH_AGENT_PID; 22:18:20 echo Agent pid 20 killed; 22:18:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:18:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:20 [ssh-agent] Looking for ssh-agent implementation... 22:18:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:21 $ docker exec 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d ssh-agent 22:18:21 SSH_AUTH_SOCK=/tmp/ssh-zzhBw7ccrlPX/agent.53 22:18:21 SSH_AGENT_PID=59 22:18:21 Running ssh-add (command line suppressed) 22:18:21 Identity added: /w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8970928180070090278.key (/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/private_key_8970928180070090278.key) 22:18:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:21 + git semver init 22:18:21 # -> Open(): unable to determine branch for HEAD 22:18:21 # $GIT_DIR = /w/workspace/dry_app-rfid-llrp-inventory_main/.git 22:18:21 # $GIT_WORK_TREE = /w/workspace/dry_app-rfid-llrp-inventory_main 22:18:21 # $SEMVER_REMOTE_NAME = origin 22:18:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:18:21 # $SEMVER_USER_NAME = edgex-jenkins 22:18:21 # $SEMVER_BRANCH = main 22:18:21 # $SEMVER_TEMP = /tmp/semver-042883365 22:18:21 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 22:18:28 # '/tmp/semver-042883365' -> '/w/workspace/dry_app-rfid-llrp-inventory_main/.semver' 22:18:28 # -> Force: false 22:18:28 # $SEMVER_DIR = /w/workspace/dry_app-rfid-llrp-inventory_main/.semver [Pipeline] } 22:18:28 $ docker exec --env ******** --env ******** 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d ssh-agent -k 22:18:28 unset SSH_AUTH_SOCK; 22:18:28 unset SSH_AGENT_PID; 22:18:28 echo Agent pid 59 killed; 22:18:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:28 + git semver [Pipeline] } 22:18:28 $ docker stop --time=1 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d 22:18:30 $ docker rm -f 5b7dad9ca64301dd4fbfd6d3b63a32e1138095dd72a08975512f77140a87a41d [Pipeline] // withDockerContainer [Pipeline] sh 22:18:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:18:30 Stashed 1 file(s) [Pipeline] echo 22:18:30 [edgeXSemver]: initialized semver on version 0.0.1-dev.4 [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] node [Pipeline] node 22:18:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-575 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 22:18:31 Running in /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] { [Pipeline] checkout 22:18:31 The recommended git tool is: NONE 22:18:36 using credential edgex-jenkins-ssh 22:18:36 Cloning the remote Git repository 22:18:36 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:18:36 > git init /w/workspace/app-rfid-llrp-inventory/5 # timeout=10 22:18:36 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:18:36 > git --version # timeout=10 22:18:36 > git --version # 'git version 2.17.1' 22:18:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:38 Avoid second fetch 22:18:38 Checking out Revision 07ff70a745b77f70f4b47d5a2d31a9f78666f659 (main) 22:18:38 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:18:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:38 > git config core.sparsecheckout # timeout=10 22:18:38 > git checkout -f 07ff70a745b77f70f4b47d5a2d31a9f78666f659 # timeout=10 22:18:43 Commit message: "Merge pull request #46 from soda480/US1907" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:43 provisioning config files... 22:18:43 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/5@tmp/config8494363953014272354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:44 ---> docker-login.sh 22:18:44 nexus3.edgexfoundry.org:10001 22:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:45 Configure a credential helper to remove this warning. See 22:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:45 22:18:45 Login Succeeded 22:18:45 nexus3.edgexfoundry.org:10002 22:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:46 Configure a credential helper to remove this warning. See 22:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:46 22:18:46 Login Succeeded 22:18:46 nexus3.edgexfoundry.org:10003 22:18:46 Still waiting to schedule task 22:18:46 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-577’ 22:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:46 Configure a credential helper to remove this warning. See 22:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:46 22:18:46 Login Succeeded 22:18:46 nexus3.edgexfoundry.org:10004 22:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:47 Configure a credential helper to remove this warning. See 22:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:47 22:18:47 Login Succeeded 22:18:47 docker.io 22:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:48 Configure a credential helper to remove this warning. See 22:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:48 22:18:48 Login Succeeded 22:18:48 ---> docker-login.sh ends [Pipeline] } 22:18:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:18:48 ========================================================= 22:18:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:18:48 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:18:49 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 22:18:49 Sending build context to Docker daemon 20.47MB 22:18:49 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:18:49 Step 2/10 : FROM ${BASE} AS builder 22:18:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:18:50 595b0fe564bb: Pulling fs layer 22:18:50 24495759ef45: Pulling fs layer 22:18:50 d148012ef14d: Pulling fs layer 22:18:50 cb65c68fc2e2: Pulling fs layer 22:18:50 093eec477d81: Pulling fs layer 22:18:50 a6d5b2bbb924: Pulling fs layer 22:18:50 2446dc1eb7d3: Pulling fs layer 22:18:50 596795e73e0f: Pulling fs layer 22:18:50 a6d5b2bbb924: Waiting 22:18:50 2446dc1eb7d3: Waiting 22:18:50 596795e73e0f: Waiting 22:18:50 cb65c68fc2e2: Waiting 22:18:50 093eec477d81: Waiting 22:18:50 d148012ef14d: Verifying Checksum 22:18:50 d148012ef14d: Download complete 22:18:50 24495759ef45: Download complete 22:18:50 093eec477d81: Download complete 22:18:50 595b0fe564bb: Verifying Checksum 22:18:50 595b0fe564bb: Download complete 22:18:50 a6d5b2bbb924: Verifying Checksum 22:18:50 a6d5b2bbb924: Download complete 22:18:50 2446dc1eb7d3: Verifying Checksum 22:18:50 2446dc1eb7d3: Download complete 22:18:50 595b0fe564bb: Pull complete 22:18:51 24495759ef45: Pull complete 22:18:52 d148012ef14d: Pull complete 22:18:54 596795e73e0f: Verifying Checksum 22:18:54 596795e73e0f: Download complete 22:18:54 cb65c68fc2e2: Verifying Checksum 22:18:54 cb65c68fc2e2: Download complete 22:19:04 cb65c68fc2e2: Pull complete 22:19:04 093eec477d81: Pull complete 22:19:05 a6d5b2bbb924: Pull complete 22:19:05 2446dc1eb7d3: Pull complete 22:19:10 596795e73e0f: Pull complete 22:19:10 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 22:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:19:10 ---> d9e956139c92 22:19:10 Step 3/10 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:19:13 ---> Running in a3eecb4c0694 22:19:13 Removing intermediate container a3eecb4c0694 22:19:13 ---> cbf3a2a5e520 22:19:13 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:19:14 ---> Running in fca9fd0e4b7d 22:19:14 Removing intermediate container fca9fd0e4b7d 22:19:14 ---> 1257a415c271 22:19:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:19:14 ---> Running in 25532d980105 22:19:15 Removing intermediate container 25532d980105 22:19:15 ---> f14c62a39210 22:19:15 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:19:15 ---> Running in 4cb04b2041cf 22:19:17 Removing intermediate container 4cb04b2041cf 22:19:17 ---> 3824399a52dd 22:19:17 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:17 ---> Running in 9c9d773f61f3 22:19:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:19:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:19:20 (1/6) Installing libc-dev (0.7.2-r3) 22:19:20 (2/6) Installing libsodium (1.0.18-r0) 22:19:20 (3/6) Installing pkgconf (1.7.3-r0) 22:19:21 (4/6) Installing libsodium-dev (1.0.18-r0) 22:19:21 (5/6) Installing libzmq (4.3.3-r1) 22:19:21 (6/6) Installing zeromq-dev (4.3.3-r1) 22:19:21 Executing busybox-1.32.1-r6.trigger 22:19:21 OK: 139 MiB in 46 packages 22:19:23 Removing intermediate container 9c9d773f61f3 22:19:23 ---> d884be6cbbb3 22:19:23 Step 8/10 : WORKDIR /app 22:19:23 ---> Running in 7b2e6ead3afa 22:19:23 Removing intermediate container 7b2e6ead3afa 22:19:23 ---> d77609a024f6 22:19:23 Step 9/10 : COPY . . 22:19:25 ---> 80b52ff316dd 22:19:25 Step 10/10 : RUN go mod download 22:19:25 ---> Running in 342fd63eda64 22:19:58 Removing intermediate container 342fd63eda64 22:19:58 ---> 4caa034d9c8d 22:19:58 Successfully built 4caa034d9c8d 22:19:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:19:58 + docker inspect -f . ci-base-image-arm64 22:19:58 . [Pipeline] withDockerContainer 22:19:58 prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container 22:19:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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-arm64 cat 22:20:00 $ docker top 8a3a0a9f47795b83dc5005ee04f4a0364e5d6e7f0e021640ee3967e78cf08f8c -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:01 + go version 22:20:01 go version go1.16.5 linux/arm64 [Pipeline] } 22:20:01 $ docker stop --time=1 8a3a0a9f47795b83dc5005ee04f4a0364e5d6e7f0e021640ee3967e78cf08f8c 22:20:03 $ docker rm -f 8a3a0a9f47795b83dc5005ee04f4a0364e5d6e7f0e021640ee3967e78cf08f8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:20:04 + docker inspect -f . ci-base-image-arm64 22:20:04 . [Pipeline] withDockerContainer 22:20:04 prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container 22:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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-arm64 cat 22:20:06 $ docker top e8758014ac4521e6c3fffc56504b4b7ffb651fc5a6a47f5d74cc4df8394786b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:07 + go mod tidy [Pipeline] sh 22:20:08 + make test 22:20:08 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:21:12 Running on prd-centos7-docker-4c-2g-578 in /w/workspace/dry_app-rfid-llrp-inventory_main [Pipeline] { [Pipeline] ws 22:21:12 Running in /w/workspace/app-rfid-llrp-inventory/5 [Pipeline] { [Pipeline] checkout 22:21:12 The recommended git tool is: NONE 22:21:15 using credential edgex-jenkins-ssh 22:21:15 Cloning the remote Git repository 22:21:15 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:21:15 > git init /w/workspace/app-rfid-llrp-inventory/5 # timeout=10 22:21:15 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 22:21:15 > git --version # timeout=10 22:21:15 > git --version # 'git version 2.24.4' 22:21:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:15 [INFO] Currently running in a labeled security context 22:21:15 [INFO] Currently SELinux is 'enforcing' on the host 22:21:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/5@tmp/jenkins-gitclient-ssh2951510576977133898.key 22:21:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:16 Avoid second fetch 22:21:16 Checking out Revision 07ff70a745b77f70f4b47d5a2d31a9f78666f659 (main) 22:21:16 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:21:16 Time delta: 37 22:21:16 --- FAIL: TestUnixMilli (0.04s) 22:21:16 epoch_helper_test.go:37: Time calculation bad 22:21:16 FAIL 22:21:16 coverage: 89.2% of statements 22:21:16 FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.253s 22:21:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 0.046s coverage: 11.3% of statements 22:21:16 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 0.244s coverage: 72.3% of statements 22:21:16 FAIL 22:21:16 make: *** [Makefile:30: test] Error 1 [Pipeline] } 22:21:16 $ docker stop --time=1 e8758014ac4521e6c3fffc56504b4b7ffb651fc5a6a47f5d74cc4df8394786b0 22:21:16 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 22:21:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:16 > git config core.sparsecheckout # timeout=10 22:21:16 > git checkout -f 07ff70a745b77f70f4b47d5a2d31a9f78666f659 # timeout=10 22:21:19 $ docker rm -f e8758014ac4521e6c3fffc56504b4b7ffb651fc5a6a47f5d74cc4df8394786b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:20 Commit message: "Merge pull request #46 from soda480/US1907" 22:21:20 22:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:21:20 22:21:20 GitHub has been notified of this commit’s build result 22:21:20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:20 provisioning config files... 22:21:20 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/5@tmp/config1341333455954353565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:21 arm64: Pulling from edgex-lftools-log-publisher 22:21:21 448f6bf000e3: Pulling fs layer 22:21:21 f757da607395: Pulling fs layer 22:21:21 05883995daec: Pulling fs layer 22:21:21 8603b9c90790: Pulling fs layer 22:21:21 1560dd03e051: Pulling fs layer 22:21:21 27f5ce0e4adf: Pulling fs layer 22:21:21 c2d8d7efcc4b: Pulling fs layer 22:21:21 1560dd03e051: Waiting 22:21:21 27f5ce0e4adf: Waiting 22:21:21 8603b9c90790: Waiting 22:21:21 c2d8d7efcc4b: Waiting 22:21:21 ---> docker-login.sh 22:21:21 nexus3.edgexfoundry.org:10001 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 f757da607395: Verifying Checksum 22:21:21 f757da607395: Download complete 22:21:21 8603b9c90790: Verifying Checksum 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10002 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 1560dd03e051: Verifying Checksum 22:21:21 1560dd03e051: Download complete 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10003 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10004 22:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:22 Configure a credential helper to remove this warning. See 22:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:22 22:21:22 Login Succeeded 22:21:22 docker.io 22:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:22 05883995daec: Verifying Checksum 22:21:22 05883995daec: Download complete 22:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:22 Configure a credential helper to remove this warning. See 22:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:22 22:21:22 Login Succeeded 22:21:22 ---> docker-login.sh ends 22:21:22 448f6bf000e3: Verifying Checksum 22:21:22 448f6bf000e3: Download complete [Pipeline] } 22:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:22 ========================================================= 22:21:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:21:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:21:23 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 22:21:23 Sending build context to Docker daemon 20.47MB 22:21:23 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 22:21:23 Step 2/10 : FROM ${BASE} AS builder 22:21:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:21:23 540db60ca938: Pulling fs layer 22:21:23 adcc1eea9eea: Pulling fs layer 22:21:23 4c4ab2625f07: Pulling fs layer 22:21:23 0773c198feca: Pulling fs layer 22:21:23 345f892a5656: Pulling fs layer 22:21:23 4796506630df: Pulling fs layer 22:21:23 cc55df3e53f1: Pulling fs layer 22:21:23 4d027b6c602c: Pulling fs layer 22:21:23 449e75d2c14e: Pulling fs layer 22:21:23 0773c198feca: Waiting 22:21:23 345f892a5656: Waiting 22:21:23 4796506630df: Waiting 22:21:23 cc55df3e53f1: Waiting 22:21:23 4d027b6c602c: Waiting 22:21:23 449e75d2c14e: Waiting 22:21:23 4c4ab2625f07: Download complete 22:21:23 adcc1eea9eea: Verifying Checksum 22:21:23 adcc1eea9eea: Download complete 22:21:23 345f892a5656: Download complete 22:21:23 4796506630df: Verifying Checksum 22:21:23 4796506630df: Download complete 22:21:23 cc55df3e53f1: Verifying Checksum 22:21:23 cc55df3e53f1: Download complete 22:21:23 540db60ca938: Verifying Checksum 22:21:23 540db60ca938: Download complete 22:21:23 540db60ca938: Pull complete 22:21:24 adcc1eea9eea: Pull complete 22:21:24 4c4ab2625f07: Pull complete 22:21:24 4d027b6c602c: Verifying Checksum 22:21:24 4d027b6c602c: Download complete 22:21:26 448f6bf000e3: Pull complete 22:21:26 c2d8d7efcc4b: Verifying Checksum 22:21:26 c2d8d7efcc4b: Download complete 22:21:26 f757da607395: Pull complete 22:21:27 449e75d2c14e: Verifying Checksum 22:21:27 449e75d2c14e: Download complete 22:21:28 05883995daec: Pull complete 22:21:28 8603b9c90790: Pull complete 22:21:29 0773c198feca: Verifying Checksum 22:21:29 0773c198feca: Download complete 22:21:29 1560dd03e051: Pull complete 22:21:30 27f5ce0e4adf: Pull complete 22:21:32 0773c198feca: Pull complete 22:21:32 345f892a5656: Pull complete 22:21:32 4796506630df: Pull complete 22:21:32 cc55df3e53f1: Pull complete 22:21:32 4d027b6c602c: Pull complete 22:21:33 449e75d2c14e: Pull complete 22:21:33 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 22:21:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:21:33 ---> 0d28375d9b5b 22:21:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:21:35 ---> Running in 113ca1342c42 22:21:35 Removing intermediate container 113ca1342c42 22:21:35 ---> 9a87fe269b75 22:21:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:21:35 ---> Running in bcabf758333e 22:21:35 Removing intermediate container bcabf758333e 22:21:35 ---> 601d01abc46e 22:21:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:21:35 ---> Running in 0b870dcb5747 22:21:36 Removing intermediate container 0b870dcb5747 22:21:36 ---> cc9210cd013a 22:21:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:21:36 ---> Running in b0041fb4db03 22:21:36 Removing intermediate container b0041fb4db03 22:21:36 ---> 365082331f76 22:21:36 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:36 ---> Running in 447d340143a3 22:21:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:21:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:21:37 (1/6) Installing libc-dev (0.7.2-r3) 22:21:38 (2/6) Installing libsodium (1.0.18-r0) 22:21:38 (3/6) Installing pkgconf (1.7.3-r0) 22:21:38 (4/6) Installing libsodium-dev (1.0.18-r0) 22:21:38 (5/6) Installing libzmq (4.3.3-r1) 22:21:38 (6/6) Installing zeromq-dev (4.3.3-r1) 22:21:38 Executing busybox-1.32.1-r6.trigger 22:21:38 OK: 150 MiB in 46 packages 22:21:39 Removing intermediate container 447d340143a3 22:21:39 ---> 6d3a3ba0d892 22:21:39 Step 8/10 : WORKDIR /app 22:21:39 ---> Running in 588963fd004e 22:21:39 Removing intermediate container 588963fd004e 22:21:39 ---> a13d8bbc6359 22:21:39 Step 9/10 : COPY . . 22:21:39 ---> a246364a83a6 22:21:39 Step 10/10 : RUN go mod download 22:21:39 ---> Running in 016ed5e825b4 22:21:45 c2d8d7efcc4b: Pull complete 22:21:45 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:21:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:21:45 prd-ubuntu18.04-docker-arm64-4c-16g-575 does not seem to be running inside a container 22:21:45 $ 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/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@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:arm64 cat 22:21:49 Removing intermediate container 016ed5e825b4 22:21:49 ---> cf12bf7db040 22:21:49 Successfully built cf12bf7db040 22:21:49 Successfully tagged ci-base-image-x86_64:latest 22:21:49 $ docker top 79d53e2f5fe52a726060c6098dc0222467e79d0d5213ee86d4aa60670f04273d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:21:50 + docker inspect -f . ci-base-image-x86_64 22:21:50 . [Pipeline] withDockerContainer 22:21:50 prd-centos7-docker-4c-2g-578 does not seem to be running inside a container 22:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:21:51 ---> job-cost.sh 22:21:51 lf-activate-venv: SKIPPING 22:21:51 INFO: No Stack... 22:21:51 $ docker top 58daf996bc762217d6a4b7b9966703e7681f50c5a201e45b8a325ed03ae20313 -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:51 + go version 22:21:51 go version go1.16.5 linux/amd64 [Pipeline] } 22:21:51 $ docker stop --time=1 58daf996bc762217d6a4b7b9966703e7681f50c5a201e45b8a325ed03ae20313 22:21:52 INFO: Retrieving Pricing Info for: v2-standard-4 22:21:52 INFO: Archiving Costs 22:21:52 $ docker rm -f 58daf996bc762217d6a4b7b9966703e7681f50c5a201e45b8a325ed03ae20313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:21:53 + docker inspect -f . ci-base-image-x86_64 22:21:53 . [Pipeline] withDockerContainer 22:21:53 prd-centos7-docker-4c-2g-578 does not seem to be running inside a container 22:21:53 + cut -d, -f6 22:21:53 + cat /w/workspace/app-rfid-llrp-inventory/5/archives/cost.csv 22:21:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:21:54 $ docker top d9a3a1c753f85c1ae849ed7aa786a241ae0c740a9d21739728956a6b3f83d126 -eo pid,comm [Pipeline] { [Pipeline] lock 22:21:54 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] 22:21:54 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] did not exist. Created. 22:21:54 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 22:21:54 + go mod tidy [Pipeline] sh 22:21:54 + echo total: 0.18000000715255737 [Pipeline] stash 22:21:55 + make test 22:21:55 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:21:55 Stashed 1 file(s) [Pipeline] } 22:21:55 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:55 $ docker stop --time=1 79d53e2f5fe52a726060c6098dc0222467e79d0d5213ee86d4aa60670f04273d 22:21:57 $ docker rm -f 79d53e2f5fe52a726060c6098dc0222467e79d0d5213ee86d4aa60670f04273d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:57 Failed in branch arm64 22:22:13 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:22:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.078s coverage: 89.2% of statements 22:22:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 0.009s coverage: 11.3% of statements 22:22:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 0.040s coverage: 72.3% of statements 22:22:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:22:21 gofmt -l . 22:22:22 [ "`gofmt -l .`" = "" ] 22:22:22 ./bin/test-attribution.sh 22:22:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:22:22 $ docker stop --time=1 d9a3a1c753f85c1ae849ed7aa786a241ae0c740a9d21739728956a6b3f83d126 22:22:24 $ docker rm -f d9a3a1c753f85c1ae849ed7aa786a241ae0c740a9d21739728956a6b3f83d126 [Pipeline] // withDockerContainer [Pipeline] sh 22:22:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:22:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:27 + ls -al . 22:22:27 total 19464 22:22:27 drwxrwxr-x. 10 jenkins jenkins 4096 Jul 29 22:22 . 22:22:27 drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 22:21 .. 22:22:27 -rw-rw-r--. 1 jenkins jenkins 19749680 Jul 29 22:21 app-rfid-llrp-inventory 22:22:27 -rw-rw-r--. 1 jenkins jenkins 7039 Jul 29 22:21 Attribution.txt 22:22:27 drwxrwxr-x. 2 jenkins jenkins 60 Jul 29 22:21 bin 22:22:27 -rw-r--r--. 1 jenkins jenkins 61872 Jul 29 22:22 coverage.out 22:22:27 -rw-rw-r--. 1 jenkins jenkins 1710 Jul 29 22:21 Dockerfile 22:22:27 -rw-rw-r--. 1 jenkins jenkins 1040 Jul 29 22:21 Dockerfile.build 22:22:27 -rw-rw-r--. 1 jenkins jenkins 262 Jul 29 22:21 .dockerignore 22:22:27 drwxrwxr-x. 8 jenkins jenkins 162 Jul 29 22:21 .git 22:22:27 drwxrwxr-x. 2 jenkins jenkins 103 Jul 29 22:21 .github 22:22:27 -rw-rw-r--. 1 jenkins jenkins 816 Jul 29 22:21 .gitignore 22:22:27 -rw-r--r--. 1 jenkins jenkins 412 Jul 29 22:22 go.mod 22:22:27 -rw-r--r--. 1 jenkins jenkins 19455 Jul 29 22:21 go.sum 22:22:27 drwxrwxr-x. 2 jenkins jenkins 140 Jul 29 22:21 images 22:22:27 drwxrwxr-x. 4 jenkins jenkins 35 Jul 29 22:21 internal 22:22:27 -rw-rw-r--. 1 jenkins jenkins 686 Jul 29 22:21 Jenkinsfile 22:22:27 -rw-rw-r--. 1 jenkins jenkins 11347 Jul 29 22:21 LICENSE 22:22:27 -rw-rw-r--. 1 jenkins jenkins 530 Jul 29 22:21 main.go 22:22:27 -rw-rw-r--. 1 jenkins jenkins 1499 Jul 29 22:21 Makefile 22:22:27 -rw-rw-r--. 1 jenkins jenkins 30705 Jul 29 22:21 README.md 22:22:27 drwxrwxr-x. 2 jenkins jenkins 32 Jul 29 22:21 res 22:22:27 drwxrwxr-x. 4 jenkins jenkins 54 Jul 29 22:21 snap 22:22:27 drwxrwxr-x. 3 jenkins jenkins 18 Jul 29 22:21 static 22:22:27 -rw-rw-r--. 1 jenkins jenkins 11 Jul 29 22:18 VERSION [Pipeline] isUnix [Pipeline] sh 22:22:28 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=07ff70a745b77f70f4b47d5a2d31a9f78666f659 --label arch=amd64 --label version=0.0.1-dev.4 . 22:22:28 Sending build context to Docker daemon 20.47MB 22:22:28 Step 1/28 : ARG BASE=golang:1.16-alpine3.12 22:22:28 Step 2/28 : FROM ${BASE} AS builder 22:22:28 ---> cf12bf7db040 22:22:28 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:22:28 ---> Running in e00f7994c80d 22:22:28 Removing intermediate container e00f7994c80d 22:22:28 ---> 9c867d80dd5e 22:22:28 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 22:22:28 ---> Running in 0196e8feaf25 22:22:28 Removing intermediate container 0196e8feaf25 22:22:28 ---> 9bec55efa284 22:22:28 Step 5/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:22:28 ---> Running in cf66f048d49b 22:22:28 Removing intermediate container cf66f048d49b 22:22:28 ---> 056b0785eb08 22:22:28 Step 6/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:22:28 ---> Running in 7614fe00bf4f 22:22:29 Removing intermediate container 7614fe00bf4f 22:22:29 ---> ee098d53c64b 22:22:29 Step 7/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:29 ---> Running in f418ccdc4f2b 22:22:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:22:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:22:30 OK: 150 MiB in 46 packages 22:22:30 Removing intermediate container f418ccdc4f2b 22:22:30 ---> 1e0d52bc49b2 22:22:30 Step 8/28 : WORKDIR /app 22:22:30 ---> Running in 8a4256ec5524 22:22:30 Removing intermediate container 8a4256ec5524 22:22:30 ---> 362e18501b4c 22:22:30 Step 9/28 : COPY go.mod . 22:22:31 ---> af578ac897d2 22:22:31 Step 10/28 : RUN go mod download 22:22:31 ---> Running in cc1a36ea6d8f 22:22:31 Removing intermediate container cc1a36ea6d8f 22:22:31 ---> 3d32db98cd68 22:22:31 Step 11/28 : COPY . . 22:22:32 ---> b830d3f53a47 22:22:32 Step 12/28 : ARG MAKE="make build" 22:22:32 ---> Running in 0b7be3b2d456 22:22:32 Removing intermediate container 0b7be3b2d456 22:22:32 ---> 67faf5e76fc7 22:22:32 Step 13/28 : RUN $MAKE 22:22:32 ---> Running in c366bcb25767 22:22:32 go mod tidy 22:22:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v1.3.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.1-dev.4 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.1-dev.4" -o app-rfid-llrp-inventory 22:22:47 Removing intermediate container c366bcb25767 22:22:47 ---> bb0a0fffd362 22:22:47 Step 14/28 : FROM alpine:3.12 22:22:47 3.12: Pulling from library/alpine 22:22:47 339de151aab4: Pulling fs layer 22:22:47 339de151aab4: Verifying Checksum 22:22:47 339de151aab4: Download complete 22:22:47 339de151aab4: Pull complete 22:22:47 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 22:22:47 Status: Downloaded newer image for alpine:3.12 22:22:47 ---> 13621d1b12d4 22:22:47 Step 15/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:22:47 ---> Running in b54839d678a6 22:22:47 Removing intermediate container b54839d678a6 22:22:47 ---> e3ed7631943c 22:22:47 Step 16/28 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:22:47 ---> Running in acf38c00257a 22:22:47 Removing intermediate container acf38c00257a 22:22:47 ---> adbff7a25142 22:22:47 Step 17/28 : RUN apk --no-cache add ca-certificates zeromq 22:22:47 ---> Running in 35700be01f27 22:22:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:22:47 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:22:47 (1/6) Installing ca-certificates (20191127-r4) 22:22:47 (2/6) Installing libgcc (9.3.0-r2) 22:22:47 (3/6) Installing libsodium (1.0.18-r0) 22:22:47 (4/6) Installing libstdc++ (9.3.0-r2) 22:22:47 (5/6) Installing libzmq (4.3.3-r0) 22:22:47 (6/6) Installing zeromq (4.3.3-r0) 22:22:47 Executing busybox-1.31.1-r20.trigger 22:22:47 Executing ca-certificates-20191127-r4.trigger 22:22:47 OK: 9 MiB in 20 packages 22:22:48 Removing intermediate container 35700be01f27 22:22:48 ---> 4811780225e7 22:22:48 Step 18/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:22:48 ---> fe300758680f 22:22:48 Step 19/28 : COPY --from=builder /app/LICENSE /LICENSE 22:22:48 ---> 35300cc8efcc 22:22:48 Step 20/28 : COPY --from=builder /app/res/ /res/ 22:22:48 ---> 4bc123540609 22:22:48 Step 21/28 : COPY --from=builder /app/static/ /static/ 22:22:49 ---> ae59d9a2a71a 22:22:49 Step 22/28 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:22:49 ---> 8951277d244a 22:22:49 Step 23/28 : EXPOSE 48086 22:22:49 ---> Running in b12f0337cc41 22:22:49 Removing intermediate container b12f0337cc41 22:22:49 ---> 79cf33e964e8 22:22:49 Step 24/28 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:22:49 ---> Running in e7bf8fe0492f 22:22:49 Removing intermediate container e7bf8fe0492f 22:22:49 ---> ba01fa31402b 22:22:49 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:22:49 ---> Running in 9662b8d8b30c 22:22:49 Removing intermediate container 9662b8d8b30c 22:22:49 ---> 5df243956d44 22:22:49 Step 26/28 : LABEL arch=amd64 22:22:49 ---> Running in dbe695e18458 22:22:49 Removing intermediate container dbe695e18458 22:22:49 ---> d7149b111902 22:22:49 Step 27/28 : LABEL git_sha=07ff70a745b77f70f4b47d5a2d31a9f78666f659 22:22:49 ---> Running in 5c27c13a29f0 22:22:49 Removing intermediate container 5c27c13a29f0 22:22:49 ---> 50834feab513 22:22:49 Step 28/28 : LABEL version=0.0.1-dev.4 22:22:49 ---> Running in dc02aa1956d0 22:22:50 Removing intermediate container dc02aa1956d0 22:22:50 ---> 88612e1e44e6 22:22:50 [Warning] One or more build-args [ARCH] were not consumed 22:22:50 Successfully built 88612e1e44e6 22:22:50 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:50 provisioning config files... 22:22:50 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/5@tmp/config815986745398611555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:50 ---> docker-login.sh 22:22:50 nexus3.edgexfoundry.org:10001 22:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:50 Configure a credential helper to remove this warning. See 22:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:50 22:22:50 Login Succeeded 22:22:50 nexus3.edgexfoundry.org:10002 22:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:51 Configure a credential helper to remove this warning. See 22:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:51 22:22:51 Login Succeeded 22:22:51 nexus3.edgexfoundry.org:10003 22:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:51 Configure a credential helper to remove this warning. See 22:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:51 22:22:51 Login Succeeded 22:22:51 nexus3.edgexfoundry.org:10004 22:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:51 Configure a credential helper to remove this warning. See 22:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:51 22:22:51 Login Succeeded 22:22:51 docker.io 22:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:51 Configure a credential helper to remove this warning. See 22:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:51 22:22:51 Login Succeeded 22:22:51 ---> docker-login.sh ends [Pipeline] } 22:22:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:51 [edgeXDocker.push] Tagging docker image app-rfid-llrp-inventory with the following tags: 22:22:51 07ff70a745b77f70f4b47d5a2d31a9f78666f659 22:22:51 latest 22:22:51 0.0.1-dev.4 22:22:51 07ff70a745b77f70f4b47d5a2d31a9f78666f659-0.0.1-dev.4 22:22:51 main 22:22:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:22:52 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659 [Pipeline] isUnix [Pipeline] sh 22:22:52 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659 22:22:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:52 feaabe524d1d: Preparing 22:22:52 ec2f0fd32252: Preparing 22:22:52 9a8f0dff60a3: Preparing 22:22:52 94f1be41a45a: Preparing 22:22:52 a326d8835659: Preparing 22:22:52 402b7cf7db42: Preparing 22:22:52 32f366d666a5: Preparing 22:22:52 402b7cf7db42: Waiting 22:22:52 32f366d666a5: Waiting 22:22:52 a326d8835659: Pushed 22:22:52 94f1be41a45a: Pushed 22:22:52 ec2f0fd32252: Pushed 22:22:52 9a8f0dff60a3: Pushed 22:22:52 32f366d666a5: Layer already exists 22:22:52 402b7cf7db42: Pushed 22:22:54 feaabe524d1d: Pushed 22:22:55 07ff70a745b77f70f4b47d5a2d31a9f78666f659: digest: sha256:3c0d0603bafaf1ac4b466ef2fba4ff220d667c2528b26c17fb443a533a77125e size: 1782 [Pipeline] isUnix [Pipeline] sh 22:22:55 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest [Pipeline] isUnix [Pipeline] sh 22:22:55 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:22:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:55 feaabe524d1d: Preparing 22:22:55 ec2f0fd32252: Preparing 22:22:55 9a8f0dff60a3: Preparing 22:22:55 94f1be41a45a: Preparing 22:22:55 a326d8835659: Preparing 22:22:55 402b7cf7db42: Preparing 22:22:55 32f366d666a5: Preparing 22:22:55 402b7cf7db42: Waiting 22:22:55 32f366d666a5: Waiting 22:22:55 9a8f0dff60a3: Layer already exists 22:22:55 94f1be41a45a: Layer already exists 22:22:55 ec2f0fd32252: Layer already exists 22:22:55 a326d8835659: Layer already exists 22:22:55 feaabe524d1d: Layer already exists 22:22:55 32f366d666a5: Layer already exists 22:22:55 402b7cf7db42: Layer already exists 22:22:56 latest: digest: sha256:3c0d0603bafaf1ac4b466ef2fba4ff220d667c2528b26c17fb443a533a77125e size: 1782 [Pipeline] isUnix [Pipeline] sh 22:22:56 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 22:22:56 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0.0.1-dev.4 22:22:56 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:56 feaabe524d1d: Preparing 22:22:56 ec2f0fd32252: Preparing 22:22:56 9a8f0dff60a3: Preparing 22:22:56 94f1be41a45a: Preparing 22:22:56 a326d8835659: Preparing 22:22:56 402b7cf7db42: Preparing 22:22:56 32f366d666a5: Preparing 22:22:56 32f366d666a5: Waiting 22:22:56 402b7cf7db42: Waiting 22:22:56 9a8f0dff60a3: Layer already exists 22:22:56 ec2f0fd32252: Layer already exists 22:22:56 94f1be41a45a: Layer already exists 22:22:56 a326d8835659: Layer already exists 22:22:56 feaabe524d1d: Layer already exists 22:22:56 402b7cf7db42: Layer already exists 22:22:56 32f366d666a5: Layer already exists 22:22:57 0.0.1-dev.4: digest: sha256:3c0d0603bafaf1ac4b466ef2fba4ff220d667c2528b26c17fb443a533a77125e size: 1782 [Pipeline] isUnix [Pipeline] sh 22:22:57 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659-0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 22:22:57 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659-0.0.1-dev.4 22:22:57 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:57 feaabe524d1d: Preparing 22:22:57 ec2f0fd32252: Preparing 22:22:57 9a8f0dff60a3: Preparing 22:22:57 94f1be41a45a: Preparing 22:22:57 a326d8835659: Preparing 22:22:57 402b7cf7db42: Preparing 22:22:57 32f366d666a5: Preparing 22:22:57 402b7cf7db42: Waiting 22:22:57 32f366d666a5: Waiting 22:22:57 9a8f0dff60a3: Layer already exists 22:22:57 94f1be41a45a: Layer already exists 22:22:57 ec2f0fd32252: Layer already exists 22:22:57 feaabe524d1d: Layer already exists 22:22:57 a326d8835659: Layer already exists 22:22:57 402b7cf7db42: Layer already exists 22:22:57 32f366d666a5: Layer already exists 22:22:57 07ff70a745b77f70f4b47d5a2d31a9f78666f659-0.0.1-dev.4: digest: sha256:3c0d0603bafaf1ac4b466ef2fba4ff220d667c2528b26c17fb443a533a77125e size: 1782 [Pipeline] isUnix [Pipeline] sh 22:22:58 + docker tag app-rfid-llrp-inventory nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] isUnix [Pipeline] sh 22:22:58 + docker push nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main 22:22:58 The push refers to repository [nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory] 22:22:58 feaabe524d1d: Preparing 22:22:58 ec2f0fd32252: Preparing 22:22:58 9a8f0dff60a3: Preparing 22:22:58 94f1be41a45a: Preparing 22:22:58 a326d8835659: Preparing 22:22:58 402b7cf7db42: Preparing 22:22:58 32f366d666a5: Preparing 22:22:58 402b7cf7db42: Waiting 22:22:58 32f366d666a5: Waiting 22:22:58 9a8f0dff60a3: Layer already exists 22:22:58 ec2f0fd32252: Layer already exists 22:22:58 a326d8835659: Layer already exists 22:22:58 feaabe524d1d: Layer already exists 22:22:58 94f1be41a45a: Layer already exists 22:22:58 32f366d666a5: Layer already exists 22:22:58 402b7cf7db42: Layer already exists 22:22:58 main: digest: sha256:3c0d0603bafaf1ac4b466ef2fba4ff220d667c2528b26c17fb443a533a77125e size: 1782 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:58 ===================================================== [Pipeline] echo 22:22:58 taggedImages: 22:22:58 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659 22:22:58 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:latest 22:22:58 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:0.0.1-dev.4 22:22:58 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:07ff70a745b77f70f4b47d5a2d31a9f78666f659-0.0.1-dev.4 22:22:58 - nexus3.edgexfoundry.org:10004/app-rfid-llrp-inventory:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:59 22:22:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:22:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:59 latest: Pulling from edgex-lftools-log-publisher 22:22:59 b4d181a07f80: Pulling fs layer 22:22:59 a1111a8f2ec3: Pulling fs layer 22:22:59 ed53099fbce6: Pulling fs layer 22:22:59 dc539afda2c1: Pulling fs layer 22:22:59 77bc0d833cb6: Pulling fs layer 22:22:59 9065ff56babe: Pulling fs layer 22:22:59 d287ab97295c: Pulling fs layer 22:22:59 dc539afda2c1: Waiting 22:22:59 77bc0d833cb6: Waiting 22:22:59 9065ff56babe: Waiting 22:22:59 d287ab97295c: Waiting 22:22:59 a1111a8f2ec3: Verifying Checksum 22:22:59 a1111a8f2ec3: Download complete 22:23:00 dc539afda2c1: Verifying Checksum 22:23:00 dc539afda2c1: Download complete 22:23:00 77bc0d833cb6: Verifying Checksum 22:23:00 77bc0d833cb6: Download complete 22:23:00 9065ff56babe: Verifying Checksum 22:23:00 9065ff56babe: Download complete 22:23:00 ed53099fbce6: Verifying Checksum 22:23:00 ed53099fbce6: Download complete 22:23:01 b4d181a07f80: Verifying Checksum 22:23:01 b4d181a07f80: Download complete 22:23:02 b4d181a07f80: Pull complete 22:23:02 a1111a8f2ec3: Pull complete 22:23:02 ed53099fbce6: Pull complete 22:23:02 dc539afda2c1: Pull complete 22:23:03 77bc0d833cb6: Pull complete 22:23:03 9065ff56babe: Pull complete 22:23:04 d287ab97295c: Verifying Checksum 22:23:04 d287ab97295c: Download complete 22:23:08 d287ab97295c: Pull complete 22:23:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:23:08 prd-centos7-docker-4c-2g-578 does not seem to be running inside a container 22:23:09 $ 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/app-rfid-llrp-inventory/5 -v /w/workspace/app-rfid-llrp-inventory/5:/w/workspace/app-rfid-llrp-inventory/5:rw,z -v /w/workspace/app-rfid-llrp-inventory/5@tmp:/w/workspace/app-rfid-llrp-inventory/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:23:11 $ docker top 4370be532dbe5818e0036ea921ed4685a935ba42e47aced107ab50083150cbf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:11 ---> job-cost.sh 22:23:11 lf-activate-venv: SKIPPING 22:23:11 INFO: No Stack... 22:23:12 INFO: Retrieving Pricing Info for: v3-standard-2 22:23:12 INFO: Archiving Costs [Pipeline] sh 22:23:13 + cat /w/workspace/app-rfid-llrp-inventory/5/archives/cost.csv 22:23:13 + cut -d, -f6 [Pipeline] lock 22:23:13 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] 22:23:13 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] did not exist. Created. 22:23:13 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:13 /w/workspace/app-rfid-llrp-inventory/5@tmp/durable-2f51fd71/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/5@tmp/durable-2f51fd71/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:13 + echo total: 0.05999999865889549 [Pipeline] stash 22:23:13 Warning: overwriting stash ‘stack-cost’ 22:23:14 Stashed 1 file(s) [Pipeline] } 22:23:14 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:14 $ docker stop --time=1 4370be532dbe5818e0036ea921ed4685a935ba42e47aced107ab50083150cbf1 22:23:15 $ docker rm -f 4370be532dbe5818e0036ea921ed4685a935ba42e47aced107ab50083150cbf1 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:23:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:23:18 ---> package-listing.sh 22:23:18 ++ facter osfamily 22:23:18 ++ tr '[:upper:]' '[:lower:]' 22:23:18 + OS_FAMILY=redhat 22:23:18 + workspace=/w/workspace/dry_app-rfid-llrp-inventory_main 22:23:18 + START_PACKAGES=/tmp/packages_start.txt 22:23:18 + END_PACKAGES=/tmp/packages_end.txt 22:23:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:23:18 + PACKAGES=/tmp/packages_start.txt 22:23:18 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:23:18 + PACKAGES=/tmp/packages_end.txt 22:23:18 + case "${OS_FAMILY}" in 22:23:18 + rpm -qa 22:23:18 + sort 22:23:18 + '[' -f /tmp/packages_start.txt ']' 22:23:18 + '[' -f /tmp/packages_end.txt ']' 22:23:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:23:18 + '[' /w/workspace/dry_app-rfid-llrp-inventory_main ']' 22:23:18 + mkdir -p /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ 22:23:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-rfid-llrp-inventory_main/archives/ [Pipeline] echo 22:23:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:23:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:19 22:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:20 latest: Pulling from edgex-lftools-log-publisher 22:23:20 b4d181a07f80: Pulling fs layer 22:23:20 a1111a8f2ec3: Pulling fs layer 22:23:20 ed53099fbce6: Pulling fs layer 22:23:20 dc539afda2c1: Pulling fs layer 22:23:20 77bc0d833cb6: Pulling fs layer 22:23:20 9065ff56babe: Pulling fs layer 22:23:20 d287ab97295c: Pulling fs layer 22:23:20 dc539afda2c1: Waiting 22:23:20 77bc0d833cb6: Waiting 22:23:20 9065ff56babe: Waiting 22:23:20 d287ab97295c: Waiting 22:23:20 a1111a8f2ec3: Verifying Checksum 22:23:20 a1111a8f2ec3: Download complete 22:23:20 dc539afda2c1: Verifying Checksum 22:23:20 dc539afda2c1: Download complete 22:23:20 77bc0d833cb6: Verifying Checksum 22:23:20 77bc0d833cb6: Download complete 22:23:20 9065ff56babe: Verifying Checksum 22:23:20 9065ff56babe: Download complete 22:23:20 ed53099fbce6: Verifying Checksum 22:23:20 ed53099fbce6: Download complete 22:23:21 b4d181a07f80: Verifying Checksum 22:23:21 b4d181a07f80: Download complete 22:23:22 b4d181a07f80: Pull complete 22:23:22 a1111a8f2ec3: Pull complete 22:23:23 ed53099fbce6: Pull complete 22:23:23 dc539afda2c1: Pull complete 22:23:23 77bc0d833cb6: Pull complete 22:23:23 9065ff56babe: Pull complete 22:23:24 d287ab97295c: Verifying Checksum 22:23:24 d287ab97295c: Download complete 22:23:29 d287ab97295c: Pull complete 22:23:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:23:29 prd-centos7-docker-4c-2g-577 does not seem to be running inside a container 22:23:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-rfid-llrp-inventory_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-rfid-llrp-inventory_main -v /w/workspace/dry_app-rfid-llrp-inventory_main:/w/workspace/dry_app-rfid-llrp-inventory_main:rw,z -v /w/workspace/dry_app-rfid-llrp-inventory_main@tmp:/w/workspace/dry_app-rfid-llrp-inventory_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 22:23:31 $ docker top 587c3763d29f3c60bf3fa6c461ecfc9e6dd774553c75ca206e893ffc683d0a86 -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:31 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:32 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:32 + ls /var/log/sa-host 22:23:32 + sadf -c /var/log/sa-host/sa05 22:23:32 file_magic: OK 22:23:32 HZ: Using current value: 100 22:23:32 file_header: OK 22:23:32 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:23:32 Statistics: 22:23:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:23:32 File successfully converted to sysstat format version 12.0.3 22:23:32 + sadf -c /var/log/sa-host/sa29 22:23:32 file_magic: OK 22:23:32 HZ: Using current value: 100 22:23:32 file_header: OK 22:23:32 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:23:32 Statistics: 22:23:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:23:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:33 provisioning config files... 22:23:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-rfid-llrp-inventory_main@tmp/config3310138624967744958tmp [Pipeline] { [Pipeline] echo 22:23:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:33 ---> create-netrc.sh [Pipeline] } 22:23:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:33 ---> python-tools-install.sh [Pipeline] echo 22:23:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:34 ---> sudo-logs.sh 22:23:34 Archiving 'sudo' log.. 22:23:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-577.vexxhost.local: Name or service not known 22:23:34 sudo: unable to resolve host prd-centos7-docker-4c-2g-577.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:23:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:34 ---> job-cost.sh 22:23:34 lf-activate-venv: SKIPPING 22:23:34 DEBUG: total: 0.05999999865889549 22:23:34 INFO: Retrieving Stack Cost... 22:23:35 INFO: Retrieving Pricing Info for: v3-standard-2 22:23:36 INFO: Archiving Costs [Pipeline] echo 22:23:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:36 ---> logs-deploy.sh 22:23:36 lf-activate-venv: SKIPPING 22:23:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/main/5 22:23:36 INFO: archiving workspace using pattern(s): 22:23:37 Archives upload complete. 22:23:37 INFO: archiving logs to Nexus 22:23:37 ---> uname -a: 22:23:37 Linux prd-centos7-docker-4c-2g-577.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 22:23:37 22:23:37 22:23:37 ---> lscpu: 22:23:37 Architecture: x86_64 22:23:37 CPU op-mode(s): 32-bit, 64-bit 22:23:37 Byte Order: Little Endian 22:23:37 Address sizes: 40 bits physical, 48 bits virtual 22:23:37 CPU(s): 2 22:23:37 On-line CPU(s) list: 0,1 22:23:37 Thread(s) per core: 1 22:23:37 Core(s) per socket: 1 22:23:37 Socket(s): 2 22:23:37 NUMA node(s): 1 22:23:37 Vendor ID: AuthenticAMD 22:23:37 CPU family: 23 22:23:37 Model: 49 22:23:37 Model name: AMD EPYC-Rome Processor 22:23:37 Stepping: 0 22:23:37 CPU MHz: 2799.998 22:23:37 BogoMIPS: 5599.99 22:23:37 Virtualization: AMD-V 22:23:37 Hypervisor vendor: KVM 22:23:37 Virtualization type: full 22:23:37 L1d cache: 32K 22:23:37 L1i cache: 32K 22:23:37 L2 cache: 512K 22:23:37 L3 cache: 16384K 22:23:37 NUMA node0 CPU(s): 0,1 22:23:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 22:23:37 22:23:37 22:23:37 ---> nproc: 22:23:37 2 22:23:37 22:23:37 22:23:37 ---> df -h: 22:23:37 Filesystem Size Used Avail Use% Mounted on 22:23:37 overlay 40G 7.7G 33G 20% / 22:23:37 tmpfs 64M 0 64M 0% /dev 22:23:37 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:23:37 shm 64M 0 64M 0% /dev/shm 22:23:37 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:23:37 22:23:37 22:23:37 ---> sar -b -r -n DEV: 22:23:37 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 22:23:37 22:23:37 22:17:27 LINUX RESTART (2 CPU) 22:23:37 22:23:37 22:18:01 tps rtps wtps bread/s bwrtn/s 22:23:37 22:19:01 84.63 4.43 80.20 2834.77 4913.59 22:23:37 22:20:01 1.86 0.00 1.86 0.00 36.01 22:23:37 22:21:01 0.28 0.00 0.28 0.00 2.62 22:23:37 22:22:01 0.25 0.00 0.25 0.00 3.46 22:23:37 22:23:01 0.25 0.00 0.25 0.00 2.90 22:23:37 Average: 17.51 0.89 16.62 569.04 995.24 22:23:37 22:23:37 22:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:23:37 22:19:01 5428996 0 807060 10.08 2620 1770264 1302980 14.39 588484 1591232 132 22:23:37 22:20:01 5442240 0 793812 9.91 2620 1770268 1205688 13.31 577608 1591192 16 22:23:37 22:21:01 5442000 0 794052 9.91 2620 1770268 1205688 13.31 576844 1591936 8 22:23:37 22:22:01 5437240 0 798804 9.97 2620 1770276 1206040 13.32 581820 1591936 20 22:23:37 22:23:01 5435888 0 800152 9.99 2620 1770280 1205824 13.31 579676 1595672 8 22:23:37 Average: 5437273 0 798776 9.97 2620 1770271 1225244 13.53 580886 1592394 37 22:23:37 22:23:37 22:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:23:37 22:19:01 eth0 280.50 226.92 920.24 62.17 0.00 0.00 0.00 0.00 22:23:37 22:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:19:01 docker0 53.83 40.84 4.91 152.20 0.00 0.00 0.00 0.00 22:23:37 22:20:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:23:37 22:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:21:01 eth0 0.55 0.08 0.06 0.01 0.00 0.00 0.00 0.00 22:23:37 22:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:22:01 eth0 0.45 0.43 0.27 0.21 0.00 0.00 0.00 0.00 22:23:37 22:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:23:01 eth0 0.20 0.18 0.08 0.04 0.00 0.00 0.00 0.00 22:23:37 22:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 22:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 Average: eth0 56.56 45.71 184.81 12.53 0.00 0.00 0.00 0.00 22:23:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:23:37 Average: docker0 10.81 8.20 0.98 30.55 0.00 0.00 0.00 0.00 22:23:37 22:23:37 22:23:37 ---> sar -P ALL: 22:23:37 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 22:23:37 22:23:37 22:17:27 LINUX RESTART (2 CPU) 22:23:37 22:23:37 22:18:01 CPU %user %nice %system %iowait %steal %idle 22:23:37 22:19:01 all 9.24 0.00 2.89 2.36 0.05 85.46 22:23:37 22:19:01 0 10.26 0.00 2.88 0.92 0.05 85.89 22:23:37 22:19:01 1 8.22 0.00 2.90 3.80 0.05 85.03 22:23:37 22:20:01 all 0.14 0.00 0.04 0.00 0.03 99.80 22:23:37 22:20:01 0 0.05 0.00 0.05 0.00 0.03 99.86 22:23:37 22:20:01 1 0.22 0.00 0.03 0.00 0.02 99.73 22:23:37 22:21:01 all 0.13 0.00 0.04 0.00 0.03 99.81 22:23:37 22:21:01 0 0.05 0.00 0.05 0.00 0.03 99.87 22:23:37 22:21:01 1 0.20 0.00 0.03 0.00 0.02 99.75 22:23:37 22:22:01 all 0.18 0.00 0.03 0.00 0.03 99.77 22:23:37 22:22:01 0 0.03 0.00 0.02 0.00 0.03 99.92 22:23:37 22:22:01 1 0.32 0.00 0.03 0.00 0.03 99.62 22:23:37 22:23:01 all 0.07 0.00 0.03 0.00 0.03 99.87 22:23:37 22:23:01 0 0.08 0.00 0.02 0.00 0.02 99.88 22:23:37 22:23:01 1 0.05 0.00 0.03 0.00 0.05 99.87 22:23:37 Average: all 1.93 0.00 0.60 0.47 0.03 96.98 22:23:37 Average: 0 2.07 0.00 0.60 0.18 0.03 97.12 22:23:37 Average: 1 1.78 0.00 0.60 0.75 0.03 96.84 22:23:37 22:23:37 22:23:37