Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than 32c3cd5b4d63b08076b589c99c51a2e248e6b83f Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14267390390869340292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1755907729380757726.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8598690779265959688.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6990259882959702889.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4594516575605512407.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-5293 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-281 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 32c3cd5b4d63b08076b589c99c51a2e248e6b83f Merge succeeded, producing 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 Checking out Revision 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 32c3cd5b4d63b08076b589c99c51a2e248e6b83f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:21:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:21:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:21:13 ========================================================= 21:21:13 EdgeX Global Pipelines Version Info 21:21:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 454bb8809c70651e487a1a798886b44a9cbdbd45 # timeout=10 21:21:14 ------------------- 21:21:14 stable info: 21:21:14 ------------------- 21:21:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:21:14 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:21:14 Message: update stable to v1.0.245 21:21:14 ------------------- 21:21:14 experimental info: 21:21:14 ------------------- 21:21:14 Commited By: **** collab-it+edgex@linuxfoundation.org 21:21:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:21:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65cdc23 [Pipeline] echo 21:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:15 provisioning config files... 21:21:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config11749997737227702291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:15 ---> docker-login.sh 21:21:15 nexus3.edgexfoundry.org:10001 21:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:16 Configure a credential helper to remove this warning. See 21:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:16 21:21:16 Login Succeeded 21:21:16 nexus3.edgexfoundry.org:10002 21:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:16 Configure a credential helper to remove this warning. See 21:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:16 21:21:16 Login Succeeded 21:21:16 nexus3.edgexfoundry.org:10003 21:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:16 Configure a credential helper to remove this warning. See 21:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:16 21:21:16 Login Succeeded 21:21:16 nexus3.edgexfoundry.org:10004 21:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:16 Configure a credential helper to remove this warning. See 21:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:16 21:21:16 Login Succeeded 21:21:16 docker.io 21:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:16 Configure a credential helper to remove this warning. See 21:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:16 21:21:16 Login Succeeded 21:21:16 ---> docker-login.sh ends [Pipeline] } 21:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:21:17 + git rev-list -1 --merges 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19~1..65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [Pipeline] echo 21:21:17 -----------> git rev-list -1 --merges 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19~1..65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 21:21:17 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [false] [Pipeline] sh 21:21:17 + git log --format=format:%s -1 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [Pipeline] echo 21:21:17 ========================================================= 21:21:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:21:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:17 + git log --format=format:%s -1 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [Pipeline] echo 21:21:17 [semverPrep] GIT_COMMIT: 65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 21:21:17 [semverPrep] This is not a build commit. [Pipeline] sh 21:21:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:21:18 + grep -v github /etc/ssh/ssh_known_hosts 21:21:18 + [ -e /tmp/ssh_known_hosts ] 21:21:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:21:18 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 21:21:18 tee -a /etc/ssh/ssh_known_hosts 21:21:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:18 21:21:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:19 0.1.4: Pulling from edgex-devops/py-git-semver 21:21:19 b85a868b505f: Pulling fs layer 21:21:19 e2be974225ed: Pulling fs layer 21:21:19 339a4e72a1f5: Pulling fs layer 21:21:19 988bab9f4d93: Pulling fs layer 21:21:19 1469e6f7b9e6: Pulling fs layer 21:21:19 eaf3925da568: Pulling fs layer 21:21:19 bab4dde63d76: Pulling fs layer 21:21:19 bde34c3a00c8: Pulling fs layer 21:21:19 b352a97aabf1: Pulling fs layer 21:21:19 4872d77fe225: Pulling fs layer 21:21:19 5851b861e8e6: Pulling fs layer 21:21:19 1469e6f7b9e6: Waiting 21:21:19 eaf3925da568: Waiting 21:21:19 bab4dde63d76: Waiting 21:21:19 bde34c3a00c8: Waiting 21:21:19 b352a97aabf1: Waiting 21:21:19 4872d77fe225: Waiting 21:21:19 5851b861e8e6: Waiting 21:21:19 988bab9f4d93: Waiting 21:21:19 e2be974225ed: Verifying Checksum 21:21:19 e2be974225ed: Download complete 21:21:19 988bab9f4d93: Download complete 21:21:19 1469e6f7b9e6: Verifying Checksum 21:21:19 1469e6f7b9e6: Download complete 21:21:19 eaf3925da568: Verifying Checksum 21:21:19 eaf3925da568: Download complete 21:21:19 339a4e72a1f5: Verifying Checksum 21:21:19 339a4e72a1f5: Download complete 21:21:19 bde34c3a00c8: Verifying Checksum 21:21:19 bde34c3a00c8: Download complete 21:21:19 b352a97aabf1: Download complete 21:21:19 4872d77fe225: Verifying Checksum 21:21:19 4872d77fe225: Download complete 21:21:19 5851b861e8e6: Verifying Checksum 21:21:19 5851b861e8e6: Download complete 21:21:19 b85a868b505f: Download complete 21:21:19 bab4dde63d76: Verifying Checksum 21:21:19 bab4dde63d76: Download complete 21:21:20 b85a868b505f: Pull complete 21:21:20 e2be974225ed: Pull complete 21:21:21 339a4e72a1f5: Pull complete 21:21:21 988bab9f4d93: Pull complete 21:21:21 1469e6f7b9e6: Pull complete 21:21:21 eaf3925da568: Pull complete 21:21:23 bab4dde63d76: Pull complete 21:21:23 bde34c3a00c8: Pull complete 21:21:23 b352a97aabf1: Pull complete 21:21:24 4872d77fe225: Pull complete 21:21:24 5851b861e8e6: Pull complete 21:21:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:24 prd-ubuntu20.04-docker-8c-8g-5293 does not seem to be running inside a container 21:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:21:26 $ docker top 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 -eo pid,comm 21:21:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:21:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:21:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:26 [ssh-agent] Looking for ssh-agent implementation... 21:21:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:26 $ docker exec 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 ssh-agent 21:21:26 SSH_AUTH_SOCK=/tmp/ssh-oyuUiQtE15Ej/agent.32 21:21:26 SSH_AGENT_PID=39 21:21:26 Running ssh-add (command line suppressed) 21:21:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_8991652080258067343.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_8991652080258067343.key) 21:21:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:26 + git tag --points-at HEAD [Pipeline] } 21:21:26 $ docker exec --env ******** --env ******** 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 ssh-agent -k 21:21:27 unset SSH_AUTH_SOCK; 21:21:27 unset SSH_AGENT_PID; 21:21:27 echo Agent pid 39 killed; 21:21:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:21:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:27 [ssh-agent] Looking for ssh-agent implementation... 21:21:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:27 $ docker exec 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 ssh-agent 21:21:27 SSH_AUTH_SOCK=/tmp/ssh-voaKO5UcveO9/agent.71 21:21:27 SSH_AGENT_PID=77 21:21:27 Running ssh-add (command line suppressed) 21:21:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_14610017156306755106.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_14610017156306755106.key) 21:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:27 + git semver init 21:21:27 2023-03-22 21:21:27,925 [run_init] DEBUG init version:0.0.0 force:False 21:21:27 2023-03-22 21:21:27,926 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 21:21:27 2023-03-22 21:21:27,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 21:21:27 2023-03-22 21:21:27,926 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) 21:21:28 2023-03-22 21:21:28,847 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 21:21:28 2023-03-22 21:21:28,847 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 21:21:28 2023-03-22 21:21:28,847 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 21:21:28 2023-03-22 21:21:28,852 [execute] INFO git cat-file --batch-check 21:21:28 2023-03-22 21:21:28,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 21:21:28 2023-03-22 21:21:28,859 [execute] INFO git cat-file --batch 21:21:28 2023-03-22 21:21:28,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 21:21:28 2023-03-22 21:21:28,866 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 21:21:28 0.0.0 [Pipeline] } 21:21:29 $ docker exec --env ******** --env ******** 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 ssh-agent -k 21:21:29 unset SSH_AUTH_SOCK; 21:21:29 unset SSH_AGENT_PID; 21:21:29 echo Agent pid 77 killed; 21:21:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:21:29 + git semver [Pipeline] } 21:21:29 $ docker stop --time=1 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 21:21:31 $ docker rm -f --volumes 6b48393aa04def3e2639a27efc125e5fe8638f5a234b1e33e3eb2433c502b1c9 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:21:31 Stashed 1 file(s) [Pipeline] echo 21:21:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:31 provisioning config files... 21:21:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17776979206306706536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:32 ---> docker-login.sh 21:21:32 nexus3.edgexfoundry.org:10001 21:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:32 Configure a credential helper to remove this warning. See 21:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:32 21:21:32 Login Succeeded 21:21:32 nexus3.edgexfoundry.org:10002 21:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:32 Configure a credential helper to remove this warning. See 21:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:32 21:21:32 Login Succeeded 21:21:32 nexus3.edgexfoundry.org:10003 21:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:32 Configure a credential helper to remove this warning. See 21:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:32 21:21:32 Login Succeeded 21:21:32 nexus3.edgexfoundry.org:10004 21:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:32 Configure a credential helper to remove this warning. See 21:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:32 21:21:32 Login Succeeded 21:21:32 docker.io 21:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:32 Configure a credential helper to remove this warning. See 21:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:32 21:21:32 Login Succeeded 21:21:32 ---> docker-login.sh ends [Pipeline] } 21:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:32 ========================================================= 21:21:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:21:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:33 + 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 . 21:21:33 Sending build context to Docker daemon 27.23MB 21:21:33 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:21:33 Step 2/13 : FROM ${BASE} AS builder 21:21:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:21:33 63b65145d645: Pulling fs layer 21:21:33 a2d21d5440eb: Pulling fs layer 21:21:33 935e6c44a52c: Pulling fs layer 21:21:33 94cc34f8dd06: Pulling fs layer 21:21:33 30dea6a524f1: Pulling fs layer 21:21:33 a2aff8979fd8: Pulling fs layer 21:21:33 6808be2612f2: Pulling fs layer 21:21:33 f25807f1079a: Pulling fs layer 21:21:33 6808be2612f2: Waiting 21:21:33 f25807f1079a: Waiting 21:21:33 a2aff8979fd8: Waiting 21:21:33 94cc34f8dd06: Waiting 21:21:33 30dea6a524f1: Waiting 21:21:33 a2d21d5440eb: Download complete 21:21:33 94cc34f8dd06: Verifying Checksum 21:21:33 94cc34f8dd06: Download complete 21:21:33 30dea6a524f1: Download complete 21:21:33 63b65145d645: Verifying Checksum 21:21:33 63b65145d645: Download complete 21:21:33 a2aff8979fd8: Verifying Checksum 21:21:33 a2aff8979fd8: Download complete 21:21:33 63b65145d645: Pull complete 21:21:33 a2d21d5440eb: Pull complete 21:21:33 f25807f1079a: Verifying Checksum 21:21:33 f25807f1079a: Download complete 21:21:34 935e6c44a52c: Verifying Checksum 21:21:34 935e6c44a52c: Download complete 21:21:34 6808be2612f2: Download complete 21:21:37 935e6c44a52c: Pull complete 21:21:37 94cc34f8dd06: Pull complete 21:21:37 30dea6a524f1: Pull complete 21:21:37 a2aff8979fd8: Pull complete 21:21:40 6808be2612f2: Pull complete 21:21:41 f25807f1079a: Pull complete 21:21:41 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:21:41 ---> 3b553350e43f 21:21:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:21:43 ---> Running in 68da839e2d5b 21:21:43 Removing intermediate container 68da839e2d5b 21:21:43 ---> 8ab2ffd10b6f 21:21:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:43 ---> Running in 075ca6d4bd2b 21:21:43 Removing intermediate container 075ca6d4bd2b 21:21:43 ---> 0d30e2cc6916 21:21:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:21:43 ---> Running in f10cf2f65771 21:21:43 Removing intermediate container f10cf2f65771 21:21:43 ---> 30ada34a2ad4 21:21:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:21:43 ---> Running in a2233614b09c 21:21:43 Removing intermediate container a2233614b09c 21:21:43 ---> b9d9b6facb1b 21:21:43 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:21:43 ---> Running in a3d46518e60f 21:21:43 Removing intermediate container a3d46518e60f 21:21:43 ---> b5aeb9aab330 21:21:43 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:43 ---> Running in bb9e09b0c08e 21:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:21:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:21:44 OK: 265 MiB in 53 packages 21:21:44 Removing intermediate container bb9e09b0c08e 21:21:44 ---> bf33e42de658 21:21:44 Step 9/13 : WORKDIR /device-onvif-camera 21:21:44 ---> Running in ee80622bf023 21:21:44 Removing intermediate container ee80622bf023 21:21:44 ---> b1c8df46c6e5 21:21:44 Step 10/13 : COPY go.mod vendor* ./ 21:21:45 ---> 8ddf5d207dae 21:21:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:45 ---> Running in 04edb8b66460 21:21:46 Still waiting to schedule task 21:21:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:22:17 Removing intermediate container 04edb8b66460 21:22:17 ---> 00c748a4c4d3 21:22:17 Step 12/13 : COPY . . 21:22:17 ---> 666fd037becc 21:22:17 Step 13/13 : RUN ${MAKE} 21:22:17 ---> Running in fec5571f2e80 21:22:17 noop 21:22:17 Removing intermediate container fec5571f2e80 21:22:17 ---> 092c63d09384 21:22:17 Successfully built 092c63d09384 21:22:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:17 + docker inspect -f . ci-base-image-x86_64 21:22:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:17 prd-ubuntu20.04-docker-8c-8g-5293 does not seem to be running inside a container 21:22:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:22:18 $ docker top 947824add04b383c588e7af31417982dc6821f296e82dfc8d604abcf846ae4ef -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:18 + go version 21:22:18 go version go1.20.2 linux/amd64 [Pipeline] } 21:22:18 $ docker stop --time=1 947824add04b383c588e7af31417982dc6821f296e82dfc8d604abcf846ae4ef 21:22:19 $ docker rm -f --volumes 947824add04b383c588e7af31417982dc6821f296e82dfc8d604abcf846ae4ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:20 + docker inspect -f . ci-base-image-x86_64 21:22:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:20 prd-ubuntu20.04-docker-8c-8g-5293 does not seem to be running inside a container 21:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:22:20 $ docker top 6c78529adb249e091960ec026cf25aec8d793fdcee427663bee99a9acbddf5aa -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:21 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 21:22:21 + make test 21:22:21 go test ./... -coverprofile=coverage.out ./... 21:22:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:22:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:22:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:22:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 31.7% of statements 21:22:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.798s coverage: 86.5% of statements 21:22:48 go vet ./... 21:22:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:53 $ docker stop --time=1 6c78529adb249e091960ec026cf25aec8d793fdcee427663bee99a9acbddf5aa 21:22:54 $ docker rm -f --volumes 6c78529adb249e091960ec026cf25aec8d793fdcee427663bee99a9acbddf5aa [Pipeline] // withDockerContainer [Pipeline] sh 21:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:22:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:56 + ls -al . 21:22:56 total 236 21:22:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 21:22 . 21:22:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:21 .. 21:22:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 21:21 .git 21:22:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:21 .github 21:22:56 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 21:21 .gitignore 21:22:56 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 21:21 .golangci.yml 21:22:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 21:21 .semver 21:22:56 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 21:21 Attribution.txt 21:22:56 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 21:21 CHANGELOG.md 21:22:56 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 21:21 Dockerfile 21:22:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 21:21 GOVERNANCE.md 21:22:56 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 21:21 Jenkinsfile 21:22:56 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 21:21 LICENSE 21:22:56 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 21:21 Makefile 21:22:56 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 21:21 OWNERS.md 21:22:56 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 21:21 README.md 21:22:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 21:21 VERSION 21:22:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:21 bin 21:22:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:21 cmd 21:22:56 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 21:22 coverage.out 21:22:56 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 21:21 doc 21:22:56 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 21:21 go.mod 21:22:56 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 21:21 go.sum 21:22:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:21 internal 21:22:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:21 snap 21:22:56 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:56 + 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=65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 --label arch=amd64 --label version=0.0.0 . 21:22:56 Sending build context to Docker daemon 27.3MB 21:22:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:22:56 Step 2/26 : FROM ${BASE} AS builder 21:22:56 ---> 092c63d09384 21:22:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:22:56 ---> Running in 0e727fde40cf 21:22:56 Removing intermediate container 0e727fde40cf 21:22:56 ---> e0097a1ea898 21:22:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:57 ---> Running in 75fcd078cfb5 21:22:57 Removing intermediate container 75fcd078cfb5 21:22:57 ---> ce9d8b129360 21:22:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:22:57 ---> Running in 8f50ed37e35d 21:22:57 Removing intermediate container 8f50ed37e35d 21:22:57 ---> 4a8432436b49 21:22:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:22:57 ---> Running in 24b15dd131fb 21:22:57 Removing intermediate container 24b15dd131fb 21:22:57 ---> 57615a076e14 21:22:57 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:22:57 ---> Running in 849eccfb16c6 21:22:57 Removing intermediate container 849eccfb16c6 21:22:57 ---> 0b6baaec139d 21:22:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:57 ---> Running in 2da6577c2bec 21:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:22:58 OK: 265 MiB in 53 packages 21:22:58 Removing intermediate container 2da6577c2bec 21:22:58 ---> ef8b859ba78e 21:22:58 Step 9/26 : WORKDIR /device-onvif-camera 21:22:58 ---> Running in a94b5fbb5069 21:22:58 Removing intermediate container a94b5fbb5069 21:22:58 ---> c8b2bda8419e 21:22:58 Step 10/26 : COPY go.mod vendor* ./ 21:22:59 ---> c0feb37d9554 21:22:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:59 ---> Running in 06b01e1c9062 21:22:59 Removing intermediate container 06b01e1c9062 21:22:59 ---> 2a1fd95ece07 21:22:59 Step 12/26 : COPY . . 21:23:00 ---> 5639f9c9bad6 21:23:00 Step 13/26 : RUN ${MAKE} 21:23:00 ---> Running in 5d8f021da911 21:23:00 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 21:23:22 Removing intermediate container 5d8f021da911 21:23:22 ---> 470ac4d3b158 21:23:22 Step 14/26 : FROM alpine:3.17 21:23:22 3.17: Pulling from library/alpine 21:23:22 63b65145d645: Already exists 21:23:22 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:23:22 Status: Downloaded newer image for alpine:3.17 21:23:22 ---> b2aa39c304c2 21:23:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:23:22 ---> Running in 37467c584e6d 21:23:22 Removing intermediate container 37467c584e6d 21:23:22 ---> 82c5e6451c0c 21:23:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:23:22 ---> Running in 6221da3629d0 21:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:23:22 (1/1) Installing dumb-init (1.2.5-r2) 21:23:22 Executing busybox-1.35.0-r29.trigger 21:23:22 OK: 7 MiB in 16 packages 21:23:22 Removing intermediate container 6221da3629d0 21:23:22 ---> 74c19ceef2a6 21:23:22 Step 17/26 : WORKDIR / 21:23:22 ---> Running in cb1995ca89fd 21:23:22 Removing intermediate container cb1995ca89fd 21:23:22 ---> 3327e7f2651d 21:23:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:23:22 ---> ad8377926f82 21:23:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:23:22 ---> b1f336013b9d 21:23:22 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:23:23 ---> c48c30fe15a8 21:23:23 Step 21/26 : EXPOSE 59984 21:23:23 ---> Running in efc36b355754 21:23:23 Removing intermediate container efc36b355754 21:23:23 ---> cc05799ede7c 21:23:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:23:23 ---> Running in 938f11e5d46f 21:23:23 Removing intermediate container 938f11e5d46f 21:23:23 ---> 693509edb398 21:23:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:23:23 ---> Running in 7b53d5a42ab4 21:23:23 Removing intermediate container 7b53d5a42ab4 21:23:23 ---> d3c830921b6d 21:23:23 Step 24/26 : LABEL arch=amd64 21:23:23 ---> Running in 2dbb8a42369f 21:23:23 Removing intermediate container 2dbb8a42369f 21:23:23 ---> 33687c27d1a1 21:23:23 Step 25/26 : LABEL git_sha=65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 21:23:23 ---> Running in 10f1c991efde 21:23:23 Removing intermediate container 10f1c991efde 21:23:23 ---> 1906de6859aa 21:23:23 Step 26/26 : LABEL version=0.0.0 21:23:23 ---> Running in debe8552ee56 21:23:23 Removing intermediate container debe8552ee56 21:23:23 ---> 1e767ea19de9 21:23:23 [Warning] One or more build-args [ARCH] were not consumed 21:23:23 Successfully built 1e767ea19de9 21:23:23 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:24 21:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:24 latest: Pulling from edgex-lftools-log-publisher 21:23:24 5eb5b503b376: Pulling fs layer 21:23:24 5c69ac0246d0: Pulling fs layer 21:23:24 ec43610c2a17: Pulling fs layer 21:23:24 3a2ae6a8a46f: Pulling fs layer 21:23:24 33b1e0a273af: Pulling fs layer 21:23:24 3a2ae6a8a46f: Waiting 21:23:24 5d3b04190fa2: Pulling fs layer 21:23:24 2f39f015ded8: Pulling fs layer 21:23:24 33b1e0a273af: Waiting 21:23:24 5d3b04190fa2: Waiting 21:23:24 2f39f015ded8: Waiting 21:23:24 5c69ac0246d0: Download complete 21:23:24 3a2ae6a8a46f: Download complete 21:23:24 33b1e0a273af: Verifying Checksum 21:23:24 33b1e0a273af: Download complete 21:23:24 5d3b04190fa2: Download complete 21:23:24 ec43610c2a17: Verifying Checksum 21:23:24 ec43610c2a17: Download complete 21:23:24 5eb5b503b376: Verifying Checksum 21:23:24 5eb5b503b376: Download complete 21:23:25 2f39f015ded8: Download complete 21:23:25 5eb5b503b376: Pull complete 21:23:25 5c69ac0246d0: Pull complete 21:23:26 ec43610c2a17: Pull complete 21:23:26 3a2ae6a8a46f: Pull complete 21:23:26 33b1e0a273af: Pull complete 21:23:26 5d3b04190fa2: Pull complete 21:23:30 2f39f015ded8: Pull complete 21:23:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:31 prd-ubuntu20.04-docker-8c-8g-5293 does not seem to be running inside a container 21:23:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:23:33 $ docker top 0528f2e236d1002366705b10109ed5ed3fb9576172a105d8cec30a317c1e5194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:33 ---> job-cost.sh 21:23:33 lf-activate-venv: SKIPPING 21:23:33 INFO: No Stack... 21:23:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:34 INFO: Archiving Costs [Pipeline] sh 21:23:34 + + cut -d, -f6 21:23:34 cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv [Pipeline] lock 21:23:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] 21:23:34 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] did not exist. Created. 21:23:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:35 + echo total: 0.2199999988079071 [Pipeline] stash 21:23:35 Stashed 1 file(s) [Pipeline] } 21:23:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:35 $ docker stop --time=1 0528f2e236d1002366705b10109ed5ed3fb9576172a105d8cec30a317c1e5194 21:23:36 $ docker rm -f --volumes 0528f2e236d1002366705b10109ed5ed3fb9576172a105d8cec30a317c1e5194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:25:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5294 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws 21:25:26 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 21:25:26 The recommended git tool is: git 21:25:32 using credential edgex-jenkins-ssh 21:25:32 Cloning the remote Git repository 21:25:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:25:32 > git init /w/workspace/device-onvif-camera/9 # timeout=10 21:25:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:25:32 > git --version # timeout=10 21:25:32 > git --version # 'git version 2.25.1' 21:25:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:25:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:37 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 32c3cd5b4d63b08076b589c99c51a2e248e6b83f 21:25:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:25:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:25:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:25:37 > git config core.sparsecheckout # timeout=10 21:25:37 > git checkout -f 32c3cd5b4d63b08076b589c99c51a2e248e6b83f # timeout=10 21:25:37 > git remote # timeout=10 21:25:38 > git config --get remote.origin.url # timeout=10 21:25:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:38 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 21:25:38 Merge succeeded, producing 7293aed94d1b48a3e6bfe5a685705f51aede04bb 21:25:38 Checking out Revision 7293aed94d1b48a3e6bfe5a685705f51aede04bb (PR-281) 21:25:38 > git rev-parse HEAD^{commit} # timeout=10 21:25:38 > git config core.sparsecheckout # timeout=10 21:25:38 > git checkout -f 7293aed94d1b48a3e6bfe5a685705f51aede04bb # timeout=10 21:25:42 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 21:25:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:25:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:43 Dload Upload Total Spent Left Speed 21:25:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k 21:25:42 > git rev-list --no-walk 454bb8809c70651e487a1a798886b44a9cbdbd45 # timeout=10 [Pipeline] sh 21:25:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:25:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 21:25:44 sudo tee /etc/docker/daemon.new 21:25:44 { 21:25:44 "registry-mirrors": [ 21:25:44 "https://nexus3.edgexfoundry.org:10001" 21:25:44 ], 21:25:44 "bip": "10.250.0.254/24", 21:25:44 "hosts": [ 21:25:44 "tcp://0.0.0.0:5555", 21:25:44 "unix:///var/run/docker.sock" 21:25:44 ], 21:25:44 "mtu": 1458, 21:25:44 "selinux-enabled": true, 21:25:44 "seccomp-profile": "/etc/docker/seccomp.json" 21:25:44 } [Pipeline] sh 21:25:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:25:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:03 provisioning config files... 21:26:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config17641718989261908955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:03 ---> docker-login.sh 21:26:03 nexus3.edgexfoundry.org:10001 21:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:04 Configure a credential helper to remove this warning. See 21:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:04 21:26:04 Login Succeeded 21:26:04 nexus3.edgexfoundry.org:10002 21:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:04 Configure a credential helper to remove this warning. See 21:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:04 21:26:04 Login Succeeded 21:26:04 nexus3.edgexfoundry.org:10003 21:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:04 Configure a credential helper to remove this warning. See 21:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:04 21:26:04 Login Succeeded 21:26:04 nexus3.edgexfoundry.org:10004 21:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:05 Configure a credential helper to remove this warning. See 21:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:05 21:26:05 Login Succeeded 21:26:05 docker.io 21:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:05 Configure a credential helper to remove this warning. See 21:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:05 21:26:05 Login Succeeded 21:26:05 ---> docker-login.sh ends [Pipeline] } 21:26:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:06 ========================================================= 21:26:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:26:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:06 + 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 . 21:26:07 Sending build context to Docker daemon 19.92MB 21:26:07 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:26:07 Step 2/13 : FROM ${BASE} AS builder 21:26:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:26:07 af6eaf76a39c: Pulling fs layer 21:26:07 55522c791124: Pulling fs layer 21:26:07 ce5c4a1c91eb: Pulling fs layer 21:26:07 169dfbe0d373: Pulling fs layer 21:26:07 e1ff8fa3b103: Pulling fs layer 21:26:07 52ebb69f0ebf: Pulling fs layer 21:26:07 5abe8eddf0d5: Pulling fs layer 21:26:07 e1ff8fa3b103: Waiting 21:26:07 52ebb69f0ebf: Waiting 21:26:07 5abe8eddf0d5: Waiting 21:26:07 169dfbe0d373: Waiting 21:26:07 55522c791124: Download complete 21:26:07 169dfbe0d373: Verifying Checksum 21:26:07 169dfbe0d373: Download complete 21:26:07 e1ff8fa3b103: Verifying Checksum 21:26:07 e1ff8fa3b103: Download complete 21:26:07 af6eaf76a39c: Verifying Checksum 21:26:08 af6eaf76a39c: Pull complete 21:26:08 5abe8eddf0d5: Verifying Checksum 21:26:08 5abe8eddf0d5: Download complete 21:26:09 55522c791124: Pull complete 21:26:10 52ebb69f0ebf: Verifying Checksum 21:26:10 52ebb69f0ebf: Download complete 21:26:10 ce5c4a1c91eb: Verifying Checksum 21:26:10 ce5c4a1c91eb: Download complete 21:26:22 ce5c4a1c91eb: Pull complete 21:26:22 169dfbe0d373: Pull complete 21:26:22 e1ff8fa3b103: Pull complete 21:26:28 52ebb69f0ebf: Pull complete 21:26:30 5abe8eddf0d5: Pull complete 21:26:30 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:26:30 ---> 6cb57ee374ae 21:26:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:26:32 ---> Running in c12e5842f48f 21:26:32 Removing intermediate container c12e5842f48f 21:26:32 ---> 6104aa5d2157 21:26:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:26:32 ---> Running in 39774e55411e 21:26:32 Removing intermediate container 39774e55411e 21:26:32 ---> f42be2a571f8 21:26:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:26:32 ---> Running in 94980c1f0b0d 21:26:33 Removing intermediate container 94980c1f0b0d 21:26:33 ---> c1acf47a45da 21:26:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:26:33 ---> Running in b0fed9608ea4 21:26:33 Removing intermediate container b0fed9608ea4 21:26:33 ---> 528083b77188 21:26:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:26:33 ---> Running in a9bce9fd7d62 21:26:33 Removing intermediate container a9bce9fd7d62 21:26:33 ---> 7bc7b0f59a0b 21:26:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:34 ---> Running in 4e575cbbcf60 21:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:26:37 OK: 263 MiB in 53 packages 21:26:37 Removing intermediate container 4e575cbbcf60 21:26:37 ---> 7a2f2290e989 21:26:37 Step 9/13 : WORKDIR /device-onvif-camera 21:26:37 ---> Running in 7012d5fd9b9d 21:26:37 Removing intermediate container 7012d5fd9b9d 21:26:37 ---> 035cee1fcd87 21:26:37 Step 10/13 : COPY go.mod vendor* ./ 21:26:39 ---> f35dd505c6c3 21:26:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:39 ---> Running in e095d90e085b 21:27:47 Removing intermediate container e095d90e085b 21:27:47 ---> c35a9d4f0380 21:27:47 Step 12/13 : COPY . . 21:27:47 ---> fec9b73365a4 21:27:47 Step 13/13 : RUN ${MAKE} 21:27:47 ---> Running in 67041bda34af 21:27:47 noop 21:27:48 Removing intermediate container 67041bda34af 21:27:48 ---> d4ced89560fd 21:27:48 Successfully built d4ced89560fd 21:27:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:49 + docker inspect -f . ci-base-image-arm64 21:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-5294 does not seem to be running inside a container 21:27:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 21:27:50 $ docker top 25f5c2a60d74484f49421e755b804b248383bdede52510499613ada8e0c0d2dd -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:51 + go version 21:27:51 go version go1.20.2 linux/arm64 [Pipeline] } 21:27:51 $ docker stop --time=1 25f5c2a60d74484f49421e755b804b248383bdede52510499613ada8e0c0d2dd 21:27:52 $ docker rm -f --volumes 25f5c2a60d74484f49421e755b804b248383bdede52510499613ada8e0c0d2dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:53 + docker inspect -f . ci-base-image-arm64 21:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:53 prd-ubuntu20.04-docker-arm64-4c-16g-5294 does not seem to be running inside a container 21:27:53 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 21:27:57 $ docker top d0c11bf0c11fb6afb9dcdffe171f298f085d9b9056babaf1fefb857f313b723f -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh 21:27:59 + make test 21:27:59 go test ./... -coverprofile=coverage.out ./... 21:28:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:30:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:30:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:30:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 31.7% of statements 21:31:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.365s coverage: 86.5% of statements 21:31:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:31:11 go vet ./... 21:31:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:31:38 $ docker stop --time=1 d0c11bf0c11fb6afb9dcdffe171f298f085d9b9056babaf1fefb857f313b723f 21:31:40 $ docker rm -f --volumes d0c11bf0c11fb6afb9dcdffe171f298f085d9b9056babaf1fefb857f313b723f [Pipeline] // withDockerContainer [Pipeline] sh 21:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:31:41 Warning: overwriting stash ‘coverage-report’ 21:31:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:31:43 + ls -al . 21:31:43 total 232 21:31:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 21:28 . 21:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:25 .. 21:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 21:25 .git 21:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:25 .github 21:31:43 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 21:25 .gitignore 21:31:43 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 21:25 .golangci.yml 21:31:43 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 21:25 Attribution.txt 21:31:43 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 21:25 CHANGELOG.md 21:31:43 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 21:25 Dockerfile 21:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 21:25 GOVERNANCE.md 21:31:43 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 21:25 Jenkinsfile 21:31:43 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 21:25 LICENSE 21:31:43 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 21:25 Makefile 21:31:43 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 21:25 OWNERS.md 21:31:43 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 21:25 README.md 21:31:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 21:21 VERSION 21:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 21:25 bin 21:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 21:25 cmd 21:31:43 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 21:31 coverage.out 21:31:43 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 21:25 doc 21:31:43 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 21:25 go.mod 21:31:43 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 21:25 go.sum 21:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:25 internal 21:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 21:25 snap 21:31:43 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:43 + 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=7293aed94d1b48a3e6bfe5a685705f51aede04bb --label arch=arm64 --label version=0.0.0 . 21:31:44 Sending build context to Docker daemon 20MB 21:31:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:31:44 Step 2/26 : FROM ${BASE} AS builder 21:31:44 ---> d4ced89560fd 21:31:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:31:44 ---> Running in b26b9dda8c9e 21:31:44 Removing intermediate container b26b9dda8c9e 21:31:44 ---> 4eed0ff8a1f1 21:31:44 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:44 ---> Running in 85993b6e417b 21:31:45 Removing intermediate container 85993b6e417b 21:31:45 ---> 77752de34880 21:31:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:31:45 ---> Running in b4daf4cfd64e 21:31:45 Removing intermediate container b4daf4cfd64e 21:31:45 ---> eb8f482d4ca2 21:31:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:31:45 ---> Running in 98c8d2264cba 21:31:45 Removing intermediate container 98c8d2264cba 21:31:45 ---> 0dafe62b861a 21:31:45 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:31:46 ---> Running in 84d6f6ad3fe2 21:31:46 Removing intermediate container 84d6f6ad3fe2 21:31:46 ---> aa3132e84d28 21:31:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:46 ---> Running in bde9a7ff4285 21:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:31:48 OK: 263 MiB in 53 packages 21:31:49 Removing intermediate container bde9a7ff4285 21:31:49 ---> 5e0ff7fb6ad2 21:31:49 Step 9/26 : WORKDIR /device-onvif-camera 21:31:49 ---> Running in 02b122da93e2 21:31:50 Removing intermediate container 02b122da93e2 21:31:50 ---> 1ee4d024a188 21:31:50 Step 10/26 : COPY go.mod vendor* ./ 21:31:51 ---> e61076104d87 21:31:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:51 ---> Running in b98d15597164 21:31:54 Removing intermediate container b98d15597164 21:31:54 ---> 727f00a68324 21:31:54 Step 12/26 : COPY . . 21:31:56 ---> 86e20044a53e 21:31:56 Step 13/26 : RUN ${MAKE} 21:31:56 ---> Running in da5b7c5f6421 21:31:58 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 21:34:20 Removing intermediate container da5b7c5f6421 21:34:20 ---> 1ba00dad43e6 21:34:20 Step 14/26 : FROM alpine:3.17 21:34:20 3.17: Pulling from library/alpine 21:34:20 af6eaf76a39c: Already exists 21:34:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:34:20 Status: Downloaded newer image for alpine:3.17 21:34:20 ---> d74e625d9115 21:34:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:34:20 ---> Running in 9dc33fb0a480 21:34:20 Removing intermediate container 9dc33fb0a480 21:34:20 ---> 9baba101cc15 21:34:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:34:20 ---> Running in ba27854ba0f3 21:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:34:20 (1/1) Installing dumb-init (1.2.5-r2) 21:34:20 Executing busybox-1.35.0-r29.trigger 21:34:20 OK: 8 MiB in 16 packages 21:34:20 Removing intermediate container ba27854ba0f3 21:34:20 ---> 51755ba06ea2 21:34:20 Step 17/26 : WORKDIR / 21:34:20 ---> Running in 31672e028a18 21:34:20 Removing intermediate container 31672e028a18 21:34:20 ---> 62e34e420cec 21:34:20 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:34:21 ---> c87e017c478e 21:34:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:34:21 ---> 912bb05cb30a 21:34:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:34:22 ---> 45f82fbbd723 21:34:22 Step 21/26 : EXPOSE 59984 21:34:22 ---> Running in c16041286d88 21:34:22 Removing intermediate container c16041286d88 21:34:22 ---> b0dd4f8eaa3c 21:34:22 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:34:22 ---> Running in 4abe0a7f9ae7 21:34:22 Removing intermediate container 4abe0a7f9ae7 21:34:22 ---> b75e13dd5adf 21:34:22 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:34:22 ---> Running in 155faae4f6de 21:34:23 Removing intermediate container 155faae4f6de 21:34:23 ---> c68b1d97615d 21:34:23 Step 24/26 : LABEL arch=arm64 21:34:23 ---> Running in 1c6b355b6063 21:34:23 Removing intermediate container 1c6b355b6063 21:34:23 ---> 7fa1d4b45e51 21:34:23 Step 25/26 : LABEL git_sha=7293aed94d1b48a3e6bfe5a685705f51aede04bb 21:34:23 ---> Running in d07617c573ab 21:34:23 Removing intermediate container d07617c573ab 21:34:23 ---> 092f490672f3 21:34:23 Step 26/26 : LABEL version=0.0.0 21:34:23 ---> Running in eb50f8b0145a 21:34:24 Removing intermediate container eb50f8b0145a 21:34:24 ---> c5de12b1dcf2 21:34:24 [Warning] One or more build-args [ARCH] were not consumed 21:34:24 Successfully built c5de12b1dcf2 21:34:24 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:24 21:34:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:24 arm64: Pulling from edgex-lftools-log-publisher 21:34:24 8998bd30e6a1: Pulling fs layer 21:34:24 04944245beec: Pulling fs layer 21:34:24 699f458cf7ca: Pulling fs layer 21:34:24 765212b225bb: Pulling fs layer 21:34:24 f23df028b6ca: Pulling fs layer 21:34:24 d65c8cfc05b1: Pulling fs layer 21:34:24 2437ff75d9bd: Pulling fs layer 21:34:24 f23df028b6ca: Waiting 21:34:24 d65c8cfc05b1: Waiting 21:34:24 2437ff75d9bd: Waiting 21:34:24 765212b225bb: Waiting 21:34:25 04944245beec: Verifying Checksum 21:34:25 04944245beec: Download complete 21:34:25 765212b225bb: Verifying Checksum 21:34:25 765212b225bb: Download complete 21:34:25 f23df028b6ca: Verifying Checksum 21:34:25 f23df028b6ca: Download complete 21:34:25 d65c8cfc05b1: Verifying Checksum 21:34:25 d65c8cfc05b1: Download complete 21:34:25 699f458cf7ca: Verifying Checksum 21:34:25 699f458cf7ca: Download complete 21:34:25 8998bd30e6a1: Download complete 21:34:27 2437ff75d9bd: Verifying Checksum 21:34:27 2437ff75d9bd: Download complete 21:34:29 8998bd30e6a1: Pull complete 21:34:29 04944245beec: Pull complete 21:34:30 699f458cf7ca: Pull complete 21:34:30 765212b225bb: Pull complete 21:34:31 f23df028b6ca: Pull complete 21:34:31 d65c8cfc05b1: Pull complete 21:34:43 2437ff75d9bd: Pull complete 21:34:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:34:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:43 prd-ubuntu20.04-docker-arm64-4c-16g-5294 does not seem to be running inside a container 21:34:44 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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 21:34:46 $ docker top 072673de8c9c604edcad95ea4e665f62280694756cc78f34f02c9e65211b89a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:47 ---> job-cost.sh 21:34:47 lf-activate-venv: SKIPPING 21:34:47 INFO: No Stack... 21:34:47 INFO: Retrieving Pricing Info for: v3-standard-4 21:34:48 INFO: Archiving Costs [Pipeline] sh 21:34:49 + + cat /w/workspace/device-onvif-camera/9/archives/cost.csvcut -d, 21:34:49 -f6 [Pipeline] lock 21:34:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] 21:34:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] did not exist. Created. 21:34:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:49 /w/workspace/device-onvif-camera/9@tmp/durable-697f5a60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:34:50 + echo total: 0.10999999940395355 [Pipeline] stash 21:34:50 Warning: overwriting stash ‘stack-cost’ 21:34:50 Stashed 1 file(s) [Pipeline] } 21:34:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:50 $ docker stop --time=1 072673de8c9c604edcad95ea4e665f62280694756cc78f34f02c9e65211b89a4 21:34:51 $ docker rm -f --volumes 072673de8c9c604edcad95ea4e665f62280694756cc78f34f02c9e65211b89a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:34:52 provisioning config files... 21:34:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config9369552072097838732tmp [Pipeline] { [Pipeline] sh 21:34:52 + set +x 21:34:52 + curl -s https://codecov.io/bash 21:34:52 + bash -s -- 21:34:52 21:34:52 _____ _ 21:34:52 / ____| | | 21:34:52 | | ___ __| | ___ ___ _____ __ 21:34:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:34:52 | |___| (_) | (_| | __/ (_| (_) \ V / 21:34:52 \_____\___/ \__,_|\___|\___\___/ \_/ 21:34:52 Bash-1.0.6 21:34:52 21:34:52 21:34:52 ==> git version 2.25.1 found 21:34:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:34:52 Release-Date: 2020-01-08 21:34:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:34:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:34:52 ==> Jenkins CI detected. 21:34:52 current dir:  /w/workspace/undry_device-onvif-camera_PR-281 21:34:52 project root: . 21:34:52 --> token set from env 21:34:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:34:52 ==> Running gcov in . (disable via -X gcov) 21:34:52 ==> Python coveragepy not found 21:34:52 ==> Searching for coverage reports in: 21:34:52 + . 21:34:52 -> Found 1 reports 21:34:52 ==> Detecting git/mercurial file structure 21:34:52 ==> Reading reports 21:34:52 + ./coverage.out bytes=78487 21:34:52 ==> Appending adjustments 21:34:52 https://docs.codecov.io/docs/fixing-reports 21:34:52 + Found adjustments 21:34:52 ==> Gzipping contents 21:34:52 12K /tmp/codecov.WAECTt.gz 21:34:52 ==> Uploading reports 21:34:52 url: https://codecov.io 21:34:52 query: branch=PR-281&commit=65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 21:34:52 -> Pinging Codecov 21:34:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-281&commit=65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 21:34:53 -> Uploading to 21:34:53 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/F29A59C45E3A92E06B3E522C9905F8EF/65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19/4f95eb1b-8cf3-4fd6-94d7-652412df4952.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T213452Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc7be149e6adcd4bad727c5497879be10a273f3e5c9517b78cc7e3eb67231689 21:34:53 % Total % Received % Xferd Average Speed Time Time Time Current 21:34:53 Dload Upload Total Spent Left Speed 21:34:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 51431 --:--:-- --:--:-- --:--:-- 51180 100 10492 0 0 100 10492 0 35566 --:--:-- --:--:-- --:--:-- 35445 21:34:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/65cdc2393ed2cfeea0d1ce500cc9f9521d10ec19 [Pipeline] } 21:34:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:34:54 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 21:34:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 21:34:54 total 16 21:34:54 drwxr-xr-x 3 root root 4096 Mar 22 21:23 . 21:34:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 21:23 .. 21:34:54 drwxr-xr-x 2 root root 4096 Mar 22 21:23 cost 21:34:54 -rw-r--r-- 1 root root 91 Mar 22 21:23 cost.csv 21:34:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 21:34:54 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 21:34:54 total 16 21:34:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 21:23 . 21:34:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 21:23 .. 21:34:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 21:23 cost 21:34:54 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:34:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:34:55 ---> package-listing.sh 21:34:55 ++ facter osfamily 21:34:55 ++ tr '[:upper:]' '[:lower:]' 21:34:55 + OS_FAMILY=debian 21:34:55 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 21:34:55 + START_PACKAGES=/tmp/packages_start.txt 21:34:55 + END_PACKAGES=/tmp/packages_end.txt 21:34:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:34:55 + PACKAGES=/tmp/packages_start.txt 21:34:55 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 21:34:55 + PACKAGES=/tmp/packages_end.txt 21:34:55 + case "${OS_FAMILY}" in 21:34:55 + dpkg -l 21:34:55 + grep '^ii' 21:34:55 + '[' -f /tmp/packages_start.txt ']' 21:34:55 + '[' -f /tmp/packages_end.txt ']' 21:34:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:34:55 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 21:34:55 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 21:34:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo 21:34:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:34:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:56 prd-ubuntu20.04-docker-8c-8g-5293 does not seem to be running inside a container 21:34:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:34:56 $ docker top de9f3ed41d38c6aac45715c93c94934c7bea7872798d8e589ca31ad317d3cc7b -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:56 + touch /tmp/pre-build-complete [Pipeline] sh 21:34:57 + mkdir -p /var/log/sysstat [Pipeline] sh 21:34:57 + ls /var/log/sa-host 21:34:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:34:57 provisioning config files... 21:34:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config15355348144718645256tmp [Pipeline] { [Pipeline] echo 21:34:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:34:57 ---> create-netrc.sh [Pipeline] } 21:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:34:58 ---> python-tools-install.sh [Pipeline] echo 21:34:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:34:58 ---> sudo-logs.sh 21:34:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:34:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:34:58 ---> job-cost.sh 21:34:58 lf-activate-venv: SKIPPING 21:34:58 DEBUG: total: 0.2199999988079071 21:34:58 INFO: Retrieving Stack Cost... 21:34:59 INFO: Retrieving Pricing Info for: v3-standard-8 21:34:59 INFO: Archiving Costs [Pipeline] echo 21:34:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:34:59 ---> logs-deploy.sh 21:34:59 lf-activate-venv: SKIPPING 21:34:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/9 21:34:59 INFO: archiving workspace using pattern(s): 21:35:00 Archives upload complete. 21:35:00 INFO: archiving logs to Nexus