Pull request #123 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8fced13912e83703fef50f539f4763de25d3360c+12b7e2a68f9653fea98bc39e60cc71d305210046 (1e9ead1ee0886f4e197544ca40ac9df9324e42f0) 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-ssh14027397377777773247.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2046649628186485445.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6423738241400424895.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-123/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10613414559240659085.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14429915589122932604.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-123/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-123/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5982022621258223022.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118470’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118471’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118473’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118478’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118479’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-118474’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-118475’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118478 in /w/workspace/y_app-rfid-llrp-inventory_PR-123 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-123 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 12b7e2a68f9653fea98bc39e60cc71d305210046 into PR head commit 8fced13912e83703fef50f539f4763de25d3360c Merge succeeded, producing 8fced13912e83703fef50f539f4763de25d3360c Checking out Revision 8fced13912e83703fef50f539f4763de25d3360c (PR-123) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fced13912e83703fef50f539f4763de25d3360c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 12b7e2a68f9653fea98bc39e60cc71d305210046 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fced13912e83703fef50f539f4763de25d3360c # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:23 ========================================================= 17:32:23 EdgeX Global Pipelines Version Info 17:32:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:32:24 ------------------- 17:32:24 stable info: 17:32:24 ------------------- 17:32:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:32:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:24 Message: update stable to v1.0.244 17:32:24 ------------------- 17:32:24 experimental info: 17:32:24 ------------------- 17:32:24 Commited By: **** collab-it+edgex@linuxfoundation.org 17:32:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:32:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:32:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fced13912e83703fef50f539f4763de25d3360c [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fced13 [Pipeline] echo 17:32:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:26 provisioning config files... 17:32:26 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/config17357929310589625746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:26 ---> docker-login.sh 17:32:26 nexus3.edgexfoundry.org:10001 17:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:27 Configure a credential helper to remove this warning. See 17:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:27 17:32:27 Login Succeeded 17:32:27 nexus3.edgexfoundry.org:10002 17:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:27 Configure a credential helper to remove this warning. See 17:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:27 17:32:27 Login Succeeded 17:32:27 nexus3.edgexfoundry.org:10003 17:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:27 Configure a credential helper to remove this warning. See 17:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:27 17:32:27 Login Succeeded 17:32:27 nexus3.edgexfoundry.org:10004 17:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:27 Configure a credential helper to remove this warning. See 17:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:27 17:32:27 Login Succeeded 17:32:27 docker.io 17:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:27 Configure a credential helper to remove this warning. See 17:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:27 17:32:27 Login Succeeded 17:32:27 ---> docker-login.sh ends [Pipeline] } 17:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:32:28 + git rev-list -1 --merges 8fced13912e83703fef50f539f4763de25d3360c~1..8fced13912e83703fef50f539f4763de25d3360c [Pipeline] echo 17:32:28 -----------> git rev-list -1 --merges 8fced13912e83703fef50f539f4763de25d3360c~1..8fced13912e83703fef50f539f4763de25d3360c 8fced13912e83703fef50f539f4763de25d3360c [false] [Pipeline] sh 17:32:28 + git log --format=format:%s -1 8fced13912e83703fef50f539f4763de25d3360c [Pipeline] echo 17:32:29 ========================================================= 17:32:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:32:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:29 + git log --format=format:%s -1 8fced13912e83703fef50f539f4763de25d3360c [Pipeline] echo 17:32:29 [semverPrep] GIT_COMMIT: 8fced13912e83703fef50f539f4763de25d3360c, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 17:32:29 [semverPrep] This is not a build commit. [Pipeline] sh 17:32:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:32:29 + grep -v github /etc/ssh/ssh_known_hosts 17:32:29 + [ -e /tmp/ssh_known_hosts ] 17:32:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:32:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:32:29 + sudo tee -a /etc/ssh/ssh_known_hosts 17:32:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:30 17:32:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:30 0.1.4: Pulling from edgex-devops/py-git-semver 17:32:30 b85a868b505f: Pulling fs layer 17:32:30 e2be974225ed: Pulling fs layer 17:32:30 339a4e72a1f5: Pulling fs layer 17:32:30 988bab9f4d93: Pulling fs layer 17:32:30 1469e6f7b9e6: Pulling fs layer 17:32:30 eaf3925da568: Pulling fs layer 17:32:30 bab4dde63d76: Pulling fs layer 17:32:30 bde34c3a00c8: Pulling fs layer 17:32:30 b352a97aabf1: Pulling fs layer 17:32:30 4872d77fe225: Pulling fs layer 17:32:30 5851b861e8e6: Pulling fs layer 17:32:30 eaf3925da568: Waiting 17:32:30 988bab9f4d93: Waiting 17:32:30 1469e6f7b9e6: Waiting 17:32:30 bab4dde63d76: Waiting 17:32:30 bde34c3a00c8: Waiting 17:32:30 b352a97aabf1: Waiting 17:32:30 4872d77fe225: Waiting 17:32:30 5851b861e8e6: Waiting 17:32:30 e2be974225ed: Verifying Checksum 17:32:30 e2be974225ed: Download complete 17:32:30 988bab9f4d93: Verifying Checksum 17:32:30 988bab9f4d93: Download complete 17:32:31 1469e6f7b9e6: Verifying Checksum 17:32:31 1469e6f7b9e6: Download complete 17:32:31 339a4e72a1f5: Verifying Checksum 17:32:31 339a4e72a1f5: Download complete 17:32:31 eaf3925da568: Download complete 17:32:31 bde34c3a00c8: Download complete 17:32:31 b352a97aabf1: Verifying Checksum 17:32:31 b352a97aabf1: Download complete 17:32:31 4872d77fe225: Verifying Checksum 17:32:31 4872d77fe225: Download complete 17:32:31 5851b861e8e6: Download complete 17:32:31 b85a868b505f: Verifying Checksum 17:32:31 b85a868b505f: Download complete 17:32:31 bab4dde63d76: Verifying Checksum 17:32:31 bab4dde63d76: Download complete 17:32:32 b85a868b505f: Pull complete 17:32:32 e2be974225ed: Pull complete 17:32:33 339a4e72a1f5: Pull complete 17:32:33 988bab9f4d93: Pull complete 17:32:33 1469e6f7b9e6: Pull complete 17:32:33 eaf3925da568: Pull complete 17:32:35 bab4dde63d76: Pull complete 17:32:35 bde34c3a00c8: Pull complete 17:32:35 b352a97aabf1: Pull complete 17:32:35 4872d77fe225: Pull complete 17:32:35 5851b861e8e6: Pull complete 17:32:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:32:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:35 prd-ubuntu20.04-docker-8c-8g-118478 does not seem to be running inside a container 17:32:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-123 -v /w/workspace/y_app-rfid-llrp-inventory_PR-123:/w/workspace/y_app-rfid-llrp-inventory_PR-123:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:32:37 $ docker top 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f -eo pid,comm 17:32:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:32:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:37 [ssh-agent] Looking for ssh-agent implementation... 17:32:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:37 $ docker exec 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f ssh-agent 17:32:37 SSH_AUTH_SOCK=/tmp/ssh-E8oIc9galjfQ/agent.32 17:32:37 SSH_AGENT_PID=38 17:32:37 Running ssh-add (command line suppressed) 17:32:37 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/private_key_16196751097855265477.key (/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/private_key_16196751097855265477.key) 17:32:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:38 + git tag --points-at HEAD [Pipeline] } 17:32:38 $ docker exec --env ******** --env ******** 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f ssh-agent -k 17:32:38 unset SSH_AUTH_SOCK; 17:32:38 unset SSH_AGENT_PID; 17:32:38 echo Agent pid 38 killed; 17:32:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:32:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:38 [ssh-agent] Looking for ssh-agent implementation... 17:32:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:38 $ docker exec 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f ssh-agent 17:32:38 SSH_AUTH_SOCK=/tmp/ssh-hyNKRIiWvc3B/agent.70 17:32:38 SSH_AGENT_PID=76 17:32:38 Running ssh-add (command line suppressed) 17:32:38 Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/private_key_3344407825925834330.key (/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/private_key_3344407825925834330.key) 17:32:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:39 + git semver init 17:32:39 2022-11-07 17:32:39,416 [run_init] DEBUG init version:0.0.0 force:False 17:32:39 2022-11-07 17:32:39,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver 17:32:39 2022-11-07 17:32:39,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver 17:32:39 2022-11-07 17:32:39,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-123, universal_newlines=False, shell=None, istream=None) 17:32:42 2022-11-07 17:32:41,869 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-123/.git/info/exclude 17:32:42 2022-11-07 17:32:41,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver/PR-123 with force:False 17:32:42 2022-11-07 17:32:41,869 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver/PR-123 17:32:42 2022-11-07 17:32:41,874 [execute] INFO git cat-file --batch-check 17:32:42 2022-11-07 17:32:41,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver, universal_newlines=False, shell=None, istream=) 17:32:42 2022-11-07 17:32:41,881 [execute] INFO git cat-file --batch 17:32:42 2022-11-07 17:32:41,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver, universal_newlines=False, shell=None, istream=) 17:32:42 2022-11-07 17:32:41,887 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-123/.semver/PR-123 17:32:42 0.0.0 [Pipeline] } 17:32:42 $ docker exec --env ******** --env ******** 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f ssh-agent -k 17:32:42 unset SSH_AUTH_SOCK; 17:32:42 unset SSH_AGENT_PID; 17:32:42 echo Agent pid 76 killed; 17:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:42 + git semver [Pipeline] } 17:32:43 $ docker stop --time=1 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f 17:32:44 $ docker rm -f 82314ceebfc14ef87330c68421267a36f8435af9702f52f225fb77872463ea7f [Pipeline] // withDockerContainer [Pipeline] sh 17:32:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:32:44 Stashed 1 file(s) [Pipeline] echo 17:32:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:45 provisioning config files... 17:32:45 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/config6903655350847921227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:46 ---> docker-login.sh 17:32:46 nexus3.edgexfoundry.org:10001 17:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:46 Configure a credential helper to remove this warning. See 17:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:46 17:32:46 Login Succeeded 17:32:46 nexus3.edgexfoundry.org:10002 17:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:46 Configure a credential helper to remove this warning. See 17:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:46 17:32:46 Login Succeeded 17:32:46 nexus3.edgexfoundry.org:10003 17:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:46 Configure a credential helper to remove this warning. See 17:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:46 17:32:46 Login Succeeded 17:32:46 nexus3.edgexfoundry.org:10004 17:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:46 Configure a credential helper to remove this warning. See 17:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:46 17:32:46 Login Succeeded 17:32:46 docker.io 17:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:46 Configure a credential helper to remove this warning. See 17:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:46 17:32:46 Login Succeeded 17:32:46 ---> docker-login.sh ends [Pipeline] } 17:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:47 ========================================================= 17:32:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:32:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:32:47 Sending build context to Docker daemon 12.52MB 17:32:47 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:32:47 Step 2/13 : FROM ${BASE} AS builder 17:32:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:47 213ec9aee27d: Pulling fs layer 17:32:47 4583459ba037: Pulling fs layer 17:32:47 93c1e223e6f2: Pulling fs layer 17:32:47 53926ce57604: Pulling fs layer 17:32:47 21b2b0c7a3f4: Pulling fs layer 17:32:47 22ff95d597cd: Pulling fs layer 17:32:47 12d6caf4c0d1: Pulling fs layer 17:32:47 96b7cbca73a9: Pulling fs layer 17:32:47 a7acece74701: Pulling fs layer 17:32:47 53926ce57604: Waiting 17:32:47 21b2b0c7a3f4: Waiting 17:32:47 22ff95d597cd: Waiting 17:32:47 96b7cbca73a9: Waiting 17:32:47 a7acece74701: Waiting 17:32:47 12d6caf4c0d1: Waiting 17:32:47 93c1e223e6f2: Verifying Checksum 17:32:47 93c1e223e6f2: Download complete 17:32:47 4583459ba037: Verifying Checksum 17:32:47 4583459ba037: Download complete 17:32:47 21b2b0c7a3f4: Verifying Checksum 17:32:47 21b2b0c7a3f4: Download complete 17:32:47 22ff95d597cd: Download complete 17:32:47 213ec9aee27d: Verifying Checksum 17:32:47 12d6caf4c0d1: Verifying Checksum 17:32:47 12d6caf4c0d1: Download complete 17:32:47 213ec9aee27d: Pull complete 17:32:48 4583459ba037: Pull complete 17:32:48 93c1e223e6f2: Pull complete 17:32:48 a7acece74701: Verifying Checksum 17:32:48 a7acece74701: Download complete 17:32:48 96b7cbca73a9: Verifying Checksum 17:32:48 96b7cbca73a9: Download complete 17:32:48 53926ce57604: Verifying Checksum 17:32:48 53926ce57604: Download complete 17:32:52 53926ce57604: Pull complete 17:32:52 21b2b0c7a3f4: Pull complete 17:32:52 22ff95d597cd: Pull complete 17:32:52 12d6caf4c0d1: Pull complete 17:32:54 96b7cbca73a9: Pull complete 17:32:55 a7acece74701: Pull complete 17:32:55 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:32:55 ---> db6d94c90886 17:32:55 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:32:57 ---> Running in 8dfc4997e736 17:32:57 Removing intermediate container 8dfc4997e736 17:32:57 ---> c227138b7a93 17:32:57 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:32:57 ---> Running in 55caecf39fc5 17:32:57 Removing intermediate container 55caecf39fc5 17:32:57 ---> a3fd85e9d201 17:32:57 Step 5/13 : ARG ADD_BUILD_TAGS="" 17:32:57 ---> Running in d322334a6267 17:32:57 Removing intermediate container d322334a6267 17:32:57 ---> 73c7f99e2c19 17:32:57 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:32:57 ---> Running in f223066d2030 17:32:57 Removing intermediate container f223066d2030 17:32:57 ---> 5f5312942b3d 17:32:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:57 ---> Running in 577636bd5c25 17:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:32:58 OK: 211 MiB in 51 packages 17:32:58 Removing intermediate container 577636bd5c25 17:32:58 ---> 13c786a504b2 17:32:58 Step 8/13 : WORKDIR /app 17:32:58 ---> Running in 523f64239b2e 17:32:58 Removing intermediate container 523f64239b2e 17:32:58 ---> babe15ca1162 17:32:58 Step 9/13 : COPY go.mod vendor* ./ 17:32:59 ---> dcced1de04b3 17:32:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:59 ---> Running in ebaf4b199474 17:33:00 Still waiting to schedule task 17:33:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:33:17 Removing intermediate container ebaf4b199474 17:33:17 ---> 42ad0933814c 17:33:17 Step 11/13 : COPY . . 17:33:17 ---> 799dc020c595 17:33:17 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:17 ---> Running in 1ef1e0e11ee3 17:33:17 Removing intermediate container 1ef1e0e11ee3 17:33:17 ---> fab38a1b46d5 17:33:17 Step 13/13 : RUN $MAKE 17:33:17 ---> Running in 9523d66e97b3 17:33:17 noop 17:33:17 Removing intermediate container 9523d66e97b3 17:33:17 ---> 076c5571c0ed 17:33:17 Successfully built 076c5571c0ed 17:33:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:17 + docker inspect -f . ci-base-image-x86_64 17:33:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:17 prd-ubuntu20.04-docker-8c-8g-118478 does not seem to be running inside a container 17:33:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-123 -v /w/workspace/y_app-rfid-llrp-inventory_PR-123:/w/workspace/y_app-rfid-llrp-inventory_PR-123:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:33:18 $ docker top 6ecff39bba7e99fb2afd4427ce65aa5f59ddafaa2d39563f2c13e5a6ad53905c -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:18 + go version 17:33:18 go version go1.18.7 linux/amd64 [Pipeline] } 17:33:18 $ docker stop --time=1 6ecff39bba7e99fb2afd4427ce65aa5f59ddafaa2d39563f2c13e5a6ad53905c 17:33:19 $ docker rm -f 6ecff39bba7e99fb2afd4427ce65aa5f59ddafaa2d39563f2c13e5a6ad53905c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:20 + docker inspect -f . ci-base-image-x86_64 17:33:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:20 prd-ubuntu20.04-docker-8c-8g-118478 does not seem to be running inside a container 17:33:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-123 -v /w/workspace/y_app-rfid-llrp-inventory_PR-123:/w/workspace/y_app-rfid-llrp-inventory_PR-123:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:33:21 $ docker top 51f91fcffbf08683f910743914e7fcb45a8eaaa38fd0fef90bba5290110bd3cb -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:21 + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-123 [Pipeline] fileExists [Pipeline] sh 17:33:21 + make test 17:33:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:33:31 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:33:31 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.045s coverage: 86.2% of statements 17:33:31 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:33:34 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.547s coverage: 71.9% of statements 17:33:42 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:33:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:33:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:33:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:33:45 ./bin/test-attribution.sh [Pipeline] echo 17:33:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:33:45 $ docker stop --time=1 51f91fcffbf08683f910743914e7fcb45a8eaaa38fd0fef90bba5290110bd3cb 17:33:47 $ docker rm -f 51f91fcffbf08683f910743914e7fcb45a8eaaa38fd0fef90bba5290110bd3cb [Pipeline] // withDockerContainer [Pipeline] sh 17:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:33:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:48 + ls -al . 17:33:48 total 240 17:33:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:33 . 17:33:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 .. 17:33:48 -rw-rw-r-- 1 jenkins jenkins 262 Nov 7 17:32 .dockerignore 17:33:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:33 .git 17:33:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 .github 17:33:48 -rw-rw-r-- 1 jenkins jenkins 788 Nov 7 17:32 .gitignore 17:33:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:32 .golangci.yml 17:33:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:32 .semver 17:33:48 -rw-rw-r-- 1 jenkins jenkins 9922 Nov 7 17:32 Attribution.txt 17:33:48 -rw-rw-r-- 1 jenkins jenkins 4331 Nov 7 17:32 CHANGELOG.md 17:33:48 -rw-rw-r-- 1 jenkins jenkins 1815 Nov 7 17:32 Dockerfile 17:33:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:32 GOVERNANCE.md 17:33:48 -rw-rw-r-- 1 jenkins jenkins 687 Nov 7 17:32 Jenkinsfile 17:33:48 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 7 17:32 LICENSE 17:33:48 -rw-rw-r-- 1 jenkins jenkins 3163 Nov 7 17:32 Makefile 17:33:48 -rw-rw-r-- 1 jenkins jenkins 617 Nov 7 17:32 OWNERS.md 17:33:48 -rw-rw-r-- 1 jenkins jenkins 31023 Nov 7 17:32 README.md 17:33:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:32 VERSION 17:33:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 bin 17:33:48 -rw-r--r-- 1 jenkins jenkins 41008 Nov 7 17:33 coverage.out 17:33:48 -rw-rw-r-- 1 jenkins jenkins 3604 Nov 7 17:32 go.mod 17:33:48 -rw-rw-r-- 1 jenkins jenkins 44871 Nov 7 17:32 go.sum 17:33:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 images 17:33:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 internal 17:33:48 -rw-rw-r-- 1 jenkins jenkins 531 Nov 7 17:32 main.go 17:33:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 res 17:33:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 snap 17:33:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:49 + 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=8fced13912e83703fef50f539f4763de25d3360c --label arch=amd64 --label version=0.0.0 . 17:33:49 Sending build context to Docker daemon 12.52MB 17:33:49 Step 1/30 : ARG BASE=golang:1.18-alpine3.16 17:33:49 Step 2/30 : FROM ${BASE} AS builder 17:33:49 ---> 076c5571c0ed 17:33:49 Step 3/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:33:49 ---> Running in f98ef37c63c7 17:33:49 Removing intermediate container f98ef37c63c7 17:33:49 ---> 04251244a026 17:33:49 Step 4/30 : ARG ALPINE_PKG_EXTRA="" 17:33:49 ---> Running in 9986f4f04564 17:33:49 Removing intermediate container 9986f4f04564 17:33:49 ---> 77de86703edc 17:33:49 Step 5/30 : ARG ADD_BUILD_TAGS="" 17:33:49 ---> Running in 53e2473e93fe 17:33:49 Removing intermediate container 53e2473e93fe 17:33:49 ---> 9b093d4fb812 17:33:49 Step 6/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:33:49 ---> Running in 468198b1f274 17:33:49 Removing intermediate container 468198b1f274 17:33:49 ---> bf8ed0b4fc82 17:33:49 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:49 ---> Running in f14e115a2205 17:33:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:33:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:33:50 OK: 211 MiB in 51 packages 17:33:50 Removing intermediate container f14e115a2205 17:33:50 ---> 77a2415935d6 17:33:50 Step 8/30 : WORKDIR /app 17:33:50 ---> Running in 535be2c1a0ff 17:33:50 Removing intermediate container 535be2c1a0ff 17:33:50 ---> 87422953f49c 17:33:50 Step 9/30 : COPY go.mod vendor* ./ 17:33:51 ---> 6fad836a90eb 17:33:51 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:51 ---> Running in 3d03d63d6c51 17:33:51 Removing intermediate container 3d03d63d6c51 17:33:51 ---> 02c69a5ea972 17:33:51 Step 11/30 : COPY . . 17:33:52 ---> 7d0e61c45c96 17:33:52 Step 12/30 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:52 ---> Running in 5fc91980ed91 17:33:52 Removing intermediate container 5fc91980ed91 17:33:52 ---> 49d748d15eb8 17:33:52 Step 13/30 : RUN $MAKE 17:33:52 ---> Running in e365a7f32df6 17:33:52 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:34:14 Removing intermediate container e365a7f32df6 17:34:14 ---> 992ec0f5408e 17:34:14 Step 14/30 : FROM alpine:3.14 17:34:14 3.14: Pulling from library/alpine 17:34:14 c7ed990a2339: Pulling fs layer 17:34:14 c7ed990a2339: Verifying Checksum 17:34:14 c7ed990a2339: Download complete 17:34:14 c7ed990a2339: Pull complete 17:34:14 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:34:14 Status: Downloaded newer image for alpine:3.14 17:34:14 ---> dd53f409bf0b 17:34:14 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:34:14 ---> Running in 4ae406f9c936 17:34:15 Removing intermediate container 4ae406f9c936 17:34:15 ---> a44630768495 17:34:15 Step 16/30 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:34:15 ---> Running in bcb7387163f6 17:34:15 Removing intermediate container bcb7387163f6 17:34:15 ---> bb7df6c36e03 17:34:15 Step 17/30 : RUN apk --no-cache add ca-certificates zeromq dumb-init 17:34:15 ---> Running in af8c91ac86ac 17:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:34:15 (1/7) Installing ca-certificates (20220614-r0) 17:34:15 (2/7) Installing dumb-init (1.2.5-r1) 17:34:15 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:34:15 (4/7) Installing libsodium (1.0.18-r0) 17:34:15 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:34:15 (6/7) Installing libzmq (4.3.4-r0) 17:34:15 (7/7) Installing zeromq (4.3.4-r0) 17:34:15 Executing busybox-1.33.1-r8.trigger 17:34:15 Executing ca-certificates-20220614-r0.trigger 17:34:15 OK: 9 MiB in 21 packages 17:34:16 Removing intermediate container af8c91ac86ac 17:34:16 ---> 912a34d2ccf2 17:34:16 Step 18/30 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:34:16 ---> b645ede4c121 17:34:16 Step 19/30 : COPY --from=builder /app/LICENSE /LICENSE 17:34:16 ---> e684b195003f 17:34:16 Step 20/30 : COPY --from=builder /app/res/ /res/ 17:34:16 ---> 69834ac67f26 17:34:16 Step 21/30 : COPY --from=builder /app/static/ /static/ 17:34:16 ---> acd14a537929 17:34:16 Step 22/30 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:34:17 ---> b73a5bcf27f7 17:34:17 Step 23/30 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:34:17 ---> Running in 505b932019ed 17:34:17 Removing intermediate container 505b932019ed 17:34:17 ---> 94e29b1f3d4a 17:34:17 Step 24/30 : VOLUME /cache 17:34:17 ---> Running in 5aaad8a50ab2 17:34:17 Removing intermediate container 5aaad8a50ab2 17:34:17 ---> d22b1f78dc4d 17:34:17 Step 25/30 : EXPOSE 59711 17:34:17 ---> Running in cd0bd8ca4200 17:34:17 Removing intermediate container cd0bd8ca4200 17:34:17 ---> 27c9b03794b0 17:34:17 Step 26/30 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:34:17 ---> Running in 7fe77a30077e 17:34:18 Removing intermediate container 7fe77a30077e 17:34:18 ---> a4f1c5bbb5db 17:34:18 Step 27/30 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:34:18 ---> Running in d942a911ed25 17:34:18 Removing intermediate container d942a911ed25 17:34:18 ---> dcb354b5eaa5 17:34:18 Step 28/30 : LABEL arch=amd64 17:34:18 ---> Running in f37bf59fe762 17:34:18 Removing intermediate container f37bf59fe762 17:34:18 ---> f0fdf9c330e9 17:34:18 Step 29/30 : LABEL git_sha=8fced13912e83703fef50f539f4763de25d3360c 17:34:18 ---> Running in 55107dba209f 17:34:18 Removing intermediate container 55107dba209f 17:34:18 ---> eab0da98e1fa 17:34:18 Step 30/30 : LABEL version=0.0.0 17:34:18 ---> Running in d5d77f3107dc 17:34:18 Removing intermediate container d5d77f3107dc 17:34:18 ---> e18502be0d2e 17:34:18 [Warning] One or more build-args [ARCH] were not consumed 17:34:18 Successfully built e18502be0d2e 17:34:18 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:19 17:34:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:19 latest: Pulling from edgex-lftools-log-publisher 17:34:19 5eb5b503b376: Pulling fs layer 17:34:19 5c69ac0246d0: Pulling fs layer 17:34:19 ec43610c2a17: Pulling fs layer 17:34:19 3a2ae6a8a46f: Pulling fs layer 17:34:19 33b1e0a273af: Pulling fs layer 17:34:19 5d3b04190fa2: Pulling fs layer 17:34:19 2f39f015ded8: Pulling fs layer 17:34:19 3a2ae6a8a46f: Waiting 17:34:19 33b1e0a273af: Waiting 17:34:19 5d3b04190fa2: Waiting 17:34:19 5c69ac0246d0: Verifying Checksum 17:34:19 5c69ac0246d0: Download complete 17:34:19 3a2ae6a8a46f: Verifying Checksum 17:34:19 3a2ae6a8a46f: Download complete 17:34:19 33b1e0a273af: Verifying Checksum 17:34:19 33b1e0a273af: Download complete 17:34:19 ec43610c2a17: Verifying Checksum 17:34:19 ec43610c2a17: Download complete 17:34:20 5d3b04190fa2: Verifying Checksum 17:34:20 5d3b04190fa2: Download complete 17:34:20 5eb5b503b376: Verifying Checksum 17:34:20 5eb5b503b376: Download complete 17:34:20 2f39f015ded8: Download complete 17:34:21 5eb5b503b376: Pull complete 17:34:21 5c69ac0246d0: Pull complete 17:34:21 ec43610c2a17: Pull complete 17:34:22 3a2ae6a8a46f: Pull complete 17:34:22 33b1e0a273af: Pull complete 17:34:22 5d3b04190fa2: Pull complete 17:34:26 2f39f015ded8: Pull complete 17:34:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:26 prd-ubuntu20.04-docker-8c-8g-118478 does not seem to be running inside a container 17:34:26 $ 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/y_app-rfid-llrp-inventory_PR-123 -v /w/workspace/y_app-rfid-llrp-inventory_PR-123:/w/workspace/y_app-rfid-llrp-inventory_PR-123:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:34:28 $ docker top 97a04569c22e3d527e620a02c706f119a3a9a570048575f993daeb1f1069a996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:28 ---> job-cost.sh 17:34:28 lf-activate-venv: SKIPPING 17:34:28 INFO: No Stack... 17:34:28 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:29 INFO: Archiving Costs [Pipeline] sh 17:34:29 + cat /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives/cost.csv 17:34:29 + cut -d, -f6 [Pipeline] lock 17:34:29 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] 17:34:29 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] did not exist. Created. 17:34:29 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:30 + echo total: 0.2199999988079071 [Pipeline] stash 17:34:30 Stashed 1 file(s) [Pipeline] } 17:34:30 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:30 $ docker stop --time=1 97a04569c22e3d527e620a02c706f119a3a9a570048575f993daeb1f1069a996 17:34:31 $ docker rm -f 97a04569c22e3d527e620a02c706f119a3a9a570048575f993daeb1f1069a996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:40:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118483 in /w/workspace/y_app-rfid-llrp-inventory_PR-123 [Pipeline] { [Pipeline] ws 17:40:58 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:00 Dload Upload Total Spent Left Speed 17:41:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76375 0 --:--:-- --:--:-- --:--:-- 76375 [Pipeline] sh 17:41:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:01 + sudo tee /etc/docker/daemon.new 17:41:01 { 17:41:01 "registry-mirrors": [ 17:41:01 "https://nexus3.edgexfoundry.org:10001" 17:41:01 ], 17:41:01 "bip": "10.250.0.254/24", 17:41:01 "hosts": [ 17:41:01 "tcp://0.0.0.0:5555", 17:41:01 "unix:///var/run/docker.sock" 17:41:01 ], 17:41:01 "mtu": 1458, 17:41:01 "selinux-enabled": true, 17:41:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:01 } [Pipeline] sh 17:41:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:21 provisioning config files... 17:41:21 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config10706059850430256347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:21 ---> docker-login.sh 17:41:21 nexus3.edgexfoundry.org:10001 17:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:22 Configure a credential helper to remove this warning. See 17:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:22 17:41:22 Login Succeeded 17:41:22 nexus3.edgexfoundry.org:10002 17:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:23 Configure a credential helper to remove this warning. See 17:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:23 17:41:23 Login Succeeded 17:41:23 nexus3.edgexfoundry.org:10003 17:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:23 Configure a credential helper to remove this warning. See 17:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:23 17:41:23 Login Succeeded 17:41:23 nexus3.edgexfoundry.org:10004 17:41:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:23 Configure a credential helper to remove this warning. See 17:41:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:23 17:41:23 Login Succeeded 17:41:23 docker.io 17:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:24 Configure a credential helper to remove this warning. See 17:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:24 17:41:24 Login Succeeded 17:41:24 ---> docker-login.sh ends [Pipeline] } 17:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:24 ========================================================= 17:41:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:41:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:41:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:41:25 9b18e9b68314: Pulling fs layer 17:41:25 35d82f9e3411: Pulling fs layer 17:41:25 e16973657156: Pulling fs layer 17:41:25 fc693d55d65f: Pulling fs layer 17:41:25 7e9fc2657dce: Pulling fs layer 17:41:25 dda99020689f: Pulling fs layer 17:41:25 db1c61fa0a46: Pulling fs layer 17:41:25 891c053d2c06: Pulling fs layer 17:41:25 dda99020689f: Waiting 17:41:25 db1c61fa0a46: Waiting 17:41:25 891c053d2c06: Waiting 17:41:25 fc693d55d65f: Waiting 17:41:25 7e9fc2657dce: Waiting 17:41:25 e16973657156: Verifying Checksum 17:41:25 e16973657156: Download complete 17:41:25 35d82f9e3411: Verifying Checksum 17:41:25 35d82f9e3411: Download complete 17:41:25 7e9fc2657dce: Verifying Checksum 17:41:25 7e9fc2657dce: Download complete 17:41:25 dda99020689f: Verifying Checksum 17:41:25 dda99020689f: Download complete 17:41:25 9b18e9b68314: Verifying Checksum 17:41:26 9b18e9b68314: Pull complete 17:41:26 891c053d2c06: Verifying Checksum 17:41:26 891c053d2c06: Download complete 17:41:27 35d82f9e3411: Pull complete 17:41:27 e16973657156: Pull complete 17:41:28 db1c61fa0a46: Verifying Checksum 17:41:28 db1c61fa0a46: Download complete 17:41:28 fc693d55d65f: Verifying Checksum 17:41:28 fc693d55d65f: Download complete 17:41:41 fc693d55d65f: Pull complete 17:41:41 7e9fc2657dce: Pull complete 17:41:41 dda99020689f: Pull complete 17:41:45 db1c61fa0a46: Pull complete 17:41:47 891c053d2c06: Pull complete 17:41:47 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:41:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 17:41:47 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:48 + docker inspect -f . ci-base-image-arm64 17:41:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:48 prd-ubuntu20.04-docker-arm64-4c-16g-118483 does not seem to be running inside a container 17:41:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:41:51 $ docker top df033605eebf573f124d1dce15860c87f38efa8dfd6b57a3a53f90556a6c064b -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:52 + go version 17:41:52 go version go1.18.7 linux/arm64 [Pipeline] } 17:41:52 $ docker stop --time=1 df033605eebf573f124d1dce15860c87f38efa8dfd6b57a3a53f90556a6c064b 17:41:54 $ docker rm -f df033605eebf573f124d1dce15860c87f38efa8dfd6b57a3a53f90556a6c064b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:55 + docker inspect -f . ci-base-image-arm64 17:41:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:55 prd-ubuntu20.04-docker-arm64-4c-16g-118483 does not seem to be running inside a container 17:41:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:41:57 $ docker top f3bfb18315e478686f5d2ceaae0fd8a2d1cc45f9931fa7ae80041da1b4d49831 -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:58 + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh 17:41:58 + make test 17:41:58 make: *** No rule to make target 'test'. Stop. [Pipeline] } 17:41:58 $ docker stop --time=1 f3bfb18315e478686f5d2ceaae0fd8a2d1cc45f9931fa7ae80041da1b4d49831 17:42:00 $ docker rm -f f3bfb18315e478686f5d2ceaae0fd8a2d1cc45f9931fa7ae80041da1b4d49831 [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] withEnv [Pipeline] { [Pipeline] sh 17:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:01 17:42:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:01 arm64: Pulling from edgex-lftools-log-publisher 17:42:01 8998bd30e6a1: Pulling fs layer 17:42:01 04944245beec: Pulling fs layer 17:42:01 699f458cf7ca: Pulling fs layer 17:42:01 765212b225bb: Pulling fs layer 17:42:01 f23df028b6ca: Pulling fs layer 17:42:01 d65c8cfc05b1: Pulling fs layer 17:42:01 2437ff75d9bd: Pulling fs layer 17:42:01 f23df028b6ca: Waiting 17:42:01 d65c8cfc05b1: Waiting 17:42:01 2437ff75d9bd: Waiting 17:42:01 765212b225bb: Waiting 17:42:02 04944245beec: Verifying Checksum 17:42:02 04944245beec: Download complete 17:42:02 765212b225bb: Download complete 17:42:02 f23df028b6ca: Verifying Checksum 17:42:02 f23df028b6ca: Download complete 17:42:02 d65c8cfc05b1: Verifying Checksum 17:42:02 d65c8cfc05b1: Download complete 17:42:02 699f458cf7ca: Verifying Checksum 17:42:02 699f458cf7ca: Download complete 17:42:02 8998bd30e6a1: Verifying Checksum 17:42:02 8998bd30e6a1: Download complete 17:42:05 2437ff75d9bd: Verifying Checksum 17:42:05 2437ff75d9bd: Download complete 17:42:06 8998bd30e6a1: Pull complete 17:42:07 04944245beec: Pull complete 17:42:08 699f458cf7ca: Pull complete 17:42:09 765212b225bb: Pull complete 17:42:10 f23df028b6ca: Pull complete 17:42:10 d65c8cfc05b1: Pull complete 17:42:22 2437ff75d9bd: Pull complete 17:42:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:42:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:22 prd-ubuntu20.04-docker-arm64-4c-16g-118483 does not seem to be running inside a container 17:42:22 $ 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/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:42:25 $ docker top 5ff0126fa34dba496d0624d442e12e37f7dbd2799294e3452f17b32433cfcc80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:26 ---> job-cost.sh 17:42:26 lf-activate-venv: SKIPPING 17:42:26 INFO: No Stack... 17:42:26 INFO: Retrieving Pricing Info for: v3-standard-4 17:42:27 INFO: Archiving Costs [Pipeline] sh 17:42:28 + + cut -d, -f6 17:42:28 cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock 17:42:28 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] 17:42:28 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] did not exist. Created. 17:42:28 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:42:28 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-e11ee510/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:42:29 + echo total: 0.10999999940395355 [Pipeline] stash 17:42:29 Warning: overwriting stash ‘stack-cost’ 17:42:30 Stashed 1 file(s) [Pipeline] } 17:42:30 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-123-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:42:30 $ docker stop --time=1 5ff0126fa34dba496d0624d442e12e37f7dbd2799294e3452f17b32433cfcc80 17:42:33 $ docker rm -f 5ff0126fa34dba496d0624d442e12e37f7dbd2799294e3452f17b32433cfcc80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:42:33 Failed in branch arm64 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:42:35 + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives ] 17:42:35 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives 17:42:35 total 16 17:42:35 drwxr-xr-x 3 root root 4096 Nov 7 17:34 . 17:42:35 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 17:34 .. 17:42:35 drwxr-xr-x 2 root root 4096 Nov 7 17:34 cost 17:42:35 -rw-r--r-- 1 root root 95 Nov 7 17:34 cost.csv 17:42:35 + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives 17:42:35 + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives 17:42:35 total 16 17:42:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:34 . 17:42:35 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 17:34 .. 17:42:35 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:34 cost 17:42:35 -rw-r--r-- 1 jenkins jenkins 95 Nov 7 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:42:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:42:37 ---> package-listing.sh 17:42:37 ++ facter osfamily 17:42:37 ++ tr '[:upper:]' '[:lower:]' 17:42:37 + OS_FAMILY=debian 17:42:37 + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-123 17:42:37 + START_PACKAGES=/tmp/packages_start.txt 17:42:37 + END_PACKAGES=/tmp/packages_end.txt 17:42:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:42:37 + PACKAGES=/tmp/packages_start.txt 17:42:37 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-123 ']' 17:42:37 + PACKAGES=/tmp/packages_end.txt 17:42:37 + case "${OS_FAMILY}" in 17:42:37 + dpkg -l 17:42:37 + grep '^ii' 17:42:37 + '[' -f /tmp/packages_start.txt ']' 17:42:37 + '[' -f /tmp/packages_end.txt ']' 17:42:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:42:37 + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-123 ']' 17:42:37 + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives/ 17:42:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-123/archives/ [Pipeline] echo 17:42:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:42:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:42:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:38 prd-ubuntu20.04-docker-8c-8g-118478 does not seem to be running inside a container 17:42:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/y_app-rfid-llrp-inventory_PR-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-123 -v /w/workspace/y_app-rfid-llrp-inventory_PR-123:/w/workspace/y_app-rfid-llrp-inventory_PR-123:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:42:38 $ docker top 98568160b6983125300c5bb33b5db9de3a10fc94ff2ead0a02f749431204316e -eo pid,comm [Pipeline] { [Pipeline] sh 17:42:39 + touch /tmp/pre-build-complete [Pipeline] sh 17:42:39 + mkdir -p /var/log/sysstat [Pipeline] sh 17:42:39 + ls /var/log/sa-host 17:42:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:39 provisioning config files... 17:42:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-123@tmp/config6869179183650945366tmp [Pipeline] { [Pipeline] echo 17:42:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:42:40 ---> create-netrc.sh [Pipeline] } 17:42:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:42:40 ---> python-tools-install.sh [Pipeline] echo 17:42:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:42:41 ---> sudo-logs.sh 17:42:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:42:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:42:41 ---> job-cost.sh 17:42:41 lf-activate-venv: SKIPPING 17:42:41 DEBUG: total: 0.2199999988079071 17:42:41 INFO: Retrieving Stack Cost... 17:42:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:42:42 INFO: Archiving Costs [Pipeline] echo 17:42:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:42:42 ---> logs-deploy.sh 17:42:42 lf-activate-venv: SKIPPING 17:42:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-123/1 17:42:42 INFO: archiving workspace using pattern(s): 17:42:43 Archives upload complete. 17:42:43 INFO: archiving logs to Nexus