Pull request #174 opened 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 482e55864ca8f334c8fa0bb601f752722a1407a0 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh10334312116393807154.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6239961475608973671.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/device-onvif-camera/branches/PR-174/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/device-onvif-camera/branches/PR-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13984150463409226557.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/device-onvif-camera/branches/PR-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7985921890691097926.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh17453328682286653207.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/device-onvif-camera/branches/PR-174/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/device-onvif-camera/branches/PR-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15638431468979685411.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7357 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-174 # 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 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/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 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/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 482e55864ca8f334c8fa0bb601f752722a1407a0 Merge succeeded, producing 482e55864ca8f334c8fa0bb601f752722a1407a0 Checking out Revision 482e55864ca8f334c8fa0bb601f752722a1407a0 (PR-174) Commit message: "feat: added more onvif descriptions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:30:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:30:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 [Pipeline] echo 21:30:19 ========================================================= 21:30:19 EdgeX Global Pipelines Version Info 21:30:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:30:19 ------------------- 21:30:19 stable info: 21:30:19 ------------------- 21:30:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:30:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:30:19 Message: update stable to v1.0.239 21:30:20 ------------------- 21:30:20 experimental info: 21:30:20 ------------------- 21:30:20 Commited By: **** collab-it+edgex@linuxfoundation.org 21:30:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:30:20 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:30:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 482e558 [Pipeline] echo 21:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:22 provisioning config files... 21:30:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config16161369425012476844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:22 ---> docker-login.sh 21:30:22 nexus3.edgexfoundry.org:10001 21:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:22 Configure a credential helper to remove this warning. See 21:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:22 21:30:22 Login Succeeded 21:30:22 nexus3.edgexfoundry.org:10002 21:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:22 Configure a credential helper to remove this warning. See 21:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:22 21:30:22 Login Succeeded 21:30:22 nexus3.edgexfoundry.org:10003 21:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:22 Configure a credential helper to remove this warning. See 21:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:22 21:30:22 Login Succeeded 21:30:22 nexus3.edgexfoundry.org:10004 21:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:23 Configure a credential helper to remove this warning. See 21:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:23 21:30:23 Login Succeeded 21:30:23 docker.io 21:30:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:23 Configure a credential helper to remove this warning. See 21:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:23 21:30:23 Login Succeeded 21:30:23 ---> docker-login.sh ends [Pipeline] } 21:30:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:30:24 + git rev-list -1 --merges 482e55864ca8f334c8fa0bb601f752722a1407a0~1..482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo 21:30:24 -----------> git rev-list -1 --merges 482e55864ca8f334c8fa0bb601f752722a1407a0~1..482e55864ca8f334c8fa0bb601f752722a1407a0 482e55864ca8f334c8fa0bb601f752722a1407a0 [false] [Pipeline] sh 21:30:24 + git log --format=format:%s -1 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo 21:30:24 ========================================================= 21:30:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:30:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:24 + git log --format=format:%s -1 482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] echo 21:30:24 [semverPrep] GIT_COMMIT: 482e55864ca8f334c8fa0bb601f752722a1407a0, Commit Message: feat: added more onvif descriptions [Pipeline] echo 21:30:25 [semverPrep] This is not a build commit. [Pipeline] sh 21:30:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:25 + grep -v github /etc/ssh/ssh_known_hosts 21:30:25 + [ -e /tmp/ssh_known_hosts ] 21:30:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:30:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:30:25 + sudo tee -a /etc/ssh/ssh_known_hosts 21:30:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:25 21:30:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:26 0.1.4: Pulling from edgex-devops/py-git-semver 21:30:26 b85a868b505f: Pulling fs layer 21:30:26 e2be974225ed: Pulling fs layer 21:30:26 339a4e72a1f5: Pulling fs layer 21:30:26 988bab9f4d93: Pulling fs layer 21:30:26 1469e6f7b9e6: Pulling fs layer 21:30:26 eaf3925da568: Pulling fs layer 21:30:26 bab4dde63d76: Pulling fs layer 21:30:26 bde34c3a00c8: Pulling fs layer 21:30:26 b352a97aabf1: Pulling fs layer 21:30:26 4872d77fe225: Pulling fs layer 21:30:26 5851b861e8e6: Pulling fs layer 21:30:26 988bab9f4d93: Waiting 21:30:26 b352a97aabf1: Waiting 21:30:26 1469e6f7b9e6: Waiting 21:30:26 4872d77fe225: Waiting 21:30:26 5851b861e8e6: Waiting 21:30:26 eaf3925da568: Waiting 21:30:26 bab4dde63d76: Waiting 21:30:26 bde34c3a00c8: Waiting 21:30:26 e2be974225ed: Verifying Checksum 21:30:26 e2be974225ed: Download complete 21:30:26 988bab9f4d93: Verifying Checksum 21:30:26 988bab9f4d93: Download complete 21:30:26 1469e6f7b9e6: Verifying Checksum 21:30:26 1469e6f7b9e6: Download complete 21:30:26 eaf3925da568: Verifying Checksum 21:30:26 eaf3925da568: Download complete 21:30:26 339a4e72a1f5: Verifying Checksum 21:30:26 339a4e72a1f5: Download complete 21:30:26 bde34c3a00c8: Verifying Checksum 21:30:26 bde34c3a00c8: Download complete 21:30:26 b352a97aabf1: Verifying Checksum 21:30:26 b352a97aabf1: Download complete 21:30:26 4872d77fe225: Verifying Checksum 21:30:26 4872d77fe225: Download complete 21:30:26 5851b861e8e6: Download complete 21:30:26 b85a868b505f: Verifying Checksum 21:30:26 b85a868b505f: Download complete 21:30:26 bab4dde63d76: Verifying Checksum 21:30:26 bab4dde63d76: Download complete 21:30:27 b85a868b505f: Pull complete 21:30:27 e2be974225ed: Pull complete 21:30:28 339a4e72a1f5: Pull complete 21:30:28 988bab9f4d93: Pull complete 21:30:28 1469e6f7b9e6: Pull complete 21:30:28 eaf3925da568: Pull complete 21:30:30 bab4dde63d76: Pull complete 21:30:30 bde34c3a00c8: Pull complete 21:30:30 b352a97aabf1: Pull complete 21:30:30 4872d77fe225: Pull complete 21:30:30 5851b861e8e6: Pull complete 21:30:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:30 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 21:30:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 21:30:32 $ docker top 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b -eo pid,comm 21:30:32 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). 21:30:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:32 [ssh-agent] Looking for ssh-agent implementation... 21:30:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:32 $ docker exec 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent 21:30:32 SSH_AUTH_SOCK=/tmp/ssh-1sGCgOjvxseJ/agent.32 21:30:32 SSH_AGENT_PID=38 21:30:32 Running ssh-add (command line suppressed) 21:30:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12864358382403308562.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12864358382403308562.key) 21:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:32 + git tag --points-at HEAD [Pipeline] } 21:30:32 $ docker exec --env ******** --env ******** 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent -k 21:30:33 unset SSH_AUTH_SOCK; 21:30:33 unset SSH_AGENT_PID; 21:30:33 echo Agent pid 38 killed; 21:30:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:30:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:33 [ssh-agent] Looking for ssh-agent implementation... 21:30:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:33 $ docker exec 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent 21:30:33 SSH_AUTH_SOCK=/tmp/ssh-cDQhB9Y1eOao/agent.70 21:30:33 SSH_AGENT_PID=76 21:30:33 Running ssh-add (command line suppressed) 21:30:33 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12354364559893556946.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_12354364559893556946.key) 21:30:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:33 + git semver init 21:30:34 2022-10-07 21:30:34,035 [run_init] DEBUG init version:0.0.0 force:False 21:30:34 2022-10-07 21:30:34,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 21:30:34 2022-10-07 21:30:34,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 21:30:34 2022-10-07 21:30:34,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) 21:30:35 2022-10-07 21:30:34,985 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 21:30:35 2022-10-07 21:30:34,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 21:30:35 2022-10-07 21:30:34,985 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 21:30:35 2022-10-07 21:30:34,988 [execute] INFO git cat-file --batch-check 21:30:35 2022-10-07 21:30:34,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 21:30:35 2022-10-07 21:30:34,994 [execute] INFO git cat-file --batch 21:30:35 2022-10-07 21:30:34,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 21:30:35 2022-10-07 21:30:34,998 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 21:30:35 0.0.0 [Pipeline] } 21:30:35 $ docker exec --env ******** --env ******** 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b ssh-agent -k 21:30:35 unset SSH_AUTH_SOCK; 21:30:35 unset SSH_AGENT_PID; 21:30:35 echo Agent pid 76 killed; 21:30:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:35 + git semver [Pipeline] } 21:30:35 $ docker stop --time=1 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b 21:30:37 $ docker rm -f 6c25966d26352baa804f29cd89b6f088825f34bcdb39dfa0c5a06b33bc9fe15b [Pipeline] // withDockerContainer [Pipeline] sh 21:30:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:30:37 Stashed 1 file(s) [Pipeline] echo 21:30:37 [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 21:30:38 provisioning config files... 21:30:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config11786279116025225311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:38 ---> docker-login.sh 21:30:38 nexus3.edgexfoundry.org:10001 21:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:38 Configure a credential helper to remove this warning. See 21:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:38 21:30:38 Login Succeeded 21:30:38 nexus3.edgexfoundry.org:10002 21:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:38 Configure a credential helper to remove this warning. See 21:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:38 21:30:38 Login Succeeded 21:30:38 nexus3.edgexfoundry.org:10003 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 nexus3.edgexfoundry.org:10004 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 docker.io 21:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:39 Configure a credential helper to remove this warning. See 21:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:39 21:30:39 Login Succeeded 21:30:39 ---> docker-login.sh ends [Pipeline] } 21:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:39 ========================================================= 21:30:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:30:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:40 + 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 . 21:30:40 Sending build context to Docker daemon 21.16MB 21:30:40 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:30:40 Step 2/14 : FROM ${BASE} AS builder 21:30:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:30:40 2408cc74d12b: Pulling fs layer 21:30:40 ea60b727a1ce: Pulling fs layer 21:30:40 30c4a7721957: Pulling fs layer 21:30:40 370296b7ddb6: Pulling fs layer 21:30:40 7c6cee850709: Pulling fs layer 21:30:40 aa9baa53a306: Pulling fs layer 21:30:40 8b309c321861: Pulling fs layer 21:30:40 370296b7ddb6: Waiting 21:30:40 d8d76fd02f46: Pulling fs layer 21:30:40 7c6cee850709: Waiting 21:30:40 fa31f396de31: Pulling fs layer 21:30:40 aa9baa53a306: Waiting 21:30:40 8b309c321861: Waiting 21:30:40 d8d76fd02f46: Waiting 21:30:40 fa31f396de31: Waiting 21:30:40 30c4a7721957: Verifying Checksum 21:30:40 30c4a7721957: Download complete 21:30:40 ea60b727a1ce: Download complete 21:30:40 7c6cee850709: Download complete 21:30:40 aa9baa53a306: Verifying Checksum 21:30:40 aa9baa53a306: Download complete 21:30:40 2408cc74d12b: Verifying Checksum 21:30:40 2408cc74d12b: Download complete 21:30:40 8b309c321861: Download complete 21:30:40 2408cc74d12b: Pull complete 21:30:40 ea60b727a1ce: Pull complete 21:30:40 30c4a7721957: Pull complete 21:30:41 fa31f396de31: Verifying Checksum 21:30:41 fa31f396de31: Download complete 21:30:41 370296b7ddb6: Verifying Checksum 21:30:41 370296b7ddb6: Download complete 21:30:41 d8d76fd02f46: Verifying Checksum 21:30:41 d8d76fd02f46: Download complete 21:30:44 370296b7ddb6: Pull complete 21:30:44 7c6cee850709: Pull complete 21:30:44 aa9baa53a306: Pull complete 21:30:45 8b309c321861: Pull complete 21:30:46 d8d76fd02f46: Pull complete 21:30:47 fa31f396de31: Pull complete 21:30:47 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 21:30:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:30:47 ---> cef68f9685f8 21:30:47 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:30:48 ---> Running in ade1cc77ad06 21:30:48 Removing intermediate container ade1cc77ad06 21:30:48 ---> aec7d4710ee5 21:30:48 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:49 ---> Running in c30c9317c97c 21:30:49 Removing intermediate container c30c9317c97c 21:30:49 ---> 2077e90872bb 21:30:49 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:30:49 ---> Running in 0bbaa30be567 21:30:49 Removing intermediate container 0bbaa30be567 21:30:49 ---> 8f1bd6dbbc4a 21:30:49 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 21:30:49 ---> Running in caa28a7c53c7 21:30:49 Removing intermediate container caa28a7c53c7 21:30:49 ---> 2b7dac266ec5 21:30:49 Step 7/14 : LABEL Name=edgex-device-onvif-camera 21:30:49 ---> Running in c10c235fa31d 21:30:49 Removing intermediate container c10c235fa31d 21:30:49 ---> 7e211cb2a2ba 21:30:49 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:49 ---> Running in 1b2d976bf464 21:30:49 Removing intermediate container 1b2d976bf464 21:30:49 ---> 3dc709e750a6 21:30:49 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:49 ---> Running in 7b1d89422738 21:30:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:30:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:30:51 OK: 211 MiB in 51 packages 21:30:51 Removing intermediate container 7b1d89422738 21:30:51 ---> 910295c84d79 21:30:51 Step 10/14 : WORKDIR /device-onvif-camera 21:30:51 ---> Running in 2ea64248be7c 21:30:51 Removing intermediate container 2ea64248be7c 21:30:51 ---> 245e00b19f14 21:30:51 Step 11/14 : COPY go.mod vendor* ./ 21:30:52 ---> d62ed6068922 21:30:52 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:52 ---> Running in 53d2bc5ee2f0 21:30:53 Still waiting to schedule task 21:30:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:31:14 Removing intermediate container 53d2bc5ee2f0 21:31:14 ---> 927775f5bd30 21:31:14 Step 13/14 : COPY . . 21:31:14 ---> eb025aa1f701 21:31:14 Step 14/14 : RUN ${MAKE} 21:31:14 ---> Running in 3b46afbb26e1 21:31:14 noop 21:31:14 Removing intermediate container 3b46afbb26e1 21:31:14 ---> 44357622fceb 21:31:14 Successfully built 44357622fceb 21:31:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:14 + docker inspect -f . ci-base-image-x86_64 21:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:14 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 21:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 21:31:15 $ docker top 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:15 + go version 21:31:15 go version go1.18.3 linux/amd64 [Pipeline] } 21:31:15 $ docker stop --time=1 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 21:31:16 $ docker rm -f 20995d832e9eecb51ecc103b2ee0a22b09a2924b3a433e05f017f955d38de152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:17 + docker inspect -f . ci-base-image-x86_64 21:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:17 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 21:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 21:31:17 $ docker top f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:18 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 21:31:18 + make test 21:31:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:31:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:31:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:31:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 21:31:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:31:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.304s coverage: 86.5% of statements 21:31:35 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." 21:31:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:31:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:31:39 $ docker stop --time=1 f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd 21:31:41 $ docker rm -f f76c03aa8d102cb751259b098795a2ab1c6e15e0182b14c3e2a72a21a14ad5bd [Pipeline] // withDockerContainer [Pipeline] sh 21:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:31:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:31:42 + ls -al . 21:31:42 total 236 21:31:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 21:31 . 21:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 .. 21:31:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 21:31 .git 21:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:30 .github 21:31:42 -rw-rw-r-- 1 jenkins jenkins 496 Oct 7 21:30 .gitignore 21:31:42 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 21:30 .golangci.yml 21:31:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 21:30 .semver 21:31:42 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 21:30 Attribution.txt 21:31:42 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 21:30 CHANGELOG.md 21:31:42 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 21:30 Dockerfile 21:31:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 21:30 GOVERNANCE.md 21:31:42 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 21:30 Jenkinsfile 21:31:42 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 21:30 LICENSE 21:31:42 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 21:30 Makefile 21:31:42 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 21:30 OWNERS.md 21:31:42 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 21:30 README.md 21:31:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 21:30 VERSION 21:31:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 21:30 bin 21:31:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:30 cmd 21:31:42 -rw-r--r-- 1 jenkins jenkins 78461 Oct 7 21:31 coverage.out 21:31:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 21:30 doc 21:31:42 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 21:30 go.mod 21:31:42 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 21:30 go.sum 21:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 internal 21:31:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:30 snap 21:31:42 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:43 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 --label arch=amd64 --label version=0.0.0 . 21:31:43 Sending build context to Docker daemon 21.24MB 21:31:43 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:31:43 Step 2/27 : FROM ${BASE} AS builder 21:31:43 ---> 44357622fceb 21:31:43 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:31:43 ---> Running in e2647c87fa82 21:31:43 Removing intermediate container e2647c87fa82 21:31:43 ---> e0e12c1d9af9 21:31:43 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:43 ---> Running in 91c7b5f39b75 21:31:43 Removing intermediate container 91c7b5f39b75 21:31:43 ---> 7e088b3dc91a 21:31:43 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:31:43 ---> Running in 50afbd1bd4a2 21:31:43 Removing intermediate container 50afbd1bd4a2 21:31:43 ---> 45855c0e022a 21:31:43 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:31:43 ---> Running in 4f610d1dde51 21:31:43 Removing intermediate container 4f610d1dde51 21:31:43 ---> 76302afceebf 21:31:43 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:31:43 ---> Running in 15a5d8d4ae1d 21:31:43 Removing intermediate container 15a5d8d4ae1d 21:31:43 ---> 92946c089327 21:31:43 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:43 ---> Running in 7fe40b417486 21:31:44 Removing intermediate container 7fe40b417486 21:31:44 ---> 1b06c9b21086 21:31:44 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:44 ---> Running in 2be04822bd12 21:31:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:31:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:31:45 OK: 211 MiB in 51 packages 21:31:46 Removing intermediate container 2be04822bd12 21:31:46 ---> 60f7fb7cc5b4 21:31:46 Step 10/27 : WORKDIR /device-onvif-camera 21:31:46 ---> Running in 74882749581b 21:31:46 Removing intermediate container 74882749581b 21:31:46 ---> bf9ee171741c 21:31:46 Step 11/27 : COPY go.mod vendor* ./ 21:31:46 ---> d5ca4b3ce018 21:31:46 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:46 ---> Running in 21c086396ac4 21:31:47 Removing intermediate container 21c086396ac4 21:31:47 ---> cc8c8c9def4b 21:31:47 Step 13/27 : COPY . . 21:31:47 ---> f4dc235cd0c9 21:31:47 Step 14/27 : RUN ${MAKE} 21:31:47 ---> Running in ce53de48dabf 21:31:48 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:32:10 Removing intermediate container ce53de48dabf 21:32:10 ---> 87e3b5f38a33 21:32:10 Step 15/27 : FROM alpine:3.16 21:32:10 3.16: Pulling from library/alpine 21:32:10 213ec9aee27d: Pulling fs layer 21:32:10 213ec9aee27d: Verifying Checksum 21:32:10 213ec9aee27d: Pull complete 21:32:10 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:32:10 Status: Downloaded newer image for alpine:3.16 21:32:10 ---> 9c6f07244728 21:32:10 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:32:10 ---> Running in 9a27a72df96b 21:32:10 Removing intermediate container 9a27a72df96b 21:32:10 ---> 44be84cd99ba 21:32:10 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:32:10 ---> Running in 04d191a9b15c 21:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:32:10 (1/6) Installing dumb-init (1.2.5-r1) 21:32:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:32:10 (3/6) Installing libsodium (1.0.18-r0) 21:32:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:32:10 (5/6) Installing libzmq (4.3.4-r0) 21:32:10 (6/6) Installing zeromq (4.3.4-r0) 21:32:10 Executing busybox-1.35.0-r17.trigger 21:32:10 OK: 8 MiB in 20 packages 21:32:10 Removing intermediate container 04d191a9b15c 21:32:10 ---> 97a0a8709fd0 21:32:10 Step 18/27 : WORKDIR / 21:32:10 ---> Running in 4db89434bbeb 21:32:10 Removing intermediate container 4db89434bbeb 21:32:10 ---> 049f0b313334 21:32:10 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 21:32:10 ---> 0a06d8ee5c64 21:32:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 21:32:11 ---> ec40f8641894 21:32:11 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:32:11 ---> ffe2699b6473 21:32:11 Step 22/27 : EXPOSE 59984 21:32:11 ---> Running in ad96921130ee 21:32:11 Removing intermediate container ad96921130ee 21:32:11 ---> 0db66834d677 21:32:11 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 21:32:11 ---> Running in 323df640a830 21:32:11 Removing intermediate container 323df640a830 21:32:11 ---> 7dad59334af6 21:32:11 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:32:11 ---> Running in 2919b7a93f58 21:32:11 Removing intermediate container 2919b7a93f58 21:32:11 ---> 3e18776518fd 21:32:11 Step 25/27 : LABEL arch=amd64 21:32:11 ---> Running in fd86b2c1759b 21:32:11 Removing intermediate container fd86b2c1759b 21:32:11 ---> c9b2dd6e4581 21:32:11 Step 26/27 : LABEL git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 21:32:11 ---> Running in 116e1d248326 21:32:11 Removing intermediate container 116e1d248326 21:32:11 ---> b739775a2f18 21:32:11 Step 27/27 : LABEL version=0.0.0 21:32:11 ---> Running in 44b7fb7d3fdb 21:32:11 Removing intermediate container 44b7fb7d3fdb 21:32:11 ---> 730b8d6bea26 21:32:11 [Warning] One or more build-args [ARCH] were not consumed 21:32:11 Successfully built 730b8d6bea26 21:32:11 Successfully tagged device-onvif-camera: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 21:32:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:12 21:32:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:13 latest: Pulling from edgex-lftools-log-publisher 21:32:13 5eb5b503b376: Pulling fs layer 21:32:13 5c69ac0246d0: Pulling fs layer 21:32:13 ec43610c2a17: Pulling fs layer 21:32:13 3a2ae6a8a46f: Pulling fs layer 21:32:13 33b1e0a273af: Pulling fs layer 21:32:13 5d3b04190fa2: Pulling fs layer 21:32:13 2f39f015ded8: Pulling fs layer 21:32:13 5d3b04190fa2: Waiting 21:32:13 3a2ae6a8a46f: Waiting 21:32:13 33b1e0a273af: Waiting 21:32:13 2f39f015ded8: Waiting 21:32:13 5c69ac0246d0: Download complete 21:32:13 3a2ae6a8a46f: Download complete 21:32:13 33b1e0a273af: Verifying Checksum 21:32:13 33b1e0a273af: Download complete 21:32:13 5d3b04190fa2: Verifying Checksum 21:32:13 5d3b04190fa2: Download complete 21:32:13 ec43610c2a17: Verifying Checksum 21:32:13 ec43610c2a17: Download complete 21:32:13 5eb5b503b376: Download complete 21:32:13 2f39f015ded8: Download complete 21:32:14 5eb5b503b376: Pull complete 21:32:14 5c69ac0246d0: Pull complete 21:32:15 ec43610c2a17: Pull complete 21:32:15 3a2ae6a8a46f: Pull complete 21:32:15 33b1e0a273af: Pull complete 21:32:15 5d3b04190fa2: Pull complete 21:32:19 2f39f015ded8: Pull complete 21:32:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:32:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:19 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 21:32:19 $ 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/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 21:32:22 $ docker top 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:22 ---> job-cost.sh 21:32:22 lf-activate-venv: SKIPPING 21:32:22 INFO: No Stack... 21:32:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:23 INFO: Archiving Costs [Pipeline] sh 21:32:23 + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv 21:32:23 + cut -d, -f6 [Pipeline] lock 21:32:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] 21:32:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] did not exist. Created. 21:32:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:32:23 Stashed 1 file(s) [Pipeline] } 21:32:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:32:23 $ docker stop --time=1 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 21:32:25 $ docker rm -f 388c36b33e169ad270beb81402071004b3e074618f1f25d58d7cca26a9e8f7d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:32:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7358 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws 21:32:26 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 21:32:26 The recommended git tool is: git 21:32:30 using credential edgex-jenkins-ssh 21:32:30 Cloning the remote Git repository 21:32:30 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:32:30 > git init /w/workspace/device-onvif-camera/1 # timeout=10 21:32:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:32:31 > git --version # timeout=10 21:32:31 > git --version # 'git version 2.25.1' 21:32:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:31 Verifying host key using known hosts file 21:32:31 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. 21:32:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:32:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:32:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:32:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:33 Verifying host key using known hosts file 21:32:33 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. 21:32:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:32:35 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 482e55864ca8f334c8fa0bb601f752722a1407a0 21:32:36 Merge succeeded, producing 482e55864ca8f334c8fa0bb601f752722a1407a0 21:32:36 Checking out Revision 482e55864ca8f334c8fa0bb601f752722a1407a0 (PR-174) 21:32:35 > git config core.sparsecheckout # timeout=10 21:32:35 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 21:32:35 > git remote # timeout=10 21:32:35 > git config --get remote.origin.url # timeout=10 21:32:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:35 Verifying host key using known hosts file 21:32:35 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. 21:32:36 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 21:32:36 > git rev-parse HEAD^{commit} # timeout=10 21:32:36 > git config core.sparsecheckout # timeout=10 21:32:36 > git checkout -f 482e55864ca8f334c8fa0bb601f752722a1407a0 # timeout=10 21:32:36 Commit message: "feat: added more onvif descriptions" 21:32:36 > git --version # timeout=10 21:32:36 > git --version # 'git version 2.25.1' 21:32:36 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:32:37 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:37 Dload Upload Total Spent Left Speed 21:32:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 21:32:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:32:38 + sudo tee /etc/docker/daemon.new 21:32:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:32:38 { 21:32:38 "registry-mirrors": [ 21:32:38 "https://nexus3.edgexfoundry.org:10001" 21:32:38 ], 21:32:38 "bip": "10.250.0.254/24", 21:32:38 "hosts": [ 21:32:38 "tcp://0.0.0.0:5555", 21:32:38 "unix:///var/run/docker.sock" 21:32:38 ], 21:32:38 "mtu": 1458, 21:32:38 "selinux-enabled": true, 21:32:38 "seccomp-profile": "/etc/docker/seccomp.json" 21:32:38 } [Pipeline] sh 21:32:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:32:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:57 provisioning config files... 21:32:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config4409653490249737480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:58 ---> docker-login.sh 21:32:58 nexus3.edgexfoundry.org:10001 21:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:58 Configure a credential helper to remove this warning. See 21:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:58 21:32:58 Login Succeeded 21:32:58 nexus3.edgexfoundry.org:10002 21:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:59 Configure a credential helper to remove this warning. See 21:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:59 21:32:59 Login Succeeded 21:32:59 nexus3.edgexfoundry.org:10003 21:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:59 Configure a credential helper to remove this warning. See 21:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:59 21:32:59 Login Succeeded 21:32:59 nexus3.edgexfoundry.org:10004 21:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:59 Configure a credential helper to remove this warning. See 21:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:59 21:32:59 Login Succeeded 21:32:59 docker.io 21:33:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:00 Configure a credential helper to remove this warning. See 21:33:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:00 21:33:00 Login Succeeded 21:33:00 ---> docker-login.sh ends [Pipeline] } 21:33:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:01 ========================================================= 21:33:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:33:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:33:01 Sending build context to Docker daemon 14.58MB 21:33:02 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:33:02 Step 2/14 : FROM ${BASE} AS builder 21:33:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:33:02 b3c136eddcbf: Pulling fs layer 21:33:02 c0a3192eca97: Pulling fs layer 21:33:02 a050256f5b6f: Pulling fs layer 21:33:02 656be50a0ddc: Pulling fs layer 21:33:02 2bbca73fdf42: Pulling fs layer 21:33:02 f607e4fc86c3: Pulling fs layer 21:33:02 4d572c569a2c: Pulling fs layer 21:33:02 fcf976331f73: Pulling fs layer 21:33:02 2bbca73fdf42: Waiting 21:33:02 656be50a0ddc: Waiting 21:33:02 f607e4fc86c3: Waiting 21:33:02 fcf976331f73: Waiting 21:33:02 4d572c569a2c: Waiting 21:33:02 a050256f5b6f: Verifying Checksum 21:33:02 a050256f5b6f: Download complete 21:33:02 c0a3192eca97: Verifying Checksum 21:33:02 c0a3192eca97: Download complete 21:33:02 2bbca73fdf42: Download complete 21:33:02 f607e4fc86c3: Verifying Checksum 21:33:02 f607e4fc86c3: Download complete 21:33:02 b3c136eddcbf: Verifying Checksum 21:33:02 b3c136eddcbf: Download complete 21:33:03 b3c136eddcbf: Pull complete 21:33:03 fcf976331f73: Verifying Checksum 21:33:03 fcf976331f73: Download complete 21:33:03 c0a3192eca97: Pull complete 21:33:03 a050256f5b6f: Pull complete 21:33:04 4d572c569a2c: Verifying Checksum 21:33:04 4d572c569a2c: Download complete 21:33:05 656be50a0ddc: Verifying Checksum 21:33:05 656be50a0ddc: Download complete 21:33:17 656be50a0ddc: Pull complete 21:33:17 2bbca73fdf42: Pull complete 21:33:17 f607e4fc86c3: Pull complete 21:33:24 4d572c569a2c: Pull complete 21:33:25 fcf976331f73: Pull complete 21:33:25 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 21:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:33:25 ---> 3970a7415f9e 21:33:25 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:33:27 ---> Running in a70dbf0cc08e 21:33:27 Removing intermediate container a70dbf0cc08e 21:33:27 ---> 0d24d5971217 21:33:27 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:27 ---> Running in 5a3d59c94e04 21:33:28 Removing intermediate container 5a3d59c94e04 21:33:28 ---> 8b7e8ad74397 21:33:28 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:33:28 ---> Running in de613ad93e53 21:33:28 Removing intermediate container de613ad93e53 21:33:28 ---> 288390e8ebc2 21:33:28 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 21:33:28 ---> Running in a0ce35384621 21:33:28 Removing intermediate container a0ce35384621 21:33:28 ---> ce8896cf4232 21:33:28 Step 7/14 : LABEL Name=edgex-device-onvif-camera 21:33:28 ---> Running in 742a070d3a47 21:33:29 Removing intermediate container 742a070d3a47 21:33:29 ---> d2c9d06d1313 21:33:29 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:29 ---> Running in e0cc30424f28 21:33:31 Removing intermediate container e0cc30424f28 21:33:31 ---> eea0de85d03a 21:33:31 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:31 ---> Running in 80b0b85884ab 21:33:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:33:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:33:33 OK: 221 MiB in 51 packages 21:33:34 Removing intermediate container 80b0b85884ab 21:33:34 ---> 875b53059b32 21:33:34 Step 10/14 : WORKDIR /device-onvif-camera 21:33:34 ---> Running in eaabd292a774 21:33:34 Removing intermediate container eaabd292a774 21:33:34 ---> 08b6f96b77d6 21:33:34 Step 11/14 : COPY go.mod vendor* ./ 21:33:35 ---> adeed99165df 21:33:35 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:35 ---> Running in 2f0b16707d48 21:34:31 Removing intermediate container 2f0b16707d48 21:34:31 ---> cff1f898944f 21:34:31 Step 13/14 : COPY . . 21:34:31 ---> d2d59308759c 21:34:31 Step 14/14 : RUN ${MAKE} 21:34:31 ---> Running in b4ba004c9ade 21:34:31 noop 21:34:31 Removing intermediate container b4ba004c9ade 21:34:31 ---> 0667682fa387 21:34:31 Successfully built 0667682fa387 21:34:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:32 + docker inspect -f . ci-base-image-arm64 21:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:32 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 21:34:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** -e ******** ci-base-image-arm64 cat 21:34:34 $ docker top 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:35 + go version 21:34:35 go version go1.18.3 linux/arm64 [Pipeline] } 21:34:35 $ docker stop --time=1 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 21:34:37 $ docker rm -f 1bd5e44ef36bd0ff4f74780c8b9ae5d92f034d19682bab060594ec799bb58932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:38 + docker inspect -f . ci-base-image-arm64 21:34:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:38 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 21:34:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** -e ******** ci-base-image-arm64 cat 21:34:39 $ docker top f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 21:34:40 + make test 21:34:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:34:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:36:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:36:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.2% of statements 21:36:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:36:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.245s coverage: 86.5% of statements 21:36:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:37:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:04 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:05 $ docker stop --time=1 f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 21:37:07 $ docker rm -f f9240e7e38a49280daf1d91effdf45f59cfa949ae607021714574baf8a107765 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:08 Warning: overwriting stash ‘coverage-report’ 21:37:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:09 + ls -al . 21:37:09 total 232 21:37:09 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 21:34 . 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 .. 21:37:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 21:32 .git 21:37:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:32 .github 21:37:09 -rw-rw-r-- 1 jenkins jenkins 496 Oct 7 21:32 .gitignore 21:37:09 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 21:32 .golangci.yml 21:37:09 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 21:32 Attribution.txt 21:37:09 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 21:32 CHANGELOG.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 21:32 Dockerfile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 21:32 GOVERNANCE.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 21:32 Jenkinsfile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 21:32 LICENSE 21:37:09 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 21:32 Makefile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 21:32 OWNERS.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 21:32 README.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 21:30 VERSION 21:37:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 21:32 bin 21:37:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 21:32 cmd 21:37:09 -rw-r--r-- 1 jenkins jenkins 78461 Oct 7 21:36 coverage.out 21:37:09 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 21:32 doc 21:37:09 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 21:32 go.mod 21:37:09 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 21:32 go.sum 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 internal 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 21:32 snap 21:37:09 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:10 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 --label arch=arm64 --label version=0.0.0 . 21:37:10 Sending build context to Docker daemon 14.66MB 21:37:10 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:37:10 Step 2/27 : FROM ${BASE} AS builder 21:37:10 ---> 0667682fa387 21:37:10 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:37:10 ---> Running in dab01e3c11e0 21:37:11 Removing intermediate container dab01e3c11e0 21:37:11 ---> db951f16e078 21:37:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:11 ---> Running in 52beafe2a25e 21:37:12 Removing intermediate container 52beafe2a25e 21:37:12 ---> 5639f57247af 21:37:12 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:37:12 ---> Running in 7c7c38eae00b 21:37:12 Removing intermediate container 7c7c38eae00b 21:37:12 ---> ccc062a0d3f6 21:37:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:37:12 ---> Running in 4cfe1d6f1dfc 21:37:12 Removing intermediate container 4cfe1d6f1dfc 21:37:12 ---> fc119b99c4ec 21:37:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:37:12 ---> Running in 84b440165755 21:37:13 Removing intermediate container 84b440165755 21:37:13 ---> 883d3d0b2d87 21:37:13 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:37:13 ---> Running in 2e6d55119fe1 21:37:15 Removing intermediate container 2e6d55119fe1 21:37:15 ---> 68d987e9a25e 21:37:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:15 ---> Running in 51e055254b3f 21:37:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:37:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:37:18 OK: 221 MiB in 51 packages 21:37:19 Removing intermediate container 51e055254b3f 21:37:19 ---> 44cc8d2309cd 21:37:19 Step 10/27 : WORKDIR /device-onvif-camera 21:37:19 ---> Running in e12b776d4ee8 21:37:19 Removing intermediate container e12b776d4ee8 21:37:19 ---> bf712999bf5a 21:37:19 Step 11/27 : COPY go.mod vendor* ./ 21:37:20 ---> c70e11ab3256 21:37:20 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:20 ---> Running in de3284cb33a9 21:37:22 Removing intermediate container de3284cb33a9 21:37:22 ---> b576a810da9a 21:37:22 Step 13/27 : COPY . . 21:37:24 ---> 91eb406fefde 21:37:24 Step 14/27 : RUN ${MAKE} 21:37:24 ---> Running in 3a6f244d2451 21:37:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:39:46 Removing intermediate container 3a6f244d2451 21:39:46 ---> aaa305b9a474 21:39:46 Step 15/27 : FROM alpine:3.16 21:39:46 3.16: Pulling from library/alpine 21:39:46 9b18e9b68314: Pulling fs layer 21:39:46 9b18e9b68314: Verifying Checksum 21:39:46 9b18e9b68314: Download complete 21:39:46 9b18e9b68314: Pull complete 21:39:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:39:46 Status: Downloaded newer image for alpine:3.16 21:39:46 ---> a6215f271958 21:39:46 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:39:46 ---> Running in 626e1a801adf 21:39:46 Removing intermediate container 626e1a801adf 21:39:46 ---> ffa8460174df 21:39:46 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:39:46 ---> Running in 9e7160b9cce2 21:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:48 (1/6) Installing dumb-init (1.2.5-r1) 21:39:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:39:48 (3/6) Installing libsodium (1.0.18-r0) 21:39:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:39:48 (5/6) Installing libzmq (4.3.4-r0) 21:39:48 (6/6) Installing zeromq (4.3.4-r0) 21:39:48 Executing busybox-1.35.0-r17.trigger 21:39:48 OK: 8 MiB in 20 packages 21:39:49 Removing intermediate container 9e7160b9cce2 21:39:49 ---> b438ff880270 21:39:49 Step 18/27 : WORKDIR / 21:39:49 ---> Running in 8c81d7a2840d 21:39:50 Removing intermediate container 8c81d7a2840d 21:39:50 ---> 7f4b8dae0729 21:39:50 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 21:39:51 ---> c56620597d7b 21:39:51 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 21:39:52 ---> f6bc154d04a6 21:39:52 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:39:52 ---> 8e3b4490017a 21:39:52 Step 22/27 : EXPOSE 59984 21:39:52 ---> Running in c6b155f5b408 21:39:52 Removing intermediate container c6b155f5b408 21:39:52 ---> 20443a4848e7 21:39:52 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 21:39:52 ---> Running in 38f053572730 21:39:53 Removing intermediate container 38f053572730 21:39:53 ---> 8460a84a88e2 21:39:53 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:39:53 ---> Running in 0cc14c0d538f 21:39:53 Removing intermediate container 0cc14c0d538f 21:39:53 ---> 5988f2485973 21:39:53 Step 25/27 : LABEL arch=arm64 21:39:53 ---> Running in f8f1d9005ceb 21:39:53 Removing intermediate container f8f1d9005ceb 21:39:53 ---> 8679f33724a4 21:39:53 Step 26/27 : LABEL git_sha=482e55864ca8f334c8fa0bb601f752722a1407a0 21:39:53 ---> Running in 6d14ab33a820 21:39:53 Removing intermediate container 6d14ab33a820 21:39:53 ---> 623e3098072e 21:39:53 Step 27/27 : LABEL version=0.0.0 21:39:54 ---> Running in 242b093e99d3 21:39:54 Removing intermediate container 242b093e99d3 21:39:54 ---> f86a3464a2e4 21:39:54 [Warning] One or more build-args [ARCH] were not consumed 21:39:54 Successfully built f86a3464a2e4 21:39:54 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:55 21:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:55 arm64: Pulling from edgex-lftools-log-publisher 21:39:55 8998bd30e6a1: Pulling fs layer 21:39:55 04944245beec: Pulling fs layer 21:39:55 699f458cf7ca: Pulling fs layer 21:39:55 765212b225bb: Pulling fs layer 21:39:55 f23df028b6ca: Pulling fs layer 21:39:55 d65c8cfc05b1: Pulling fs layer 21:39:55 2437ff75d9bd: Pulling fs layer 21:39:55 f23df028b6ca: Waiting 21:39:55 d65c8cfc05b1: Waiting 21:39:55 765212b225bb: Waiting 21:39:55 2437ff75d9bd: Waiting 21:39:56 04944245beec: Verifying Checksum 21:39:56 04944245beec: Download complete 21:39:56 765212b225bb: Verifying Checksum 21:39:56 765212b225bb: Download complete 21:39:56 f23df028b6ca: Verifying Checksum 21:39:56 f23df028b6ca: Download complete 21:39:56 d65c8cfc05b1: Verifying Checksum 21:39:56 d65c8cfc05b1: Download complete 21:39:56 699f458cf7ca: Verifying Checksum 21:39:56 699f458cf7ca: Download complete 21:39:56 8998bd30e6a1: Verifying Checksum 21:39:56 8998bd30e6a1: Download complete 21:39:59 2437ff75d9bd: Verifying Checksum 21:39:59 2437ff75d9bd: Download complete 21:40:00 8998bd30e6a1: Pull complete 21:40:00 04944245beec: Pull complete 21:40:02 699f458cf7ca: Pull complete 21:40:02 765212b225bb: Pull complete 21:40:02 f23df028b6ca: Pull complete 21:40:03 d65c8cfc05b1: Pull complete 21:40:18 2437ff75d9bd: Pull complete 21:40:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:18 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 21:40:18 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:40:20 $ docker top 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:21 ---> job-cost.sh 21:40:21 lf-activate-venv: SKIPPING 21:40:21 INFO: No Stack... 21:40:22 INFO: Retrieving Pricing Info for: v3-standard-4 21:40:23 INFO: Archiving Costs [Pipeline] sh 21:40:23 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 21:40:23 + cut -d, -f6 [Pipeline] lock 21:40:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] 21:40:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] did not exist. Created. 21:40:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:23 /w/workspace/device-onvif-camera/1@tmp/durable-331d4c7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:40:24 + echo total: 0.10999999940395355 [Pipeline] stash 21:40:24 Warning: overwriting stash ‘stack-cost’ 21:40:24 Stashed 1 file(s) [Pipeline] } 21:40:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:24 $ docker stop --time=1 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 21:40:25 $ docker rm -f 16f7d2ce39ebfecc1ad24cdb97a6815aea8fd2d158875f7f58e9a12c4d5cb5b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:40:26 provisioning config files... 21:40:26 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4895928029817095524tmp [Pipeline] { [Pipeline] sh 21:40:27 + set +x 21:40:27 + curl -s https://codecov.io/bash 21:40:27 + bash -s -- 21:40:27 21:40:27 _____ _ 21:40:27 / ____| | | 21:40:27 | | ___ __| | ___ ___ _____ __ 21:40:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:40:27 | |___| (_) | (_| | __/ (_| (_) \ V / 21:40:27 \_____\___/ \__,_|\___|\___\___/ \_/ 21:40:27 Bash-1.0.6 21:40:27 21:40:27 21:40:27 ==> git version 2.25.1 found 21:40:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:40:27 Release-Date: 2020-01-08 21:40:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:40:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:40:27 ==> Jenkins CI detected. 21:40:27 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 21:40:27 project root: . 21:40:27 --> token set from env 21:40:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:40:27 ==> Running gcov in . (disable via -X gcov) 21:40:27 ==> Python coveragepy not found 21:40:27 ==> Searching for coverage reports in: 21:40:27 + . 21:40:27 -> Found 1 reports 21:40:27 ==> Detecting git/mercurial file structure 21:40:27 ==> Reading reports 21:40:27 + ./coverage.out bytes=78461 21:40:27 ==> Appending adjustments 21:40:27 https://docs.codecov.io/docs/fixing-reports 21:40:27 + Found adjustments 21:40:27 ==> Gzipping contents 21:40:27 12K /tmp/codecov.cr0O7T.gz 21:40:27 ==> Uploading reports 21:40:27 url: https://codecov.io 21:40:27 query: branch=PR-174&commit=482e55864ca8f334c8fa0bb601f752722a1407a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 21:40:27 -> Pinging Codecov 21:40:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=482e55864ca8f334c8fa0bb601f752722a1407a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 21:40:27 -> Uploading to 21:40:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/482e55864ca8f334c8fa0bb601f752722a1407a0/16a904d8-bef9-4234-9dad-25ec4833863c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T214027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=501c5dcbab031c95c66f97f0e1fa1cb5b0f3627b28747eb30331fa8dd38d68a8 21:40:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:27 Dload Upload Total Spent Left Speed 21:40:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10815 0 0 100 10815 0 47434 --:--:-- --:--:-- --:--:-- 47434 21:40:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/482e55864ca8f334c8fa0bb601f752722a1407a0 [Pipeline] } 21:40:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:40:29 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 21:40:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 21:40:29 total 16 21:40:29 drwxr-xr-x 3 root root 4096 Oct 7 21:32 . 21:40:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 21:32 .. 21:40:29 drwxr-xr-x 2 root root 4096 Oct 7 21:32 cost 21:40:29 -rw-r--r-- 1 root root 91 Oct 7 21:32 cost.csv 21:40:29 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 21:40:29 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 21:40:29 total 16 21:40:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 21:32 . 21:40:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 21:32 .. 21:40:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 21:32 cost 21:40:29 -rw-r--r-- 1 jenkins jenkins 91 Oct 7 21:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:40:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:40:30 ---> package-listing.sh 21:40:30 ++ facter osfamily 21:40:30 ++ tr '[:upper:]' '[:lower:]' 21:40:31 + OS_FAMILY=debian 21:40:31 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 21:40:31 + START_PACKAGES=/tmp/packages_start.txt 21:40:31 + END_PACKAGES=/tmp/packages_end.txt 21:40:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:40:31 + PACKAGES=/tmp/packages_start.txt 21:40:31 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 21:40:31 + PACKAGES=/tmp/packages_end.txt 21:40:31 + case "${OS_FAMILY}" in 21:40:31 + dpkg -l 21:40:31 + grep '^ii' 21:40:31 + '[' -f /tmp/packages_start.txt ']' 21:40:31 + '[' -f /tmp/packages_end.txt ']' 21:40:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:40:31 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 21:40:31 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 21:40:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo 21:40:31 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/undry_device-onvif-camera_PR-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:40:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:32 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 21:40:32 $ 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/undry_device-onvif-camera_PR-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 21:40:32 $ docker top 46b6dfc90eb43e9ce9bd21035ebc71b732c45388f3e57ea835512be0970d1f47 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:32 + touch /tmp/pre-build-complete [Pipeline] sh 21:40:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:40:33 + ls /var/log/sa-host 21:40:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:33 provisioning config files... 21:40:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config9128161900069383442tmp [Pipeline] { [Pipeline] echo 21:40:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:40:34 ---> create-netrc.sh [Pipeline] } 21:40:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:40:34 ---> python-tools-install.sh [Pipeline] echo 21:40:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:40:34 ---> sudo-logs.sh 21:40:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:40:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:40:35 ---> job-cost.sh 21:40:35 lf-activate-venv: SKIPPING 21:40:35 DEBUG: total: 0.2199999988079071 21:40:35 INFO: Retrieving Stack Cost... 21:40:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:36 INFO: Archiving Costs [Pipeline] echo 21:40:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:40:36 ---> logs-deploy.sh 21:40:36 lf-activate-venv: SKIPPING 21:40:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/1 21:40:36 INFO: archiving workspace using pattern(s): 21:40:37 Archives upload complete. 21:40:37 INFO: archiving logs to Nexus