Pull request #281 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 vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than fde41529760726f909f9abd6bacc6f65a5f67b6d Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b 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-ssh10430782912588101334.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-ssh1419843864093751868.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-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4662965371337913429.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-ssh11698659676439465749.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7833482916245535170.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6072 in /w/workspace/undry_device-onvif-camera_PR-281 [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-281 # 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 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit fde41529760726f909f9abd6bacc6f65a5f67b6d Merge succeeded, producing b65e215c8cf31c5a991f717c5dfb02d70535d352 Checking out Revision b65e215c8cf31c5a991f717c5dfb02d70535d352 (PR-281) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fde41529760726f909f9abd6bacc6f65a5f67b6d # 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 e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b65e215c8cf31c5a991f717c5dfb02d70535d352 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:20:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7293aed94d1b48a3e6bfe5a685705f51aede04bb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:20:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:20:38 ========================================================= 17:20:38 EdgeX Global Pipelines Version Info 17:20:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:20:39 ------------------- 17:20:39 stable info: 17:20:39 ------------------- 17:20:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:20:39 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:20:39 Message: update stable to v1.0.245 17:20:40 ------------------- 17:20:40 experimental info: 17:20:40 ------------------- 17:20:40 Commited By: **** collab-it+edgex@linuxfoundation.org 17:20:40 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:20:40 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b65e215c8cf31c5a991f717c5dfb02d70535d352 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b65e215 [Pipeline] echo 17:20:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:40 provisioning config files... 17:20:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config2193870992758445694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:41 ---> docker-login.sh 17:20:41 nexus3.edgexfoundry.org:10001 17:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:41 Configure a credential helper to remove this warning. See 17:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:41 17:20:41 Login Succeeded 17:20:41 nexus3.edgexfoundry.org:10002 17:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:41 Configure a credential helper to remove this warning. See 17:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:41 17:20:41 Login Succeeded 17:20:41 nexus3.edgexfoundry.org:10003 17:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:41 Configure a credential helper to remove this warning. See 17:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:41 17:20:41 Login Succeeded 17:20:41 nexus3.edgexfoundry.org:10004 17:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:41 Configure a credential helper to remove this warning. See 17:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:41 17:20:41 Login Succeeded 17:20:41 docker.io 17:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:42 Configure a credential helper to remove this warning. See 17:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:42 17:20:42 Login Succeeded 17:20:42 ---> docker-login.sh ends [Pipeline] } 17:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:20:42 + git rev-list -1 --merges b65e215c8cf31c5a991f717c5dfb02d70535d352~1..b65e215c8cf31c5a991f717c5dfb02d70535d352 [Pipeline] echo 17:20:42 -----------> git rev-list -1 --merges b65e215c8cf31c5a991f717c5dfb02d70535d352~1..b65e215c8cf31c5a991f717c5dfb02d70535d352 b65e215c8cf31c5a991f717c5dfb02d70535d352 17:20:42 b65e215c8cf31c5a991f717c5dfb02d70535d352 [false] [Pipeline] sh 17:20:42 + git log --format=format:%s -1 b65e215c8cf31c5a991f717c5dfb02d70535d352 [Pipeline] echo 17:20:42 ========================================================= 17:20:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:20:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:43 + git log --format=format:%s -1 b65e215c8cf31c5a991f717c5dfb02d70535d352 [Pipeline] echo 17:20:43 [semverPrep] GIT_COMMIT: b65e215c8cf31c5a991f717c5dfb02d70535d352, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 17:20:43 [semverPrep] This is not a build commit. [Pipeline] sh 17:20:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:20:43 + grep -v github /etc/ssh/ssh_known_hosts 17:20:43 + [ -e /tmp/ssh_known_hosts ] 17:20:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:20:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:20:43 + sudo tee -a /etc/ssh/ssh_known_hosts 17:20:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:43 17:20:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:44 0.1.4: Pulling from edgex-devops/py-git-semver 17:20:44 b85a868b505f: Pulling fs layer 17:20:44 e2be974225ed: Pulling fs layer 17:20:44 339a4e72a1f5: Pulling fs layer 17:20:44 988bab9f4d93: Pulling fs layer 17:20:44 1469e6f7b9e6: Pulling fs layer 17:20:44 eaf3925da568: Pulling fs layer 17:20:44 bab4dde63d76: Pulling fs layer 17:20:44 bde34c3a00c8: Pulling fs layer 17:20:44 b352a97aabf1: Pulling fs layer 17:20:44 4872d77fe225: Pulling fs layer 17:20:44 5851b861e8e6: Pulling fs layer 17:20:44 988bab9f4d93: Waiting 17:20:44 bab4dde63d76: Waiting 17:20:44 bde34c3a00c8: Waiting 17:20:44 b352a97aabf1: Waiting 17:20:44 1469e6f7b9e6: Waiting 17:20:44 4872d77fe225: Waiting 17:20:44 eaf3925da568: Waiting 17:20:44 5851b861e8e6: Waiting 17:20:44 e2be974225ed: Download complete 17:20:44 988bab9f4d93: Download complete 17:20:44 339a4e72a1f5: Verifying Checksum 17:20:44 339a4e72a1f5: Download complete 17:20:44 1469e6f7b9e6: Verifying Checksum 17:20:44 1469e6f7b9e6: Download complete 17:20:44 eaf3925da568: Verifying Checksum 17:20:44 eaf3925da568: Download complete 17:20:44 bde34c3a00c8: Download complete 17:20:44 b352a97aabf1: Verifying Checksum 17:20:44 b352a97aabf1: Download complete 17:20:44 4872d77fe225: Verifying Checksum 17:20:44 4872d77fe225: Download complete 17:20:44 5851b861e8e6: Verifying Checksum 17:20:44 5851b861e8e6: Download complete 17:20:44 b85a868b505f: Verifying Checksum 17:20:44 b85a868b505f: Download complete 17:20:44 bab4dde63d76: Verifying Checksum 17:20:44 bab4dde63d76: Download complete 17:20:45 b85a868b505f: Pull complete 17:20:45 e2be974225ed: Pull complete 17:20:46 339a4e72a1f5: Pull complete 17:20:46 988bab9f4d93: Pull complete 17:20:46 1469e6f7b9e6: Pull complete 17:20:46 eaf3925da568: Pull complete 17:20:48 bab4dde63d76: Pull complete 17:20:48 bde34c3a00c8: Pull complete 17:20:48 b352a97aabf1: Pull complete 17:20:48 4872d77fe225: Pull complete 17:20:48 5851b861e8e6: Pull complete 17:20:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:48 prd-ubuntu20.04-docker-8c-8g-6072 does not seem to be running inside a container 17:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:20:51 $ docker top 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 -eo pid,comm 17:20:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:20:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:51 [ssh-agent] Looking for ssh-agent implementation... 17:20:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:51 $ docker exec 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 ssh-agent 17:20:51 SSH_AUTH_SOCK=/tmp/ssh-PX14tvkWphEQ/agent.32 17:20:51 SSH_AGENT_PID=38 17:20:51 Running ssh-add (command line suppressed) 17:20:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_13070512857493851928.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_13070512857493851928.key) 17:20:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:51 + git tag --points-at HEAD [Pipeline] } 17:20:51 $ docker exec --env ******** --env ******** 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 ssh-agent -k 17:20:52 unset SSH_AUTH_SOCK; 17:20:52 unset SSH_AGENT_PID; 17:20:52 echo Agent pid 38 killed; 17:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:52 [ssh-agent] Looking for ssh-agent implementation... 17:20:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:52 $ docker exec 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 ssh-agent 17:20:52 SSH_AUTH_SOCK=/tmp/ssh-oO8zX8VDvDzR/agent.69 17:20:52 SSH_AGENT_PID=75 17:20:52 Running ssh-add (command line suppressed) 17:20:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_12584574152842961177.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_12584574152842961177.key) 17:20:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:52 + git semver init 17:20:52 2023-03-28 17:20:52,915 [run_init] DEBUG init version:0.0.0 force:False 17:20:52 2023-03-28 17:20:52,916 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 17:20:52 2023-03-28 17:20:52,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 17:20:52 2023-03-28 17:20:52,917 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) 17:20:53 2023-03-28 17:20:53,793 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 17:20:53 2023-03-28 17:20:53,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 17:20:53 2023-03-28 17:20:53,794 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 17:20:53 2023-03-28 17:20:53,799 [execute] INFO git cat-file --batch-check 17:20:53 2023-03-28 17:20:53,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 17:20:53 2023-03-28 17:20:53,805 [execute] INFO git cat-file --batch 17:20:53 2023-03-28 17:20:53,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 17:20:53 2023-03-28 17:20:53,810 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 17:20:53 0.0.0 [Pipeline] } 17:20:53 $ docker exec --env ******** --env ******** 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 ssh-agent -k 17:20:53 unset SSH_AUTH_SOCK; 17:20:53 unset SSH_AGENT_PID; 17:20:53 echo Agent pid 75 killed; 17:20:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:54 + git semver [Pipeline] } 17:20:54 $ docker stop --time=1 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 17:20:55 $ docker rm -f --volumes 2421cb87ba0829f6603282ae2f4bfc92d97ed4f66232c6dc5cadb61e30453e43 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:56 Stashed 1 file(s) [Pipeline] echo 17:20:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:56 provisioning config files... 17:20:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config7823669343822927171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:56 ---> docker-login.sh 17:20:56 nexus3.edgexfoundry.org:10001 17:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:56 Configure a credential helper to remove this warning. See 17:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:56 17:20:56 Login Succeeded 17:20:56 nexus3.edgexfoundry.org:10002 17:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:56 Configure a credential helper to remove this warning. See 17:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:56 17:20:56 Login Succeeded 17:20:56 nexus3.edgexfoundry.org:10003 17:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:57 Configure a credential helper to remove this warning. See 17:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:57 17:20:57 Login Succeeded 17:20:57 nexus3.edgexfoundry.org:10004 17:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:57 Configure a credential helper to remove this warning. See 17:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:57 17:20:57 Login Succeeded 17:20:57 docker.io 17:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:57 Configure a credential helper to remove this warning. See 17:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:57 17:20:57 Login Succeeded 17:20:57 ---> docker-login.sh ends [Pipeline] } 17:20:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:57 ========================================================= 17:20:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:20:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:57 + 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 . 17:20:57 Sending build context to Docker daemon 27.26MB 17:20:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:20:57 Step 2/13 : FROM ${BASE} AS builder 17:20:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:20:58 63b65145d645: Pulling fs layer 17:20:58 a2d21d5440eb: Pulling fs layer 17:20:58 935e6c44a52c: Pulling fs layer 17:20:58 94cc34f8dd06: Pulling fs layer 17:20:58 30dea6a524f1: Pulling fs layer 17:20:58 a2aff8979fd8: Pulling fs layer 17:20:58 6808be2612f2: Pulling fs layer 17:20:58 f25807f1079a: Pulling fs layer 17:20:58 94cc34f8dd06: Waiting 17:20:58 30dea6a524f1: Waiting 17:20:58 a2aff8979fd8: Waiting 17:20:58 6808be2612f2: Waiting 17:20:58 f25807f1079a: Waiting 17:20:58 a2d21d5440eb: Verifying Checksum 17:20:58 a2d21d5440eb: Download complete 17:20:58 94cc34f8dd06: Verifying Checksum 17:20:58 94cc34f8dd06: Download complete 17:20:58 30dea6a524f1: Verifying Checksum 17:20:58 30dea6a524f1: Download complete 17:20:58 63b65145d645: Verifying Checksum 17:20:58 63b65145d645: Download complete 17:20:58 a2aff8979fd8: Verifying Checksum 17:20:58 a2aff8979fd8: Download complete 17:20:58 63b65145d645: Pull complete 17:20:58 a2d21d5440eb: Pull complete 17:20:58 f25807f1079a: Verifying Checksum 17:20:58 f25807f1079a: Download complete 17:20:58 935e6c44a52c: Verifying Checksum 17:20:58 935e6c44a52c: Download complete 17:20:58 6808be2612f2: Verifying Checksum 17:20:58 6808be2612f2: Download complete 17:21:02 935e6c44a52c: Pull complete 17:21:02 94cc34f8dd06: Pull complete 17:21:02 30dea6a524f1: Pull complete 17:21:02 a2aff8979fd8: Pull complete 17:21:04 6808be2612f2: Pull complete 17:21:05 f25807f1079a: Pull complete 17:21:05 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:21:05 ---> 3b553350e43f 17:21:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:21:08 ---> Running in fc932b7e1fb0 17:21:08 Removing intermediate container fc932b7e1fb0 17:21:08 ---> d1a7289c3754 17:21:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:21:08 ---> Running in 543c1812104a 17:21:08 Removing intermediate container 543c1812104a 17:21:08 ---> 936956446f30 17:21:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:21:08 ---> Running in 401ea9c013ed 17:21:08 Removing intermediate container 401ea9c013ed 17:21:08 ---> afbe5d1b0d5b 17:21:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:21:08 ---> Running in 1810db7dfac2 17:21:08 Removing intermediate container 1810db7dfac2 17:21:08 ---> 96f80154f4c3 17:21:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:21:08 ---> Running in b7ffd3b97758 17:21:08 Removing intermediate container b7ffd3b97758 17:21:08 ---> 0ca5e0f26dba 17:21:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:08 ---> Running in f35e12800e69 17:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:21:09 OK: 265 MiB in 53 packages 17:21:09 Removing intermediate container f35e12800e69 17:21:09 ---> 9f39b92fc7c7 17:21:09 Step 9/13 : WORKDIR /device-onvif-camera 17:21:09 ---> Running in f6701861291e 17:21:09 Removing intermediate container f6701861291e 17:21:09 ---> 87d7d55c2505 17:21:09 Step 10/13 : COPY go.mod vendor* ./ 17:21:09 ---> ec89b4a7263d 17:21:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:09 ---> Running in c1d254213429 17:21:11 Still waiting to schedule task 17:21:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:21:48 Removing intermediate container c1d254213429 17:21:48 ---> 719e17364e8b 17:21:48 Step 12/13 : COPY . . 17:21:48 ---> 66af200dd8b2 17:21:48 Step 13/13 : RUN ${MAKE} 17:21:48 ---> Running in fb416965d510 17:21:48 noop 17:21:48 Removing intermediate container fb416965d510 17:21:48 ---> 6386e959fc0c 17:21:48 Successfully built 6386e959fc0c 17:21:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:48 + docker inspect -f . ci-base-image-x86_64 17:21:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:48 prd-ubuntu20.04-docker-8c-8g-6072 does not seem to be running inside a container 17:21:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 ******** ci-base-image-x86_64 cat 17:21:48 $ docker top a2fd2eca49116291ded393a2bb484cb5f04b7ebbc1a1dd6f3dd0c41e6935b83a -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:49 + go version 17:21:49 go version go1.20.2 linux/amd64 [Pipeline] } 17:21:49 $ docker stop --time=1 a2fd2eca49116291ded393a2bb484cb5f04b7ebbc1a1dd6f3dd0c41e6935b83a 17:21:50 $ docker rm -f --volumes a2fd2eca49116291ded393a2bb484cb5f04b7ebbc1a1dd6f3dd0c41e6935b83a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:51 + docker inspect -f . ci-base-image-x86_64 17:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:51 prd-ubuntu20.04-docker-8c-8g-6072 does not seem to be running inside a container 17:21:51 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 ******** ci-base-image-x86_64 cat 17:21:51 $ docker top e531af2f774b46fbc0029d36cbfd96eb10a1f6d1884db0c56827a9d3277556f0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:21:51 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 17:21:52 + make test 17:21:52 go test ./... -coverprofile=coverage.out ./... 17:21:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:22:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:22:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:22:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.7% of statements 17:22:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.129s coverage: 86.5% of statements 17:22:18 go vet ./... 17:22:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:21 ./bin/test-attribution-txt.sh [Pipeline] echo 17:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:22:21 $ docker stop --time=1 e531af2f774b46fbc0029d36cbfd96eb10a1f6d1884db0c56827a9d3277556f0 17:22:24 $ docker rm -f --volumes e531af2f774b46fbc0029d36cbfd96eb10a1f6d1884db0c56827a9d3277556f0 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:22:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:22:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:22:25 + ls -al . 17:22:25 total 236 17:22:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 17:21 . 17:22:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:20 .. 17:22:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 17:20 .git 17:22:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 17:20 .github 17:22:25 -rw-rw-r-- 1 jenkins jenkins 496 Mar 28 17:20 .gitignore 17:22:25 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 17:20 .golangci.yml 17:22:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 17:20 .semver 17:22:25 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 28 17:20 Attribution.txt 17:22:25 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 28 17:20 CHANGELOG.md 17:22:25 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 28 17:20 Dockerfile 17:22:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 17:20 GOVERNANCE.md 17:22:25 -rw-rw-r-- 1 jenkins jenkins 734 Mar 28 17:20 Jenkinsfile 17:22:25 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 17:20 LICENSE 17:22:25 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 28 17:20 Makefile 17:22:25 -rw-rw-r-- 1 jenkins jenkins 625 Mar 28 17:20 OWNERS.md 17:22:25 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 28 17:20 README.md 17:22:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 17:20 VERSION 17:22:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 17:20 bin 17:22:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 17:20 cmd 17:22:25 -rw-r--r-- 1 jenkins jenkins 78487 Mar 28 17:22 coverage.out 17:22:25 drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 17:20 doc 17:22:25 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 28 17:20 go.mod 17:22:25 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 28 17:20 go.sum 17:22:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:20 internal 17:22:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:20 snap 17:22:25 -rw-rw-r-- 1 jenkins jenkins 236 Mar 28 17:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:26 + 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=b65e215c8cf31c5a991f717c5dfb02d70535d352 --label arch=amd64 --label version=0.0.0 . 17:22:26 Sending build context to Docker daemon 27.34MB 17:22:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:22:26 Step 2/26 : FROM ${BASE} AS builder 17:22:26 ---> 6386e959fc0c 17:22:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:22:26 ---> Running in 196220438fc2 17:22:26 Removing intermediate container 196220438fc2 17:22:26 ---> f26ea764a3a9 17:22:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:26 ---> Running in 3584abd53dbf 17:22:26 Removing intermediate container 3584abd53dbf 17:22:26 ---> 174d1da390dd 17:22:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:22:26 ---> Running in 14a5f4caaa43 17:22:26 Removing intermediate container 14a5f4caaa43 17:22:26 ---> 85f62435cad7 17:22:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:22:26 ---> Running in 769ac2cc463d 17:22:27 Removing intermediate container 769ac2cc463d 17:22:27 ---> 6bf71a157939 17:22:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:22:27 ---> Running in d7417c63251f 17:22:27 Removing intermediate container d7417c63251f 17:22:27 ---> 0c36055278ef 17:22:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:27 ---> Running in 39427fee4264 17:22:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:22:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:22:27 OK: 265 MiB in 53 packages 17:22:27 Removing intermediate container 39427fee4264 17:22:27 ---> d487f5015752 17:22:27 Step 9/26 : WORKDIR /device-onvif-camera 17:22:27 ---> Running in 0d0e59f1aeae 17:22:28 Removing intermediate container 0d0e59f1aeae 17:22:28 ---> 41c4077b65b7 17:22:28 Step 10/26 : COPY go.mod vendor* ./ 17:22:28 ---> 7db6d4c535d6 17:22:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:28 ---> Running in 87f58e3a7106 17:22:29 Removing intermediate container 87f58e3a7106 17:22:29 ---> 0f188550026d 17:22:29 Step 12/26 : COPY . . 17:22:29 ---> 60bba7a74718 17:22:29 Step 13/26 : RUN ${MAKE} 17:22:29 ---> Running in 6606a15cbd92 17:22:29 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 17:22:47 Removing intermediate container 6606a15cbd92 17:22:47 ---> ad99ce5af372 17:22:47 Step 14/26 : FROM alpine:3.17 17:22:47 3.17: Pulling from library/alpine 17:22:47 63b65145d645: Already exists 17:22:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:22:48 Status: Downloaded newer image for alpine:3.17 17:22:48 ---> b2aa39c304c2 17:22:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:22:48 ---> Running in e77e1929248f 17:22:48 Removing intermediate container e77e1929248f 17:22:48 ---> 10a0cbc4ca42 17:22:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:22:48 ---> Running in c582c426c649 17:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:22:48 (1/1) Installing dumb-init (1.2.5-r2) 17:22:48 Executing busybox-1.35.0-r29.trigger 17:22:48 OK: 7 MiB in 16 packages 17:22:48 Removing intermediate container c582c426c649 17:22:48 ---> 530e135470d0 17:22:48 Step 17/26 : WORKDIR / 17:22:48 ---> Running in 53af5efeb19b 17:22:49 Removing intermediate container 53af5efeb19b 17:22:49 ---> 653057154264 17:22:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:22:49 ---> c2842af66bef 17:22:49 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:22:49 ---> 8ab5af142dff 17:22:49 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:22:50 ---> a759a37ebe37 17:22:50 Step 21/26 : EXPOSE 59984 17:22:50 ---> Running in 64db7cdd31bf 17:22:50 Removing intermediate container 64db7cdd31bf 17:22:50 ---> a9e3987c2931 17:22:50 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:22:50 ---> Running in bdd2c2fc7152 17:22:50 Removing intermediate container bdd2c2fc7152 17:22:50 ---> 6b75990d54f5 17:22:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:22:50 ---> Running in 23dc369b1f15 17:22:50 Removing intermediate container 23dc369b1f15 17:22:50 ---> 709b3ccf3586 17:22:50 Step 24/26 : LABEL arch=amd64 17:22:50 ---> Running in 63d78d965033 17:22:50 Removing intermediate container 63d78d965033 17:22:50 ---> 5b2f405d2879 17:22:50 Step 25/26 : LABEL git_sha=b65e215c8cf31c5a991f717c5dfb02d70535d352 17:22:50 ---> Running in c89b95b26a60 17:22:50 Removing intermediate container c89b95b26a60 17:22:50 ---> feeff30ef0ce 17:22:50 Step 26/26 : LABEL version=0.0.0 17:22:50 ---> Running in e2091e594e78 17:22:50 Removing intermediate container e2091e594e78 17:22:50 ---> 72fef1f98bf9 17:22:50 [Warning] One or more build-args [ARCH] were not consumed 17:22:50 Successfully built 72fef1f98bf9 17:22:50 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 17:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:51 17:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:51 latest: Pulling from edgex-lftools-log-publisher 17:22:51 5eb5b503b376: Pulling fs layer 17:22:51 5c69ac0246d0: Pulling fs layer 17:22:51 ec43610c2a17: Pulling fs layer 17:22:51 3a2ae6a8a46f: Pulling fs layer 17:22:51 33b1e0a273af: Pulling fs layer 17:22:51 5d3b04190fa2: Pulling fs layer 17:22:51 2f39f015ded8: Pulling fs layer 17:22:51 3a2ae6a8a46f: Waiting 17:22:51 33b1e0a273af: Waiting 17:22:51 5d3b04190fa2: Waiting 17:22:51 2f39f015ded8: Waiting 17:22:51 5c69ac0246d0: Verifying Checksum 17:22:51 5c69ac0246d0: Download complete 17:22:51 3a2ae6a8a46f: Verifying Checksum 17:22:51 3a2ae6a8a46f: Download complete 17:22:51 ec43610c2a17: Verifying Checksum 17:22:51 ec43610c2a17: Download complete 17:22:51 33b1e0a273af: Verifying Checksum 17:22:51 33b1e0a273af: Download complete 17:22:51 5d3b04190fa2: Download complete 17:22:51 5eb5b503b376: Verifying Checksum 17:22:51 5eb5b503b376: Download complete 17:22:52 2f39f015ded8: Download complete 17:22:52 5eb5b503b376: Pull complete 17:22:52 5c69ac0246d0: Pull complete 17:22:53 ec43610c2a17: Pull complete 17:22:53 3a2ae6a8a46f: Pull complete 17:22:53 33b1e0a273af: Pull complete 17:22:53 5d3b04190fa2: Pull complete 17:22:57 2f39f015ded8: Pull complete 17:22:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:57 prd-ubuntu20.04-docker-8c-8g-6072 does not seem to be running inside a container 17:22:57 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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 17:22:59 $ docker top 628dd87cab7719f1cae32b36a7799cd0a450f979fa33fbef6deb385741b0a82b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:00 ---> job-cost.sh 17:23:00 lf-activate-venv: SKIPPING 17:23:00 INFO: No Stack... 17:23:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:01 INFO: Archiving Costs [Pipeline] sh 17:23:01 + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv 17:23:01 + cut -d, -f6 [Pipeline] lock 17:23:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] 17:23:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] did not exist. Created. 17:23:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:23:01 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:01 Stashed 1 file(s) [Pipeline] } 17:23:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:23:01 $ docker stop --time=1 628dd87cab7719f1cae32b36a7799cd0a450f979fa33fbef6deb385741b0a82b 17:23:02 $ docker rm -f --volumes 628dd87cab7719f1cae32b36a7799cd0a450f979fa33fbef6deb385741b0a82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6073 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws 17:25:19 Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout 17:25:19 The recommended git tool is: git 17:25:26 using credential edgex-jenkins-ssh 17:25:26 Cloning the remote Git repository 17:25:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:25:26 > git init /w/workspace/device-onvif-camera/10 # timeout=10 17:25:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:25:26 > git --version # timeout=10 17:25:26 > git --version # 'git version 2.25.1' 17:25:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:25:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:25:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:25:30 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit fde41529760726f909f9abd6bacc6f65a5f67b6d 17:25:31 Merge succeeded, producing 7caad1a238100b2137ede847de121080481ac0d8 17:25:31 Checking out Revision 7caad1a238100b2137ede847de121080481ac0d8 (PR-281) 17:25:30 > git config core.sparsecheckout # timeout=10 17:25:30 > git checkout -f fde41529760726f909f9abd6bacc6f65a5f67b6d # timeout=10 17:25:31 > git remote # timeout=10 17:25:31 > git config --get remote.origin.url # timeout=10 17:25:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:31 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 17:25:31 > git rev-parse HEAD^{commit} # timeout=10 17:25:31 > git config core.sparsecheckout # timeout=10 17:25:31 > git checkout -f 7caad1a238100b2137ede847de121080481ac0d8 # timeout=10 17:25:35 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 17:25:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:25:36 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:36 Dload Upload Total Spent Left Speed 17:25:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 17:25:35 > git rev-list --no-walk 7293aed94d1b48a3e6bfe5a685705f51aede04bb # timeout=10 17:25:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:25:37 + sudo tee /etc/docker/daemon.new 17:25:37 { 17:25:37 "registry-mirrors": [ 17:25:37 "https://nexus3.edgexfoundry.org:10001" 17:25:37 ], 17:25:37 "bip": "10.250.0.254/24", 17:25:37 "hosts": [ 17:25:37 "tcp://0.0.0.0:5555", 17:25:37 "unix:///var/run/docker.sock" 17:25:37 ], 17:25:37 "mtu": 1458, 17:25:37 "selinux-enabled": true, 17:25:37 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:37 } [Pipeline] sh 17:25:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:56 provisioning config files... 17:25:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config2960145099369460543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:56 ---> docker-login.sh 17:25:56 nexus3.edgexfoundry.org:10001 17:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:57 Configure a credential helper to remove this warning. See 17:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:57 17:25:57 Login Succeeded 17:25:57 nexus3.edgexfoundry.org:10002 17:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:57 Configure a credential helper to remove this warning. See 17:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:57 17:25:57 Login Succeeded 17:25:57 nexus3.edgexfoundry.org:10003 17:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:58 Configure a credential helper to remove this warning. See 17:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:58 17:25:58 Login Succeeded 17:25:58 nexus3.edgexfoundry.org:10004 17:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:58 Configure a credential helper to remove this warning. See 17:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:58 17:25:58 Login Succeeded 17:25:58 docker.io 17:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:58 Configure a credential helper to remove this warning. See 17:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:58 17:25:58 Login Succeeded 17:25:58 ---> docker-login.sh ends [Pipeline] } 17:25:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:59 ========================================================= 17:25:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:25:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:59 + 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 . 17:26:00 Sending build context to Docker daemon 19.95MB 17:26:00 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:26:00 Step 2/13 : FROM ${BASE} AS builder 17:26:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:00 af6eaf76a39c: Pulling fs layer 17:26:00 55522c791124: Pulling fs layer 17:26:00 ce5c4a1c91eb: Pulling fs layer 17:26:00 169dfbe0d373: Pulling fs layer 17:26:00 e1ff8fa3b103: Pulling fs layer 17:26:00 169dfbe0d373: Waiting 17:26:00 52ebb69f0ebf: Pulling fs layer 17:26:00 5abe8eddf0d5: Pulling fs layer 17:26:00 e1ff8fa3b103: Waiting 17:26:00 52ebb69f0ebf: Waiting 17:26:00 5abe8eddf0d5: Waiting 17:26:00 55522c791124: Verifying Checksum 17:26:00 55522c791124: Download complete 17:26:00 169dfbe0d373: Verifying Checksum 17:26:00 169dfbe0d373: Download complete 17:26:00 e1ff8fa3b103: Verifying Checksum 17:26:00 e1ff8fa3b103: Download complete 17:26:00 af6eaf76a39c: Verifying Checksum 17:26:00 af6eaf76a39c: Download complete 17:26:01 af6eaf76a39c: Pull complete 17:26:01 5abe8eddf0d5: Verifying Checksum 17:26:01 5abe8eddf0d5: Download complete 17:26:02 55522c791124: Pull complete 17:26:03 ce5c4a1c91eb: Verifying Checksum 17:26:03 ce5c4a1c91eb: Download complete 17:26:03 52ebb69f0ebf: Verifying Checksum 17:26:03 52ebb69f0ebf: Download complete 17:26:18 ce5c4a1c91eb: Pull complete 17:26:18 169dfbe0d373: Pull complete 17:26:18 e1ff8fa3b103: Pull complete 17:26:22 52ebb69f0ebf: Pull complete 17:26:25 5abe8eddf0d5: Pull complete 17:26:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:26:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:26:25 ---> 6cb57ee374ae 17:26:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:26:27 ---> Running in 1cc6e1629b4a 17:26:27 Removing intermediate container 1cc6e1629b4a 17:26:27 ---> acf14e11796c 17:26:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:27 ---> Running in 494a8f46fe83 17:26:27 Removing intermediate container 494a8f46fe83 17:26:27 ---> 745619cd5723 17:26:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:26:27 ---> Running in ee41258007cb 17:26:27 Removing intermediate container ee41258007cb 17:26:27 ---> b6272ef2cff8 17:26:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:26:27 ---> Running in e48998eb215c 17:26:28 Removing intermediate container e48998eb215c 17:26:28 ---> d5616327e822 17:26:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:26:28 ---> Running in e9b2ef426979 17:26:28 Removing intermediate container e9b2ef426979 17:26:28 ---> 6681616f7fec 17:26:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:28 ---> Running in 678a8fe43267 17:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:26:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:26:32 OK: 263 MiB in 53 packages 17:26:32 Removing intermediate container 678a8fe43267 17:26:32 ---> cd35dd24c49f 17:26:32 Step 9/13 : WORKDIR /device-onvif-camera 17:26:33 ---> Running in 5cd3561edfce 17:26:33 Removing intermediate container 5cd3561edfce 17:26:33 ---> 7942cb16aa0a 17:26:33 Step 10/13 : COPY go.mod vendor* ./ 17:26:34 ---> 162635a24b3b 17:26:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:34 ---> Running in 1bf817e07ee7 17:27:55 Removing intermediate container 1bf817e07ee7 17:27:55 ---> d6a4cd9a9402 17:27:55 Step 12/13 : COPY . . 17:27:55 ---> c36da7e6e452 17:27:55 Step 13/13 : RUN ${MAKE} 17:27:55 ---> Running in 142e945dae57 17:27:55 noop 17:27:55 Removing intermediate container 142e945dae57 17:27:55 ---> af6e5bbaad3d 17:27:55 Successfully built af6e5bbaad3d 17:27:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:56 + docker inspect -f . ci-base-image-arm64 17:27:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:56 prd-ubuntu20.04-docker-arm64-4c-16g-6073 does not seem to be running inside a container 17:27:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 17:27:57 $ docker top e76ea1b9c33339c7b4ca992de0d02b938697f782d89340e624c23e5218236901 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:58 + go version 17:27:58 go version go1.20.2 linux/arm64 [Pipeline] } 17:27:58 $ docker stop --time=1 e76ea1b9c33339c7b4ca992de0d02b938697f782d89340e624c23e5218236901 17:27:59 $ docker rm -f --volumes e76ea1b9c33339c7b4ca992de0d02b938697f782d89340e624c23e5218236901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:00 + docker inspect -f . ci-base-image-arm64 17:28:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:00 prd-ubuntu20.04-docker-arm64-4c-16g-6073 does not seem to be running inside a container 17:28:00 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 17:28:03 $ docker top 15dfd2ff00c02ed2658e353143ee827343fc365a1b29c06554a9ea60e10fc77a -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh 17:28:05 + make test 17:28:05 go test ./... -coverprofile=coverage.out ./... 17:28:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:31:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:31:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:31:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.233s coverage: 31.7% of statements 17:31:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.299s coverage: 86.5% of statements 17:31:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:28 go vet ./... 17:31:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:54 ./bin/test-attribution-txt.sh [Pipeline] echo 17:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:31:55 $ docker stop --time=1 15dfd2ff00c02ed2658e353143ee827343fc365a1b29c06554a9ea60e10fc77a 17:31:58 $ docker rm -f --volumes 15dfd2ff00c02ed2658e353143ee827343fc365a1b29c06554a9ea60e10fc77a [Pipeline] // withDockerContainer [Pipeline] sh 17:32:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:00 Warning: overwriting stash ‘coverage-report’ 17:32:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:01 + ls -al . 17:32:01 total 232 17:32:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 17:28 . 17:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:25 .. 17:32:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 17:25 .git 17:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 17:25 .github 17:32:01 -rw-rw-r-- 1 jenkins jenkins 496 Mar 28 17:25 .gitignore 17:32:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 17:25 .golangci.yml 17:32:01 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 28 17:25 Attribution.txt 17:32:01 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 28 17:25 CHANGELOG.md 17:32:01 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 28 17:25 Dockerfile 17:32:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 17:25 GOVERNANCE.md 17:32:01 -rw-rw-r-- 1 jenkins jenkins 734 Mar 28 17:25 Jenkinsfile 17:32:01 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 17:25 LICENSE 17:32:01 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 28 17:25 Makefile 17:32:01 -rw-rw-r-- 1 jenkins jenkins 625 Mar 28 17:25 OWNERS.md 17:32:01 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 28 17:25 README.md 17:32:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 17:20 VERSION 17:32:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 17:25 bin 17:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 17:25 cmd 17:32:01 -rw-r--r-- 1 jenkins jenkins 78487 Mar 28 17:31 coverage.out 17:32:01 drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 17:25 doc 17:32:01 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 28 17:25 go.mod 17:32:01 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 28 17:25 go.sum 17:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:25 internal 17:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 17:25 snap 17:32:01 -rw-rw-r-- 1 jenkins jenkins 236 Mar 28 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:01 + 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=7caad1a238100b2137ede847de121080481ac0d8 --label arch=arm64 --label version=0.0.0 . 17:32:02 Sending build context to Docker daemon 20.03MB 17:32:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:32:02 Step 2/26 : FROM ${BASE} AS builder 17:32:02 ---> af6e5bbaad3d 17:32:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:32:02 ---> Running in efc7fbad36f4 17:32:02 Removing intermediate container efc7fbad36f4 17:32:02 ---> 419631edd792 17:32:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:02 ---> Running in ed4bb653eed1 17:32:03 Removing intermediate container ed4bb653eed1 17:32:03 ---> 055dd5987d3a 17:32:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:32:03 ---> Running in 56e627102549 17:32:03 Removing intermediate container 56e627102549 17:32:03 ---> 8b00473bbdc3 17:32:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:32:03 ---> Running in 9e51df1f628f 17:32:04 Removing intermediate container 9e51df1f628f 17:32:04 ---> 73f85ce3be36 17:32:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:32:04 ---> Running in 8bb81fccd36d 17:32:04 Removing intermediate container 8bb81fccd36d 17:32:04 ---> 5effd4777a98 17:32:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:04 ---> Running in 1b1d2c0f2871 17:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:32:07 OK: 263 MiB in 53 packages 17:32:07 Removing intermediate container 1b1d2c0f2871 17:32:07 ---> 7d841b419bb1 17:32:07 Step 9/26 : WORKDIR /device-onvif-camera 17:32:07 ---> Running in a9bf9eb4c186 17:32:08 Removing intermediate container a9bf9eb4c186 17:32:08 ---> 9dfeac80923b 17:32:08 Step 10/26 : COPY go.mod vendor* ./ 17:32:08 ---> bed2e6bb6a43 17:32:08 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:08 ---> Running in eb213beb9351 17:32:12 Removing intermediate container eb213beb9351 17:32:12 ---> 06a252b4ce9c 17:32:12 Step 12/26 : COPY . . 17:32:14 ---> 15959db07d3d 17:32:14 Step 13/26 : RUN ${MAKE} 17:32:14 ---> Running in 0e62fbf9864b 17:32:15 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 17:34:37 Removing intermediate container 0e62fbf9864b 17:34:37 ---> 4424596dfd29 17:34:37 Step 14/26 : FROM alpine:3.17 17:34:37 3.17: Pulling from library/alpine 17:34:37 af6eaf76a39c: Already exists 17:34:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:34:37 Status: Downloaded newer image for alpine:3.17 17:34:37 ---> d74e625d9115 17:34:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:34:37 ---> Running in 724ccad81104 17:34:37 Removing intermediate container 724ccad81104 17:34:37 ---> 191a4df76f49 17:34:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:34:37 ---> Running in b86ab3aef038 17:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:34:37 (1/1) Installing dumb-init (1.2.5-r2) 17:34:37 Executing busybox-1.35.0-r29.trigger 17:34:37 OK: 8 MiB in 16 packages 17:34:37 Removing intermediate container b86ab3aef038 17:34:37 ---> 15a77318bc81 17:34:37 Step 17/26 : WORKDIR / 17:34:37 ---> Running in 2d51ef5bcf35 17:34:37 Removing intermediate container 2d51ef5bcf35 17:34:37 ---> f0c881c5fd17 17:34:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:34:37 ---> 8276549df847 17:34:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:34:37 ---> d615c721f061 17:34:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:34:38 ---> 30175d99ea60 17:34:38 Step 21/26 : EXPOSE 59984 17:34:38 ---> Running in f6186a6f710d 17:34:38 Removing intermediate container f6186a6f710d 17:34:38 ---> 5838fd039fe7 17:34:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:34:38 ---> Running in c74f540bcf8c 17:34:39 Removing intermediate container c74f540bcf8c 17:34:39 ---> 4418fb5d0627 17:34:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:34:39 ---> Running in 569bfcefd034 17:34:39 Removing intermediate container 569bfcefd034 17:34:39 ---> 2471a3433475 17:34:39 Step 24/26 : LABEL arch=arm64 17:34:39 ---> Running in 6fe621f79f82 17:34:39 Removing intermediate container 6fe621f79f82 17:34:39 ---> 7a475796c785 17:34:39 Step 25/26 : LABEL git_sha=7caad1a238100b2137ede847de121080481ac0d8 17:34:39 ---> Running in b3e925a958c2 17:34:40 Removing intermediate container b3e925a958c2 17:34:40 ---> 27bc889ffa49 17:34:40 Step 26/26 : LABEL version=0.0.0 17:34:40 ---> Running in ae2c4b48d415 17:34:40 Removing intermediate container ae2c4b48d415 17:34:40 ---> a97fb7dc576e 17:34:40 [Warning] One or more build-args [ARCH] were not consumed 17:34:40 Successfully built a97fb7dc576e 17:34:40 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 17:34:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:41 17:34:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:41 arm64: Pulling from edgex-lftools-log-publisher 17:34:41 8998bd30e6a1: Pulling fs layer 17:34:41 04944245beec: Pulling fs layer 17:34:41 699f458cf7ca: Pulling fs layer 17:34:41 765212b225bb: Pulling fs layer 17:34:41 f23df028b6ca: Pulling fs layer 17:34:41 d65c8cfc05b1: Pulling fs layer 17:34:41 2437ff75d9bd: Pulling fs layer 17:34:41 f23df028b6ca: Waiting 17:34:41 d65c8cfc05b1: Waiting 17:34:41 2437ff75d9bd: Waiting 17:34:41 765212b225bb: Waiting 17:34:41 04944245beec: Verifying Checksum 17:34:41 04944245beec: Download complete 17:34:41 765212b225bb: Verifying Checksum 17:34:41 765212b225bb: Download complete 17:34:41 f23df028b6ca: Verifying Checksum 17:34:41 f23df028b6ca: Download complete 17:34:41 d65c8cfc05b1: Verifying Checksum 17:34:41 d65c8cfc05b1: Download complete 17:34:41 699f458cf7ca: Verifying Checksum 17:34:41 699f458cf7ca: Download complete 17:34:42 8998bd30e6a1: Verifying Checksum 17:34:42 8998bd30e6a1: Download complete 17:34:44 2437ff75d9bd: Download complete 17:34:46 8998bd30e6a1: Pull complete 17:34:48 04944245beec: Pull complete 17:34:49 699f458cf7ca: Pull complete 17:34:49 765212b225bb: Pull complete 17:34:49 f23df028b6ca: Pull complete 17:34:50 d65c8cfc05b1: Pull complete 17:35:02 2437ff75d9bd: Pull complete 17:35:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:35:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:02 prd-ubuntu20.04-docker-arm64-4c-16g-6073 does not seem to be running inside a container 17:35:02 $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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 17:35:05 $ docker top 8265aa8ec6c2f0ba9dc8691fe88750939ed00eb539eb58ba34744b93492218f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:06 ---> job-cost.sh 17:35:06 lf-activate-venv: SKIPPING 17:35:06 INFO: No Stack... 17:35:06 INFO: Retrieving Pricing Info for: v3-standard-4 17:35:07 INFO: Archiving Costs [Pipeline] sh 17:35:07 + + cut -d, -f6cat 17:35:07 /w/workspace/device-onvif-camera/10/archives/cost.csv [Pipeline] lock 17:35:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] 17:35:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] did not exist. Created. 17:35:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:08 /w/workspace/device-onvif-camera/10@tmp/durable-0dee9737/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:08 + echo total: 0.10999999940395355 [Pipeline] stash 17:35:08 Warning: overwriting stash ‘stack-cost’ 17:35:08 Stashed 1 file(s) [Pipeline] } 17:35:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:08 $ docker stop --time=1 8265aa8ec6c2f0ba9dc8691fe88750939ed00eb539eb58ba34744b93492218f6 17:35:09 $ docker rm -f --volumes 8265aa8ec6c2f0ba9dc8691fe88750939ed00eb539eb58ba34744b93492218f6 [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 17:35:10 provisioning config files... 17:35:10 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config1698274541728628833tmp [Pipeline] { [Pipeline] sh 17:35:10 + set +x 17:35:10 + + curl -s https://codecov.io/bash 17:35:10 bash -s -- 17:35:10 17:35:10 _____ _ 17:35:10 / ____| | | 17:35:10 | | ___ __| | ___ ___ _____ __ 17:35:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:10 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:10 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:10 Bash-1.0.6 17:35:10 17:35:10 17:35:10 ==> git version 2.25.1 found 17:35:10 ==> 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 17:35:10 Release-Date: 2020-01-08 17:35:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:35:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:10 ==> Jenkins CI detected. 17:35:10 current dir:  /w/workspace/undry_device-onvif-camera_PR-281 17:35:10 project root: . 17:35:10 --> token set from env 17:35:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:10 ==> Running gcov in . (disable via -X gcov) 17:35:10 ==> Python coveragepy not found 17:35:10 ==> Searching for coverage reports in: 17:35:10 + . 17:35:10 -> Found 1 reports 17:35:10 ==> Detecting git/mercurial file structure 17:35:10 ==> Reading reports 17:35:10 + ./coverage.out bytes=78487 17:35:10 ==> Appending adjustments 17:35:10 https://docs.codecov.io/docs/fixing-reports 17:35:10 + Found adjustments 17:35:10 ==> Gzipping contents 17:35:10 12K /tmp/codecov.qzjfBW.gz 17:35:10 ==> Uploading reports 17:35:10 url: https://codecov.io 17:35:10 query: branch=PR-281&commit=b65e215c8cf31c5a991f717c5dfb02d70535d352&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 17:35:10 -> Pinging Codecov 17:35:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-281&commit=b65e215c8cf31c5a991f717c5dfb02d70535d352&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 17:35:11 -> Uploading to 17:35:11 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/F29A59C45E3A92E06B3E522C9905F8EF/b65e215c8cf31c5a991f717c5dfb02d70535d352/cdf4e437-8758-403a-9a66-466189b3d9bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T173510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe363ae547818c9fb8003a4ed18f2d956f7d84537ab225db93af8c0d03cb9dab 17:35:11 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:11 Dload Upload Total Spent Left Speed 17:35:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 35326 --:--:-- --:--:-- --:--:-- 35326 17:35:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b65e215c8cf31c5a991f717c5dfb02d70535d352 [Pipeline] } 17:35:11 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 17:35:12 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 17:35:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 17:35:12 total 16 17:35:12 drwxr-xr-x 3 root root 4096 Mar 28 17:23 . 17:35:12 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 17:23 .. 17:35:12 drwxr-xr-x 2 root root 4096 Mar 28 17:23 cost 17:35:12 -rw-r--r-- 1 root root 92 Mar 28 17:23 cost.csv 17:35:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 17:35:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 17:35:12 total 16 17:35:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 17:23 . 17:35:12 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 17:23 .. 17:35:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 17:23 cost 17:35:12 -rw-r--r-- 1 jenkins jenkins 92 Mar 28 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:13 ---> package-listing.sh 17:35:13 ++ facter osfamily 17:35:13 ++ tr '[:upper:]' '[:lower:]' 17:35:13 + OS_FAMILY=debian 17:35:13 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 17:35:13 + START_PACKAGES=/tmp/packages_start.txt 17:35:13 + END_PACKAGES=/tmp/packages_end.txt 17:35:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:13 + PACKAGES=/tmp/packages_start.txt 17:35:13 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 17:35:13 + PACKAGES=/tmp/packages_end.txt 17:35:13 + case "${OS_FAMILY}" in 17:35:13 + dpkg -l 17:35:13 + grep '^ii' 17:35:13 + '[' -f /tmp/packages_start.txt ']' 17:35:13 + '[' -f /tmp/packages_end.txt ']' 17:35:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:13 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 17:35:13 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 17:35:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo 17:35:13 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:14 prd-ubuntu20.04-docker-8c-8g-6072 does not seem to be running inside a container 17:35:14 $ 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-281/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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:14 $ docker top 71e92d05b7f1e0e2df26e467822adb26a3f650165233511d67fad92aab578079 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:14 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:15 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:15 + ls /var/log/sa-host 17:35:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:15 provisioning config files... 17:35:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config4832520000537302781tmp [Pipeline] { [Pipeline] echo 17:35:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:15 ---> create-netrc.sh [Pipeline] } 17:35:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:16 ---> python-tools-install.sh [Pipeline] echo 17:35:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:16 ---> sudo-logs.sh 17:35:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:16 ---> job-cost.sh 17:35:16 lf-activate-venv: SKIPPING 17:35:16 DEBUG: total: 0.2199999988079071 17:35:16 INFO: Retrieving Stack Cost... 17:35:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:17 INFO: Archiving Costs [Pipeline] echo 17:35:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:17 ---> logs-deploy.sh 17:35:17 lf-activate-venv: SKIPPING 17:35:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/10 17:35:17 INFO: archiving workspace using pattern(s): 17:35:18 Archives upload complete. 17:35:18 INFO: archiving logs to Nexus