Pull request #347 updated Pull request #347 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 rather than bf6e08494e3e05911265a2ba15676ec40f322bae Obtained Jenkinsfile from b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 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-ssh9321541233951933127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7446050721644098487.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12460899488066800826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13106338997339206682.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10968380342129466222.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-14584 in /w/workspace/undry_device-onvif-camera_PR-347 [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-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit bf6e08494e3e05911265a2ba15676ec40f322bae Merge succeeded, producing bf6e08494e3e05911265a2ba15676ec40f322bae Checking out Revision bf6e08494e3e05911265a2ba15676ec40f322bae (PR-347) > 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf6e08494e3e05911265a2ba15676ec40f322bae # 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf6e08494e3e05911265a2ba15676ec40f322bae # timeout=10 Commit message: "fix: update matrix parsing logic" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:04:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:04:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:04:41 ========================================================= 00:04:41 EdgeX Global Pipelines Version Info 00:04:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 331b08c8b51cebc19d8e785093f31ab9e5e5f2ac # timeout=10 00:04:42 ------------------- 00:04:42 stable info: 00:04:42 ------------------- 00:04:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:04:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:04:42 Message: update stable to v1.0.249 00:04:42 ------------------- 00:04:42 experimental info: 00:04:42 ------------------- 00:04:42 Commited By: **** collab-it+edgex@linuxfoundation.org 00:04:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:04:42 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf6e084 [Pipeline] echo 00:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:43 provisioning config files... 00:04:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config9894505607047102278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:43 ---> docker-login.sh 00:04:43 nexus3.edgexfoundry.org:10001 00:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:44 Configure a credential helper to remove this warning. See 00:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:44 00:04:44 Login Succeeded 00:04:44 nexus3.edgexfoundry.org:10002 00:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:44 Configure a credential helper to remove this warning. See 00:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:44 00:04:44 Login Succeeded 00:04:44 nexus3.edgexfoundry.org:10003 00:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:44 Configure a credential helper to remove this warning. See 00:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:44 00:04:44 Login Succeeded 00:04:44 nexus3.edgexfoundry.org:10004 00:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:44 Configure a credential helper to remove this warning. See 00:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:44 00:04:44 Login Succeeded 00:04:44 docker.io 00:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:45 Configure a credential helper to remove this warning. See 00:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:45 00:04:45 Login Succeeded 00:04:45 ---> docker-login.sh ends [Pipeline] } 00:04:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:04:45 + git rev-list -1 --merges bf6e08494e3e05911265a2ba15676ec40f322bae~1..bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] echo 00:04:45 -----------> git rev-list -1 --merges bf6e08494e3e05911265a2ba15676ec40f322bae~1..bf6e08494e3e05911265a2ba15676ec40f322bae bf6e08494e3e05911265a2ba15676ec40f322bae [false] [Pipeline] sh 00:04:46 + git log --format=format:%s -1 bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] echo 00:04:46 ========================================================= 00:04:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:04:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:46 + git log --format=format:%s -1 bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] echo 00:04:46 [semverPrep] GIT_COMMIT: bf6e08494e3e05911265a2ba15676ec40f322bae, Commit Message: fix: update matrix parsing logic [Pipeline] echo 00:04:46 [semverPrep] This is not a build commit. [Pipeline] sh 00:04:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:04:46 + grep -v github /etc/ssh/ssh_known_hosts 00:04:46 + [ -e /tmp/ssh_known_hosts ] 00:04:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:04:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:04:46 sudo tee -a /etc/ssh/ssh_known_hosts 00:04:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:04:47 00:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:04:47 0.1.4: Pulling from edgex-devops/py-git-semver 00:04:47 b85a868b505f: Pulling fs layer 00:04:47 e2be974225ed: Pulling fs layer 00:04:47 339a4e72a1f5: Pulling fs layer 00:04:47 988bab9f4d93: Pulling fs layer 00:04:47 1469e6f7b9e6: Pulling fs layer 00:04:47 eaf3925da568: Pulling fs layer 00:04:47 bab4dde63d76: Pulling fs layer 00:04:47 988bab9f4d93: Waiting 00:04:47 1469e6f7b9e6: Waiting 00:04:47 eaf3925da568: Waiting 00:04:47 bde34c3a00c8: Pulling fs layer 00:04:47 b352a97aabf1: Pulling fs layer 00:04:47 bab4dde63d76: Waiting 00:04:47 bde34c3a00c8: Waiting 00:04:47 b352a97aabf1: Waiting 00:04:47 4872d77fe225: Pulling fs layer 00:04:47 5851b861e8e6: Pulling fs layer 00:04:47 4872d77fe225: Waiting 00:04:47 5851b861e8e6: Waiting 00:04:47 e2be974225ed: Verifying Checksum 00:04:47 e2be974225ed: Download complete 00:04:47 988bab9f4d93: Verifying Checksum 00:04:47 988bab9f4d93: Download complete 00:04:47 1469e6f7b9e6: Verifying Checksum 00:04:47 1469e6f7b9e6: Download complete 00:04:47 339a4e72a1f5: Verifying Checksum 00:04:47 339a4e72a1f5: Download complete 00:04:47 eaf3925da568: Verifying Checksum 00:04:47 eaf3925da568: Download complete 00:04:47 bde34c3a00c8: Download complete 00:04:48 b352a97aabf1: Download complete 00:04:48 4872d77fe225: Verifying Checksum 00:04:48 4872d77fe225: Download complete 00:04:48 5851b861e8e6: Verifying Checksum 00:04:48 5851b861e8e6: Download complete 00:04:48 b85a868b505f: Verifying Checksum 00:04:48 b85a868b505f: Download complete 00:04:48 bab4dde63d76: Verifying Checksum 00:04:48 bab4dde63d76: Download complete 00:04:49 b85a868b505f: Pull complete 00:04:50 e2be974225ed: Pull complete 00:04:50 339a4e72a1f5: Pull complete 00:04:50 988bab9f4d93: Pull complete 00:04:51 1469e6f7b9e6: Pull complete 00:04:51 eaf3925da568: Pull complete 00:04:53 bab4dde63d76: Pull complete 00:04:53 bde34c3a00c8: Pull complete 00:04:53 b352a97aabf1: Pull complete 00:04:53 4872d77fe225: Pull complete 00:04:54 5851b861e8e6: Pull complete 00:04:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:04:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:54 prd-ubuntu20.04-docker-8c-8g-14584 does not seem to be running inside a container 00:04:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 00:04:59 $ docker top c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb -eo pid,comm 00:04:59 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). 00:04:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:04:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:04:59 [ssh-agent] Looking for ssh-agent implementation... 00:04:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:04:59 $ docker exec c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb ssh-agent 00:04:59 SSH_AUTH_SOCK=/tmp/ssh-MiH37nB0yTe2/agent.14 00:04:59 SSH_AGENT_PID=20 00:04:59 Running ssh-add (command line suppressed) 00:04:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_15300265734601240881.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_15300265734601240881.key) 00:04:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:05:00 + git tag --points-at HEAD [Pipeline] } 00:05:00 $ docker exec --env ******** --env ******** c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb ssh-agent -k 00:05:00 unset SSH_AUTH_SOCK; 00:05:00 unset SSH_AGENT_PID; 00:05:00 echo Agent pid 20 killed; 00:05:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:05:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:05:00 [ssh-agent] Looking for ssh-agent implementation... 00:05:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:05:00 $ docker exec c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb ssh-agent 00:05:00 SSH_AUTH_SOCK=/tmp/ssh-7wFSOuR38MM8/agent.71 00:05:00 SSH_AGENT_PID=76 00:05:00 Running ssh-add (command line suppressed) 00:05:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_2899589050439515640.key (/w/workspace/undry_device-onvif-camera_PR-347@tmp/private_key_2899589050439515640.key) 00:05:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:05:00 + git semver init 00:05:01 2023-05-09 00:05:01,186 [run_init] DEBUG init version:0.0.0 force:False 00:05:01 2023-05-09 00:05:01,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-347/.semver 00:05:01 2023-05-09 00:05:01,187 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-347/.semver 00:05:01 2023-05-09 00:05:01,187 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-347/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-347, universal_newlines=False, shell=None, istream=None) 00:05:02 2023-05-09 00:05:02,397 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-347/.git/info/exclude 00:05:02 2023-05-09 00:05:02,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 with force:False 00:05:02 2023-05-09 00:05:02,398 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 00:05:02 2023-05-09 00:05:02,403 [execute] INFO git cat-file --batch-check 00:05:02 2023-05-09 00:05:02,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 00:05:02 2023-05-09 00:05:02,411 [execute] INFO git cat-file --batch 00:05:02 2023-05-09 00:05:02,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-347/.semver, universal_newlines=False, shell=None, istream=) 00:05:02 2023-05-09 00:05:02,417 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-347/.semver/PR-347 00:05:02 0.0.0 [Pipeline] } 00:05:02 $ docker exec --env ******** --env ******** c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb ssh-agent -k 00:05:02 unset SSH_AUTH_SOCK; 00:05:02 unset SSH_AGENT_PID; 00:05:02 echo Agent pid 76 killed; 00:05:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:05:03 + git semver [Pipeline] } 00:05:03 $ docker stop --time=1 c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb 00:05:05 $ docker rm -f --volumes c48edd51d1c0a9c6c6d8ae509e4f0e16284dc7881b6d1456ac5d239db9240edb [Pipeline] // withDockerContainer [Pipeline] sh 00:05:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:05:06 Stashed 1 file(s) [Pipeline] echo 00:05:06 [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 00:05:06 provisioning config files... 00:05:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config17877847577944265162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:06 ---> docker-login.sh 00:05:06 nexus3.edgexfoundry.org:10001 00:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:06 Configure a credential helper to remove this warning. See 00:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:06 00:05:06 Login Succeeded 00:05:06 nexus3.edgexfoundry.org:10002 00:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:06 Configure a credential helper to remove this warning. See 00:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:06 00:05:06 Login Succeeded 00:05:06 nexus3.edgexfoundry.org:10003 00:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:06 Configure a credential helper to remove this warning. See 00:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:06 00:05:06 Login Succeeded 00:05:06 nexus3.edgexfoundry.org:10004 00:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:06 Configure a credential helper to remove this warning. See 00:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:06 00:05:06 Login Succeeded 00:05:06 docker.io 00:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:07 Configure a credential helper to remove this warning. See 00:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:07 00:05:07 Login Succeeded 00:05:07 ---> docker-login.sh ends [Pipeline] } 00:05:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:07 ========================================================= 00:05:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:05:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:07 + 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 . 00:05:07 Sending build context to Docker daemon 22MB 00:05:07 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:05:07 Step 2/13 : FROM ${BASE} AS builder 00:05:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:05:07 f56be85fc22e: Pulling fs layer 00:05:07 85791d961cd3: Pulling fs layer 00:05:07 d694b5ae8c79: Pulling fs layer 00:05:07 9f32a84ed3da: Pulling fs layer 00:05:07 9f32a84ed3da: Waiting 00:05:07 4d19c01a9841: Pulling fs layer 00:05:07 9325e15d5711: Pulling fs layer 00:05:07 556b6ee489ea: Pulling fs layer 00:05:07 9325e15d5711: Waiting 00:05:07 c5a4b2cf53e6: Pulling fs layer 00:05:07 556b6ee489ea: Waiting 00:05:07 c5a4b2cf53e6: Waiting 00:05:07 9f32a84ed3da: Verifying Checksum 00:05:07 9f32a84ed3da: Download complete 00:05:07 4d19c01a9841: Download complete 00:05:07 f56be85fc22e: Verifying Checksum 00:05:07 f56be85fc22e: Download complete 00:05:07 9325e15d5711: Verifying Checksum 00:05:07 9325e15d5711: Download complete 00:05:07 f56be85fc22e: Pull complete 00:05:07 85791d961cd3: Pull complete 00:05:08 c5a4b2cf53e6: Verifying Checksum 00:05:08 c5a4b2cf53e6: Download complete 00:05:08 d694b5ae8c79: Verifying Checksum 00:05:08 d694b5ae8c79: Download complete 00:05:08 556b6ee489ea: Verifying Checksum 00:05:08 556b6ee489ea: Download complete 00:05:11 d694b5ae8c79: Pull complete 00:05:11 9f32a84ed3da: Pull complete 00:05:11 4d19c01a9841: Pull complete 00:05:12 9325e15d5711: Pull complete 00:05:14 556b6ee489ea: Pull complete 00:05:15 c5a4b2cf53e6: Pull complete 00:05:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:05:15 ---> c4be618373d6 00:05:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:05:21 Still waiting to schedule task 00:05:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:05:23 ---> Running in 525caa3ffeb5 00:05:23 Removing intermediate container 525caa3ffeb5 00:05:23 ---> 7e639eda6279 00:05:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:05:23 ---> Running in ab9c75744bd2 00:05:24 Removing intermediate container ab9c75744bd2 00:05:24 ---> 869440abb502 00:05:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:05:24 ---> Running in 9daed1edc03c 00:05:24 Removing intermediate container 9daed1edc03c 00:05:24 ---> ed4a22ae2ec2 00:05:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:05:24 ---> Running in 328d78c32799 00:05:24 Removing intermediate container 328d78c32799 00:05:24 ---> 713b0666e8c1 00:05:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:05:25 ---> Running in e9d330852da6 00:05:25 Removing intermediate container e9d330852da6 00:05:25 ---> 8de40ab03159 00:05:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:05:25 ---> Running in 61f078bf8d07 00:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:05:25 OK: 265 MiB in 53 packages 00:05:26 Removing intermediate container 61f078bf8d07 00:05:26 ---> 5a7ba970cb68 00:05:26 Step 9/13 : WORKDIR /device-onvif-camera 00:05:26 ---> Running in 74590673206f 00:05:26 Removing intermediate container 74590673206f 00:05:26 ---> 27bd8510db8c 00:05:26 Step 10/13 : COPY go.mod vendor* ./ 00:05:26 ---> bc8a7960d2bf 00:05:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:05:26 ---> Running in cc9451b9c254 00:06:23 Removing intermediate container cc9451b9c254 00:06:23 ---> 9da2b283a8c4 00:06:23 Step 12/13 : COPY . . 00:06:23 ---> ead1b0b95dac 00:06:23 Step 13/13 : RUN ${MAKE} 00:06:23 ---> Running in 23b750a33da6 00:06:23 noop 00:06:23 Removing intermediate container 23b750a33da6 00:06:23 ---> 6a23eaa661c1 00:06:23 Successfully built 6a23eaa661c1 00:06:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:23 + docker inspect -f . ci-base-image-x86_64 00:06:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:23 prd-ubuntu20.04-docker-8c-8g-14584 does not seem to be running inside a container 00:06:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 00:06:25 $ docker top 01ddddc74b673ef95d8cea0bbb0fe183bfd72295584948b94ddba037dfabae32 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:26 + go version 00:06:26 go version go1.20.2 linux/amd64 [Pipeline] } 00:06:26 $ docker stop --time=1 01ddddc74b673ef95d8cea0bbb0fe183bfd72295584948b94ddba037dfabae32 00:06:28 $ docker rm -f --volumes 01ddddc74b673ef95d8cea0bbb0fe183bfd72295584948b94ddba037dfabae32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:29 + docker inspect -f . ci-base-image-x86_64 00:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:29 prd-ubuntu20.04-docker-8c-8g-14584 does not seem to be running inside a container 00:06:29 $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 00:06:31 $ docker top 0f64e196b0e00b3145a95fc6560eeaaca1784e6088c908cd50880b9553a07205 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:31 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] fileExists [Pipeline] sh 00:06:31 + make test 00:06:31 go test ./... -coverprofile=coverage.out ./... 00:06:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:06:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:06:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:06:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 30.9% of statements 00:06:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.161s coverage: 86.5% of statements 00:07:00 go vet ./... 00:07:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:07:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:07:04 ./bin/test-attribution-txt.sh [Pipeline] echo 00:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:07:04 $ docker stop --time=1 0f64e196b0e00b3145a95fc6560eeaaca1784e6088c908cd50880b9553a07205 00:07:06 $ docker rm -f --volumes 0f64e196b0e00b3145a95fc6560eeaaca1784e6088c908cd50880b9553a07205 [Pipeline] // withDockerContainer [Pipeline] sh 00:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:07:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:07:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:07:07 + ls -al . 00:07:07 total 232 00:07:07 drwxrwxr-x 10 jenkins jenkins 4096 May 9 00:06 . 00:07:07 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:04 .. 00:07:07 drwxrwxr-x 8 jenkins jenkins 4096 May 9 00:05 .git 00:07:07 drwxrwxr-x 3 jenkins jenkins 4096 May 9 00:04 .github 00:07:07 -rw-rw-r-- 1 jenkins jenkins 496 May 9 00:04 .gitignore 00:07:07 -rw-rw-r-- 1 jenkins jenkins 42 May 9 00:04 .golangci.yml 00:07:07 drwxr-xr-x 3 jenkins jenkins 4096 May 9 00:05 .semver 00:07:07 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 00:04 Attribution.txt 00:07:07 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 00:04 CHANGELOG.md 00:07:07 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 00:04 Dockerfile 00:07:07 -rw-rw-r-- 1 jenkins jenkins 677 May 9 00:04 GOVERNANCE.md 00:07:07 -rw-rw-r-- 1 jenkins jenkins 734 May 9 00:04 Jenkinsfile 00:07:07 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 00:04 LICENSE 00:07:07 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 00:04 Makefile 00:07:07 -rw-rw-r-- 1 jenkins jenkins 625 May 9 00:04 OWNERS.md 00:07:07 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 00:04 README.md 00:07:07 -rw-rw-r-- 1 jenkins jenkins 5 May 9 00:05 VERSION 00:07:07 drwxrwxr-x 2 jenkins jenkins 4096 May 9 00:04 bin 00:07:07 drwxrwxr-x 3 jenkins jenkins 4096 May 9 00:04 cmd 00:07:07 -rw-r--r-- 1 jenkins jenkins 79213 May 9 00:06 coverage.out 00:07:07 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:04 doc 00:07:07 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 00:04 go.mod 00:07:07 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 00:04 go.sum 00:07:07 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:04 internal 00:07:07 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:04 snap 00:07:07 -rw-rw-r-- 1 jenkins jenkins 236 May 9 00:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:08 + 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=bf6e08494e3e05911265a2ba15676ec40f322bae --label arch=amd64 --label version=0.0.0 . 00:07:08 Sending build context to Docker daemon 22.08MB 00:07:08 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:07:08 Step 2/26 : FROM ${BASE} AS builder 00:07:08 ---> 6a23eaa661c1 00:07:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:07:09 ---> Running in 1dd58052690f 00:07:09 Removing intermediate container 1dd58052690f 00:07:09 ---> 9c3ff13bc610 00:07:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:07:09 ---> Running in df3817c83fe4 00:07:10 Removing intermediate container df3817c83fe4 00:07:10 ---> 347fc0a790b2 00:07:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:07:10 ---> Running in 6bb8dc04e149 00:07:10 Removing intermediate container 6bb8dc04e149 00:07:10 ---> b4c2d2ed59d9 00:07:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:07:11 ---> Running in 8b5c81118568 00:07:12 Removing intermediate container 8b5c81118568 00:07:12 ---> 5c4b092c6ae3 00:07:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:07:12 ---> Running in c965ab4c9330 00:07:12 Removing intermediate container c965ab4c9330 00:07:12 ---> d3672feb18bd 00:07:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:12 ---> Running in 55edf12d757c 00:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:07:13 OK: 265 MiB in 53 packages 00:07:14 Removing intermediate container 55edf12d757c 00:07:14 ---> 6eb38e535d65 00:07:14 Step 9/26 : WORKDIR /device-onvif-camera 00:07:14 ---> Running in 7813084db81f 00:07:15 Removing intermediate container 7813084db81f 00:07:15 ---> 188a88ff4f7b 00:07:15 Step 10/26 : COPY go.mod vendor* ./ 00:07:15 ---> 6e7af7d2069e 00:07:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:15 ---> Running in 4c2c28807afb 00:07:17 Removing intermediate container 4c2c28807afb 00:07:17 ---> b7380492d871 00:07:17 Step 12/26 : COPY . . 00:07:18 ---> b376ba6b9991 00:07:18 Step 13/26 : RUN ${MAKE} 00:07:18 ---> Running in 893e484f79a3 00:07:19 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 00:07:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14586 in /w/workspace/undry_device-onvif-camera_PR-347 [Pipeline] { [Pipeline] ws 00:07:38 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 00:07:38 The recommended git tool is: git 00:07:45 using credential edgex-jenkins-ssh 00:07:45 Cloning the remote Git repository 00:07:46 Removing intermediate container 893e484f79a3 00:07:46 ---> da9c04c335c3 00:07:46 Step 14/26 : FROM alpine:3.17 00:07:46 3.17: Pulling from library/alpine 00:07:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:07:45 > git init /w/workspace/device-onvif-camera/3 # timeout=10 00:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:07:45 > git --version # timeout=10 00:07:45 > git --version # 'git version 2.25.1' 00:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:46 f56be85fc22e: Already exists 00:07:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:07:46 Status: Downloaded newer image for alpine:3.17 00:07:46 ---> 9ed4aefc74f6 00:07:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:07:46 ---> Running in 0b29e98f9340 00:07:47 Removing intermediate container 0b29e98f9340 00:07:47 ---> 75d0d8a521d6 00:07:47 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:07:47 ---> Running in 460481dd83f3 00:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:07:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:07:48 (1/1) Installing dumb-init (1.2.5-r2) 00:07:48 Executing busybox-1.35.0-r29.trigger 00:07:48 OK: 7 MiB in 16 packages 00:07:48 Removing intermediate container 460481dd83f3 00:07:48 ---> 3b42b7d47b91 00:07:48 Step 17/26 : WORKDIR / 00:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:07:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:07:48 ---> Running in d3ffb70ca26e 00:07:48 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit bf6e08494e3e05911265a2ba15676ec40f322bae 00:07:49 Merge succeeded, producing bf6e08494e3e05911265a2ba15676ec40f322bae 00:07:49 Checking out Revision bf6e08494e3e05911265a2ba15676ec40f322bae (PR-347) 00:07:49 Removing intermediate container d3ffb70ca26e 00:07:49 ---> 7aa2558fb26d 00:07:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:07:48 > git config core.sparsecheckout # timeout=10 00:07:49 > git checkout -f bf6e08494e3e05911265a2ba15676ec40f322bae # timeout=10 00:07:49 > git remote # timeout=10 00:07:49 > git config --get remote.origin.url # timeout=10 00:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:49 > git merge b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 00:07:49 > git rev-parse HEAD^{commit} # timeout=10 00:07:49 > git config core.sparsecheckout # timeout=10 00:07:49 > git checkout -f bf6e08494e3e05911265a2ba15676ec40f322bae # timeout=10 00:07:50 ---> 000bf9a7d0a7 00:07:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:07:51 ---> d0572429ede0 00:07:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:07:51 ---> 87dbe29fd454 00:07:51 Step 21/26 : EXPOSE 59984 00:07:51 ---> Running in 17ce02cd9085 00:07:51 Removing intermediate container 17ce02cd9085 00:07:51 ---> bd1aa00f9f79 00:07:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:07:51 ---> Running in a61acad62cc1 00:07:52 Removing intermediate container a61acad62cc1 00:07:52 ---> c05c63279a91 00:07:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:07:52 ---> Running in 56ea9623d711 00:07:53 Removing intermediate container 56ea9623d711 00:07:53 ---> fe4a7f8c3aa9 00:07:53 Step 24/26 : LABEL arch=amd64 00:07:53 ---> Running in 79031ee97099 00:07:53 Commit message: "fix: update matrix parsing logic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:07:53 Removing intermediate container 79031ee97099 00:07:53 ---> ce9fc8687be6 00:07:53 Step 25/26 : LABEL git_sha=bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:53 ---> Running in fb71398dba81 00:07:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:07:54 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:54 Dload Upload Total Spent Left Speed 00:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k 00:07:54 Removing intermediate container fb71398dba81 00:07:54 ---> d6f08322aab2 00:07:54 Step 26/26 : LABEL version=0.0.0 00:07:54 ---> Running in f8adc46095ec [Pipeline] sh 00:07:54 Removing intermediate container f8adc46095ec 00:07:54 ---> 41275f0c3dee 00:07:54 [Warning] One or more build-args [ARCH] were not consumed 00:07:54 Successfully built 41275f0c3dee 00:07:54 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] { 00:07:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 00:07:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:07:55 + sudo tee /etc/docker/daemon.new 00:07:55 { 00:07:55 "registry-mirrors": [ 00:07:55 "https://nexus3.edgexfoundry.org:10001" 00:07:55 ], 00:07:55 "bip": "10.250.0.254/24", 00:07:55 "hosts": [ 00:07:55 "tcp://0.0.0.0:5555", 00:07:55 "unix:///var/run/docker.sock" 00:07:55 ], 00:07:55 "mtu": 1458, 00:07:55 "selinux-enabled": true, 00:07:55 "seccomp-profile": "/etc/docker/seccomp.json" 00:07:55 } [Pipeline] sh 00:07:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:55 00:07:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:07:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:55 latest: Pulling from edgex-lftools-log-publisher 00:07:55 5eb5b503b376: Pulling fs layer 00:07:55 5c69ac0246d0: Pulling fs layer 00:07:55 ec43610c2a17: Pulling fs layer 00:07:55 3a2ae6a8a46f: Pulling fs layer 00:07:55 33b1e0a273af: Pulling fs layer 00:07:55 5d3b04190fa2: Pulling fs layer 00:07:55 2f39f015ded8: Pulling fs layer 00:07:55 3a2ae6a8a46f: Waiting 00:07:55 33b1e0a273af: Waiting 00:07:55 5d3b04190fa2: Waiting 00:07:55 2f39f015ded8: Waiting 00:07:55 5c69ac0246d0: Verifying Checksum 00:07:55 5c69ac0246d0: Download complete 00:07:55 3a2ae6a8a46f: Download complete 00:07:55 ec43610c2a17: Verifying Checksum 00:07:55 ec43610c2a17: Download complete 00:07:55 33b1e0a273af: Verifying Checksum 00:07:55 33b1e0a273af: Download complete 00:07:55 5d3b04190fa2: Verifying Checksum 00:07:55 5d3b04190fa2: Download complete 00:07:55 + sudo service docker restart 00:07:56 5eb5b503b376: Verifying Checksum 00:07:56 5eb5b503b376: Download complete 00:07:56 2f39f015ded8: Download complete 00:07:57 5eb5b503b376: Pull complete 00:07:58 5c69ac0246d0: Pull complete 00:07:58 ec43610c2a17: Pull complete 00:07:59 3a2ae6a8a46f: Pull complete 00:07:59 33b1e0a273af: Pull complete 00:07:59 5d3b04190fa2: Pull complete 00:08:05 2f39f015ded8: Pull complete 00:08:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:05 prd-ubuntu20.04-docker-8c-8g-14584 does not seem to be running inside a container 00:08:05 $ 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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 00:08:13 $ docker top 06f77b58b71480b54b0b8fadc49eec7bcba382ddc35efa84ecfd934bbc618fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:13 ---> job-cost.sh 00:08:13 lf-activate-venv: SKIPPING 00:08:13 INFO: No Stack... 00:08:14 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:14 provisioning config files... 00:08:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config2918915666440762664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:14 INFO: Archiving Costs [Pipeline] sh 00:08:14 ---> docker-login.sh 00:08:14 nexus3.edgexfoundry.org:10001 00:08:14 + cat /w/workspace/undry_device-onvif-camera_PR-347/archives/cost.csv 00:08:14 + cut -d, -f6 [Pipeline] lock 00:08:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] 00:08:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] did not exist. Created. 00:08:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:08:14 + echo total: 0.2199999988079071 [Pipeline] stash 00:08:14 Stashed 1 file(s) [Pipeline] } 00:08:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:14 $ docker stop --time=1 06f77b58b71480b54b0b8fadc49eec7bcba382ddc35efa84ecfd934bbc618fcd 00:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:15 Configure a credential helper to remove this warning. See 00:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:15 00:08:15 Login Succeeded 00:08:15 nexus3.edgexfoundry.org:10002 00:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:15 Configure a credential helper to remove this warning. See 00:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:15 00:08:15 Login Succeeded 00:08:15 nexus3.edgexfoundry.org:10003 00:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:15 Configure a credential helper to remove this warning. See 00:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:15 00:08:15 Login Succeeded 00:08:15 nexus3.edgexfoundry.org:10004 00:08:16 $ docker rm -f --volumes 06f77b58b71480b54b0b8fadc49eec7bcba382ddc35efa84ecfd934bbc618fcd 00:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:16 Configure a credential helper to remove this warning. See 00:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:16 00:08:16 Login Succeeded 00:08:16 docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:16 Configure a credential helper to remove this warning. See 00:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:16 00:08:16 Login Succeeded 00:08:16 ---> docker-login.sh ends [Pipeline] } 00:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:17 ========================================================= 00:08:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:08:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:17 + 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 . 00:08:18 Sending build context to Docker daemon 14.65MB 00:08:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:08:18 Step 2/13 : FROM ${BASE} AS builder 00:08:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:08:18 c41833b44d91: Pulling fs layer 00:08:18 ed15518f5707: Pulling fs layer 00:08:18 feae8fd75edb: Pulling fs layer 00:08:18 242c74f7c9fa: Pulling fs layer 00:08:18 3cdef696dda3: Pulling fs layer 00:08:18 2ced38df9373: Pulling fs layer 00:08:18 58f1dce35555: Pulling fs layer 00:08:18 3cdef696dda3: Waiting 00:08:18 2ced38df9373: Waiting 00:08:18 58f1dce35555: Waiting 00:08:18 242c74f7c9fa: Waiting 00:08:18 ed15518f5707: Verifying Checksum 00:08:18 ed15518f5707: Download complete 00:08:18 242c74f7c9fa: Verifying Checksum 00:08:18 242c74f7c9fa: Download complete 00:08:18 3cdef696dda3: Verifying Checksum 00:08:18 3cdef696dda3: Download complete 00:08:18 c41833b44d91: Download complete 00:08:19 c41833b44d91: Pull complete 00:08:19 58f1dce35555: Verifying Checksum 00:08:19 58f1dce35555: Download complete 00:08:19 ed15518f5707: Pull complete 00:08:20 feae8fd75edb: Verifying Checksum 00:08:20 feae8fd75edb: Download complete 00:08:21 2ced38df9373: Verifying Checksum 00:08:21 2ced38df9373: Download complete 00:08:33 feae8fd75edb: Pull complete 00:08:33 242c74f7c9fa: Pull complete 00:08:33 3cdef696dda3: Pull complete 00:08:39 2ced38df9373: Pull complete 00:08:41 58f1dce35555: Pull complete 00:08:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:08:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:08:41 ---> fadd8f120f05 00:08:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:08:43 ---> Running in 8a15818c7885 00:08:43 Removing intermediate container 8a15818c7885 00:08:43 ---> 63d0a382cb85 00:08:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:08:43 ---> Running in 792ca460c994 00:08:43 Removing intermediate container 792ca460c994 00:08:43 ---> 817958ce1d80 00:08:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:08:44 ---> Running in 28ed54588e24 00:08:44 Removing intermediate container 28ed54588e24 00:08:44 ---> abdf203eebfd 00:08:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:08:44 ---> Running in 97b431e6aa6d 00:08:44 Removing intermediate container 97b431e6aa6d 00:08:44 ---> bdb87cefa337 00:08:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:08:44 ---> Running in c36b51c0e555 00:08:45 Removing intermediate container c36b51c0e555 00:08:45 ---> 6b48f3805fd0 00:08:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:08:45 ---> Running in 0bd894ec0728 00:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:08:47 OK: 263 MiB in 53 packages 00:08:50 Removing intermediate container 0bd894ec0728 00:08:50 ---> 8d7eaa012832 00:08:50 Step 9/13 : WORKDIR /device-onvif-camera 00:08:50 ---> Running in 2502bd9e5883 00:08:50 Removing intermediate container 2502bd9e5883 00:08:50 ---> e931b9d23b2f 00:08:50 Step 10/13 : COPY go.mod vendor* ./ 00:08:51 ---> ec9a0515b4b4 00:08:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:08:51 ---> Running in f03fd3d08aad 00:09:59 Removing intermediate container f03fd3d08aad 00:09:59 ---> 24744d372158 00:09:59 Step 12/13 : COPY . . 00:09:59 ---> 340921ba62a4 00:09:59 Step 13/13 : RUN ${MAKE} 00:09:59 ---> Running in 0d0ba8a98fe6 00:09:59 noop 00:09:59 Removing intermediate container 0d0ba8a98fe6 00:09:59 ---> b0c2d36c91f8 00:09:59 Successfully built b0c2d36c91f8 00:09:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:59 + docker inspect -f . ci-base-image-arm64 00:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:00 prd-ubuntu20.04-docker-arm64-4c-16g-14586 does not seem to be running inside a container 00:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:10:01 $ docker top 59d3f2a1456b95f101ceefd586c56f2b5bb6043813310a667728deda611fa985 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:02 + go version 00:10:02 go version go1.20.2 linux/arm64 [Pipeline] } 00:10:02 $ docker stop --time=1 59d3f2a1456b95f101ceefd586c56f2b5bb6043813310a667728deda611fa985 00:10:03 $ docker rm -f --volumes 59d3f2a1456b95f101ceefd586c56f2b5bb6043813310a667728deda611fa985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:04 + docker inspect -f . ci-base-image-arm64 00:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:04 prd-ubuntu20.04-docker-arm64-4c-16g-14586 does not seem to be running inside a container 00:10:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:10:05 $ docker top 9357b0c06e8fd3331546af74c3640cf277158ccab4f764d6c6db152d46a9875e -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 00:10:06 + make test 00:10:07 go test ./... -coverprofile=coverage.out ./... 00:10:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:13:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:13:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:13:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 30.9% of statements 00:13:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.133s coverage: 86.5% of statements 00:13:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:13:21 go vet ./... 00:13:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:47 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:47 $ docker stop --time=1 9357b0c06e8fd3331546af74c3640cf277158ccab4f764d6c6db152d46a9875e 00:13:49 $ docker rm -f --volumes 9357b0c06e8fd3331546af74c3640cf277158ccab4f764d6c6db152d46a9875e [Pipeline] // withDockerContainer [Pipeline] sh 00:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:13:50 Warning: overwriting stash ‘coverage-report’ 00:13:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:13:52 + ls -al . 00:13:52 total 228 00:13:52 drwxrwxr-x 9 jenkins jenkins 4096 May 9 00:10 . 00:13:52 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:07 .. 00:13:52 drwxrwxr-x 8 jenkins jenkins 4096 May 9 00:07 .git 00:13:52 drwxrwxr-x 3 jenkins jenkins 4096 May 9 00:07 .github 00:13:52 -rw-rw-r-- 1 jenkins jenkins 496 May 9 00:07 .gitignore 00:13:52 -rw-rw-r-- 1 jenkins jenkins 42 May 9 00:07 .golangci.yml 00:13:52 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 00:07 Attribution.txt 00:13:52 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 00:07 CHANGELOG.md 00:13:52 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 00:07 Dockerfile 00:13:52 -rw-rw-r-- 1 jenkins jenkins 677 May 9 00:07 GOVERNANCE.md 00:13:52 -rw-rw-r-- 1 jenkins jenkins 734 May 9 00:07 Jenkinsfile 00:13:52 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 00:07 LICENSE 00:13:52 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 00:07 Makefile 00:13:52 -rw-rw-r-- 1 jenkins jenkins 625 May 9 00:07 OWNERS.md 00:13:52 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 00:07 README.md 00:13:52 -rw-rw-r-- 1 jenkins jenkins 5 May 9 00:05 VERSION 00:13:52 drwxrwxr-x 2 jenkins jenkins 4096 May 9 00:07 bin 00:13:52 drwxrwxr-x 3 jenkins jenkins 4096 May 9 00:07 cmd 00:13:52 -rw-r--r-- 1 jenkins jenkins 79213 May 9 00:13 coverage.out 00:13:52 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:07 doc 00:13:52 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 00:07 go.mod 00:13:52 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 00:07 go.sum 00:13:52 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:07 internal 00:13:52 drwxrwxr-x 4 jenkins jenkins 4096 May 9 00:07 snap 00:13:52 -rw-rw-r-- 1 jenkins jenkins 236 May 9 00:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:52 + 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=bf6e08494e3e05911265a2ba15676ec40f322bae --label arch=arm64 --label version=0.0.0 . 00:13:52 Sending build context to Docker daemon 14.73MB 00:13:52 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:13:52 Step 2/26 : FROM ${BASE} AS builder 00:13:52 ---> b0c2d36c91f8 00:13:52 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:13:52 ---> Running in 63df34f99e01 00:13:53 Removing intermediate container 63df34f99e01 00:13:53 ---> 00bf19f3b453 00:13:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:53 ---> Running in 3a3891930634 00:13:53 Removing intermediate container 3a3891930634 00:13:53 ---> 8caff326fa71 00:13:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:13:53 ---> Running in 1d7f995eeb17 00:13:54 Removing intermediate container 1d7f995eeb17 00:13:54 ---> 792b2115fc7b 00:13:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:13:54 ---> Running in d4bdb2235d18 00:13:54 Removing intermediate container d4bdb2235d18 00:13:54 ---> e32c0e58cb26 00:13:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:13:54 ---> Running in 7a9c0a7b0d91 00:13:54 Removing intermediate container 7a9c0a7b0d91 00:13:54 ---> 0649329cff2a 00:13:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:54 ---> Running in 6c9181ef464c 00:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:13:57 OK: 263 MiB in 53 packages 00:13:58 Removing intermediate container 6c9181ef464c 00:13:58 ---> 64f9fc92b159 00:13:58 Step 9/26 : WORKDIR /device-onvif-camera 00:13:58 ---> Running in c147358050da 00:13:58 Removing intermediate container c147358050da 00:13:58 ---> 0c998dc4ea2e 00:13:58 Step 10/26 : COPY go.mod vendor* ./ 00:13:59 ---> b1022c8ef640 00:13:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:59 ---> Running in 1b05298b6e50 00:14:01 Removing intermediate container 1b05298b6e50 00:14:01 ---> a932fd7c349a 00:14:01 Step 12/26 : COPY . . 00:14:03 ---> bafdda86417d 00:14:03 Step 13/26 : RUN ${MAKE} 00:14:03 ---> Running in cd75692ac013 00:14:04 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 00:16:26 Removing intermediate container cd75692ac013 00:16:26 ---> 509e3f690a89 00:16:26 Step 14/26 : FROM alpine:3.17 00:16:26 3.17: Pulling from library/alpine 00:16:26 c41833b44d91: Already exists 00:16:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:16:26 Status: Downloaded newer image for alpine:3.17 00:16:26 ---> 51e60588ff2c 00:16:26 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:16:26 ---> Running in 92a45daca705 00:16:26 Removing intermediate container 92a45daca705 00:16:26 ---> 8babba03472f 00:16:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:16:26 ---> Running in 7897c87e3c95 00:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:16:26 (1/1) Installing dumb-init (1.2.5-r2) 00:16:26 Executing busybox-1.35.0-r29.trigger 00:16:26 OK: 8 MiB in 16 packages 00:16:26 Removing intermediate container 7897c87e3c95 00:16:26 ---> a4ad7b291918 00:16:26 Step 17/26 : WORKDIR / 00:16:26 ---> Running in c0d2f562ea62 00:16:26 Removing intermediate container c0d2f562ea62 00:16:26 ---> d6b9f1b20682 00:16:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:16:26 ---> ece75f880e0b 00:16:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:16:26 ---> 0772d17cd597 00:16:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:16:26 ---> c2a02ecf2e81 00:16:26 Step 21/26 : EXPOSE 59984 00:16:26 ---> Running in 9c16ebb9b093 00:16:26 Removing intermediate container 9c16ebb9b093 00:16:26 ---> abf83d9308fe 00:16:26 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:16:26 ---> Running in 617a3e1478a2 00:16:26 Removing intermediate container 617a3e1478a2 00:16:26 ---> 9ed7517a6adc 00:16:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:16:26 ---> Running in 91ba7dcde17f 00:16:26 Removing intermediate container 91ba7dcde17f 00:16:26 ---> de3dc83207c5 00:16:26 Step 24/26 : LABEL arch=arm64 00:16:26 ---> Running in 74245225ea1c 00:16:26 Removing intermediate container 74245225ea1c 00:16:26 ---> 0fd03784a54d 00:16:26 Step 25/26 : LABEL git_sha=bf6e08494e3e05911265a2ba15676ec40f322bae 00:16:26 ---> Running in b320819af96c 00:16:27 Removing intermediate container b320819af96c 00:16:27 ---> 7eba2151ec1d 00:16:27 Step 26/26 : LABEL version=0.0.0 00:16:27 ---> Running in c927190a41e9 00:16:27 Removing intermediate container c927190a41e9 00:16:27 ---> 90460999726d 00:16:27 [Warning] One or more build-args [ARCH] were not consumed 00:16:27 Successfully built 90460999726d 00:16:27 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 00:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:16:28 00:16:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:16:28 arm64: Pulling from edgex-lftools-log-publisher 00:16:28 8998bd30e6a1: Pulling fs layer 00:16:28 04944245beec: Pulling fs layer 00:16:28 699f458cf7ca: Pulling fs layer 00:16:28 765212b225bb: Pulling fs layer 00:16:28 f23df028b6ca: Pulling fs layer 00:16:28 d65c8cfc05b1: Pulling fs layer 00:16:28 2437ff75d9bd: Pulling fs layer 00:16:28 765212b225bb: Waiting 00:16:28 f23df028b6ca: Waiting 00:16:28 d65c8cfc05b1: Waiting 00:16:28 2437ff75d9bd: Waiting 00:16:28 04944245beec: Verifying Checksum 00:16:28 04944245beec: Download complete 00:16:28 765212b225bb: Verifying Checksum 00:16:28 765212b225bb: Download complete 00:16:28 f23df028b6ca: Download complete 00:16:28 d65c8cfc05b1: Verifying Checksum 00:16:28 d65c8cfc05b1: Download complete 00:16:29 699f458cf7ca: Verifying Checksum 00:16:29 699f458cf7ca: Download complete 00:16:29 8998bd30e6a1: Download complete 00:16:31 2437ff75d9bd: Verifying Checksum 00:16:31 2437ff75d9bd: Download complete 00:16:33 8998bd30e6a1: Pull complete 00:16:33 04944245beec: Pull complete 00:16:35 699f458cf7ca: Pull complete 00:16:35 765212b225bb: Pull complete 00:16:35 f23df028b6ca: Pull complete 00:16:35 d65c8cfc05b1: Pull complete 00:16:51 2437ff75d9bd: Pull complete 00:16:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:16:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:51 prd-ubuntu20.04-docker-arm64-4c-16g-14586 does not seem to be running inside a container 00:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:16:53 $ docker top 311ff28549e15e3b7a02aca264516d76537a289a0102906e0b0055a0d28ba6e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:54 ---> job-cost.sh 00:16:54 lf-activate-venv: SKIPPING 00:16:54 INFO: No Stack... 00:16:55 INFO: Retrieving Pricing Info for: v3-standard-4 00:16:55 INFO: Archiving Costs [Pipeline] sh 00:16:56 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 00:16:56 + cut -d, -f6 [Pipeline] lock 00:16:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] 00:16:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] did not exist. Created. 00:16:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:56 /w/workspace/device-onvif-camera/3@tmp/durable-254e48d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:16:56 + echo total: 0.10999999940395355 [Pipeline] stash 00:16:56 Warning: overwriting stash ‘stack-cost’ 00:16:56 Stashed 1 file(s) [Pipeline] } 00:16:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-347-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:16:56 $ docker stop --time=1 311ff28549e15e3b7a02aca264516d76537a289a0102906e0b0055a0d28ba6e1 00:16:59 $ docker rm -f --volumes 311ff28549e15e3b7a02aca264516d76537a289a0102906e0b0055a0d28ba6e1 [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 00:17:00 provisioning config files... 00:17:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config10893795791008984933tmp [Pipeline] { [Pipeline] sh 00:17:00 + set +x 00:17:00 + curl -s https://codecov.io/bash 00:17:00 + bash -s -- 00:17:00 00:17:00 _____ _ 00:17:00 / ____| | | 00:17:00 | | ___ __| | ___ ___ _____ __ 00:17:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:17:00 | |___| (_) | (_| | __/ (_| (_) \ V / 00:17:00 \_____\___/ \__,_|\___|\___\___/ \_/ 00:17:00 Bash-1.0.6 00:17:00 00:17:00 00:17:00 ==> git version 2.25.1 found 00:17:00 ==> 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 00:17:00 Release-Date: 2020-01-08 00:17:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:17:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:17:00 ==> Jenkins CI detected. 00:17:00 current dir:  /w/workspace/undry_device-onvif-camera_PR-347 00:17:00 project root: . 00:17:00 --> token set from env 00:17:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:17:00 ==> Running gcov in . (disable via -X gcov) 00:17:00 ==> Python coveragepy not found 00:17:00 ==> Searching for coverage reports in: 00:17:00 + . 00:17:00 -> Found 1 reports 00:17:00 ==> Detecting git/mercurial file structure 00:17:00 ==> Reading reports 00:17:00 + ./coverage.out bytes=79213 00:17:00 ==> Appending adjustments 00:17:00 https://docs.codecov.io/docs/fixing-reports 00:17:00 + Found adjustments 00:17:00 ==> Gzipping contents 00:17:00 12K /tmp/codecov.I1fMju.gz 00:17:00 ==> Uploading reports 00:17:00 url: https://codecov.io 00:17:00 query: branch=PR-347&commit=bf6e08494e3e05911265a2ba15676ec40f322bae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 00:17:00 -> Pinging Codecov 00:17:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-347&commit=bf6e08494e3e05911265a2ba15676ec40f322bae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-347%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=347&job=&cmd_args= 00:17:00 -> Uploading to 00:17:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/bf6e08494e3e05911265a2ba15676ec40f322bae/1a91092a-8ea6-4367-a066-474f190a1240.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T001700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7c7aa981b0dc00b3e62edabbd411dfa2a25db9804937580162c1604d761ea56 00:17:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:17:00 Dload Upload Total Spent Left Speed 00:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 47877 --:--:-- --:--:-- --:--:-- 47662 100 10581 0 0 100 10581 0 42155 --:--:-- --:--:-- --:--:-- 41988 00:17:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/bf6e08494e3e05911265a2ba15676ec40f322bae [Pipeline] } 00:17:01 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 00:17:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-347/archives ] 00:17:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 00:17:01 total 16 00:17:01 drwxr-xr-x 3 root root 4096 May 9 00:08 . 00:17:01 drwxrwxr-x 11 jenkins jenkins 4096 May 9 00:08 .. 00:17:01 drwxr-xr-x 2 root root 4096 May 9 00:08 cost 00:17:01 -rw-r--r-- 1 root root 91 May 9 00:08 cost.csv 00:17:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-347/archives 00:17:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-347/archives 00:17:01 total 16 00:17:01 drwxr-xr-x 3 jenkins jenkins 4096 May 9 00:08 . 00:17:01 drwxrwxr-x 11 jenkins jenkins 4096 May 9 00:08 .. 00:17:01 drwxr-xr-x 2 jenkins jenkins 4096 May 9 00:08 cost 00:17:01 -rw-r--r-- 1 jenkins jenkins 91 May 9 00:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:17:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:17:03 ---> package-listing.sh 00:17:03 ++ facter osfamily 00:17:03 ++ tr '[:upper:]' '[:lower:]' 00:17:03 + OS_FAMILY=debian 00:17:03 + workspace=/w/workspace/undry_device-onvif-camera_PR-347 00:17:03 + START_PACKAGES=/tmp/packages_start.txt 00:17:03 + END_PACKAGES=/tmp/packages_end.txt 00:17:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:17:03 + PACKAGES=/tmp/packages_start.txt 00:17:03 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 00:17:03 + PACKAGES=/tmp/packages_end.txt 00:17:03 + case "${OS_FAMILY}" in 00:17:03 + dpkg -l 00:17:03 + grep '^ii' 00:17:03 + '[' -f /tmp/packages_start.txt ']' 00:17:03 + '[' -f /tmp/packages_end.txt ']' 00:17:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:17:03 + '[' /w/workspace/undry_device-onvif-camera_PR-347 ']' 00:17:03 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-347/archives/ 00:17:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-347/archives/ [Pipeline] echo 00:17:03 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:17:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:04 prd-ubuntu20.04-docker-8c-8g-14584 does not seem to be running inside a container 00:17:04 $ 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-347/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-347 -v /w/workspace/undry_device-onvif-camera_PR-347:/w/workspace/undry_device-onvif-camera_PR-347:rw,z -v /w/workspace/undry_device-onvif-camera_PR-347@tmp:/w/workspace/undry_device-onvif-camera_PR-347@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 00:17:05 $ docker top 943c0aee112f737ddb6e3455a69bc4ef9276bd72f70a3a8e3888c3605dffd002 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:05 + touch /tmp/pre-build-complete [Pipeline] sh 00:17:05 + mkdir -p /var/log/sysstat [Pipeline] sh 00:17:05 + ls /var/log/sa-host 00:17:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:17:06 provisioning config files... 00:17:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-347@tmp/config12752111981735585242tmp [Pipeline] { [Pipeline] echo 00:17:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:17:06 ---> create-netrc.sh [Pipeline] } 00:17:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:17:06 ---> python-tools-install.sh [Pipeline] echo 00:17:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:17:06 ---> sudo-logs.sh 00:17:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:17:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:17:07 ---> job-cost.sh 00:17:07 lf-activate-venv: SKIPPING 00:17:07 DEBUG: total: 0.2199999988079071 00:17:07 INFO: Retrieving Stack Cost... 00:17:07 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:08 INFO: Archiving Costs [Pipeline] echo 00:17:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:17:08 ---> logs-deploy.sh 00:17:08 lf-activate-venv: SKIPPING 00:17:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-347/3 00:17:08 INFO: archiving workspace using pattern(s): 00:17:09 Archives upload complete. 00:17:09 INFO: archiving logs to Nexus