Pull request #273 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e0b630cb735782c58facbcf80c1125d056e597 rather than fe83476405b883efafe1a18aa9e727b318257e4e Obtained Jenkinsfile from 35e0b630cb735782c58facbcf80c1125d056e597 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-ssh1797681290273917006.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9025996903669927796.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10708770934629191026.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8913586360189162326.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16109318867920196081.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4617’ Running on prd-ubuntu20.04-docker-8c-8g-4621 in /w/workspace/undry_device-onvif-camera_PR-273 [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-273 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit fe83476405b883efafe1a18aa9e727b318257e4e Merge succeeded, producing fe83476405b883efafe1a18aa9e727b318257e4e Checking out Revision fe83476405b883efafe1a18aa9e727b318257e4e (PR-273) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe83476405b883efafe1a18aa9e727b318257e4e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe83476405b883efafe1a18aa9e727b318257e4e # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into remove-demo-app-docs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:59:33 ========================================================= 18:59:33 EdgeX Global Pipelines Version Info 18:59:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 # timeout=10 18:59:33 ------------------- 18:59:33 stable info: 18:59:33 ------------------- 18:59:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:59:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:59:33 Message: update stable to v1.0.245 18:59:34 ------------------- 18:59:34 experimental info: 18:59:34 ------------------- 18:59:34 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:34 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 18:59:34 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe83476 [Pipeline] echo 18:59:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:34 provisioning config files... 18:59:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config14974873127486211548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:35 ---> docker-login.sh 18:59:35 nexus3.edgexfoundry.org:10001 18:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:35 Configure a credential helper to remove this warning. See 18:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:35 18:59:35 Login Succeeded 18:59:35 nexus3.edgexfoundry.org:10002 18:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:35 Configure a credential helper to remove this warning. See 18:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:35 18:59:35 Login Succeeded 18:59:35 nexus3.edgexfoundry.org:10003 18:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:35 Configure a credential helper to remove this warning. See 18:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:35 18:59:35 Login Succeeded 18:59:35 nexus3.edgexfoundry.org:10004 18:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:35 Configure a credential helper to remove this warning. See 18:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:35 18:59:35 Login Succeeded 18:59:35 docker.io 18:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:36 Configure a credential helper to remove this warning. See 18:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:36 18:59:36 Login Succeeded 18:59:36 ---> docker-login.sh ends [Pipeline] } 18:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:59:36 + git rev-list -1 --merges fe83476405b883efafe1a18aa9e727b318257e4e~1..fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] echo 18:59:36 -----------> git rev-list -1 --merges fe83476405b883efafe1a18aa9e727b318257e4e~1..fe83476405b883efafe1a18aa9e727b318257e4e fe83476405b883efafe1a18aa9e727b318257e4e 18:59:36 fe83476405b883efafe1a18aa9e727b318257e4e [false] [Pipeline] sh 18:59:36 + git log --format=format:%s -1 fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] echo 18:59:36 ========================================================= 18:59:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:59:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:37 + git log --format=format:%s -1 fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] echo 18:59:37 [semverPrep] GIT_COMMIT: fe83476405b883efafe1a18aa9e727b318257e4e, Commit Message: Merge branch 'edgexfoundry:main' into remove-demo-app-docs [Pipeline] echo 18:59:37 [semverPrep] This is not a build commit. [Pipeline] sh 18:59:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:59:37 + grep -v github /etc/ssh/ssh_known_hosts 18:59:37 + [ -e /tmp/ssh_known_hosts ] 18:59:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:59:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:59:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:59:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:37 18:59:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:59:38 b85a868b505f: Pulling fs layer 18:59:38 e2be974225ed: Pulling fs layer 18:59:38 339a4e72a1f5: Pulling fs layer 18:59:38 988bab9f4d93: Pulling fs layer 18:59:38 1469e6f7b9e6: Pulling fs layer 18:59:38 eaf3925da568: Pulling fs layer 18:59:38 bab4dde63d76: Pulling fs layer 18:59:38 bde34c3a00c8: Pulling fs layer 18:59:38 b352a97aabf1: Pulling fs layer 18:59:38 4872d77fe225: Pulling fs layer 18:59:38 5851b861e8e6: Pulling fs layer 18:59:38 eaf3925da568: Waiting 18:59:38 bab4dde63d76: Waiting 18:59:38 bde34c3a00c8: Waiting 18:59:38 b352a97aabf1: Waiting 18:59:38 4872d77fe225: Waiting 18:59:38 5851b861e8e6: Waiting 18:59:38 988bab9f4d93: Waiting 18:59:38 1469e6f7b9e6: Waiting 18:59:38 e2be974225ed: Download complete 18:59:38 988bab9f4d93: Verifying Checksum 18:59:38 988bab9f4d93: Download complete 18:59:38 1469e6f7b9e6: Verifying Checksum 18:59:38 1469e6f7b9e6: Download complete 18:59:38 339a4e72a1f5: Verifying Checksum 18:59:38 339a4e72a1f5: Download complete 18:59:38 eaf3925da568: Download complete 18:59:38 bde34c3a00c8: Verifying Checksum 18:59:38 bde34c3a00c8: Download complete 18:59:38 b352a97aabf1: Download complete 18:59:38 4872d77fe225: Download complete 18:59:38 b85a868b505f: Download complete 18:59:38 5851b861e8e6: Verifying Checksum 18:59:38 5851b861e8e6: Download complete 18:59:38 bab4dde63d76: Verifying Checksum 18:59:38 bab4dde63d76: Download complete 18:59:39 b85a868b505f: Pull complete 18:59:39 e2be974225ed: Pull complete 18:59:40 339a4e72a1f5: Pull complete 18:59:40 988bab9f4d93: Pull complete 18:59:40 1469e6f7b9e6: Pull complete 18:59:40 eaf3925da568: Pull complete 18:59:42 bab4dde63d76: Pull complete 18:59:42 bde34c3a00c8: Pull complete 18:59:42 b352a97aabf1: Pull complete 18:59:42 4872d77fe225: Pull complete 18:59:42 5851b861e8e6: Pull complete 18:59:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:59:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:43 prd-ubuntu20.04-docker-8c-8g-4621 does not seem to be running inside a container 18:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:59:44 $ docker top 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc -eo pid,comm 18:59:44 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). 18:59:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:44 [ssh-agent] Looking for ssh-agent implementation... 18:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:44 $ docker exec 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc ssh-agent 18:59:44 SSH_AUTH_SOCK=/tmp/ssh-Jzwg45B4u3hd/agent.32 18:59:44 SSH_AGENT_PID=38 18:59:44 Running ssh-add (command line suppressed) 18:59:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_12663945748268258092.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_12663945748268258092.key) 18:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:45 + git tag --points-at HEAD [Pipeline] } 18:59:45 $ docker exec --env ******** --env ******** 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc ssh-agent -k 18:59:45 unset SSH_AUTH_SOCK; 18:59:45 unset SSH_AGENT_PID; 18:59:45 echo Agent pid 38 killed; 18:59:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:59:45 [ssh-agent] Looking for ssh-agent implementation... 18:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:59:45 $ docker exec 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc ssh-agent 18:59:45 SSH_AUTH_SOCK=/tmp/ssh-jkpphOPLDHV5/agent.70 18:59:45 SSH_AGENT_PID=76 18:59:45 Running ssh-add (command line suppressed) 18:59:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_8306880479727579538.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_8306880479727579538.key) 18:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:59:46 + git semver init 18:59:46 2023-03-20 18:59:46,229 [run_init] DEBUG init version:0.0.0 force:False 18:59:46 2023-03-20 18:59:46,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-273/.semver 18:59:46 2023-03-20 18:59:46,230 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-273/.semver 18:59:46 2023-03-20 18:59:46,231 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-273/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-273, universal_newlines=False, shell=None, istream=None) 18:59:47 2023-03-20 18:59:47,109 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-273/.git/info/exclude 18:59:47 2023-03-20 18:59:47,110 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 with force:False 18:59:47 2023-03-20 18:59:47,110 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 18:59:47 2023-03-20 18:59:47,113 [execute] INFO git cat-file --batch-check 18:59:47 2023-03-20 18:59:47,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 18:59:47 2023-03-20 18:59:47,120 [execute] INFO git cat-file --batch 18:59:47 2023-03-20 18:59:47,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) 18:59:47 2023-03-20 18:59:47,126 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 18:59:47 0.0.0 [Pipeline] } 18:59:47 $ docker exec --env ******** --env ******** 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc ssh-agent -k 18:59:47 unset SSH_AUTH_SOCK; 18:59:47 unset SSH_AGENT_PID; 18:59:47 echo Agent pid 76 killed; 18:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:59:47 + git semver [Pipeline] } 18:59:47 $ docker stop --time=1 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc 18:59:49 $ docker rm -f --volumes 0a563fc3164497ea1427fe127ecb9caaa624333643ebbf22b8b2d5d76d482adc [Pipeline] // withDockerContainer [Pipeline] sh 18:59:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:59:49 Stashed 1 file(s) [Pipeline] echo 18:59:49 [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 18:59:49 provisioning config files... 18:59:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config5484376954437856949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:50 ---> docker-login.sh 18:59:50 nexus3.edgexfoundry.org:10001 18:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:50 Configure a credential helper to remove this warning. See 18:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:50 18:59:50 Login Succeeded 18:59:50 nexus3.edgexfoundry.org:10002 18:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:50 Configure a credential helper to remove this warning. See 18:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:50 18:59:50 Login Succeeded 18:59:50 nexus3.edgexfoundry.org:10003 18:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:50 Configure a credential helper to remove this warning. See 18:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:50 18:59:50 Login Succeeded 18:59:50 nexus3.edgexfoundry.org:10004 18:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:50 Configure a credential helper to remove this warning. See 18:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:50 18:59:50 Login Succeeded 18:59:50 docker.io 18:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:50 Configure a credential helper to remove this warning. See 18:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:50 18:59:50 Login Succeeded 18:59:50 ---> docker-login.sh ends [Pipeline] } 18:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:50 ========================================================= 18:59:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:59:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:59:51 Sending build context to Docker daemon 27MB 18:59:51 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:59:51 Step 2/13 : FROM ${BASE} AS builder 18:59:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:59:51 63b65145d645: Pulling fs layer 18:59:51 a2d21d5440eb: Pulling fs layer 18:59:51 935e6c44a52c: Pulling fs layer 18:59:51 94cc34f8dd06: Pulling fs layer 18:59:51 30dea6a524f1: Pulling fs layer 18:59:51 a2aff8979fd8: Pulling fs layer 18:59:51 6808be2612f2: Pulling fs layer 18:59:51 f25807f1079a: Pulling fs layer 18:59:51 94cc34f8dd06: Waiting 18:59:51 f25807f1079a: Waiting 18:59:51 6808be2612f2: Waiting 18:59:51 30dea6a524f1: Waiting 18:59:51 a2aff8979fd8: Waiting 18:59:51 a2d21d5440eb: Verifying Checksum 18:59:51 a2d21d5440eb: Download complete 18:59:51 94cc34f8dd06: Download complete 18:59:51 30dea6a524f1: Verifying Checksum 18:59:51 30dea6a524f1: Download complete 18:59:51 63b65145d645: Verifying Checksum 18:59:51 63b65145d645: Download complete 18:59:51 a2aff8979fd8: Verifying Checksum 18:59:51 a2aff8979fd8: Download complete 18:59:51 63b65145d645: Pull complete 18:59:51 a2d21d5440eb: Pull complete 18:59:52 935e6c44a52c: Verifying Checksum 18:59:52 935e6c44a52c: Download complete 18:59:52 f25807f1079a: Verifying Checksum 18:59:52 f25807f1079a: Download complete 18:59:52 6808be2612f2: Verifying Checksum 18:59:52 6808be2612f2: Download complete 18:59:56 935e6c44a52c: Pull complete 18:59:56 94cc34f8dd06: Pull complete 18:59:56 30dea6a524f1: Pull complete 18:59:56 a2aff8979fd8: Pull complete 18:59:58 6808be2612f2: Pull complete 18:59:58 f25807f1079a: Pull complete 18:59:58 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:59:58 ---> 3b553350e43f 18:59:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:00:00 ---> Running in 35fbfd04a05b 19:00:00 Removing intermediate container 35fbfd04a05b 19:00:00 ---> 46ead7dfd1b8 19:00:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:00 ---> Running in e88419e3317c 19:00:00 Removing intermediate container e88419e3317c 19:00:00 ---> 5c94edf7cacf 19:00:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:00:00 ---> Running in 68d9646ddf5a 19:00:00 Removing intermediate container 68d9646ddf5a 19:00:00 ---> e122d6fbf9e3 19:00:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:00:01 ---> Running in d4ed97afd168 19:00:01 Removing intermediate container d4ed97afd168 19:00:01 ---> 40226070076b 19:00:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:00:01 ---> Running in 0dcfb35b6191 19:00:01 Removing intermediate container 0dcfb35b6191 19:00:01 ---> 235b137dd493 19:00:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:01 ---> Running in c3e18f806102 19:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:00:01 OK: 265 MiB in 53 packages 19:00:02 Removing intermediate container c3e18f806102 19:00:02 ---> 8d68578ad142 19:00:02 Step 9/13 : WORKDIR /device-onvif-camera 19:00:02 ---> Running in 80d2c7738999 19:00:02 Removing intermediate container 80d2c7738999 19:00:02 ---> b41b3af51236 19:00:02 Step 10/13 : COPY go.mod vendor* ./ 19:00:02 ---> 8f6cb6af8b88 19:00:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:02 ---> Running in 556c9eea9d76 19:00:04 Still waiting to schedule task 19:00:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4618’ is offline 19:00:34 Removing intermediate container 556c9eea9d76 19:00:34 ---> 990d623c7c68 19:00:34 Step 12/13 : COPY . . 19:00:34 ---> b192f2321f86 19:00:34 Step 13/13 : RUN ${MAKE} 19:00:34 ---> Running in 50afdfdf6439 19:00:34 noop 19:00:34 Removing intermediate container 50afdfdf6439 19:00:34 ---> 31fb747274f8 19:00:34 Successfully built 31fb747274f8 19:00:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:35 + docker inspect -f . ci-base-image-x86_64 19:00:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:35 prd-ubuntu20.04-docker-8c-8g-4621 does not seem to be running inside a container 19:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:35 $ docker top fe42fc149e6cd463b04dd58bb5a3d50570afc6a47ff6dbc1972d3be0d8e9afae -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:35 + go version 19:00:35 go version go1.20.2 linux/amd64 [Pipeline] } 19:00:35 $ docker stop --time=1 fe42fc149e6cd463b04dd58bb5a3d50570afc6a47ff6dbc1972d3be0d8e9afae 19:00:37 $ docker rm -f --volumes fe42fc149e6cd463b04dd58bb5a3d50570afc6a47ff6dbc1972d3be0d8e9afae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:37 + docker inspect -f . ci-base-image-x86_64 19:00:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:37 prd-ubuntu20.04-docker-8c-8g-4621 does not seem to be running inside a container 19:00:37 $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:38 $ docker top 32a197d6ed403b47f1afee8c750a6dbd727ee02f51386f1e8ba5089b9b7194e4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:38 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] fileExists [Pipeline] sh 19:00:38 + make test 19:00:38 go test ./... -coverprofile=coverage.out ./... 19:00:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:00:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:00:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:00:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.7% of statements 19:00:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.111s coverage: 86.5% of statements 19:01:02 go vet ./... 19:01:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:06 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:06 $ docker stop --time=1 32a197d6ed403b47f1afee8c750a6dbd727ee02f51386f1e8ba5089b9b7194e4 19:01:08 $ docker rm -f --volumes 32a197d6ed403b47f1afee8c750a6dbd727ee02f51386f1e8ba5089b9b7194e4 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:01:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:10 + ls -al . 19:01:10 total 236 19:01:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 19:00 . 19:01:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:59 .. 19:01:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 18:59 .git 19:01:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 18:59 .github 19:01:10 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 18:59 .gitignore 19:01:10 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 18:59 .golangci.yml 19:01:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 18:59 .semver 19:01:10 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 18:59 Attribution.txt 19:01:10 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 18:59 CHANGELOG.md 19:01:10 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 18:59 Dockerfile 19:01:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 18:59 GOVERNANCE.md 19:01:10 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 18:59 Jenkinsfile 19:01:10 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 18:59 LICENSE 19:01:10 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 18:59 Makefile 19:01:10 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 18:59 OWNERS.md 19:01:10 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 20 18:59 README.md 19:01:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 18:59 VERSION 19:01:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 18:59 bin 19:01:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 18:59 cmd 19:01:10 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 19:00 coverage.out 19:01:10 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 18:59 doc 19:01:10 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 18:59 go.mod 19:01:10 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 18:59 go.sum 19:01:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:59 internal 19:01:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 18:59 snap 19:01:10 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:10 + 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=fe83476405b883efafe1a18aa9e727b318257e4e --label arch=amd64 --label version=0.0.0 . 19:01:10 Sending build context to Docker daemon 27.08MB 19:01:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:01:10 Step 2/26 : FROM ${BASE} AS builder 19:01:10 ---> 31fb747274f8 19:01:10 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:01:10 ---> Running in adb547a6ae1a 19:01:10 Removing intermediate container adb547a6ae1a 19:01:10 ---> f5d48623fd87 19:01:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:10 ---> Running in 36793171a250 19:01:11 Removing intermediate container 36793171a250 19:01:11 ---> c1faabf07bde 19:01:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:01:11 ---> Running in 81bc9fc42c40 19:01:11 Removing intermediate container 81bc9fc42c40 19:01:11 ---> ffea427fbef7 19:01:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:01:11 ---> Running in 08fcdfb55e84 19:01:11 Removing intermediate container 08fcdfb55e84 19:01:11 ---> b36e63683e87 19:01:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:01:11 ---> Running in d7df047cfdaf 19:01:11 Removing intermediate container d7df047cfdaf 19:01:11 ---> e751d5ca746a 19:01:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:11 ---> Running in f1e3318ade82 19:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:01:12 OK: 265 MiB in 53 packages 19:01:12 Removing intermediate container f1e3318ade82 19:01:12 ---> 0d3ac5f751fb 19:01:12 Step 9/26 : WORKDIR /device-onvif-camera 19:01:12 ---> Running in 4e29afca7c8d 19:01:12 Removing intermediate container 4e29afca7c8d 19:01:12 ---> 22ea3f994dd9 19:01:12 Step 10/26 : COPY go.mod vendor* ./ 19:01:12 ---> 54f9c10fcde1 19:01:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:12 ---> Running in 5fc4c4712b6d 19:01:13 Removing intermediate container 5fc4c4712b6d 19:01:13 ---> f57259ed729e 19:01:13 Step 12/26 : COPY . . 19:01:14 ---> 082905365883 19:01:14 Step 13/26 : RUN ${MAKE} 19:01:14 ---> Running in 2467fdbfb7fb 19:01:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:01:32 Removing intermediate container 2467fdbfb7fb 19:01:32 ---> 11e675f2fb15 19:01:32 Step 14/26 : FROM alpine:3.17 19:01:32 3.17: Pulling from library/alpine 19:01:32 63b65145d645: Already exists 19:01:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:01:32 Status: Downloaded newer image for alpine:3.17 19:01:32 ---> b2aa39c304c2 19:01:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:01:32 ---> Running in 169d347ef777 19:01:32 Removing intermediate container 169d347ef777 19:01:32 ---> 578d9001e809 19:01:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:01:32 ---> Running in 136f445701ee 19:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:01:32 (1/1) Installing dumb-init (1.2.5-r2) 19:01:32 Executing busybox-1.35.0-r29.trigger 19:01:32 OK: 7 MiB in 16 packages 19:01:32 Removing intermediate container 136f445701ee 19:01:32 ---> c8c0a19203c9 19:01:32 Step 17/26 : WORKDIR / 19:01:33 ---> Running in 65baed404581 19:01:33 Removing intermediate container 65baed404581 19:01:33 ---> 75c73fbe9362 19:01:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:01:33 ---> a676b27ee1c6 19:01:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:01:33 ---> 334b1726fd8a 19:01:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:01:34 ---> 72664d4b6e16 19:01:34 Step 21/26 : EXPOSE 59984 19:01:34 ---> Running in 0874e8c5c628 19:01:34 Removing intermediate container 0874e8c5c628 19:01:34 ---> 73dcf1fa2d08 19:01:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:01:34 ---> Running in 6fd5f47f0acf 19:01:34 Removing intermediate container 6fd5f47f0acf 19:01:34 ---> d773bd1b8bfc 19:01:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:01:34 ---> Running in 0537f54a3125 19:01:34 Removing intermediate container 0537f54a3125 19:01:34 ---> 75ec5d73b761 19:01:34 Step 24/26 : LABEL arch=amd64 19:01:34 ---> Running in dce0d525d1be 19:01:34 Removing intermediate container dce0d525d1be 19:01:34 ---> 2558f1fe8a6c 19:01:34 Step 25/26 : LABEL git_sha=fe83476405b883efafe1a18aa9e727b318257e4e 19:01:34 ---> Running in c7d4a3e0ac95 19:01:34 Removing intermediate container c7d4a3e0ac95 19:01:34 ---> 943e382f378a 19:01:34 Step 26/26 : LABEL version=0.0.0 19:01:34 ---> Running in b8e1919c0e38 19:01:34 Removing intermediate container b8e1919c0e38 19:01:34 ---> 73dddfa97e79 19:01:34 [Warning] One or more build-args [ARCH] were not consumed 19:01:34 Successfully built 73dddfa97e79 19:01:34 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 19:01:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:35 19:01:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4623 in /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] { [Pipeline] ws 19:01:35 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 19:01:35 The recommended git tool is: git 19:01:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:35 latest: Pulling from edgex-lftools-log-publisher 19:01:35 5eb5b503b376: Pulling fs layer 19:01:35 5c69ac0246d0: Pulling fs layer 19:01:35 ec43610c2a17: Pulling fs layer 19:01:35 3a2ae6a8a46f: Pulling fs layer 19:01:35 33b1e0a273af: Pulling fs layer 19:01:35 5d3b04190fa2: Pulling fs layer 19:01:35 2f39f015ded8: Pulling fs layer 19:01:35 33b1e0a273af: Waiting 19:01:35 5d3b04190fa2: Waiting 19:01:35 2f39f015ded8: Waiting 19:01:35 3a2ae6a8a46f: Waiting 19:01:35 5c69ac0246d0: Verifying Checksum 19:01:35 5c69ac0246d0: Download complete 19:01:35 3a2ae6a8a46f: Verifying Checksum 19:01:35 3a2ae6a8a46f: Download complete 19:01:35 33b1e0a273af: Verifying Checksum 19:01:35 33b1e0a273af: Download complete 19:01:35 5d3b04190fa2: Verifying Checksum 19:01:35 5d3b04190fa2: Download complete 19:01:35 ec43610c2a17: Verifying Checksum 19:01:35 ec43610c2a17: Download complete 19:01:35 5eb5b503b376: Verifying Checksum 19:01:35 5eb5b503b376: Download complete 19:01:36 2f39f015ded8: Download complete 19:01:36 5eb5b503b376: Pull complete 19:01:36 5c69ac0246d0: Pull complete 19:01:37 ec43610c2a17: Pull complete 19:01:37 3a2ae6a8a46f: Pull complete 19:01:37 33b1e0a273af: Pull complete 19:01:37 5d3b04190fa2: Pull complete 19:01:40 using credential edgex-jenkins-ssh 19:01:40 Cloning the remote Git repository 19:01:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:01:40 > git init /w/workspace/device-onvif-camera/3 # timeout=10 19:01:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:01:40 > git --version # timeout=10 19:01:40 > git --version # 'git version 2.25.1' 19:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:41 2f39f015ded8: Pull complete 19:01:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:42 prd-ubuntu20.04-docker-8c-8g-4621 does not seem to be running inside a container 19:01:42 $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:42 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:01:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:43 $ docker top 816c53e5486da349b161a29021479b3b3cb07e26df7db8ccd8444879c92e364a -eo pid,comm [Pipeline] { 19:01:43 Merging remotes/origin/main commit 35e0b630cb735782c58facbcf80c1125d056e597 into PR head commit fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] libraryResource [Pipeline] sh 19:01:44 ---> job-cost.sh 19:01:44 lf-activate-venv: SKIPPING 19:01:44 INFO: No Stack... 19:01:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:01:43 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:01:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:01:43 > git config core.sparsecheckout # timeout=10 19:01:43 > git checkout -f fe83476405b883efafe1a18aa9e727b318257e4e # timeout=10 19:01:44 Merge succeeded, producing fe83476405b883efafe1a18aa9e727b318257e4e 19:01:44 Checking out Revision fe83476405b883efafe1a18aa9e727b318257e4e (PR-273) 19:01:44 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:44 INFO: Archiving Costs [Pipeline] sh 19:01:45 + cat /w/workspace/undry_device-onvif-camera_PR-273/archives/cost.csv 19:01:45 + cut -d, -f6 [Pipeline] lock 19:01:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] 19:01:45 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] did not exist. Created. 19:01:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:45 + echo total: 0.2199999988079071 [Pipeline] stash 19:01:44 > git remote # timeout=10 19:01:44 > git config --get remote.origin.url # timeout=10 19:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:44 > git merge 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 19:01:44 > git rev-parse HEAD^{commit} # timeout=10 19:01:44 > git config core.sparsecheckout # timeout=10 19:01:44 > git checkout -f fe83476405b883efafe1a18aa9e727b318257e4e # timeout=10 19:01:45 Stashed 1 file(s) [Pipeline] } 19:01:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:45 $ docker stop --time=1 816c53e5486da349b161a29021479b3b3cb07e26df7db8ccd8444879c92e364a 19:01:46 $ docker rm -f --volumes 816c53e5486da349b161a29021479b3b3cb07e26df7db8ccd8444879c92e364a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:01:48 Commit message: "Merge branch 'edgexfoundry:main' into remove-demo-app-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:01:48 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:48 Dload Upload Total Spent Left Speed 19:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 19:01:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:01:49 + sudo tee /etc/docker/daemon.new 19:01:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:01:49 { 19:01:49 "registry-mirrors": [ 19:01:49 "https://nexus3.edgexfoundry.org:10001" 19:01:49 ], 19:01:49 "bip": "10.250.0.254/24", 19:01:49 "hosts": [ 19:01:49 "tcp://0.0.0.0:5555", 19:01:49 "unix:///var/run/docker.sock" 19:01:49 ], 19:01:49 "mtu": 1458, 19:01:49 "selinux-enabled": true, 19:01:49 "seccomp-profile": "/etc/docker/seccomp.json" 19:01:49 } [Pipeline] sh 19:01:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:01:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:08 provisioning config files... 19:02:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4662561330327766404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:09 ---> docker-login.sh 19:02:09 nexus3.edgexfoundry.org:10001 19:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:09 Configure a credential helper to remove this warning. See 19:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:09 19:02:09 Login Succeeded 19:02:09 nexus3.edgexfoundry.org:10002 19:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:09 Configure a credential helper to remove this warning. See 19:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:09 19:02:09 Login Succeeded 19:02:09 nexus3.edgexfoundry.org:10003 19:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:10 Configure a credential helper to remove this warning. See 19:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:10 19:02:10 Login Succeeded 19:02:10 nexus3.edgexfoundry.org:10004 19:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:10 Configure a credential helper to remove this warning. See 19:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:10 19:02:10 Login Succeeded 19:02:10 docker.io 19:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:11 Configure a credential helper to remove this warning. See 19:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:11 19:02:11 Login Succeeded 19:02:11 ---> docker-login.sh ends [Pipeline] } 19:02:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:11 ========================================================= 19:02:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:02:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:02:12 Sending build context to Docker daemon 19.69MB 19:02:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:02:12 Step 2/13 : FROM ${BASE} AS builder 19:02:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:02:12 af6eaf76a39c: Pulling fs layer 19:02:12 55522c791124: Pulling fs layer 19:02:12 ce5c4a1c91eb: Pulling fs layer 19:02:12 169dfbe0d373: Pulling fs layer 19:02:12 e1ff8fa3b103: Pulling fs layer 19:02:12 52ebb69f0ebf: Pulling fs layer 19:02:12 e1ff8fa3b103: Waiting 19:02:12 169dfbe0d373: Waiting 19:02:12 5abe8eddf0d5: Pulling fs layer 19:02:12 52ebb69f0ebf: Waiting 19:02:12 5abe8eddf0d5: Waiting 19:02:12 55522c791124: Verifying Checksum 19:02:12 55522c791124: Download complete 19:02:12 169dfbe0d373: Verifying Checksum 19:02:12 169dfbe0d373: Download complete 19:02:12 e1ff8fa3b103: Verifying Checksum 19:02:12 e1ff8fa3b103: Download complete 19:02:12 af6eaf76a39c: Verifying Checksum 19:02:12 af6eaf76a39c: Download complete 19:02:13 af6eaf76a39c: Pull complete 19:02:13 5abe8eddf0d5: Verifying Checksum 19:02:13 5abe8eddf0d5: Download complete 19:02:14 55522c791124: Pull complete 19:02:15 52ebb69f0ebf: Verifying Checksum 19:02:15 52ebb69f0ebf: Download complete 19:02:15 ce5c4a1c91eb: Verifying Checksum 19:02:15 ce5c4a1c91eb: Download complete 19:02:27 ce5c4a1c91eb: Pull complete 19:02:27 169dfbe0d373: Pull complete 19:02:27 e1ff8fa3b103: Pull complete 19:02:34 52ebb69f0ebf: Pull complete 19:02:35 5abe8eddf0d5: Pull complete 19:02:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:02:35 ---> 6cb57ee374ae 19:02:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:02:37 ---> Running in 2b34e6c37e10 19:02:37 Removing intermediate container 2b34e6c37e10 19:02:37 ---> 28b8a00329d9 19:02:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:37 ---> Running in 84c649ffef1d 19:02:37 Removing intermediate container 84c649ffef1d 19:02:37 ---> 837814220f59 19:02:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:02:38 ---> Running in 54bfd63ad3c4 19:02:38 Removing intermediate container 54bfd63ad3c4 19:02:38 ---> e16fe7ecd73e 19:02:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:02:38 ---> Running in f412432d7861 19:02:39 Removing intermediate container f412432d7861 19:02:39 ---> e1d815a51e64 19:02:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:02:39 ---> Running in 2c656543f856 19:02:39 Removing intermediate container 2c656543f856 19:02:39 ---> 12dd4f195f9c 19:02:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:39 ---> Running in 277ac8c64a8b 19:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:02:42 OK: 263 MiB in 53 packages 19:02:43 Removing intermediate container 277ac8c64a8b 19:02:43 ---> 1b73310fa654 19:02:43 Step 9/13 : WORKDIR /device-onvif-camera 19:02:43 ---> Running in 52e2fdf78f7c 19:02:43 Removing intermediate container 52e2fdf78f7c 19:02:43 ---> 577534e724c0 19:02:43 Step 10/13 : COPY go.mod vendor* ./ 19:02:46 ---> 00c397beb802 19:02:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:46 ---> Running in d099568f749b 19:03:54 Removing intermediate container d099568f749b 19:03:54 ---> 28c6643c4c75 19:03:54 Step 12/13 : COPY . . 19:03:54 ---> 5e14e9ead1be 19:03:54 Step 13/13 : RUN ${MAKE} 19:03:54 ---> Running in 2c06e67ab2e7 19:03:54 noop 19:03:54 Removing intermediate container 2c06e67ab2e7 19:03:54 ---> 5ae704222b86 19:03:54 Successfully built 5ae704222b86 19:03:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:55 + docker inspect -f . ci-base-image-arm64 19:03:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:55 prd-ubuntu20.04-docker-arm64-4c-16g-4623 does not seem to be running inside a container 19:03:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:03:56 $ docker top b594fc968e2c08444b5f17d0c5db6a44137154a9d12290d87c751d1c85d0f2eb -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:57 + go version 19:03:57 go version go1.20.2 linux/arm64 [Pipeline] } 19:03:57 $ docker stop --time=1 b594fc968e2c08444b5f17d0c5db6a44137154a9d12290d87c751d1c85d0f2eb 19:03:58 $ docker rm -f --volumes b594fc968e2c08444b5f17d0c5db6a44137154a9d12290d87c751d1c85d0f2eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:59 + docker inspect -f . ci-base-image-arm64 19:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-4623 does not seem to be running inside a container 19:03:59 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:04:00 $ docker top 766c57108fd9d9d900e9b148b1a4644804ca82d312804bef184f71c50fde10a9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 19:04:01 + make test 19:04:01 go test ./... -coverprofile=coverage.out ./... 19:04:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:06:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:06:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:06:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.7% of statements 19:07:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.493s coverage: 86.5% of statements 19:07:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:07:20 go vet ./... 19:08:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:08:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:08:07 ./bin/test-attribution-txt.sh [Pipeline] echo 19:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:08:07 $ docker stop --time=1 766c57108fd9d9d900e9b148b1a4644804ca82d312804bef184f71c50fde10a9 19:08:09 $ docker rm -f --volumes 766c57108fd9d9d900e9b148b1a4644804ca82d312804bef184f71c50fde10a9 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:10 Warning: overwriting stash ‘coverage-report’ 19:08:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:12 + ls -al . 19:08:12 total 232 19:08:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 19:04 . 19:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:01 .. 19:08:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 19:01 .git 19:08:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:01 .github 19:08:12 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 19:01 .gitignore 19:08:12 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 19:01 .golangci.yml 19:08:12 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 19:01 Attribution.txt 19:08:12 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 19:01 CHANGELOG.md 19:08:12 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 19:01 Dockerfile 19:08:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 19:01 GOVERNANCE.md 19:08:12 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 19:01 Jenkinsfile 19:08:12 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 19:01 LICENSE 19:08:12 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 19:01 Makefile 19:08:12 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 19:01 OWNERS.md 19:08:12 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 20 19:01 README.md 19:08:12 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 18:59 VERSION 19:08:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 19:01 bin 19:08:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 19:01 cmd 19:08:12 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 19:07 coverage.out 19:08:12 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 19:01 doc 19:08:12 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 19:01 go.mod 19:08:12 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 19:01 go.sum 19:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:01 internal 19:08:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 19:01 snap 19:08:12 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:12 + 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=fe83476405b883efafe1a18aa9e727b318257e4e --label arch=arm64 --label version=0.0.0 . 19:08:13 Sending build context to Docker daemon 19.77MB 19:08:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:08:13 Step 2/26 : FROM ${BASE} AS builder 19:08:13 ---> 5ae704222b86 19:08:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:08:13 ---> Running in 0e9cbb41fbc8 19:08:13 Removing intermediate container 0e9cbb41fbc8 19:08:13 ---> 5f80fabd88f7 19:08:13 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:13 ---> Running in 1b664f5675ca 19:08:14 Removing intermediate container 1b664f5675ca 19:08:14 ---> 9397736904cd 19:08:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:08:14 ---> Running in 1eff7aeae98b 19:08:14 Removing intermediate container 1eff7aeae98b 19:08:14 ---> e0b9cdaf2fa3 19:08:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:08:14 ---> Running in e7b905b266fc 19:08:15 Removing intermediate container e7b905b266fc 19:08:15 ---> 823604c190aa 19:08:15 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:08:15 ---> Running in 19ed0100b212 19:08:15 Removing intermediate container 19ed0100b212 19:08:15 ---> 9e98f0b9a1b2 19:08:15 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:15 ---> Running in e6db9becf16c 19:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:08:18 OK: 263 MiB in 53 packages 19:08:19 Removing intermediate container e6db9becf16c 19:08:19 ---> 6af2a290f572 19:08:19 Step 9/26 : WORKDIR /device-onvif-camera 19:08:19 ---> Running in c3abe7e60f5c 19:08:19 Removing intermediate container c3abe7e60f5c 19:08:19 ---> fa69d8af86c2 19:08:19 Step 10/26 : COPY go.mod vendor* ./ 19:08:20 ---> a6860c028f3c 19:08:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:20 ---> Running in 6939dcf1699a 19:08:23 Removing intermediate container 6939dcf1699a 19:08:23 ---> eeebb31f36e4 19:08:23 Step 12/26 : COPY . . 19:08:25 ---> 2174a38e2c6e 19:08:25 Step 13/26 : RUN ${MAKE} 19:08:25 ---> Running in 1686c3503903 19:08:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:11:02 Removing intermediate container 1686c3503903 19:11:02 ---> 41d55f193dc2 19:11:02 Step 14/26 : FROM alpine:3.17 19:11:02 3.17: Pulling from library/alpine 19:11:02 af6eaf76a39c: Already exists 19:11:02 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:11:02 Status: Downloaded newer image for alpine:3.17 19:11:02 ---> d74e625d9115 19:11:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:11:02 ---> Running in 64d78e2f76da 19:11:02 Removing intermediate container 64d78e2f76da 19:11:02 ---> 21604e2c8fcc 19:11:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:11:02 ---> Running in b90ef7fb4841 19:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:11:02 (1/1) Installing dumb-init (1.2.5-r2) 19:11:02 Executing busybox-1.35.0-r29.trigger 19:11:02 OK: 8 MiB in 16 packages 19:11:02 Removing intermediate container b90ef7fb4841 19:11:02 ---> 61cf6d4231bd 19:11:02 Step 17/26 : WORKDIR / 19:11:02 ---> Running in 152ea3042076 19:11:02 Removing intermediate container 152ea3042076 19:11:02 ---> 098f19c8dd79 19:11:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:11:02 ---> 5f63d2c4fe6a 19:11:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:11:02 ---> 3a0c96a3fbc9 19:11:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:11:02 ---> 8ee74566c585 19:11:02 Step 21/26 : EXPOSE 59984 19:11:02 ---> Running in 7ace68a80307 19:11:02 Removing intermediate container 7ace68a80307 19:11:02 ---> 611bb8c9c7e0 19:11:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:11:02 ---> Running in e0195e838cb8 19:11:02 Removing intermediate container e0195e838cb8 19:11:02 ---> 3e500060b612 19:11:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:11:02 ---> Running in f5b5e35f877b 19:11:02 Removing intermediate container f5b5e35f877b 19:11:02 ---> e4bdf5ccd33b 19:11:02 Step 24/26 : LABEL arch=arm64 19:11:02 ---> Running in c0ede7caa910 19:11:02 Removing intermediate container c0ede7caa910 19:11:02 ---> 73c23171bd03 19:11:02 Step 25/26 : LABEL git_sha=fe83476405b883efafe1a18aa9e727b318257e4e 19:11:02 ---> Running in 99267d08628d 19:11:02 Removing intermediate container 99267d08628d 19:11:02 ---> 100c40dd45fa 19:11:02 Step 26/26 : LABEL version=0.0.0 19:11:02 ---> Running in 814be4c2b627 19:11:02 Removing intermediate container 814be4c2b627 19:11:02 ---> fd43761ccb57 19:11:02 [Warning] One or more build-args [ARCH] were not consumed 19:11:02 Successfully built fd43761ccb57 19:11:02 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 19:11:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:03 19:11:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:03 arm64: Pulling from edgex-lftools-log-publisher 19:11:03 8998bd30e6a1: Pulling fs layer 19:11:03 04944245beec: Pulling fs layer 19:11:03 699f458cf7ca: Pulling fs layer 19:11:03 765212b225bb: Pulling fs layer 19:11:03 f23df028b6ca: Pulling fs layer 19:11:03 d65c8cfc05b1: Pulling fs layer 19:11:03 2437ff75d9bd: Pulling fs layer 19:11:03 765212b225bb: Waiting 19:11:03 f23df028b6ca: Waiting 19:11:03 d65c8cfc05b1: Waiting 19:11:03 2437ff75d9bd: Waiting 19:11:03 04944245beec: Verifying Checksum 19:11:03 04944245beec: Download complete 19:11:03 765212b225bb: Verifying Checksum 19:11:03 765212b225bb: Download complete 19:11:03 f23df028b6ca: Verifying Checksum 19:11:03 f23df028b6ca: Download complete 19:11:03 d65c8cfc05b1: Verifying Checksum 19:11:03 d65c8cfc05b1: Download complete 19:11:03 699f458cf7ca: Verifying Checksum 19:11:03 699f458cf7ca: Download complete 19:11:04 8998bd30e6a1: Verifying Checksum 19:11:04 8998bd30e6a1: Download complete 19:11:06 2437ff75d9bd: Verifying Checksum 19:11:06 2437ff75d9bd: Download complete 19:11:07 8998bd30e6a1: Pull complete 19:11:08 04944245beec: Pull complete 19:11:09 699f458cf7ca: Pull complete 19:11:09 765212b225bb: Pull complete 19:11:10 f23df028b6ca: Pull complete 19:11:10 d65c8cfc05b1: Pull complete 19:11:25 2437ff75d9bd: Pull complete 19:11:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:25 prd-ubuntu20.04-docker-arm64-4c-16g-4623 does not seem to be running inside a container 19:11:25 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:11:28 $ docker top ecb3aff425c59132ad3a79b502afdd3fd109a4215f85140fc38d19b2290ff696 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:29 ---> job-cost.sh 19:11:29 lf-activate-venv: SKIPPING 19:11:29 INFO: No Stack... 19:11:29 INFO: Retrieving Pricing Info for: v3-standard-4 19:11:30 INFO: Archiving Costs [Pipeline] sh 19:11:30 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 19:11:30 + cut -d, -f6 [Pipeline] lock 19:11:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] 19:11:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] did not exist. Created. 19:11:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:11:30 /w/workspace/device-onvif-camera/3@tmp/durable-8509e4e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:11:31 + echo total: 0.10999999940395355 [Pipeline] stash 19:11:31 Warning: overwriting stash ‘stack-cost’ 19:11:31 Stashed 1 file(s) [Pipeline] } 19:11:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:11:31 $ docker stop --time=1 ecb3aff425c59132ad3a79b502afdd3fd109a4215f85140fc38d19b2290ff696 19:11:32 $ docker rm -f --volumes ecb3aff425c59132ad3a79b502afdd3fd109a4215f85140fc38d19b2290ff696 [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 19:11:33 provisioning config files... 19:11:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config6899557078306853672tmp [Pipeline] { [Pipeline] sh 19:11:33 + set +x 19:11:33 + bash -s -- 19:11:33 + curl -s https://codecov.io/bash 19:11:33 19:11:33 _____ _ 19:11:33 / ____| | | 19:11:33 | | ___ __| | ___ ___ _____ __ 19:11:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:11:33 | |___| (_) | (_| | __/ (_| (_) \ V / 19:11:33 \_____\___/ \__,_|\___|\___\___/ \_/ 19:11:33 Bash-1.0.6 19:11:33 19:11:33 19:11:33 ==> git version 2.25.1 found 19:11:33 ==> 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 19:11:33 Release-Date: 2020-01-08 19:11:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:11:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:11:33 ==> Jenkins CI detected. 19:11:33 current dir:  /w/workspace/undry_device-onvif-camera_PR-273 19:11:33 project root: . 19:11:33 --> token set from env 19:11:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:11:33 ==> Running gcov in . (disable via -X gcov) 19:11:33 ==> Python coveragepy not found 19:11:33 ==> Searching for coverage reports in: 19:11:33 + . 19:11:33 -> Found 1 reports 19:11:33 ==> Detecting git/mercurial file structure 19:11:33 ==> Reading reports 19:11:33 + ./coverage.out bytes=78487 19:11:33 ==> Appending adjustments 19:11:33 https://docs.codecov.io/docs/fixing-reports 19:11:33 + Found adjustments 19:11:33 ==> Gzipping contents 19:11:33 12K /tmp/codecov.RVk2dY.gz 19:11:33 ==> Uploading reports 19:11:33 url: https://codecov.io 19:11:33 query: branch=PR-273&commit=fe83476405b883efafe1a18aa9e727b318257e4e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-273%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=273&job=&cmd_args= 19:11:33 -> Pinging Codecov 19:11:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-273&commit=fe83476405b883efafe1a18aa9e727b318257e4e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-273%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=273&job=&cmd_args= 19:11:33 -> Uploading to 19:11:33 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/fe83476405b883efafe1a18aa9e727b318257e4e/e24987f2-2cd0-4068-8cce-54040faa73c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T191133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b306bb3670ac9af6a9875a8b36c720a7f8af0a739ef279f58181bb16fbae1136 19:11:33 % Total % Received % Xferd Average Speed Time Time Time Current 19:11:33 Dload Upload Total Spent Left Speed 19:11:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 35322 --:--:-- --:--:-- --:--:-- 35322 19:11:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fe83476405b883efafe1a18aa9e727b318257e4e [Pipeline] } 19:11:34 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 19:11:34 + [ -d /w/workspace/undry_device-onvif-camera_PR-273/archives ] 19:11:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 19:11:34 total 16 19:11:34 drwxr-xr-x 3 root root 4096 Mar 20 19:01 . 19:11:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 19:01 .. 19:11:34 drwxr-xr-x 2 root root 4096 Mar 20 19:01 cost 19:11:34 -rw-r--r-- 1 root root 91 Mar 20 19:01 cost.csv 19:11:34 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-273/archives 19:11:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives 19:11:34 total 16 19:11:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 19:01 . 19:11:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 19:01 .. 19:11:34 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 19:01 cost 19:11:34 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:11:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:11:36 ---> package-listing.sh 19:11:36 ++ facter osfamily 19:11:36 ++ tr '[:upper:]' '[:lower:]' 19:11:36 + OS_FAMILY=debian 19:11:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-273 19:11:36 + START_PACKAGES=/tmp/packages_start.txt 19:11:36 + END_PACKAGES=/tmp/packages_end.txt 19:11:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:11:36 + PACKAGES=/tmp/packages_start.txt 19:11:36 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 19:11:36 + PACKAGES=/tmp/packages_end.txt 19:11:36 + case "${OS_FAMILY}" in 19:11:36 + dpkg -l 19:11:36 + grep '^ii' 19:11:36 + '[' -f /tmp/packages_start.txt ']' 19:11:36 + '[' -f /tmp/packages_end.txt ']' 19:11:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:11:36 + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' 19:11:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-273/archives/ 19:11:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-273/archives/ [Pipeline] echo 19:11:36 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:11:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:11:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:37 prd-ubuntu20.04-docker-8c-8g-4621 does not seem to be running inside a container 19:11:37 $ 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-273/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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:11:37 $ docker top 252c2700adb5b283399e009adcf068a7fdd81d320b8598b497c3d8b7ca23b008 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:37 + touch /tmp/pre-build-complete [Pipeline] sh 19:11:38 + mkdir -p /var/log/sysstat [Pipeline] sh 19:11:38 + ls /var/log/sa-host 19:11:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:38 provisioning config files... 19:11:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config236626808997640853tmp [Pipeline] { [Pipeline] echo 19:11:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:11:38 ---> create-netrc.sh [Pipeline] } 19:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:11:39 ---> python-tools-install.sh [Pipeline] echo 19:11:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:11:39 ---> sudo-logs.sh 19:11:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:11:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:11:39 ---> job-cost.sh 19:11:39 lf-activate-venv: SKIPPING 19:11:39 DEBUG: total: 0.2199999988079071 19:11:39 INFO: Retrieving Stack Cost... 19:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 19:11:40 INFO: Archiving Costs [Pipeline] echo 19:11:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:11:40 ---> logs-deploy.sh 19:11:40 lf-activate-venv: SKIPPING 19:11:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-273/3 19:11:40 INFO: archiving workspace using pattern(s): 19:11:41 Archives upload complete. 19:11:41 INFO: archiving logs to Nexus