Pull request #65 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 18118626ca0893b728531bfc2ef8f97357a298a2 rather than 953a54b10f0195aa2e5726549636ba62ebcceab4 Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 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-ssh8857152552060901003.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh3887753048418021220.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7748214688396729599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh887246125494509955.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5520319959247174491.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-314 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 953a54b10f0195aa2e5726549636ba62ebcceab4 Merge succeeded, producing cc5a50ae460d5a022dc008e5f4a3b779aa815b21 Checking out Revision cc5a50ae460d5a022dc008e5f4a3b779aa815b21 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f 953a54b10f0195aa2e5726549636ba62ebcceab4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc5a50ae460d5a022dc008e5f4a3b779aa815b21 # timeout=10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:33:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:33:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:33:52 ========================================================= 23:33:52 EdgeX Global Pipelines Version Info 23:33:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a7e0d88e2e7ed8cc23e6694a272d29151fff3654 # timeout=10 23:33:52 ------------------- 23:33:52 stable info: 23:33:52 ------------------- 23:33:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:33:52 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:33:52 Message: update stable to v1.0.230 23:33:53 ------------------- 23:33:53 experimental info: 23:33:53 ------------------- 23:33:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:33:53 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:33:53 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:33:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 23:33:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 23:33:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 23:33:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc5a50ae460d5a022dc008e5f4a3b779aa815b21 [Pipeline] echo 23:33:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc5a50a [Pipeline] echo 23:33:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:33:54 provisioning config files... 23:33:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4774561586643215222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:54 ---> docker-login.sh 23:33:54 nexus3.edgexfoundry.org:10001 23:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:54 Configure a credential helper to remove this warning. See 23:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:54 23:33:54 Login Succeeded 23:33:54 nexus3.edgexfoundry.org:10002 23:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:54 Configure a credential helper to remove this warning. See 23:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:54 23:33:54 Login Succeeded 23:33:54 nexus3.edgexfoundry.org:10003 23:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:55 Configure a credential helper to remove this warning. See 23:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:55 23:33:55 Login Succeeded 23:33:55 nexus3.edgexfoundry.org:10004 23:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:55 Configure a credential helper to remove this warning. See 23:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:55 23:33:55 Login Succeeded 23:33:55 docker.io 23:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:55 Configure a credential helper to remove this warning. See 23:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:55 23:33:55 Login Succeeded 23:33:55 ---> docker-login.sh ends [Pipeline] } 23:33:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:33:56 + git rev-list -1 --merges cc5a50ae460d5a022dc008e5f4a3b779aa815b21~1..cc5a50ae460d5a022dc008e5f4a3b779aa815b21 [Pipeline] echo 23:33:56 -----------> git rev-list -1 --merges cc5a50ae460d5a022dc008e5f4a3b779aa815b21~1..cc5a50ae460d5a022dc008e5f4a3b779aa815b21 cc5a50ae460d5a022dc008e5f4a3b779aa815b21 23:33:56 cc5a50ae460d5a022dc008e5f4a3b779aa815b21 [false] [Pipeline] sh 23:33:56 + git log --format=format:%s -1 cc5a50ae460d5a022dc008e5f4a3b779aa815b21 [Pipeline] echo 23:33:56 ========================================================= 23:33:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:33:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:33:56 + git log --format=format:%s -1 cc5a50ae460d5a022dc008e5f4a3b779aa815b21 [Pipeline] echo 23:33:56 [semverPrep] GIT_COMMIT: cc5a50ae460d5a022dc008e5f4a3b779aa815b21, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo 23:33:56 [semverPrep] This is not a build commit. [Pipeline] sh 23:33:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:33:57 + grep -v github /etc/ssh/ssh_known_hosts 23:33:57 + [ -e /tmp/ssh_known_hosts ] 23:33:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:33:57 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:33:57 sudo tee -a /etc/ssh/ssh_known_hosts 23:33:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:33:57 23:33:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:33:57 latest: Pulling from edgex-devops/py-git-semver 23:33:57 1fe172e4850f: Pulling fs layer 23:33:57 caf521ccaac6: Pulling fs layer 23:33:57 3ead6fa29328: Pulling fs layer 23:33:57 5c2a1cbceb83: Pulling fs layer 23:33:57 a8d5f1318db7: Pulling fs layer 23:33:57 c427282e49a2: Pulling fs layer 23:33:57 1827001aaf11: Pulling fs layer 23:33:57 0714d37db230: Pulling fs layer 23:33:57 ac28cf19c067: Pulling fs layer 23:33:57 ca983d60f3e2: Pulling fs layer 23:33:57 9f894cec8388: Pulling fs layer 23:33:57 c427282e49a2: Waiting 23:33:57 a8d5f1318db7: Waiting 23:33:57 1827001aaf11: Waiting 23:33:57 0714d37db230: Waiting 23:33:57 ac28cf19c067: Waiting 23:33:57 9f894cec8388: Waiting 23:33:57 5c2a1cbceb83: Waiting 23:33:57 caf521ccaac6: Verifying Checksum 23:33:57 caf521ccaac6: Download complete 23:33:57 5c2a1cbceb83: Verifying Checksum 23:33:57 5c2a1cbceb83: Download complete 23:33:58 a8d5f1318db7: Verifying Checksum 23:33:58 a8d5f1318db7: Download complete 23:33:58 c427282e49a2: Verifying Checksum 23:33:58 c427282e49a2: Download complete 23:33:58 3ead6fa29328: Verifying Checksum 23:33:58 3ead6fa29328: Download complete 23:33:58 0714d37db230: Verifying Checksum 23:33:58 0714d37db230: Download complete 23:33:58 ac28cf19c067: Download complete 23:33:58 ca983d60f3e2: Verifying Checksum 23:33:58 ca983d60f3e2: Download complete 23:33:58 9f894cec8388: Download complete 23:33:58 1fe172e4850f: Download complete 23:33:58 1827001aaf11: Verifying Checksum 23:33:58 1827001aaf11: Download complete 23:33:59 1fe172e4850f: Pull complete 23:33:59 caf521ccaac6: Pull complete 23:34:00 3ead6fa29328: Pull complete 23:34:00 5c2a1cbceb83: Pull complete 23:34:00 a8d5f1318db7: Pull complete 23:34:00 c427282e49a2: Pull complete 23:34:02 1827001aaf11: Pull complete 23:34:02 0714d37db230: Pull complete 23:34:02 ac28cf19c067: Pull complete 23:34:02 ca983d60f3e2: Pull complete 23:34:03 9f894cec8388: Pull complete 23:34:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:34:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:03 prd-ubuntu20.04-docker-8c-8g-314 does not seem to be running inside a container 23:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:34:04 $ docker top cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 -eo pid,comm 23:34:04 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). 23:34:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:04 [ssh-agent] Looking for ssh-agent implementation... 23:34:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:05 $ docker exec cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 ssh-agent 23:34:05 SSH_AUTH_SOCK=/tmp/ssh-63UUwdbpXtwS/agent.32 23:34:05 SSH_AGENT_PID=38 23:34:05 Running ssh-add (command line suppressed) 23:34:05 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_7091921030413195258.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_7091921030413195258.key) 23:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:05 + git tag --points-at HEAD [Pipeline] } 23:34:05 $ docker exec --env ******** --env ******** cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 ssh-agent -k 23:34:05 unset SSH_AUTH_SOCK; 23:34:05 unset SSH_AGENT_PID; 23:34:05 echo Agent pid 38 killed; 23:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:05 [ssh-agent] Looking for ssh-agent implementation... 23:34:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:05 $ docker exec cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 ssh-agent 23:34:06 SSH_AUTH_SOCK=/tmp/ssh-YYHMLciMCTAo/agent.70 23:34:06 SSH_AGENT_PID=78 23:34:06 Running ssh-add (command line suppressed) 23:34:06 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_6361194913942022748.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_6361194913942022748.key) 23:34:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:06 + git semver init 23:34:06 2022-05-27 23:34:06,622 [run_init] DEBUG init version:0.0.0 force:False 23:34:06 2022-05-27 23:34:06,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 23:34:06 2022-05-27 23:34:06,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 23:34:06 2022-05-27 23:34:06,624 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) 23:34:07 2022-05-27 23:34:07,276 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 23:34:07 2022-05-27 23:34:07,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 23:34:07 2022-05-27 23:34:07,277 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 23:34:07 2022-05-27 23:34:07,277 [write_version] DEBUG version is same as current version 0.0.0 23:34:07 2022-05-27 23:34:07,278 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 23:34:07 0.0.0 [Pipeline] } 23:34:07 $ docker exec --env ******** --env ******** cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 ssh-agent -k 23:34:07 unset SSH_AUTH_SOCK; 23:34:07 unset SSH_AGENT_PID; 23:34:07 echo Agent pid 78 killed; 23:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:07 + git semver [Pipeline] } 23:34:08 $ docker stop --time=1 cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 23:34:09 $ docker rm -f cf9c6678dae8e5b710e273bd44102fbaff450d03df4158a0beafbf91babcf4c7 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:34:10 Stashed 1 file(s) [Pipeline] echo 23:34:10 [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 23:34:10 provisioning config files... 23:34:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8925643865996325733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> docker-login.sh 23:34:10 nexus3.edgexfoundry.org:10001 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 nexus3.edgexfoundry.org:10002 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 nexus3.edgexfoundry.org:10003 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:10 Configure a credential helper to remove this warning. See 23:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:10 23:34:10 Login Succeeded 23:34:10 nexus3.edgexfoundry.org:10004 23:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:11 Configure a credential helper to remove this warning. See 23:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:11 23:34:11 Login Succeeded 23:34:11 docker.io 23:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:11 Configure a credential helper to remove this warning. See 23:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:11 23:34:11 Login Succeeded 23:34:11 ---> docker-login.sh ends [Pipeline] } 23:34:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:11 ========================================================= 23:34:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:34:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:34:11 Sending build context to Docker daemon 8.771MB 23:34:11 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:34:11 Step 2/13 : FROM ${BASE} AS builder 23:34:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:34:11 59bf1c3509f3: Pulling fs layer 23:34:11 666ba61612fd: Pulling fs layer 23:34:11 8ed8ca486205: Pulling fs layer 23:34:11 4fe6c5a15a65: Pulling fs layer 23:34:11 22a0e8bec74d: Pulling fs layer 23:34:11 ca2b28591e48: Pulling fs layer 23:34:11 a51346096db8: Pulling fs layer 23:34:11 daebc70d1ce1: Pulling fs layer 23:34:11 0e18a0eac166: Pulling fs layer 23:34:11 22a0e8bec74d: Waiting 23:34:11 ca2b28591e48: Waiting 23:34:11 a51346096db8: Waiting 23:34:11 0e18a0eac166: Waiting 23:34:11 daebc70d1ce1: Waiting 23:34:11 8ed8ca486205: Verifying Checksum 23:34:11 8ed8ca486205: Download complete 23:34:11 666ba61612fd: Download complete 23:34:11 22a0e8bec74d: Verifying Checksum 23:34:11 22a0e8bec74d: Download complete 23:34:12 ca2b28591e48: Verifying Checksum 23:34:12 ca2b28591e48: Download complete 23:34:12 59bf1c3509f3: Verifying Checksum 23:34:12 59bf1c3509f3: Download complete 23:34:12 a51346096db8: Verifying Checksum 23:34:12 a51346096db8: Download complete 23:34:12 daebc70d1ce1: Verifying Checksum 23:34:12 daebc70d1ce1: Download complete 23:34:12 59bf1c3509f3: Pull complete 23:34:12 666ba61612fd: Pull complete 23:34:12 8ed8ca486205: Pull complete 23:34:12 0e18a0eac166: Verifying Checksum 23:34:12 0e18a0eac166: Download complete 23:34:12 4fe6c5a15a65: Verifying Checksum 23:34:12 4fe6c5a15a65: Download complete 23:34:15 4fe6c5a15a65: Pull complete 23:34:15 22a0e8bec74d: Pull complete 23:34:15 ca2b28591e48: Pull complete 23:34:16 a51346096db8: Pull complete 23:34:16 daebc70d1ce1: Pull complete 23:34:18 0e18a0eac166: Pull complete 23:34:18 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:34:18 ---> f018257e8ee9 23:34:18 Step 3/13 : ARG MAKE="make build" 23:34:20 ---> Running in b2149646b536 23:34:20 Removing intermediate container b2149646b536 23:34:20 ---> f06a548b6c68 23:34:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:34:20 ---> Running in 62700b6873d9 23:34:20 Removing intermediate container 62700b6873d9 23:34:20 ---> d4403deb1b90 23:34:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:34:20 ---> Running in 94e7cee48a4d 23:34:20 Removing intermediate container 94e7cee48a4d 23:34:20 ---> cb6260192074 23:34:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:34:20 ---> Running in 66d7d3f67c77 23:34:20 Removing intermediate container 66d7d3f67c77 23:34:20 ---> 0cc2747e8f3b 23:34:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:34:20 ---> Running in 16314134f09b 23:34:21 Removing intermediate container 16314134f09b 23:34:21 ---> b89d0a00def2 23:34:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:21 ---> Running in 5224003c78e5 23:34:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:34:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:34:22 OK: 221 MiB in 52 packages 23:34:23 Removing intermediate container 5224003c78e5 23:34:23 ---> 4f96c36b90c9 23:34:23 Step 9/13 : WORKDIR /device-onvif-camera 23:34:23 ---> Running in a7389bdda3b9 23:34:23 Removing intermediate container a7389bdda3b9 23:34:23 ---> 742bd89154fd 23:34:23 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 23:34:23 COPY failed: file not found in build context or excluded by .dockerignore: stat pkg/netscan/go.mod: file does not exist [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:23 23:34:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:24 latest: Pulling from edgex-lftools-log-publisher 23:34:24 5eb5b503b376: Pulling fs layer 23:34:24 5c69ac0246d0: Pulling fs layer 23:34:24 ec43610c2a17: Pulling fs layer 23:34:24 3a2ae6a8a46f: Pulling fs layer 23:34:24 33b1e0a273af: Pulling fs layer 23:34:24 5d3b04190fa2: Pulling fs layer 23:34:24 2f39f015ded8: Pulling fs layer 23:34:24 3a2ae6a8a46f: Waiting 23:34:24 33b1e0a273af: Waiting 23:34:24 2f39f015ded8: Waiting 23:34:24 5d3b04190fa2: Waiting 23:34:24 5c69ac0246d0: Download complete 23:34:24 3a2ae6a8a46f: Verifying Checksum 23:34:24 3a2ae6a8a46f: Download complete 23:34:24 33b1e0a273af: Verifying Checksum 23:34:24 33b1e0a273af: Download complete 23:34:24 ec43610c2a17: Verifying Checksum 23:34:24 ec43610c2a17: Download complete 23:34:24 5d3b04190fa2: Verifying Checksum 23:34:24 5d3b04190fa2: Download complete 23:34:24 5eb5b503b376: Verifying Checksum 23:34:24 5eb5b503b376: Download complete 23:34:24 2f39f015ded8: Verifying Checksum 23:34:24 2f39f015ded8: Download complete 23:34:25 Still waiting to schedule task 23:34:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:34:25 5eb5b503b376: Pull complete 23:34:25 5c69ac0246d0: Pull complete 23:34:25 ec43610c2a17: Pull complete 23:34:25 3a2ae6a8a46f: Pull complete 23:34:26 33b1e0a273af: Pull complete 23:34:26 5d3b04190fa2: Pull complete 23:34:30 2f39f015ded8: Pull complete 23:34:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:30 prd-ubuntu20.04-docker-8c-8g-314 does not seem to be running inside a container 23:34:30 $ 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/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:32 $ docker top e62983416640c3a430ccf0301e05e3bfa4bd39b108dcd096899dcca34b775796 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:33 ---> job-cost.sh 23:34:33 lf-activate-venv: SKIPPING 23:34:33 INFO: No Stack... 23:34:33 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:34 INFO: Archiving Costs [Pipeline] sh 23:34:34 + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 23:34:34 + cut -d, -f6 [Pipeline] lock 23:34:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] 23:34:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] did not exist. Created. 23:34:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:34 + echo total: 0.2199999988079071 [Pipeline] stash 23:34:34 Stashed 1 file(s) [Pipeline] } 23:34:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:34 $ docker stop --time=1 e62983416640c3a430ccf0301e05e3bfa4bd39b108dcd096899dcca34b775796 23:34:35 $ docker rm -f e62983416640c3a430ccf0301e05e3bfa4bd39b108dcd096899dcca34b775796 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:34:35 Failed in branch amd64 23:35:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-315 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 23:35:58 Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout 23:35:58 Selected Git installation does not exist. Using Default 23:35:58 The recommended git tool is: NONE 23:36:05 using credential edgex-jenkins-ssh 23:36:05 Cloning the remote Git repository 23:36:05 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:36:05 > git init /w/workspace/device-onvif-camera/14 # timeout=10 23:36:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:36:06 > git --version # timeout=10 23:36:06 > git --version # 'git version 2.25.1' 23:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:07 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 953a54b10f0195aa2e5726549636ba62ebcceab4 23:36:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:36:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:36:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:36:07 > git config core.sparsecheckout # timeout=10 23:36:07 > git checkout -f 953a54b10f0195aa2e5726549636ba62ebcceab4 # timeout=10 23:36:07 > git remote # timeout=10 23:36:07 > git config --get remote.origin.url # timeout=10 23:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:07 > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 23:36:08 Merge succeeded, producing 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f 23:36:08 Checking out Revision 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f (PR-65) 23:36:08 > git rev-parse HEAD^{commit} # timeout=10 23:36:08 > git config core.sparsecheckout # timeout=10 23:36:08 > git checkout -f 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f # timeout=10 23:36:12 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" 23:36:12 First time build. Skipping changelog. 23:36:12 > git rev-list --no-walk a7e0d88e2e7ed8cc23e6694a272d29151fff3654 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:36:13 % Total % Received % Xferd Average Speed Time Time Time Current 23:36:13 Dload Upload Total Spent Left Speed 23:36:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 54946 0 --:--:-- --:--:-- --:--:-- 54700 [Pipeline] sh 23:36:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:36:14 + + sudo teesudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 23:36:14 23:36:14 { 23:36:14 "registry-mirrors": [ 23:36:14 "https://nexus3.edgexfoundry.org:10001" 23:36:14 ], 23:36:14 "bip": "10.250.0.254/24", 23:36:14 "hosts": [ 23:36:14 "tcp://0.0.0.0:5555", 23:36:14 "unix:///var/run/docker.sock" 23:36:14 ], 23:36:14 "mtu": 1458, 23:36:14 "selinux-enabled": true, 23:36:14 "seccomp-profile": "/etc/docker/seccomp.json" 23:36:14 } [Pipeline] sh 23:36:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:36:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:33 provisioning config files... 23:36:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config8154222653537516164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:33 ---> docker-login.sh 23:36:33 nexus3.edgexfoundry.org:10001 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 nexus3.edgexfoundry.org:10002 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:35 Configure a credential helper to remove this warning. See 23:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:35 23:36:35 Login Succeeded 23:36:35 nexus3.edgexfoundry.org:10003 23:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:35 Configure a credential helper to remove this warning. See 23:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:35 23:36:35 Login Succeeded 23:36:35 nexus3.edgexfoundry.org:10004 23:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:36 Configure a credential helper to remove this warning. See 23:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:36 23:36:36 Login Succeeded 23:36:36 docker.io 23:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:36 Configure a credential helper to remove this warning. See 23:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:36 23:36:36 Login Succeeded 23:36:36 ---> docker-login.sh ends [Pipeline] } 23:36:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:36:37 ========================================================= 23:36:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:36:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:36:37 Sending build context to Docker daemon 6.06MB 23:36:37 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:36:37 Step 2/13 : FROM ${BASE} AS builder 23:36:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:36:38 9b3977197b4f: Pulling fs layer 23:36:38 1a89e8eeedd5: Pulling fs layer 23:36:38 94645a83ff95: Pulling fs layer 23:36:38 3f3a8bcf1eab: Pulling fs layer 23:36:38 0c92f367c5e7: Pulling fs layer 23:36:38 3096ccb668a1: Pulling fs layer 23:36:38 e8cf19c19ddd: Pulling fs layer 23:36:38 a4caa8a26152: Pulling fs layer 23:36:38 3f3a8bcf1eab: Waiting 23:36:38 0c92f367c5e7: Waiting 23:36:38 3096ccb668a1: Waiting 23:36:38 a4caa8a26152: Waiting 23:36:38 e8cf19c19ddd: Waiting 23:36:38 94645a83ff95: Verifying Checksum 23:36:38 94645a83ff95: Download complete 23:36:38 1a89e8eeedd5: Verifying Checksum 23:36:38 1a89e8eeedd5: Download complete 23:36:38 0c92f367c5e7: Verifying Checksum 23:36:38 0c92f367c5e7: Download complete 23:36:38 3096ccb668a1: Verifying Checksum 23:36:38 3096ccb668a1: Download complete 23:36:38 9b3977197b4f: Download complete 23:36:38 e8cf19c19ddd: Verifying Checksum 23:36:38 e8cf19c19ddd: Download complete 23:36:39 9b3977197b4f: Pull complete 23:36:39 1a89e8eeedd5: Pull complete 23:36:40 94645a83ff95: Pull complete 23:36:40 a4caa8a26152: Verifying Checksum 23:36:40 a4caa8a26152: Download complete 23:36:40 3f3a8bcf1eab: Verifying Checksum 23:36:40 3f3a8bcf1eab: Download complete 23:36:53 3f3a8bcf1eab: Pull complete 23:36:53 0c92f367c5e7: Pull complete 23:36:53 3096ccb668a1: Pull complete 23:36:53 e8cf19c19ddd: Pull complete 23:37:00 a4caa8a26152: Pull complete 23:37:00 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 23:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:37:00 ---> 725f1c02e7f9 23:37:00 Step 3/13 : ARG MAKE="make build" 23:37:01 ---> Running in b8903639d8ee 23:37:01 Removing intermediate container b8903639d8ee 23:37:01 ---> 619b5bc1d4e5 23:37:01 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:37:01 ---> Running in c8493affd481 23:37:01 Removing intermediate container c8493affd481 23:37:01 ---> c14faaf24477 23:37:01 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:37:01 ---> Running in eb0b5856f422 23:37:02 Removing intermediate container eb0b5856f422 23:37:02 ---> e0551b6fc0b2 23:37:02 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:37:02 ---> Running in a8a1897c1a21 23:37:02 Removing intermediate container a8a1897c1a21 23:37:02 ---> dd39f348c4b6 23:37:02 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:37:02 ---> Running in 781e4d99cc0a 23:37:04 Removing intermediate container 781e4d99cc0a 23:37:04 ---> f157bfc0cd95 23:37:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:04 ---> Running in 0f3757031e3e 23:37:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:37:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:37:07 OK: 220 MiB in 52 packages 23:37:09 Removing intermediate container 0f3757031e3e 23:37:09 ---> 6ce3fa04a995 23:37:09 Step 9/13 : WORKDIR /device-onvif-camera 23:37:09 ---> Running in 71d169931dc9 23:37:09 Removing intermediate container 71d169931dc9 23:37:09 ---> 570137d25797 23:37:09 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 23:37:09 COPY failed: file not found in build context or excluded by .dockerignore: stat pkg/netscan/go.mod: file does not exist [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [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 23:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:09 23:37:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:10 arm64: Pulling from edgex-lftools-log-publisher 23:37:10 8998bd30e6a1: Pulling fs layer 23:37:10 04944245beec: Pulling fs layer 23:37:10 699f458cf7ca: Pulling fs layer 23:37:10 765212b225bb: Pulling fs layer 23:37:10 f23df028b6ca: Pulling fs layer 23:37:10 d65c8cfc05b1: Pulling fs layer 23:37:10 2437ff75d9bd: Pulling fs layer 23:37:10 f23df028b6ca: Waiting 23:37:10 765212b225bb: Waiting 23:37:10 d65c8cfc05b1: Waiting 23:37:10 2437ff75d9bd: Waiting 23:37:10 04944245beec: Verifying Checksum 23:37:10 04944245beec: Download complete 23:37:10 765212b225bb: Download complete 23:37:10 f23df028b6ca: Verifying Checksum 23:37:10 f23df028b6ca: Download complete 23:37:10 d65c8cfc05b1: Verifying Checksum 23:37:10 d65c8cfc05b1: Download complete 23:37:10 699f458cf7ca: Verifying Checksum 23:37:10 699f458cf7ca: Download complete 23:37:10 8998bd30e6a1: Verifying Checksum 23:37:10 8998bd30e6a1: Download complete 23:37:13 2437ff75d9bd: Verifying Checksum 23:37:13 2437ff75d9bd: Download complete 23:37:15 8998bd30e6a1: Pull complete 23:37:15 04944245beec: Pull complete 23:37:17 699f458cf7ca: Pull complete 23:37:17 765212b225bb: Pull complete 23:37:18 f23df028b6ca: Pull complete 23:37:18 d65c8cfc05b1: Pull complete 23:37:33 2437ff75d9bd: Pull complete 23:37:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:37:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:33 prd-ubuntu20.04-docker-arm64-4c-16g-315 does not seem to be running inside a container 23:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:37:36 $ docker top 567f1338de4e68668bea8eef95c8a4b0b5dcd1562bb21f0c36bc5abe6faf2b33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:37 ---> job-cost.sh 23:37:37 lf-activate-venv: SKIPPING 23:37:37 INFO: No Stack... 23:37:37 INFO: Retrieving Pricing Info for: v3-standard-4 23:37:38 INFO: Archiving Costs [Pipeline] sh 23:37:38 + cat /w/workspace/device-onvif-camera/14/archives/cost.csv 23:37:38 + cut -d, -f6 [Pipeline] lock 23:37:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] 23:37:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] did not exist. Created. 23:37:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:37:39 /w/workspace/device-onvif-camera/14@tmp/durable-c7569e95/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:37:40 + echo total: 0.10999999940395355 [Pipeline] stash 23:37:40 Warning: overwriting stash ‘stack-cost’ 23:37:40 Stashed 1 file(s) [Pipeline] } 23:37:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-14-stack-cost] [Pipeline] // lock [Pipeline] } 23:37:40 $ docker stop --time=1 567f1338de4e68668bea8eef95c8a4b0b5dcd1562bb21f0c36bc5abe6faf2b33 23:37:42 $ docker rm -f 567f1338de4e68668bea8eef95c8a4b0b5dcd1562bb21f0c36bc5abe6faf2b33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:37:42 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 23:37:43 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 23:37:43 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 23:37:43 total 16 23:37:43 drwxr-xr-x 3 root root 4096 May 27 23:34 . 23:37:43 drwxrwxr-x 10 jenkins jenkins 4096 May 27 23:34 .. 23:37:43 drwxr-xr-x 2 root root 4096 May 27 23:34 cost 23:37:43 -rw-r--r-- 1 root root 89 May 27 23:34 cost.csv 23:37:43 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 23:37:43 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 23:37:43 total 16 23:37:43 drwxr-xr-x 3 jenkins jenkins 4096 May 27 23:34 . 23:37:43 drwxrwxr-x 10 jenkins jenkins 4096 May 27 23:34 .. 23:37:43 drwxr-xr-x 2 jenkins jenkins 4096 May 27 23:34 cost 23:37:43 -rw-r--r-- 1 jenkins jenkins 89 May 27 23:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:37:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:37:44 ---> package-listing.sh 23:37:44 ++ facter osfamily 23:37:44 ++ tr '[:upper:]' '[:lower:]' 23:37:44 + OS_FAMILY=debian 23:37:44 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 23:37:44 + START_PACKAGES=/tmp/packages_start.txt 23:37:44 + END_PACKAGES=/tmp/packages_end.txt 23:37:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:37:44 + PACKAGES=/tmp/packages_start.txt 23:37:44 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 23:37:44 + PACKAGES=/tmp/packages_end.txt 23:37:44 + case "${OS_FAMILY}" in 23:37:44 + dpkg -l 23:37:44 + grep '^ii' 23:37:44 + '[' -f /tmp/packages_start.txt ']' 23:37:44 + '[' -f /tmp/packages_end.txt ']' 23:37:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:37:44 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 23:37:44 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 23:37:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo 23:37:44 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:37:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:37:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:45 prd-ubuntu20.04-docker-8c-8g-314 does not seem to be running inside a container 23:37:45 $ 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:37:46 $ docker top 5e73547400a6009276c22a5d28062afff646700ab26255728c77ba7998295bb7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:46 + touch /tmp/pre-build-complete [Pipeline] sh 23:37:46 + mkdir -p /var/log/sysstat [Pipeline] sh 23:37:46 + ls /var/log/sa-host 23:37:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:47 provisioning config files... 23:37:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config7893246859427775148tmp [Pipeline] { [Pipeline] echo 23:37:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:37:47 ---> create-netrc.sh [Pipeline] } 23:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:37:47 ---> python-tools-install.sh [Pipeline] echo 23:37:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:37:48 ---> sudo-logs.sh 23:37:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:37:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:37:48 ---> job-cost.sh 23:37:48 lf-activate-venv: SKIPPING 23:37:48 DEBUG: total: 0.2199999988079071 23:37:48 INFO: Retrieving Stack Cost... 23:37:48 INFO: Retrieving Pricing Info for: v3-standard-8 23:37:49 INFO: Archiving Costs [Pipeline] echo 23:37:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:37:49 ---> logs-deploy.sh 23:37:49 lf-activate-venv: SKIPPING 23:37:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/14 23:37:49 INFO: archiving workspace using pattern(s): 23:37:50 Archives upload complete. 23:37:50 INFO: archiving logs to Nexus