Branch indexing 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 FelixTing for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 3f9311d92c63b1dac507db51f9f178944bf7a51b+86da64990f1b89a077fbbd8441d86d2e9e7b19b5 (2eabf7256a8fc079892813486278d3ff83db0688) 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-ssh1439763446846638013.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13569599822129829219.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16935601817855818092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15364870245058958014.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15760542532077570237.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/v3]] ========================================================= [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/v3 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 ‘prd-ubuntu20.04-docker-8c-8g-5060’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5063 in /w/workspace/undry_device-onvif-camera_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 86da64990f1b89a077fbbd8441d86d2e9e7b19b5 into PR head commit 3f9311d92c63b1dac507db51f9f178944bf7a51b Merge succeeded, producing baf2f7e40674c01df2d6cbba659b0a325b38431c Checking out Revision baf2f7e40674c01df2d6cbba659b0a325b38431c (PR-379) > 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/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f9311d92c63b1dac507db51f9f178944bf7a51b # 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 86da64990f1b89a077fbbd8441d86d2e9e7b19b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f baf2f7e40674c01df2d6cbba659b0a325b38431c # timeout=10 Commit message: "Merge commit '86da64990f1b89a077fbbd8441d86d2e9e7b19b5' into HEAD" > git rev-list --no-walk 3f9311d92c63b1dac507db51f9f178944bf7a51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:33 ========================================================= 22:10:33 EdgeX Global Pipelines Version Info 22:10:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:34 ------------------- 22:10:34 stable info: 22:10:34 ------------------- 22:10:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:34 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:10:34 Message: update stable to v1.0.253 22:10:35 ------------------- 22:10:35 experimental info: 22:10:35 ------------------- 22:10:35 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:10:35 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = baf2f7e40674c01df2d6cbba659b0a325b38431c [Pipeline] echo 22:10:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = baf2f7e [Pipeline] echo 22:10:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:36 provisioning config files... 22:10:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config2214792443211628309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:36 ---> docker-login.sh 22:10:36 nexus3.edgexfoundry.org:10001 22:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:36 Configure a credential helper to remove this warning. See 22:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:36 22:10:36 Login Succeeded 22:10:36 nexus3.edgexfoundry.org:10002 22:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:36 Configure a credential helper to remove this warning. See 22:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:36 22:10:36 Login Succeeded 22:10:36 nexus3.edgexfoundry.org:10003 22:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:36 Configure a credential helper to remove this warning. See 22:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:36 22:10:36 Login Succeeded 22:10:36 nexus3.edgexfoundry.org:10004 22:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:37 Configure a credential helper to remove this warning. See 22:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:37 22:10:37 Login Succeeded 22:10:37 docker.io 22:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:37 Configure a credential helper to remove this warning. See 22:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:37 22:10:37 Login Succeeded 22:10:37 ---> docker-login.sh ends [Pipeline] } 22:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:37 + git rev-list -1 --merges baf2f7e40674c01df2d6cbba659b0a325b38431c~1..baf2f7e40674c01df2d6cbba659b0a325b38431c [Pipeline] echo 22:10:37 -----------> git rev-list -1 --merges baf2f7e40674c01df2d6cbba659b0a325b38431c~1..baf2f7e40674c01df2d6cbba659b0a325b38431c baf2f7e40674c01df2d6cbba659b0a325b38431c 22:10:37 baf2f7e40674c01df2d6cbba659b0a325b38431c [false] [Pipeline] sh 22:10:38 + git log --format=format:%s -1 baf2f7e40674c01df2d6cbba659b0a325b38431c [Pipeline] echo 22:10:38 ========================================================= 22:10:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:38 + git log --format=format:%s -1 baf2f7e40674c01df2d6cbba659b0a325b38431c [Pipeline] echo 22:10:38 [semverPrep] GIT_COMMIT: baf2f7e40674c01df2d6cbba659b0a325b38431c, Commit Message: Merge commit '86da64990f1b89a077fbbd8441d86d2e9e7b19b5' into HEAD [Pipeline] echo 22:10:38 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:38 + grep -v github /etc/ssh/ssh_known_hosts 22:10:38 + [ -e /tmp/ssh_known_hosts ] 22:10:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:38 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:39 22:10:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:39 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:39 b85a868b505f: Pulling fs layer 22:10:39 e2be974225ed: Pulling fs layer 22:10:39 339a4e72a1f5: Pulling fs layer 22:10:39 988bab9f4d93: Pulling fs layer 22:10:39 1469e6f7b9e6: Pulling fs layer 22:10:39 eaf3925da568: Pulling fs layer 22:10:39 bab4dde63d76: Pulling fs layer 22:10:39 bde34c3a00c8: Pulling fs layer 22:10:39 b352a97aabf1: Pulling fs layer 22:10:39 4872d77fe225: Pulling fs layer 22:10:39 5851b861e8e6: Pulling fs layer 22:10:39 b352a97aabf1: Waiting 22:10:39 bab4dde63d76: Waiting 22:10:39 4872d77fe225: Waiting 22:10:39 5851b861e8e6: Waiting 22:10:39 bde34c3a00c8: Waiting 22:10:39 988bab9f4d93: Waiting 22:10:39 1469e6f7b9e6: Waiting 22:10:39 eaf3925da568: Waiting 22:10:39 e2be974225ed: Verifying Checksum 22:10:39 e2be974225ed: Download complete 22:10:39 988bab9f4d93: Verifying Checksum 22:10:39 988bab9f4d93: Download complete 22:10:39 1469e6f7b9e6: Verifying Checksum 22:10:39 1469e6f7b9e6: Download complete 22:10:39 339a4e72a1f5: Verifying Checksum 22:10:39 339a4e72a1f5: Download complete 22:10:39 eaf3925da568: Verifying Checksum 22:10:39 eaf3925da568: Download complete 22:10:39 bde34c3a00c8: Verifying Checksum 22:10:39 bde34c3a00c8: Download complete 22:10:39 b352a97aabf1: Download complete 22:10:39 4872d77fe225: Download complete 22:10:39 5851b861e8e6: Verifying Checksum 22:10:39 5851b861e8e6: Download complete 22:10:39 b85a868b505f: Verifying Checksum 22:10:39 b85a868b505f: Download complete 22:10:40 bab4dde63d76: Download complete 22:10:41 b85a868b505f: Pull complete 22:10:41 e2be974225ed: Pull complete 22:10:41 339a4e72a1f5: Pull complete 22:10:41 988bab9f4d93: Pull complete 22:10:42 1469e6f7b9e6: Pull complete 22:10:42 eaf3925da568: Pull complete 22:10:44 bab4dde63d76: Pull complete 22:10:44 bde34c3a00c8: Pull complete 22:10:44 b352a97aabf1: Pull complete 22:10:44 4872d77fe225: Pull complete 22:10:44 5851b861e8e6: Pull complete 22:10:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:44 prd-ubuntu20.04-docker-8c-8g-5063 does not seem to be running inside a container 22:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:47 $ docker top 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 -eo pid,comm 22:10:47 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). 22:10:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:47 [ssh-agent] Looking for ssh-agent implementation... 22:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:47 $ docker exec 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 ssh-agent 22:10:47 SSH_AUTH_SOCK=/tmp/ssh-UsgjwsaXfrLY/agent.32 22:10:47 SSH_AGENT_PID=38 22:10:47 Running ssh-add (command line suppressed) 22:10:47 Identity added: /w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_7601906150241707276.key (/w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_7601906150241707276.key) 22:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:48 + git tag --points-at HEAD [Pipeline] } 22:10:48 $ docker exec --env ******** --env ******** 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 ssh-agent -k 22:10:48 unset SSH_AUTH_SOCK; 22:10:48 unset SSH_AGENT_PID; 22:10:48 echo Agent pid 38 killed; 22:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:48 [ssh-agent] Looking for ssh-agent implementation... 22:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:48 $ docker exec 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 ssh-agent 22:10:48 SSH_AUTH_SOCK=/tmp/ssh-qNuWfpy8nAj5/agent.70 22:10:48 SSH_AGENT_PID=76 22:10:48 Running ssh-add (command line suppressed) 22:10:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_3030237970806589632.key (/w/workspace/undry_device-onvif-camera_PR-379@tmp/private_key_3030237970806589632.key) 22:10:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:48 + git semver init 22:10:49 2023-08-31 22:10:49,038 [run_init] DEBUG init version:0.0.0 force:False 22:10:49 2023-08-31 22:10:49,038 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-379/.semver 22:10:49 2023-08-31 22:10:49,039 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-379/.semver 22:10:49 2023-08-31 22:10:49,039 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-379/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-379, universal_newlines=False, shell=None, istream=None) 22:10:50 2023-08-31 22:10:49,963 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-379/.git/info/exclude 22:10:50 2023-08-31 22:10:49,964 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 with force:False 22:10:50 2023-08-31 22:10:49,964 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 22:10:50 2023-08-31 22:10:49,969 [execute] INFO git cat-file --batch-check 22:10:50 2023-08-31 22:10:49,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-379/.semver, universal_newlines=False, shell=None, istream=) 22:10:50 2023-08-31 22:10:49,976 [execute] INFO git cat-file --batch 22:10:50 2023-08-31 22:10:49,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-379/.semver, universal_newlines=False, shell=None, istream=) 22:10:50 2023-08-31 22:10:49,982 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-379/.semver/PR-379 22:10:50 0.0.0 [Pipeline] } 22:10:50 $ docker exec --env ******** --env ******** 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 ssh-agent -k 22:10:50 unset SSH_AUTH_SOCK; 22:10:50 unset SSH_AGENT_PID; 22:10:50 echo Agent pid 76 killed; 22:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:50 + git semver [Pipeline] } 22:10:50 $ docker stop --time=1 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 22:10:52 $ docker rm -f --volumes 6415da2809eb9137f147a58a26d3469a9f7372b36f2797771432eaef1764d941 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:52 Stashed 1 file(s) [Pipeline] echo 22:10:52 [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 22:10:52 provisioning config files... 22:10:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config9254689502959503367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:53 ---> docker-login.sh 22:10:53 nexus3.edgexfoundry.org:10001 22:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:53 Configure a credential helper to remove this warning. See 22:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:53 22:10:53 Login Succeeded 22:10:53 nexus3.edgexfoundry.org:10002 22:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:53 Configure a credential helper to remove this warning. See 22:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:53 22:10:53 Login Succeeded 22:10:53 nexus3.edgexfoundry.org:10003 22:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:53 Configure a credential helper to remove this warning. See 22:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:53 22:10:53 Login Succeeded 22:10:53 nexus3.edgexfoundry.org:10004 22:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:53 Configure a credential helper to remove this warning. See 22:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:53 22:10:53 Login Succeeded 22:10:53 docker.io 22:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:53 Configure a credential helper to remove this warning. See 22:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:53 22:10:53 Login Succeeded 22:10:53 ---> docker-login.sh ends [Pipeline] } 22:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:53 ========================================================= 22:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:54 + 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 . 22:10:54 Sending build context to Docker daemon 21.71MB 22:10:54 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:10:54 Step 2/13 : FROM ${BASE} AS builder 22:10:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:54 4db1b89c0bd1: Pulling fs layer 22:10:54 6911f1a30b25: Pulling fs layer 22:10:54 e194b8c5c2a9: Pulling fs layer 22:10:54 6863d3e3a2b1: Pulling fs layer 22:10:54 ec0bb842ea78: Pulling fs layer 22:10:54 40a00589a448: Pulling fs layer 22:10:54 6c08303d61cc: Pulling fs layer 22:10:54 798269fcf238: Pulling fs layer 22:10:54 40a00589a448: Waiting 22:10:54 6c08303d61cc: Waiting 22:10:54 ec0bb842ea78: Waiting 22:10:54 6911f1a30b25: Verifying Checksum 22:10:54 6911f1a30b25: Download complete 22:10:54 6863d3e3a2b1: Verifying Checksum 22:10:54 6863d3e3a2b1: Download complete 22:10:54 ec0bb842ea78: Verifying Checksum 22:10:54 ec0bb842ea78: Download complete 22:10:54 4db1b89c0bd1: Verifying Checksum 22:10:54 4db1b89c0bd1: Download complete 22:10:54 40a00589a448: Verifying Checksum 22:10:54 40a00589a448: Download complete 22:10:54 4db1b89c0bd1: Pull complete 22:10:54 6911f1a30b25: Pull complete 22:10:55 798269fcf238: Verifying Checksum 22:10:55 e194b8c5c2a9: Download complete 22:10:55 6c08303d61cc: Verifying Checksum 22:10:58 e194b8c5c2a9: Pull complete 22:10:58 6863d3e3a2b1: Pull complete 22:10:59 ec0bb842ea78: Pull complete 22:10:59 40a00589a448: Pull complete 22:11:01 6c08303d61cc: Pull complete 22:11:02 798269fcf238: Pull complete 22:11:02 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:02 ---> ec979cd7f677 22:11:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:07 Still waiting to schedule task 22:11:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5061’ is offline 22:11:10 ---> Running in cf78e61b5980 22:11:10 Removing intermediate container cf78e61b5980 22:11:10 ---> 506c94572f32 22:11:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:10 ---> Running in e7cb777c2e50 22:11:10 Removing intermediate container e7cb777c2e50 22:11:10 ---> 5925775cb30d 22:11:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:10 ---> Running in 84840c65cd0c 22:11:10 Removing intermediate container 84840c65cd0c 22:11:10 ---> c6080f05664e 22:11:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:10 ---> Running in e90fdc930ed9 22:11:10 Removing intermediate container e90fdc930ed9 22:11:10 ---> ae1353205fb5 22:11:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:10 ---> Running in d901cf0d454c 22:11:10 Removing intermediate container d901cf0d454c 22:11:10 ---> 9c523ccd007d 22:11:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:10 ---> Running in f3aa6fcd5852 22:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:11 OK: 265 MiB in 53 packages 22:11:11 Removing intermediate container f3aa6fcd5852 22:11:11 ---> 2f0445fd464b 22:11:11 Step 9/13 : WORKDIR /device-onvif-camera 22:11:11 ---> Running in f4efb985ca95 22:11:11 Removing intermediate container f4efb985ca95 22:11:11 ---> 22493733968b 22:11:11 Step 10/13 : COPY go.mod vendor* ./ 22:11:11 ---> 5f4e2a24f4a7 22:11:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:11 ---> Running in 5f9c6b86e034 22:11:51 Removing intermediate container 5f9c6b86e034 22:11:51 ---> f184c5ef4a19 22:11:51 Step 12/13 : COPY . . 22:11:51 ---> 96802b809fb8 22:11:51 Step 13/13 : RUN ${MAKE} 22:11:51 ---> Running in 263997ef2b35 22:11:51 noop 22:11:51 Removing intermediate container 263997ef2b35 22:11:51 ---> a36c3a433831 22:11:51 Successfully built a36c3a433831 22:11:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:51 + docker inspect -f . ci-base-image-x86_64 22:11:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:51 prd-ubuntu20.04-docker-8c-8g-5063 does not seem to be running inside a container 22:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:52 $ docker top 2072bc5ffd0f3da396ee837688e041804ed3bc22d80c304878f08088be7fc892 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:52 + go version 22:11:52 go version go1.20.6 linux/amd64 [Pipeline] } 22:11:52 $ docker stop --time=1 2072bc5ffd0f3da396ee837688e041804ed3bc22d80c304878f08088be7fc892 22:11:53 $ docker rm -f --volumes 2072bc5ffd0f3da396ee837688e041804ed3bc22d80c304878f08088be7fc892 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:54 + docker inspect -f . ci-base-image-x86_64 22:11:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:54 prd-ubuntu20.04-docker-8c-8g-5063 does not seem to be running inside a container 22:11:54 $ 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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:54 $ docker top d34d056437e4dc01cb70c9ed9aa3ebf4b067f8d54dcb89de60f57e5e7af296a0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:55 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-379 [Pipeline] fileExists [Pipeline] sh 22:11:55 + make test 22:11:55 go test ./... -coverprofile=coverage.out ./... 22:12:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.5% of statements 22:12:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.066s coverage: 86.5% of statements 22:12:21 go vet ./... 22:12:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:24 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:24 $ docker stop --time=1 d34d056437e4dc01cb70c9ed9aa3ebf4b067f8d54dcb89de60f57e5e7af296a0 22:12:30 $ docker rm -f --volumes d34d056437e4dc01cb70c9ed9aa3ebf4b067f8d54dcb89de60f57e5e7af296a0 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:12:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5064 in /w/workspace/undry_device-onvif-camera_PR-379 [Pipeline] sh [Pipeline] { [Pipeline] ws 22:12:31 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 22:12:31 The recommended git tool is: git 22:12:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:31 + ls -al . 22:12:31 total 240 22:12:31 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 22:11 . 22:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:10 .. 22:12:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:10 .git 22:12:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:10 .github 22:12:31 -rw-rw-r-- 1 jenkins jenkins 496 Aug 31 22:10 .gitignore 22:12:31 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:10 .golangci.yml 22:12:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:10 .semver 22:12:31 -rw-rw-r-- 1 jenkins jenkins 11155 Aug 31 22:10 Attribution.txt 22:12:31 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 31 22:10 CHANGELOG.md 22:12:31 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 31 22:10 Dockerfile 22:12:31 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:10 GOVERNANCE.md 22:12:31 -rw-rw-r-- 1 jenkins jenkins 739 Aug 31 22:10 Jenkinsfile 22:12:31 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:10 LICENSE 22:12:31 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 31 22:10 Makefile 22:12:31 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:10 OWNERS.md 22:12:31 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 31 22:10 README.md 22:12:31 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:10 VERSION 22:12:31 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:10 bin 22:12:31 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:10 cmd 22:12:31 -rw-r--r-- 1 jenkins jenkins 78456 Aug 31 22:12 coverage.out 22:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:10 doc 22:12:31 -rw-rw-r-- 1 jenkins jenkins 4085 Aug 31 22:10 go.mod 22:12:31 -rw-rw-r-- 1 jenkins jenkins 36344 Aug 31 22:10 go.sum 22:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:10 internal 22:12:31 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:10 snap 22:12:31 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + 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=baf2f7e40674c01df2d6cbba659b0a325b38431c --label arch=amd64 --label version=0.0.0 . 22:12:32 Sending build context to Docker daemon 21.79MB 22:12:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:32 Step 2/26 : FROM ${BASE} AS builder 22:12:32 ---> a36c3a433831 22:12:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:32 ---> Running in aebc70496652 22:12:33 Removing intermediate container aebc70496652 22:12:33 ---> c5f118f52e6a 22:12:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:33 ---> Running in 63887817dc2e 22:12:33 Removing intermediate container 63887817dc2e 22:12:33 ---> 64daf90aa7b0 22:12:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:33 ---> Running in 0ef41cac90e0 22:12:33 Removing intermediate container 0ef41cac90e0 22:12:33 ---> 64c00ecfcc78 22:12:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:33 ---> Running in a9271cbc4e1f 22:12:33 Removing intermediate container a9271cbc4e1f 22:12:33 ---> 029b394d08c3 22:12:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:33 ---> Running in 22d53d1dfcf2 22:12:33 Removing intermediate container 22d53d1dfcf2 22:12:33 ---> c4574c86672b 22:12:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:33 ---> Running in d429dae1c908 22:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:34 OK: 265 MiB in 53 packages 22:12:34 Removing intermediate container d429dae1c908 22:12:34 ---> 27396eb0e4fa 22:12:34 Step 9/26 : WORKDIR /device-onvif-camera 22:12:34 ---> Running in 57aefe9e0553 22:12:34 Removing intermediate container 57aefe9e0553 22:12:34 ---> 547a4141a12c 22:12:34 Step 10/26 : COPY go.mod vendor* ./ 22:12:34 ---> ef09b6f8b9fd 22:12:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:34 ---> Running in 597db35d4a02 22:12:35 Removing intermediate container 597db35d4a02 22:12:35 ---> 8f3ad2804172 22:12:35 Step 12/26 : COPY . . 22:12:36 using credential edgex-jenkins-ssh 22:12:36 Cloning the remote Git repository 22:12:36 ---> aa3164572140 22:12:36 Step 13/26 : RUN ${MAKE} 22:12:36 ---> Running in 7e3ba53305e8 22:12:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:12:36 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:36 > git init /w/workspace/device-onvif-camera/3 # timeout=10 22:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:36 > git --version # timeout=10 22:12:36 > git --version # 'git version 2.25.1' 22:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:39 Merging remotes/origin/main commit 86da64990f1b89a077fbbd8441d86d2e9e7b19b5 into PR head commit 3f9311d92c63b1dac507db51f9f178944bf7a51b 22:12:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:12:39 > git config core.sparsecheckout # timeout=10 22:12:39 > git checkout -f 3f9311d92c63b1dac507db51f9f178944bf7a51b # timeout=10 22:12:39 > git remote # timeout=10 22:12:39 > git config --get remote.origin.url # timeout=10 22:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:39 > git merge 86da64990f1b89a077fbbd8441d86d2e9e7b19b5 # timeout=10 22:12:40 Merge succeeded, producing 71517d7c4674cc47ea5137a7669590035dcaea76 22:12:40 Checking out Revision 71517d7c4674cc47ea5137a7669590035dcaea76 (PR-379) 22:12:40 > git rev-parse HEAD^{commit} # timeout=10 22:12:40 > git config core.sparsecheckout # timeout=10 22:12:40 > git checkout -f 71517d7c4674cc47ea5137a7669590035dcaea76 # timeout=10 22:12:43 Commit message: "Merge commit '86da64990f1b89a077fbbd8441d86d2e9e7b19b5' into HEAD" 22:12:43 > git rev-list --no-walk 3f9311d92c63b1dac507db51f9f178944bf7a51b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:12:44 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:44 Dload Upload Total Spent Left Speed 22:12:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 22:12:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:12:45 + sudo tee /etc/docker/daemon.new 22:12:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:12:45 { 22:12:45 "registry-mirrors": [ 22:12:45 "https://nexus3.edgexfoundry.org:10001" 22:12:45 ], 22:12:45 "bip": "10.250.0.254/24", 22:12:45 "hosts": [ 22:12:45 "tcp://0.0.0.0:5555", 22:12:45 "unix:///var/run/docker.sock" 22:12:45 ], 22:12:45 "mtu": 1458, 22:12:45 "selinux-enabled": true, 22:12:45 "seccomp-profile": "/etc/docker/seccomp.json" 22:12:45 } [Pipeline] sh 22:12:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:04 provisioning config files... 22:13:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config6162894687032626393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:04 ---> docker-login.sh 22:13:04 nexus3.edgexfoundry.org:10001 22:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:05 Configure a credential helper to remove this warning. See 22:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:05 22:13:05 Login Succeeded 22:13:05 nexus3.edgexfoundry.org:10002 22:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:05 Configure a credential helper to remove this warning. See 22:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:05 22:13:05 Login Succeeded 22:13:05 nexus3.edgexfoundry.org:10003 22:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:06 Configure a credential helper to remove this warning. See 22:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:06 22:13:06 Login Succeeded 22:13:06 nexus3.edgexfoundry.org:10004 22:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:06 Configure a credential helper to remove this warning. See 22:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:06 22:13:06 Login Succeeded 22:13:06 docker.io 22:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:07 Configure a credential helper to remove this warning. See 22:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:07 22:13:07 Login Succeeded 22:13:07 ---> docker-login.sh ends [Pipeline] } 22:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:07 ========================================================= 22:13:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:13:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:07 + 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 . 22:13:08 Sending build context to Docker daemon 14.24MB 22:13:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:13:10 Step 2/13 : FROM ${BASE} AS builder 22:13:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:10 edb6bdbacee9: Pulling fs layer 22:13:10 5f9638ab2659: Pulling fs layer 22:13:10 8d51d6327a98: Pulling fs layer 22:13:10 8b374f2dd631: Pulling fs layer 22:13:10 ec14aa9079de: Pulling fs layer 22:13:10 2f466654f4bb: Pulling fs layer 22:13:10 554e91adad29: Pulling fs layer 22:13:10 8b374f2dd631: Waiting 22:13:10 ec14aa9079de: Waiting 22:13:10 2f466654f4bb: Waiting 22:13:10 554e91adad29: Waiting 22:13:10 5f9638ab2659: Verifying Checksum 22:13:10 5f9638ab2659: Download complete 22:13:10 8b374f2dd631: Verifying Checksum 22:13:10 8b374f2dd631: Download complete 22:13:10 ec14aa9079de: Verifying Checksum 22:13:10 ec14aa9079de: Download complete 22:13:10 edb6bdbacee9: Verifying Checksum 22:13:10 edb6bdbacee9: Download complete 22:13:11 edb6bdbacee9: Pull complete 22:13:11 554e91adad29: Verifying Checksum 22:13:11 554e91adad29: Download complete 22:13:12 5f9638ab2659: Pull complete 22:13:13 8d51d6327a98: Download complete 22:13:13 2f466654f4bb: Verifying Checksum 22:13:13 2f466654f4bb: Download complete 22:13:25 8d51d6327a98: Pull complete 22:13:25 8b374f2dd631: Pull complete 22:13:25 ec14aa9079de: Pull complete 22:13:32 2f466654f4bb: Pull complete 22:13:37 554e91adad29: Pull complete 22:13:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 22:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:13:37 ---> 1e15ea492957 22:13:37 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:38 ---> Running in dc4f6b8b6478 22:13:38 Removing intermediate container dc4f6b8b6478 22:13:38 ---> 0742c2420af3 22:13:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:38 ---> Running in d3e062f2294c 22:13:38 Removing intermediate container d3e062f2294c 22:13:38 ---> fd23b5a1bd40 22:13:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:38 ---> Running in 89ee23e88a49 22:13:39 Removing intermediate container 89ee23e88a49 22:13:39 ---> 804c47046240 22:13:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:39 ---> Running in 02b6faedb48f 22:13:39 Removing intermediate container 02b6faedb48f 22:13:39 ---> d486583dbc61 22:13:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:39 ---> Running in f518cd06daf5 22:13:39 Removing intermediate container f518cd06daf5 22:13:39 ---> 02c5f90ed28d 22:13:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:39 ---> Running in 6c77e4fe658d 22:13:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:42 OK: 263 MiB in 53 packages 22:13:43 Removing intermediate container 6c77e4fe658d 22:13:43 ---> da137ee57f90 22:13:43 Step 9/13 : WORKDIR /device-onvif-camera 22:13:43 ---> Running in 57a0822afa0a 22:13:43 Removing intermediate container 57a0822afa0a 22:13:43 ---> 0f09bf25fa06 22:13:43 Step 10/13 : COPY go.mod vendor* ./ 22:13:44 ---> 03e811bbbf64 22:13:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:44 ---> Running in 3e5e77c4664a 22:13:52 Cannot contact prd-ubuntu20.04-docker-8c-8g-5063: java.lang.InterruptedException 22:14:39 Removing intermediate container 7e3ba53305e8 22:14:39 ---> 1c2e9c6c6533 22:14:39 Step 14/26 : FROM alpine:3.17 22:14:39 3.17: Pulling from library/alpine 22:14:39 9398808236ff: Pulling fs layer 22:14:39 9398808236ff: Verifying Checksum 22:14:39 9398808236ff: Download complete 22:14:39 9398808236ff: Pull complete 22:14:39 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 22:14:39 Status: Downloaded newer image for alpine:3.17 22:14:39 ---> 1e0b8b5322fc 22:14:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:14:39 ---> Running in cbabe901a02a 22:14:39 Removing intermediate container cbabe901a02a 22:14:39 ---> 5bcf2ffce5b2 22:14:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:39 ---> Running in 22edbdeb8a52 22:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:14:40 (1/1) Installing dumb-init (1.2.5-r2) 22:14:40 Executing busybox-1.35.0-r29.trigger 22:14:40 OK: 7 MiB in 16 packages 22:14:40 Removing intermediate container 22edbdeb8a52 22:14:40 ---> b4acf6f7e788 22:14:40 Step 17/26 : WORKDIR / 22:14:40 ---> Running in 493fcc3a5b07 22:14:40 Removing intermediate container 493fcc3a5b07 22:14:40 ---> c571b7222f77 22:14:40 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:14:42 ---> 1241ebf1c318 22:14:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:14:42 ---> 7536e279ed0b 22:14:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:14:42 ---> ac810a2a4843 22:14:42 Step 21/26 : EXPOSE 59984 22:14:42 ---> Running in 2ce474ebe8de 22:14:42 Removing intermediate container 2ce474ebe8de 22:14:42 ---> ceb3feecbd21 22:14:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:14:42 ---> Running in 82ae2cdbc978 22:14:42 Removing intermediate container 82ae2cdbc978 22:14:42 ---> 901cd52289b5 22:14:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:42 ---> Running in f95755fc82b4 22:14:42 Removing intermediate container f95755fc82b4 22:14:42 ---> 0ad24b66d3a2 22:14:42 Step 24/26 : LABEL arch=amd64 22:14:42 ---> Running in 339faca22f2b 22:14:42 Removing intermediate container 339faca22f2b 22:14:42 ---> 3eaaa3b51a4d 22:14:42 Step 25/26 : LABEL git_sha=baf2f7e40674c01df2d6cbba659b0a325b38431c 22:14:43 ---> Running in 445cca983217 22:14:43 Removing intermediate container 445cca983217 22:14:43 ---> 55cba07fbc69 22:14:43 Step 26/26 : LABEL version=0.0.0 22:14:43 ---> Running in 74adad76e1a4 22:14:43 Removing intermediate container 74adad76e1a4 22:14:43 ---> 15b7efd303eb 22:14:43 [Warning] One or more build-args [ARCH] were not consumed 22:14:43 Successfully built 15b7efd303eb 22:14:43 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 22:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:43 22:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:43 latest: Pulling from edgex-lftools-log-publisher 22:14:43 5eb5b503b376: Pulling fs layer 22:14:43 5c69ac0246d0: Pulling fs layer 22:14:43 ec43610c2a17: Pulling fs layer 22:14:43 3a2ae6a8a46f: Pulling fs layer 22:14:43 33b1e0a273af: Pulling fs layer 22:14:43 5d3b04190fa2: Pulling fs layer 22:14:43 2f39f015ded8: Pulling fs layer 22:14:43 3a2ae6a8a46f: Waiting 22:14:43 5d3b04190fa2: Waiting 22:14:43 33b1e0a273af: Waiting 22:14:43 2f39f015ded8: Waiting 22:14:43 5c69ac0246d0: Download complete 22:14:43 3a2ae6a8a46f: Download complete 22:14:44 33b1e0a273af: Verifying Checksum 22:14:44 33b1e0a273af: Download complete 22:14:44 5d3b04190fa2: Verifying Checksum 22:14:44 5d3b04190fa2: Download complete 22:14:44 ec43610c2a17: Verifying Checksum 22:14:44 ec43610c2a17: Download complete 22:14:44 5eb5b503b376: Verifying Checksum 22:14:44 5eb5b503b376: Download complete 22:14:44 2f39f015ded8: Download complete 22:14:45 5eb5b503b376: Pull complete 22:14:45 5c69ac0246d0: Pull complete 22:14:46 ec43610c2a17: Pull complete 22:14:46 3a2ae6a8a46f: Pull complete 22:14:46 33b1e0a273af: Pull complete 22:14:46 5d3b04190fa2: Pull complete 22:14:50 2f39f015ded8: Pull complete 22:14:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:50 prd-ubuntu20.04-docker-8c-8g-5063 does not seem to be running inside a container 22:14:50 $ 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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@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 22:14:52 Removing intermediate container 3e5e77c4664a 22:14:52 ---> ac1137fc2089 22:14:52 Step 12/13 : COPY . . 22:14:52 ---> e5912868636d 22:14:52 Step 13/13 : RUN ${MAKE} 22:14:52 ---> Running in 4a60dec38e5b 22:14:52 noop 22:14:53 Removing intermediate container 4a60dec38e5b 22:14:53 ---> f14f49cf3c89 22:14:53 Successfully built f14f49cf3c89 22:14:53 Successfully tagged ci-base-image-arm64:latest 22:14:56 $ docker top 64218e4bca99b99e5fbb36d25dd3939aa731edce9beddbeb2059850190271cfa -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:57 ---> job-cost.sh 22:14:57 lf-activate-venv: SKIPPING 22:14:57 INFO: No Stack... 22:14:57 + docker inspect -f . ci-base-image-arm64 22:14:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:57 prd-ubuntu20.04-docker-arm64-4c-16g-5064 does not seem to be running inside a container 22:14:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:57 INFO: Archiving Costs 22:14:58 $ docker top 5d929c5ffa0a421b92b4ca78ebe2873f92485aeab54c7c7f66e7ca26205ef233 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 22:14:59 + cat /w/workspace/undry_device-onvif-camera_PR-379/archives/cost.csv 22:14:59 + cut -d, -f6 [Pipeline] lock 22:14:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] 22:14:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] did not exist. Created. 22:14:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:59 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:59 Stashed 1 file(s) [Pipeline] } 22:14:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] [Pipeline] // lock 22:14:59 + go version 22:14:59 go version go1.20.6 linux/arm64 [Pipeline] } 22:14:59 $ docker stop --time=1 64218e4bca99b99e5fbb36d25dd3939aa731edce9beddbeb2059850190271cfa 22:15:01 $ docker rm -f --volumes 64218e4bca99b99e5fbb36d25dd3939aa731edce9beddbeb2059850190271cfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 22:15:01 $ docker stop --time=1 5d929c5ffa0a421b92b4ca78ebe2873f92485aeab54c7c7f66e7ca26205ef233 22:15:03 $ docker rm -f --volumes 5d929c5ffa0a421b92b4ca78ebe2873f92485aeab54c7c7f66e7ca26205ef233 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:03 + docker inspect -f . ci-base-image-arm64 22:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-5064 does not seem to be running inside a container 22:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:05 $ docker top f91133d09202a2b44c08f5df6e1782ed07c26014bf2b723f06a39c9ee38e9f0c -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 22:15:05 + make test 22:15:05 go test ./... -coverprofile=coverage.out ./... 22:15:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.260s coverage: 31.5% of statements 22:18:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.017s coverage: 86.5% of statements 22:18:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:18:21 go vet ./... 22:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:54 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:54 $ docker stop --time=1 f91133d09202a2b44c08f5df6e1782ed07c26014bf2b723f06a39c9ee38e9f0c 22:18:56 $ docker rm -f --volumes f91133d09202a2b44c08f5df6e1782ed07c26014bf2b723f06a39c9ee38e9f0c [Pipeline] // withDockerContainer [Pipeline] sh 22:18:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:57 Warning: overwriting stash ‘coverage-report’ 22:18:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:58 + ls -al . 22:18:58 total 236 22:18:58 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 22:15 . 22:18:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:12 .. 22:18:58 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:12 .git 22:18:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:12 .github 22:18:58 -rw-rw-r-- 1 jenkins jenkins 496 Aug 31 22:12 .gitignore 22:18:58 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:12 .golangci.yml 22:18:58 -rw-rw-r-- 1 jenkins jenkins 11155 Aug 31 22:12 Attribution.txt 22:18:58 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 31 22:12 CHANGELOG.md 22:18:58 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 31 22:12 Dockerfile 22:18:58 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:12 GOVERNANCE.md 22:18:58 -rw-rw-r-- 1 jenkins jenkins 739 Aug 31 22:12 Jenkinsfile 22:18:58 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:12 LICENSE 22:18:58 -rw-rw-r-- 1 jenkins jenkins 2877 Aug 31 22:12 Makefile 22:18:58 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:12 OWNERS.md 22:18:58 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 31 22:12 README.md 22:18:58 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:10 VERSION 22:18:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:12 bin 22:18:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:12 cmd 22:18:58 -rw-r--r-- 1 jenkins jenkins 78456 Aug 31 22:18 coverage.out 22:18:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:12 doc 22:18:58 -rw-rw-r-- 1 jenkins jenkins 4085 Aug 31 22:12 go.mod 22:18:58 -rw-rw-r-- 1 jenkins jenkins 36344 Aug 31 22:12 go.sum 22:18:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:12 internal 22:18:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:12 snap 22:18:58 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:59 + 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=71517d7c4674cc47ea5137a7669590035dcaea76 --label arch=arm64 --label version=0.0.0 . 22:18:59 Sending build context to Docker daemon 14.32MB 22:18:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:18:59 Step 2/26 : FROM ${BASE} AS builder 22:18:59 ---> f14f49cf3c89 22:18:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:59 ---> Running in 6cc1306c2b8b 22:19:00 Removing intermediate container 6cc1306c2b8b 22:19:00 ---> ea50c1e386a5 22:19:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:00 ---> Running in 022c82650406 22:19:00 Removing intermediate container 022c82650406 22:19:00 ---> dcb016cdb13f 22:19:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:00 ---> Running in a8f69d976d5e 22:19:00 Removing intermediate container a8f69d976d5e 22:19:00 ---> 64fc706963f9 22:19:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:00 ---> Running in 95b5361d86df 22:19:01 Removing intermediate container 95b5361d86df 22:19:01 ---> 58d12a96deee 22:19:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:01 ---> Running in 2ea69b5ad8c3 22:19:01 Removing intermediate container 2ea69b5ad8c3 22:19:01 ---> 51062235a914 22:19:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:01 ---> Running in 9428b0c97b67 22:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:03 OK: 263 MiB in 53 packages 22:19:04 Removing intermediate container 9428b0c97b67 22:19:04 ---> a740f8e62d1c 22:19:04 Step 9/26 : WORKDIR /device-onvif-camera 22:19:04 ---> Running in 4b7ff90a6408 22:19:05 Removing intermediate container 4b7ff90a6408 22:19:05 ---> 490978a99236 22:19:05 Step 10/26 : COPY go.mod vendor* ./ 22:19:05 ---> a91e75feefdf 22:19:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:05 ---> Running in 3d23fe15239b 22:19:08 Removing intermediate container 3d23fe15239b 22:19:08 ---> a717b246ad03 22:19:08 Step 12/26 : COPY . . 22:19:09 ---> 72717d1d27da 22:19:09 Step 13/26 : RUN ${MAKE} 22:19:09 ---> Running in d0b63fd4771e 22:19:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:21:32 Removing intermediate container d0b63fd4771e 22:21:32 ---> 3087440481ea 22:21:32 Step 14/26 : FROM alpine:3.17 22:21:32 3.17: Pulling from library/alpine 22:21:32 4060ece20d7a: Pulling fs layer 22:21:32 4060ece20d7a: Verifying Checksum 22:21:32 4060ece20d7a: Download complete 22:21:32 4060ece20d7a: Pull complete 22:21:32 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 22:21:32 Status: Downloaded newer image for alpine:3.17 22:21:32 ---> 8650cd65339b 22:21:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:32 ---> Running in 5ff845d26365 22:21:32 Removing intermediate container 5ff845d26365 22:21:32 ---> a922477d3153 22:21:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:21:32 ---> Running in ab38043a3552 22:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:32 (1/1) Installing dumb-init (1.2.5-r2) 22:21:32 Executing busybox-1.35.0-r29.trigger 22:21:32 OK: 8 MiB in 16 packages 22:21:32 Removing intermediate container ab38043a3552 22:21:32 ---> 2ba7a7630811 22:21:32 Step 17/26 : WORKDIR / 22:21:32 ---> Running in 5831b0c3ea38 22:21:32 Removing intermediate container 5831b0c3ea38 22:21:32 ---> bbc386b96e32 22:21:32 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:21:32 ---> cfc60d4f0a9d 22:21:32 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:32 ---> 6559c9e433d0 22:21:32 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:32 ---> 193924259076 22:21:32 Step 21/26 : EXPOSE 59984 22:21:32 ---> Running in a6d8794276aa 22:21:32 Removing intermediate container a6d8794276aa 22:21:32 ---> 2896c267207c 22:21:32 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:21:32 ---> Running in a3ce72a71966 22:21:32 Removing intermediate container a3ce72a71966 22:21:32 ---> 202cbe842d87 22:21:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:21:32 ---> Running in e300b0356567 22:21:33 Removing intermediate container e300b0356567 22:21:33 ---> 22526d985091 22:21:33 Step 24/26 : LABEL arch=arm64 22:21:33 ---> Running in 0c75016cb0f7 22:21:33 Removing intermediate container 0c75016cb0f7 22:21:33 ---> c0f32fbfb0d7 22:21:33 Step 25/26 : LABEL git_sha=71517d7c4674cc47ea5137a7669590035dcaea76 22:21:33 ---> Running in 2fc3fc50a083 22:21:33 Removing intermediate container 2fc3fc50a083 22:21:33 ---> e6eb68944055 22:21:33 Step 26/26 : LABEL version=0.0.0 22:21:34 ---> Running in 156aa504489e 22:21:34 Removing intermediate container 156aa504489e 22:21:34 ---> 3941774d5e4e 22:21:34 [Warning] One or more build-args [ARCH] were not consumed 22:21:34 Successfully built 3941774d5e4e 22:21:34 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 22:21:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:34 22:21:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:35 arm64: Pulling from edgex-lftools-log-publisher 22:21:35 8998bd30e6a1: Pulling fs layer 22:21:35 04944245beec: Pulling fs layer 22:21:35 699f458cf7ca: Pulling fs layer 22:21:35 765212b225bb: Pulling fs layer 22:21:35 f23df028b6ca: Pulling fs layer 22:21:35 d65c8cfc05b1: Pulling fs layer 22:21:35 2437ff75d9bd: Pulling fs layer 22:21:35 765212b225bb: Waiting 22:21:35 2437ff75d9bd: Waiting 22:21:35 f23df028b6ca: Waiting 22:21:35 04944245beec: Verifying Checksum 22:21:35 04944245beec: Download complete 22:21:35 765212b225bb: Verifying Checksum 22:21:35 765212b225bb: Download complete 22:21:35 f23df028b6ca: Verifying Checksum 22:21:35 f23df028b6ca: Download complete 22:21:35 d65c8cfc05b1: Verifying Checksum 22:21:35 d65c8cfc05b1: Download complete 22:21:35 699f458cf7ca: Verifying Checksum 22:21:35 699f458cf7ca: Download complete 22:21:35 8998bd30e6a1: Verifying Checksum 22:21:35 8998bd30e6a1: Download complete 22:21:37 2437ff75d9bd: Download complete 22:21:39 8998bd30e6a1: Pull complete 22:21:44 04944245beec: Pull complete 22:21:44 699f458cf7ca: Pull complete 22:21:44 765212b225bb: Pull complete 22:21:45 f23df028b6ca: Pull complete 22:21:45 d65c8cfc05b1: Pull complete 22:22:00 2437ff75d9bd: Pull complete 22:22:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:22:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:00 prd-ubuntu20.04-docker-arm64-4c-16g-5064 does not seem to be running inside a container 22:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:22:03 $ docker top 09572d5548e0cff6f0a7415c88dcd5ef00d260da9215ed6643fce81a117614de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:03 ---> job-cost.sh 22:22:04 lf-activate-venv: SKIPPING 22:22:04 INFO: No Stack... 22:22:04 INFO: Retrieving Pricing Info for: v3-standard-4 22:22:05 INFO: Archiving Costs [Pipeline] sh 22:22:05 + cut -d, -f6 22:22:05 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 22:22:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] 22:22:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] did not exist. Created. 22:22:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:05 /w/workspace/device-onvif-camera/3@tmp/durable-9ba49fc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:22:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:22:06 Warning: overwriting stash ‘stack-cost’ 22:22:06 Stashed 1 file(s) [Pipeline] } 22:22:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-379-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:06 $ docker stop --time=1 09572d5548e0cff6f0a7415c88dcd5ef00d260da9215ed6643fce81a117614de 22:22:10 $ docker rm -f --volumes 09572d5548e0cff6f0a7415c88dcd5ef00d260da9215ed6643fce81a117614de [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 22:22:10 provisioning config files... 22:22:10 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config2871805942477128874tmp [Pipeline] { [Pipeline] sh 22:22:10 + set +x 22:22:10 + curl -s https://codecov.io/bash 22:22:10 + bash -s -- 22:22:10 22:22:10 _____ _ 22:22:10 / ____| | | 22:22:10 | | ___ __| | ___ ___ _____ __ 22:22:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:10 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:10 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:10 Bash-1.0.6 22:22:10 22:22:10 22:22:10 ==> git version 2.25.1 found 22:22:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:22:10 Release-Date: 2020-01-08 22:22:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:22:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:10 ==> Jenkins CI detected. 22:22:10 current dir:  /w/workspace/undry_device-onvif-camera_PR-379 22:22:10 project root: . 22:22:10 --> token set from env 22:22:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:10 ==> Running gcov in . (disable via -X gcov) 22:22:10 ==> Python coveragepy not found 22:22:10 ==> Searching for coverage reports in: 22:22:10 + . 22:22:10 -> Found 1 reports 22:22:10 ==> Detecting git/mercurial file structure 22:22:11 ==> Reading reports 22:22:11 + ./coverage.out bytes=78456 22:22:11 ==> Appending adjustments 22:22:11 https://docs.codecov.io/docs/fixing-reports 22:22:11 + Found adjustments 22:22:11 ==> Gzipping contents 22:22:11 12K /tmp/codecov.xOs2ec.gz 22:22:11 ==> Uploading reports 22:22:11 url: https://codecov.io 22:22:11 query: branch=PR-379&commit=baf2f7e40674c01df2d6cbba659b0a325b38431c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-379%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=379&job=&cmd_args= 22:22:11 -> Pinging Codecov 22:22:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-379&commit=baf2f7e40674c01df2d6cbba659b0a325b38431c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-379%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=379&job=&cmd_args= 22:22:11 -> Uploading to 22:22:11 https://storage.googleapis.com/codecov/v4/raw/2023-08-31/F29A59C45E3A92E06B3E522C9905F8EF/baf2f7e40674c01df2d6cbba659b0a325b38431c/a1cea1bc-72ed-4f8a-9770-6e346e376b3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T222211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb5bd2142fa1dcdacad1d5157686622d94105a5e04ffe768d6259be53b5c189a 22:22:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:11 Dload Upload Total Spent Left Speed 22:22:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 51019 --:--:-- --:--:-- --:--:-- 50774 100 10561 0 0 100 10561 0 33526 --:--:-- --:--:-- --:--:-- 33420 22:22:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/baf2f7e40674c01df2d6cbba659b0a325b38431c [Pipeline] } 22:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:22:12 + [ -d /w/workspace/undry_device-onvif-camera_PR-379/archives ] 22:22:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-379/archives 22:22:12 total 16 22:22:12 drwxr-xr-x 3 root root 4096 Aug 31 22:14 . 22:22:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:14 .. 22:22:12 drwxr-xr-x 2 root root 4096 Aug 31 22:14 cost 22:22:12 -rw-r--r-- 1 root root 91 Aug 31 22:14 cost.csv 22:22:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-379/archives 22:22:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-379/archives 22:22:12 total 16 22:22:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:14 . 22:22:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:14 .. 22:22:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 22:14 cost 22:22:12 -rw-r--r-- 1 jenkins jenkins 91 Aug 31 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:13 ---> package-listing.sh 22:22:13 ++ facter osfamily 22:22:13 ++ tr '[:upper:]' '[:lower:]' 22:22:13 + OS_FAMILY=debian 22:22:13 + workspace=/w/workspace/undry_device-onvif-camera_PR-379 22:22:13 + START_PACKAGES=/tmp/packages_start.txt 22:22:13 + END_PACKAGES=/tmp/packages_end.txt 22:22:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:13 + PACKAGES=/tmp/packages_start.txt 22:22:13 + '[' /w/workspace/undry_device-onvif-camera_PR-379 ']' 22:22:13 + PACKAGES=/tmp/packages_end.txt 22:22:13 + case "${OS_FAMILY}" in 22:22:13 + dpkg -l 22:22:13 + grep '^ii' 22:22:13 + '[' -f /tmp/packages_start.txt ']' 22:22:13 + '[' -f /tmp/packages_end.txt ']' 22:22:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:13 + '[' /w/workspace/undry_device-onvif-camera_PR-379 ']' 22:22:13 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-379/archives/ 22:22:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-379/archives/ [Pipeline] echo 22:22:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:22:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:14 prd-ubuntu20.04-docker-8c-8g-5063 does not seem to be running inside a container 22:22:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-379/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-379 -v /w/workspace/undry_device-onvif-camera_PR-379:/w/workspace/undry_device-onvif-camera_PR-379:rw,z -v /w/workspace/undry_device-onvif-camera_PR-379@tmp:/w/workspace/undry_device-onvif-camera_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:22:14 $ docker top 64dcb38e6572ebac84e20496d483f8b2d24e5d6621259933ae0f3b1b4414e411 -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:15 + touch /tmp/pre-build-complete [Pipeline] sh 22:22:15 + mkdir -p /var/log/sysstat [Pipeline] sh 22:22:15 + ls /var/log/sa-host 22:22:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:15 provisioning config files... 22:22:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-379@tmp/config5681743238660663072tmp [Pipeline] { [Pipeline] echo 22:22:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:22:16 ---> create-netrc.sh [Pipeline] } 22:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:22:16 ---> python-tools-install.sh [Pipeline] echo 22:22:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:22:16 ---> sudo-logs.sh 22:22:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:22:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:22:17 ---> job-cost.sh 22:22:17 lf-activate-venv: SKIPPING 22:22:17 DEBUG: total: 0.2199999988079071 22:22:17 INFO: Retrieving Stack Cost... 22:22:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:17 INFO: Archiving Costs [Pipeline] echo 22:22:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:22:18 ---> logs-deploy.sh 22:22:18 lf-activate-venv: SKIPPING 22:22:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-379/3 22:22:18 INFO: archiving workspace using pattern(s): 22:22:19 Archives upload complete. 22:22:19 INFO: archiving logs to Nexus