Pull request #399 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 8c91624ddbafd976789e4f3e8c25215b3e2dd3de+bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 (eca9a23563cb143dfe57eedea1ea84255f2e2c1e) 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-ssh17404630685133933707.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2920793239299622596.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17877226987681793153.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3731854480758795898.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12377661350924532931.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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11879 in /w/workspace/undry_device-onvif-camera_PR-399 [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-399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 into PR head commit 8c91624ddbafd976789e4f3e8c25215b3e2dd3de Merge succeeded, producing 8c91624ddbafd976789e4f3e8c25215b3e2dd3de Checking out Revision 8c91624ddbafd976789e4f3e8c25215b3e2dd3de (PR-399) > git config core.sparsecheckout # timeout=10 > git checkout -f 8c91624ddbafd976789e4f3e8c25215b3e2dd3de # 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 bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c91624ddbafd976789e4f3e8c25215b3e2dd3de # timeout=10 Commit message: "fix: Correct comment" > git rev-list --no-walk 7149a43d03acfbc96bd457a7a691459653d2c543 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:48:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:48:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:48:44 ========================================================= 13:48:44 EdgeX Global Pipelines Version Info 13:48:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:48:45 ------------------- 13:48:45 stable info: 13:48:45 ------------------- 13:48:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:48:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 13:48:45 Message: update stable to v1.0.254 13:48:46 ------------------- 13:48:46 experimental info: 13:48:46 ------------------- 13:48:46 Commited By: **** collab-it+edgex@linuxfoundation.org 13:48:46 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 13:48:46 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c91624ddbafd976789e4f3e8c25215b3e2dd3de [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c91624 [Pipeline] echo 13:48:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:46 provisioning config files... 13:48:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-399@tmp/config2806622383349618276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:48:47 ---> docker-login.sh 13:48:47 nexus3.edgexfoundry.org:10001 13:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:47 Configure a credential helper to remove this warning. See 13:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:47 13:48:47 Login Succeeded 13:48:47 nexus3.edgexfoundry.org:10002 13:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:47 Configure a credential helper to remove this warning. See 13:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:47 13:48:47 Login Succeeded 13:48:47 nexus3.edgexfoundry.org:10003 13:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:47 Configure a credential helper to remove this warning. See 13:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:47 13:48:47 Login Succeeded 13:48:47 nexus3.edgexfoundry.org:10004 13:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:47 Configure a credential helper to remove this warning. See 13:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:47 13:48:47 Login Succeeded 13:48:47 docker.io 13:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:48 Configure a credential helper to remove this warning. See 13:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:48 13:48:48 Login Succeeded 13:48:48 ---> docker-login.sh ends [Pipeline] } 13:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:48:48 + git rev-list -1 --merges 8c91624ddbafd976789e4f3e8c25215b3e2dd3de~1..8c91624ddbafd976789e4f3e8c25215b3e2dd3de [Pipeline] echo 13:48:48 -----------> git rev-list -1 --merges 8c91624ddbafd976789e4f3e8c25215b3e2dd3de~1..8c91624ddbafd976789e4f3e8c25215b3e2dd3de 8c91624ddbafd976789e4f3e8c25215b3e2dd3de [false] [Pipeline] sh 13:48:48 + git log --format=format:%s -1 8c91624ddbafd976789e4f3e8c25215b3e2dd3de [Pipeline] echo 13:48:48 ========================================================= 13:48:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:48:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:48:49 + git log --format=format:%s -1 8c91624ddbafd976789e4f3e8c25215b3e2dd3de [Pipeline] echo 13:48:49 [semverPrep] GIT_COMMIT: 8c91624ddbafd976789e4f3e8c25215b3e2dd3de, Commit Message: fix: Correct comment [Pipeline] echo 13:48:49 [semverPrep] This is not a build commit. [Pipeline] sh 13:48:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:48:49 + grep -v github /etc/ssh/ssh_known_hosts 13:48:49 + [ -e /tmp/ssh_known_hosts ] 13:48:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:48:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 13:48:49 sudo tee -a /etc/ssh/ssh_known_hosts 13:48:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:48:49 13:48:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:48:50 0.1.4: Pulling from edgex-devops/py-git-semver 13:48:50 b85a868b505f: Pulling fs layer 13:48:50 e2be974225ed: Pulling fs layer 13:48:50 339a4e72a1f5: Pulling fs layer 13:48:50 988bab9f4d93: Pulling fs layer 13:48:50 1469e6f7b9e6: Pulling fs layer 13:48:50 eaf3925da568: Pulling fs layer 13:48:50 988bab9f4d93: Waiting 13:48:50 1469e6f7b9e6: Waiting 13:48:50 bab4dde63d76: Pulling fs layer 13:48:50 eaf3925da568: Waiting 13:48:50 bde34c3a00c8: Pulling fs layer 13:48:50 b352a97aabf1: Pulling fs layer 13:48:50 bde34c3a00c8: Waiting 13:48:50 4872d77fe225: Pulling fs layer 13:48:50 5851b861e8e6: Pulling fs layer 13:48:50 4872d77fe225: Waiting 13:48:50 5851b861e8e6: Waiting 13:48:50 b352a97aabf1: Waiting 13:48:50 e2be974225ed: Verifying Checksum 13:48:50 e2be974225ed: Download complete 13:48:50 988bab9f4d93: Download complete 13:48:50 339a4e72a1f5: Verifying Checksum 13:48:50 339a4e72a1f5: Download complete 13:48:50 1469e6f7b9e6: Verifying Checksum 13:48:50 1469e6f7b9e6: Download complete 13:48:50 eaf3925da568: Verifying Checksum 13:48:50 eaf3925da568: Download complete 13:48:50 bde34c3a00c8: Verifying Checksum 13:48:50 bde34c3a00c8: Download complete 13:48:50 b352a97aabf1: Download complete 13:48:50 4872d77fe225: Verifying Checksum 13:48:50 4872d77fe225: Download complete 13:48:50 5851b861e8e6: Verifying Checksum 13:48:50 5851b861e8e6: Download complete 13:48:50 b85a868b505f: Verifying Checksum 13:48:50 b85a868b505f: Download complete 13:48:51 bab4dde63d76: Verifying Checksum 13:48:51 bab4dde63d76: Download complete 13:48:52 b85a868b505f: Pull complete 13:48:52 e2be974225ed: Pull complete 13:48:52 339a4e72a1f5: Pull complete 13:48:52 988bab9f4d93: Pull complete 13:48:52 1469e6f7b9e6: Pull complete 13:48:52 eaf3925da568: Pull complete 13:48:54 bab4dde63d76: Pull complete 13:48:54 bde34c3a00c8: Pull complete 13:48:54 b352a97aabf1: Pull complete 13:48:54 4872d77fe225: Pull complete 13:48:54 5851b861e8e6: Pull complete 13:48:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:48:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:48:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:54 prd-ubuntu20.04-docker-8c-8g-11879 does not seem to be running inside a container 13:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-399 -v /w/workspace/undry_device-onvif-camera_PR-399:/w/workspace/undry_device-onvif-camera_PR-399:rw,z -v /w/workspace/undry_device-onvif-camera_PR-399@tmp:/w/workspace/undry_device-onvif-camera_PR-399@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:48:57 $ docker top 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 -eo pid,comm 13:48:57 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). 13:48:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:48:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:48:57 [ssh-agent] Looking for ssh-agent implementation... 13:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:48:57 $ docker exec 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 ssh-agent 13:48:57 SSH_AUTH_SOCK=/tmp/ssh-GyViG2TTKYGU/agent.32 13:48:57 SSH_AGENT_PID=38 13:48:57 Running ssh-add (command line suppressed) 13:48:57 Identity added: /w/workspace/undry_device-onvif-camera_PR-399@tmp/private_key_9063574713976110716.key (/w/workspace/undry_device-onvif-camera_PR-399@tmp/private_key_9063574713976110716.key) 13:48:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:48:58 + git tag --points-at HEAD [Pipeline] } 13:48:58 $ docker exec --env ******** --env ******** 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 ssh-agent -k 13:48:58 unset SSH_AUTH_SOCK; 13:48:58 unset SSH_AGENT_PID; 13:48:58 echo Agent pid 38 killed; 13:48:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:48:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:48:58 [ssh-agent] Looking for ssh-agent implementation... 13:48:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:48:58 $ docker exec 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 ssh-agent 13:48:58 SSH_AUTH_SOCK=/tmp/ssh-B5dBncIbj1f7/agent.70 13:48:58 SSH_AGENT_PID=76 13:48:58 Running ssh-add (command line suppressed) 13:48:58 Identity added: /w/workspace/undry_device-onvif-camera_PR-399@tmp/private_key_7263068394887863745.key (/w/workspace/undry_device-onvif-camera_PR-399@tmp/private_key_7263068394887863745.key) 13:48:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:48:58 + git semver init 13:48:59 2023-10-26 13:48:58,960 [run_init] DEBUG init version:0.0.0 force:False 13:48:59 2023-10-26 13:48:58,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-399/.semver 13:48:59 2023-10-26 13:48:58,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-399/.semver 13:48:59 2023-10-26 13:48:58,962 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-399/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-399, universal_newlines=False, shell=None, istream=None) 13:48:59 2023-10-26 13:48:59,947 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-399/.git/info/exclude 13:48:59 2023-10-26 13:48:59,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-399/.semver/PR-399 with force:False 13:48:59 2023-10-26 13:48:59,948 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-399/.semver/PR-399 13:48:59 2023-10-26 13:48:59,952 [execute] INFO git cat-file --batch-check 13:48:59 2023-10-26 13:48:59,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-399/.semver, universal_newlines=False, shell=None, istream=) 13:48:59 2023-10-26 13:48:59,958 [execute] INFO git cat-file --batch 13:48:59 2023-10-26 13:48:59,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-399/.semver, universal_newlines=False, shell=None, istream=) 13:49:00 2023-10-26 13:48:59,964 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-399/.semver/PR-399 13:49:00 0.0.0 [Pipeline] } 13:49:00 $ docker exec --env ******** --env ******** 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 ssh-agent -k 13:49:00 unset SSH_AUTH_SOCK; 13:49:00 unset SSH_AGENT_PID; 13:49:00 echo Agent pid 76 killed; 13:49:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:49:00 + git semver [Pipeline] } 13:49:00 $ docker stop --time=1 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 13:49:02 $ docker rm -f --volumes 6f204ab560e652fcbfe590b37317f7b485a09368b8757fe1977690e34dbe3039 [Pipeline] // withDockerContainer [Pipeline] sh 13:49:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:49:02 Stashed 1 file(s) [Pipeline] echo 13:49:02 [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 13:49:02 provisioning config files... 13:49:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-399@tmp/config15372190310189470015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:49:03 ---> docker-login.sh 13:49:03 nexus3.edgexfoundry.org:10001 13:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:49:03 Configure a credential helper to remove this warning. See 13:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:49:03 13:49:03 Login Succeeded 13:49:03 nexus3.edgexfoundry.org:10002 13:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:49:03 Configure a credential helper to remove this warning. See 13:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:49:03 13:49:03 Login Succeeded 13:49:03 nexus3.edgexfoundry.org:10003 13:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:49:03 Configure a credential helper to remove this warning. See 13:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:49:03 13:49:03 Login Succeeded 13:49:03 nexus3.edgexfoundry.org:10004 13:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:49:03 Configure a credential helper to remove this warning. See 13:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:49:03 13:49:03 Login Succeeded 13:49:03 docker.io 13:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:49:03 Configure a credential helper to remove this warning. See 13:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:49:03 13:49:03 Login Succeeded 13:49:03 ---> docker-login.sh ends [Pipeline] } 13:49:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:49:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:49:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:49:03 ========================================================= 13:49:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:49:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:49:04 Sending build context to Docker daemon 21.65MB 13:49:04 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 13:49:04 Step 2/13 : FROM ${BASE} AS builder 13:49:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:49:04 7264a8db6415: Pulling fs layer 13:49:04 c4d48a809fc2: Pulling fs layer 13:49:04 4f1c88b9dad5: Pulling fs layer 13:49:04 ad3a456e5733: Pulling fs layer 13:49:04 33e27b845d1e: Pulling fs layer 13:49:04 c68163c4e522: Pulling fs layer 13:49:04 50da416c3ac9: Pulling fs layer 13:49:04 23d2d4c4bb30: Pulling fs layer 13:49:04 33e27b845d1e: Waiting 13:49:04 50da416c3ac9: Waiting 13:49:04 23d2d4c4bb30: Waiting 13:49:04 c68163c4e522: Waiting 13:49:04 ad3a456e5733: Waiting 13:49:04 c4d48a809fc2: Download complete 13:49:04 ad3a456e5733: Verifying Checksum 13:49:04 ad3a456e5733: Download complete 13:49:04 33e27b845d1e: Verifying Checksum 13:49:04 33e27b845d1e: Download complete 13:49:04 7264a8db6415: Verifying Checksum 13:49:04 7264a8db6415: Download complete 13:49:04 c68163c4e522: Verifying Checksum 13:49:04 c68163c4e522: Download complete 13:49:04 7264a8db6415: Pull complete 13:49:04 c4d48a809fc2: Pull complete 13:49:04 23d2d4c4bb30: Download complete 13:49:04 4f1c88b9dad5: Verifying Checksum 13:49:04 4f1c88b9dad5: Download complete 13:49:05 50da416c3ac9: Verifying Checksum 13:49:05 50da416c3ac9: Download complete 13:49:07 4f1c88b9dad5: Pull complete 13:49:07 ad3a456e5733: Pull complete 13:49:07 33e27b845d1e: Pull complete 13:49:07 c68163c4e522: Pull complete 13:49:10 50da416c3ac9: Pull complete 13:49:10 23d2d4c4bb30: Pull complete 13:49:10 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 13:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:49:10 ---> 0786185ac409 13:49:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:49:13 ---> Running in f4e4756a816d 13:49:13 Removing intermediate container f4e4756a816d 13:49:13 ---> 9a3dec6b9bf8 13:49:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:49:13 ---> Running in d911128fe1f4 13:49:14 Removing intermediate container d911128fe1f4 13:49:14 ---> 8d466f486bae 13:49:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 13:49:14 ---> Running in 256204e1321e 13:49:14 Removing intermediate container 256204e1321e 13:49:14 ---> 90a42b73286b 13:49:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:49:14 ---> Running in 03f854fbf9b6 13:49:14 Removing intermediate container 03f854fbf9b6 13:49:14 ---> a010e5162bda 13:49:14 Step 7/13 : LABEL Name=edgex-device-onvif-camera 13:49:14 ---> Running in 9feaf56cae6a 13:49:14 Removing intermediate container 9feaf56cae6a 13:49:14 ---> 959c8e265b21 13:49:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:49:14 ---> Running in 5e8aea2405a8 13:49:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:49:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:49:14 OK: 264 MiB in 52 packages 13:49:15 Removing intermediate container 5e8aea2405a8 13:49:15 ---> bbc1113265b5 13:49:15 Step 9/13 : WORKDIR /device-onvif-camera 13:49:15 ---> Running in ffac1aa9d7cc 13:49:15 Removing intermediate container ffac1aa9d7cc 13:49:15 ---> 92c6cf3bcd08 13:49:15 Step 10/13 : COPY go.mod vendor* ./ 13:49:15 ---> 5d75e2dc442e 13:49:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:49:15 ---> Running in a1130aabc641 13:49:17 Still waiting to schedule task 13:49:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11876’ 13:50:02 Removing intermediate container a1130aabc641 13:50:02 ---> c9c57c613ade 13:50:02 Step 12/13 : COPY . . 13:50:02 ---> e63ba49dd26f 13:50:02 Step 13/13 : RUN ${MAKE} 13:50:02 ---> Running in 4284f60c0d3a 13:50:02 noop 13:50:02 Removing intermediate container 4284f60c0d3a 13:50:02 ---> 0b156bddb28d 13:50:02 Successfully built 0b156bddb28d 13:50:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:02 + docker inspect -f . ci-base-image-x86_64 13:50:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:02 prd-ubuntu20.04-docker-8c-8g-11879 does not seem to be running inside a container 13:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-399 -v /w/workspace/undry_device-onvif-camera_PR-399:/w/workspace/undry_device-onvif-camera_PR-399:rw,z -v /w/workspace/undry_device-onvif-camera_PR-399@tmp:/w/workspace/undry_device-onvif-camera_PR-399@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 ******** ci-base-image-x86_64 cat 13:50:02 $ docker top 525295f4910299145abbe4f18504238acef1575cda842447df9bacd13be6ce58 -eo pid,comm [Pipeline] { [Pipeline] sh 13:50:03 + go version 13:50:03 go version go1.21.0 linux/amd64 [Pipeline] } 13:50:03 $ docker stop --time=1 525295f4910299145abbe4f18504238acef1575cda842447df9bacd13be6ce58 13:50:04 $ docker rm -f --volumes 525295f4910299145abbe4f18504238acef1575cda842447df9bacd13be6ce58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:04 + docker inspect -f . ci-base-image-x86_64 13:50:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:04 prd-ubuntu20.04-docker-8c-8g-11879 does not seem to be running inside a container 13:50:04 $ 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-399 -v /w/workspace/undry_device-onvif-camera_PR-399:/w/workspace/undry_device-onvif-camera_PR-399:rw,z -v /w/workspace/undry_device-onvif-camera_PR-399@tmp:/w/workspace/undry_device-onvif-camera_PR-399@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 ******** ci-base-image-x86_64 cat 13:50:05 $ docker top f57bf08555d5e82da3747a3dd49962c3d42463c17c01c6e6c1e3216262cad27c -eo pid,comm [Pipeline] { [Pipeline] sh 13:50:05 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-399 [Pipeline] fileExists [Pipeline] sh 13:50:05 + make test 13:50:05 go test ./... -coverprofile=coverage.out ./... 13:50:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:50:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:50:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 13:50:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.5% of statements 13:50:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.075s coverage: 86.5% of statements 13:50:25 go vet ./... 13:50:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:50:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:50:29 ./bin/test-attribution-txt.sh [Pipeline] echo 13:50:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:50:29 $ docker stop --time=1 f57bf08555d5e82da3747a3dd49962c3d42463c17c01c6e6c1e3216262cad27c 13:50:31 $ docker rm -f --volumes f57bf08555d5e82da3747a3dd49962c3d42463c17c01c6e6c1e3216262cad27c [Pipeline] // withDockerContainer [Pipeline] sh 13:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:50:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:50:33 + ls -al . 13:50:33 total 236 13:50:33 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 13:50 . 13:50:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:48 .. 13:50:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 13:50 .git 13:50:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 13:48 .github 13:50:33 -rw-rw-r-- 1 jenkins jenkins 493 Oct 26 13:48 .gitignore 13:50:33 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 13:48 .golangci.yml 13:50:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 13:48 .semver 13:50:33 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 26 13:48 Attribution.txt 13:50:33 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 26 13:48 CHANGELOG.md 13:50:33 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 26 13:48 Dockerfile 13:50:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 13:48 GOVERNANCE.md 13:50:33 -rw-rw-r-- 1 jenkins jenkins 739 Oct 26 13:48 Jenkinsfile 13:50:33 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 13:48 LICENSE 13:50:33 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 26 13:48 Makefile 13:50:33 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 13:48 OWNERS.md 13:50:33 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 26 13:48 README.md 13:50:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 13:49 VERSION 13:50:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 13:48 bin 13:50:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 13:48 cmd 13:50:33 -rw-r--r-- 1 jenkins jenkins 78456 Oct 26 13:50 coverage.out 13:50:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:48 doc 13:50:33 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 26 13:48 go.mod 13:50:33 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 26 13:48 go.sum 13:50:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:48 internal 13:50:33 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 13:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:33 + 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=8c91624ddbafd976789e4f3e8c25215b3e2dd3de --label arch=amd64 --label version=0.0.0 . 13:50:33 Sending build context to Docker daemon 21.73MB 13:50:33 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:50:33 Step 2/26 : FROM ${BASE} AS builder 13:50:33 ---> 0b156bddb28d 13:50:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:50:33 ---> Running in f1208e0523a4 13:50:33 Removing intermediate container f1208e0523a4 13:50:33 ---> 2e69395eb31a 13:50:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:50:33 ---> Running in c0e262579667 13:50:33 Removing intermediate container c0e262579667 13:50:33 ---> 6f5e3792961a 13:50:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 13:50:33 ---> Running in 40e65c2a63e3 13:50:33 Removing intermediate container 40e65c2a63e3 13:50:33 ---> ffaf378832ea 13:50:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:50:33 ---> Running in cf4b704cf05a 13:50:33 Removing intermediate container cf4b704cf05a 13:50:33 ---> aa60b92b3f2a 13:50:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 13:50:33 ---> Running in dc82b197ed6f 13:50:34 Removing intermediate container dc82b197ed6f 13:50:34 ---> 4672c1d88411 13:50:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:50:34 ---> Running in 60604d2fb381 13:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:50:34 OK: 264 MiB in 52 packages 13:50:35 Removing intermediate container 60604d2fb381 13:50:35 ---> 452ddfc7577c 13:50:35 Step 9/26 : WORKDIR /device-onvif-camera 13:50:35 ---> Running in ae8e3471a4cb 13:50:35 Removing intermediate container ae8e3471a4cb 13:50:35 ---> 085288b13a67 13:50:35 Step 10/26 : COPY go.mod vendor* ./ 13:50:35 ---> 7f7260674454 13:50:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:50:35 ---> Running in d090f12574b2 13:50:36 Removing intermediate container d090f12574b2 13:50:36 ---> 365fadd3bdad 13:50:36 Step 12/26 : COPY . . 13:50:36 ---> 1d0ccd5366c5 13:50:36 Step 13/26 : RUN ${MAKE} 13:50:36 ---> Running in d09cbd86881d 13:50:37 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.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 13:50:55 Removing intermediate container d09cbd86881d 13:50:55 ---> 805e519d69aa 13:50:55 Step 14/26 : FROM alpine:3.18 13:50:55 3.18: Pulling from library/alpine 13:50:55 96526aa774ef: Pulling fs layer 13:50:55 96526aa774ef: Verifying Checksum 13:50:55 96526aa774ef: Download complete 13:50:55 96526aa774ef: Pull complete 13:50:55 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 13:50:55 Status: Downloaded newer image for alpine:3.18 13:50:55 ---> 8ca4688f4f35 13:50:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 13:50:56 ---> Running in f05d1423f1fb 13:50:56 Removing intermediate container f05d1423f1fb 13:50:56 ---> d226636c907f 13:50:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 13:50:56 ---> Running in da0a1ed88de5 13:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:50:56 (1/1) Installing dumb-init (1.2.5-r2) 13:50:56 Executing busybox-1.36.1-r2.trigger 13:50:56 OK: 7 MiB in 16 packages 13:50:56 Removing intermediate container da0a1ed88de5 13:50:56 ---> 6b99056ca923 13:50:56 Step 17/26 : WORKDIR / 13:50:56 ---> Running in 3d36e11dcf51 13:50:57 Removing intermediate container 3d36e11dcf51 13:50:57 ---> ca84bfa81036 13:50:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:50:58 ---> 229b087a82aa 13:50:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:50:58 ---> 94eaa3c9e3ba 13:50:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:50:58 ---> 4e3eb31990ec 13:50:58 Step 21/26 : EXPOSE 59984 13:50:58 ---> Running in cc75cf90b986 13:50:58 Removing intermediate container cc75cf90b986 13:50:58 ---> 65f7e903a9e9 13:50:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:50:58 ---> Running in 14bebffe6086 13:50:58 Removing intermediate container 14bebffe6086 13:50:58 ---> 1945fcee43c2 13:50:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:50:58 ---> Running in 8879547752ad 13:50:58 Removing intermediate container 8879547752ad 13:50:58 ---> ea0f9887c933 13:50:58 Step 24/26 : LABEL arch=amd64 13:50:58 ---> Running in c4e5f038fd84 13:50:58 Removing intermediate container c4e5f038fd84 13:50:58 ---> 680d024873de 13:50:58 Step 25/26 : LABEL git_sha=8c91624ddbafd976789e4f3e8c25215b3e2dd3de 13:50:58 ---> Running in 1353d4f8b933 13:50:58 Removing intermediate container 1353d4f8b933 13:50:58 ---> 10e667d591f5 13:50:58 Step 26/26 : LABEL version=0.0.0 13:50:58 ---> Running in b562fbe94333 13:50:58 Removing intermediate container b562fbe94333 13:50:58 ---> e1f3566a7174 13:50:58 [Warning] One or more build-args [ARCH] were not consumed 13:50:58 Successfully built e1f3566a7174 13:50:58 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 13:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:50:59 13:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:50:59 latest: Pulling from edgex-lftools-log-publisher 13:50:59 5eb5b503b376: Pulling fs layer 13:50:59 5c69ac0246d0: Pulling fs layer 13:50:59 ec43610c2a17: Pulling fs layer 13:50:59 3a2ae6a8a46f: Pulling fs layer 13:50:59 33b1e0a273af: Pulling fs layer 13:50:59 5d3b04190fa2: Pulling fs layer 13:50:59 2f39f015ded8: Pulling fs layer 13:50:59 5d3b04190fa2: Waiting 13:50:59 2f39f015ded8: Waiting 13:50:59 33b1e0a273af: Waiting 13:50:59 5c69ac0246d0: Download complete 13:50:59 3a2ae6a8a46f: Verifying Checksum 13:50:59 3a2ae6a8a46f: Download complete 13:50:59 ec43610c2a17: Verifying Checksum 13:50:59 ec43610c2a17: Download complete 13:50:59 33b1e0a273af: Verifying Checksum 13:50:59 33b1e0a273af: Download complete 13:50:59 5d3b04190fa2: Verifying Checksum 13:50:59 5d3b04190fa2: Download complete 13:50:59 5eb5b503b376: Verifying Checksum 13:50:59 5eb5b503b376: Download complete 13:51:00 2f39f015ded8: Verifying Checksum 13:51:00 2f39f015ded8: Download complete 13:51:01 5eb5b503b376: Pull complete 13:51:01 5c69ac0246d0: Pull complete 13:51:01 ec43610c2a17: Pull complete 13:51:01 3a2ae6a8a46f: Pull complete 13:51:01 33b1e0a273af: Pull complete 13:51:01 5d3b04190fa2: Pull complete 13:51:05 2f39f015ded8: Pull complete 13:51:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:51:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:51:06 prd-ubuntu20.04-docker-8c-8g-11879 does not seem to be running inside a container 13:51:06 $ 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-399 -v /w/workspace/undry_device-onvif-camera_PR-399:/w/workspace/undry_device-onvif-camera_PR-399:rw,z -v /w/workspace/undry_device-onvif-camera_PR-399@tmp:/w/workspace/undry_device-onvif-camera_PR-399@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 13:51:09 $ docker top 5361a1c133c5e905a29ef49b459acb2863610944dc2b2a1b397773829048c89d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:51:09 ---> job-cost.sh 13:51:09 lf-activate-venv: SKIPPING 13:51:09 INFO: No Stack... 13:51:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:51:10 INFO: Archiving Costs [Pipeline] sh 13:51:10 + cat /w/workspace/undry_device-onvif-camera_PR-399/archives/cost.csv 13:51:10 + cut -d, -f6 [Pipeline] lock 13:51:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] 13:51:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] did not exist. Created. 13:51:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:51:11 + echo total: 0.2199999988079071 [Pipeline] stash 13:51:11 Stashed 1 file(s) [Pipeline] } 13:51:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:51:11 $ docker stop --time=1 5361a1c133c5e905a29ef49b459acb2863610944dc2b2a1b397773829048c89d 13:51:12 $ docker rm -f --volumes 5361a1c133c5e905a29ef49b459acb2863610944dc2b2a1b397773829048c89d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:57:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11909 in /w/workspace/undry_device-onvif-camera_PR-399 [Pipeline] { [Pipeline] ws 13:57:38 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 13:57:38 The recommended git tool is: git 13:57:45 using credential edgex-jenkins-ssh 13:57:45 Cloning the remote Git repository 13:57:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 13:57:45 > git init /w/workspace/device-onvif-camera/2 # timeout=10 13:57:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:57:45 > git --version # timeout=10 13:57:45 > git --version # 'git version 2.25.1' 13:57:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:57:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:53 Merging remotes/origin/main commit bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 into PR head commit 8c91624ddbafd976789e4f3e8c25215b3e2dd3de 13:57:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:57:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:57:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:57:53 > git config core.sparsecheckout # timeout=10 13:57:53 > git checkout -f 8c91624ddbafd976789e4f3e8c25215b3e2dd3de # timeout=10 13:57:53 Merge succeeded, producing 8c91624ddbafd976789e4f3e8c25215b3e2dd3de 13:57:53 Checking out Revision 8c91624ddbafd976789e4f3e8c25215b3e2dd3de (PR-399) 13:57:53 > git remote # timeout=10 13:57:53 > git config --get remote.origin.url # timeout=10 13:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:57:53 > git merge bf74ebf12077028c42a990cb9f5eb3b4e8875dd7 # timeout=10 13:57:53 > git rev-parse HEAD^{commit} # timeout=10 13:57:53 > git config core.sparsecheckout # timeout=10 13:57:53 > git checkout -f 8c91624ddbafd976789e4f3e8c25215b3e2dd3de # timeout=10 13:57:57 Commit message: "fix: Correct comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:57:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:57:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:57:58 Dload Upload Total Spent Left Speed 13:57:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 13:57:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:57:59 + sudo tee /etc/docker/daemon.new 13:57:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:57:59 { 13:57:59 "registry-mirrors": [ 13:57:59 "https://nexus3.edgexfoundry.org:10001" 13:57:59 ], 13:57:59 "bip": "10.250.0.254/24", 13:57:59 "hosts": [ 13:57:59 "tcp://0.0.0.0:5555", 13:57:59 "unix:///var/run/docker.sock" 13:57:59 ], 13:57:59 "mtu": 1458, 13:57:59 "selinux-enabled": true, 13:57:59 "seccomp-profile": "/etc/docker/seccomp.json" 13:57:59 } [Pipeline] sh 13:58:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:58:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:58:22 provisioning config files... 13:58:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config17869469384970773402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:22 ---> docker-login.sh 13:58:22 nexus3.edgexfoundry.org:10001 13:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:23 Configure a credential helper to remove this warning. See 13:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:23 13:58:23 Login Succeeded 13:58:23 nexus3.edgexfoundry.org:10002 13:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:24 Configure a credential helper to remove this warning. See 13:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:24 13:58:24 Login Succeeded 13:58:24 nexus3.edgexfoundry.org:10003 13:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:24 Configure a credential helper to remove this warning. See 13:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:24 13:58:24 Login Succeeded 13:58:24 nexus3.edgexfoundry.org:10004 13:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:24 Configure a credential helper to remove this warning. See 13:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:24 13:58:24 Login Succeeded 13:58:25 docker.io 13:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:58:25 Configure a credential helper to remove this warning. See 13:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:58:25 13:58:25 Login Succeeded 13:58:25 ---> docker-login.sh ends [Pipeline] } 13:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:58:26 ========================================================= 13:58:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:58:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:58:27 Sending build context to Docker daemon 14.18MB 13:58:27 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 13:58:27 Step 2/13 : FROM ${BASE} AS builder 13:58:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:58:27 9fda8d8052c6: Pulling fs layer 13:58:27 5d54e960e981: Pulling fs layer 13:58:27 c4a7e357bf2a: Pulling fs layer 13:58:27 f0e02332f6b5: Pulling fs layer 13:58:27 cefa15bbcfad: Pulling fs layer 13:58:27 17808c966233: Pulling fs layer 13:58:27 f4c1fc716caa: Pulling fs layer 13:58:27 cefa15bbcfad: Waiting 13:58:27 17808c966233: Waiting 13:58:27 f0e02332f6b5: Waiting 13:58:27 f4c1fc716caa: Waiting 13:58:27 5d54e960e981: Verifying Checksum 13:58:27 5d54e960e981: Download complete 13:58:27 f0e02332f6b5: Verifying Checksum 13:58:27 f0e02332f6b5: Download complete 13:58:27 cefa15bbcfad: Verifying Checksum 13:58:27 cefa15bbcfad: Download complete 13:58:27 9fda8d8052c6: Verifying Checksum 13:58:27 9fda8d8052c6: Download complete 13:58:27 f4c1fc716caa: Verifying Checksum 13:58:27 f4c1fc716caa: Download complete 13:58:28 9fda8d8052c6: Pull complete 13:58:28 5d54e960e981: Pull complete 13:58:29 c4a7e357bf2a: Verifying Checksum 13:58:30 17808c966233: Verifying Checksum 13:58:30 17808c966233: Download complete 13:58:42 c4a7e357bf2a: Pull complete 13:58:42 f0e02332f6b5: Pull complete 13:58:43 cefa15bbcfad: Pull complete 13:58:51 17808c966233: Pull complete 13:58:53 f4c1fc716caa: Pull complete 13:58:53 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 13:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:58:53 ---> ea914061e18c 13:58:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:58:54 ---> Running in 8fd35d9b0c81 13:58:54 Removing intermediate container 8fd35d9b0c81 13:58:54 ---> 625b50faf4fa 13:58:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:58:54 ---> Running in b11bb9340fca 13:58:55 Removing intermediate container b11bb9340fca 13:58:55 ---> 2789e1d003c0 13:58:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 13:58:55 ---> Running in ebb372946e0d 13:58:55 Removing intermediate container ebb372946e0d 13:58:55 ---> 827d3f465ca4 13:58:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:58:55 ---> Running in 753efb978521 13:58:56 Removing intermediate container 753efb978521 13:58:56 ---> c19fe06a6c55 13:58:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 13:58:56 ---> Running in f9ffef044830 13:58:56 Removing intermediate container f9ffef044830 13:58:56 ---> 12e05d79b290 13:58:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:58:56 ---> Running in 1dedbb525a47 13:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:58:59 OK: 266 MiB in 52 packages 13:59:02 Removing intermediate container 1dedbb525a47 13:59:02 ---> 65a23c1bf60c 13:59:02 Step 9/13 : WORKDIR /device-onvif-camera 13:59:02 ---> Running in 775916f3359f 13:59:02 Removing intermediate container 775916f3359f 13:59:02 ---> 8d88684c14c9 13:59:02 Step 10/13 : COPY go.mod vendor* ./ 13:59:03 ---> ab4b46a98926 13:59:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:59:03 ---> Running in 88b5ddf999ca 14:00:55 Removing intermediate container 88b5ddf999ca 14:00:55 ---> 5779e6238c0e 14:00:55 Step 12/13 : COPY . . 14:00:55 ---> cec18317ed6a 14:00:55 Step 13/13 : RUN ${MAKE} 14:00:55 ---> Running in 9d44b5af3109 14:00:55 noop 14:00:55 Removing intermediate container 9d44b5af3109 14:00:55 ---> d7f8d73b23e6 14:00:55 Successfully built d7f8d73b23e6 14:00:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:55 + docker inspect -f . ci-base-image-arm64 14:00:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:55 prd-ubuntu20.04-docker-arm64-4c-16g-11909 does not seem to be running inside a container 14:00:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 14:00:57 $ docker top d3b3bd43f158ddb94f8faee19e8b700296346545de8f3d3e9299f237fbfe4374 -eo pid,comm [Pipeline] { [Pipeline] sh 14:00:57 + go version 14:00:57 go version go1.21.0 linux/arm64 [Pipeline] } 14:00:57 $ docker stop --time=1 d3b3bd43f158ddb94f8faee19e8b700296346545de8f3d3e9299f237fbfe4374 14:00:59 $ docker rm -f --volumes d3b3bd43f158ddb94f8faee19e8b700296346545de8f3d3e9299f237fbfe4374 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:00 + docker inspect -f . ci-base-image-arm64 14:01:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:00 prd-ubuntu20.04-docker-arm64-4c-16g-11909 does not seem to be running inside a container 14:01:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 14:01:01 $ docker top f155462df60af29470ffae389c192829675cf1fbedfe121afecb3894c543c474 -eo pid,comm [Pipeline] { [Pipeline] sh 14:01:02 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 14:01:03 + make test 14:01:03 go test ./... -coverprofile=coverage.out ./... 14:01:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:03:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:03:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:03:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.169s coverage: 31.5% of statements 14:03:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.851s coverage: 86.5% of statements 14:03:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:03:30 go vet ./... 14:03:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:03:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:03:57 ./bin/test-attribution-txt.sh [Pipeline] echo 14:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:03:57 $ docker stop --time=1 f155462df60af29470ffae389c192829675cf1fbedfe121afecb3894c543c474 14:03:59 $ docker rm -f --volumes f155462df60af29470ffae389c192829675cf1fbedfe121afecb3894c543c474 [Pipeline] // withDockerContainer [Pipeline] sh 14:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:04:00 Warning: overwriting stash ‘coverage-report’ 14:04:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:04:01 + ls -al . 14:04:01 total 232 14:04:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 14:01 . 14:04:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:57 .. 14:04:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 13:57 .git 14:04:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 13:57 .github 14:04:01 -rw-rw-r-- 1 jenkins jenkins 493 Oct 26 13:57 .gitignore 14:04:01 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 13:57 .golangci.yml 14:04:01 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 26 13:57 Attribution.txt 14:04:01 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 26 13:57 CHANGELOG.md 14:04:01 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 26 13:57 Dockerfile 14:04:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 13:57 GOVERNANCE.md 14:04:01 -rw-rw-r-- 1 jenkins jenkins 739 Oct 26 13:57 Jenkinsfile 14:04:01 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 13:57 LICENSE 14:04:01 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 26 13:57 Makefile 14:04:01 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 13:57 OWNERS.md 14:04:01 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 26 13:57 README.md 14:04:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 13:49 VERSION 14:04:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 13:57 bin 14:04:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 13:57 cmd 14:04:01 -rw-r--r-- 1 jenkins jenkins 78456 Oct 26 14:03 coverage.out 14:04:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:57 doc 14:04:01 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 26 13:57 go.mod 14:04:01 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 26 13:57 go.sum 14:04:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 13:57 internal 14:04:01 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 13:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:02 + 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=8c91624ddbafd976789e4f3e8c25215b3e2dd3de --label arch=arm64 --label version=0.0.0 . 14:04:02 Sending build context to Docker daemon 14.26MB 14:04:02 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 14:04:02 Step 2/26 : FROM ${BASE} AS builder 14:04:02 ---> d7f8d73b23e6 14:04:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 14:04:03 ---> Running in 4fbe22b67555 14:04:03 Removing intermediate container 4fbe22b67555 14:04:03 ---> aadaaf807ce5 14:04:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:04:03 ---> Running in 8a7826c23fd1 14:04:03 Removing intermediate container 8a7826c23fd1 14:04:03 ---> 8116f235b252 14:04:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 14:04:03 ---> Running in 653ccd9368a5 14:04:04 Removing intermediate container 653ccd9368a5 14:04:04 ---> 3756cf5c4b59 14:04:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 14:04:04 ---> Running in 03d0a11f064a 14:04:04 Removing intermediate container 03d0a11f064a 14:04:04 ---> 33077cecce7d 14:04:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 14:04:04 ---> Running in 13266e74965b 14:04:04 Removing intermediate container 13266e74965b 14:04:04 ---> fee0567f8922 14:04:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:04:04 ---> Running in 58cdf067f272 14:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:04:07 OK: 266 MiB in 52 packages 14:04:08 Removing intermediate container 58cdf067f272 14:04:08 ---> aeb21802ff98 14:04:08 Step 9/26 : WORKDIR /device-onvif-camera 14:04:08 ---> Running in f0d792f63bce 14:04:09 Removing intermediate container f0d792f63bce 14:04:09 ---> b5f640b8f17f 14:04:09 Step 10/26 : COPY go.mod vendor* ./ 14:04:09 ---> f1b63205230a 14:04:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:04:09 ---> Running in d2130c2c57be 14:04:12 Removing intermediate container d2130c2c57be 14:04:12 ---> c85ead904a67 14:04:12 Step 12/26 : COPY . . 14:04:13 ---> 8842e12001c3 14:04:13 Step 13/26 : RUN ${MAKE} 14:04:13 ---> Running in 4bbd6523da7e 14:04:14 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.36" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 14:06:21 Removing intermediate container 4bbd6523da7e 14:06:21 ---> fa74c04641de 14:06:21 Step 14/26 : FROM alpine:3.18 14:06:21 3.18: Pulling from library/alpine 14:06:21 579b34f0a95b: Pulling fs layer 14:06:21 579b34f0a95b: Verifying Checksum 14:06:21 579b34f0a95b: Download complete 14:06:21 579b34f0a95b: Pull complete 14:06:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:06:21 Status: Downloaded newer image for alpine:3.18 14:06:21 ---> 3cc203321400 14:06:21 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 14:06:21 ---> Running in 6b3b642b01e9 14:06:21 Removing intermediate container 6b3b642b01e9 14:06:21 ---> c8f55e4df0e4 14:06:21 Step 16/26 : RUN apk add --update --no-cache dumb-init 14:06:21 ---> Running in d9633dae2716 14:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:06:21 (1/1) Installing dumb-init (1.2.5-r2) 14:06:21 Executing busybox-1.36.1-r2.trigger 14:06:21 OK: 8 MiB in 16 packages 14:06:21 Removing intermediate container d9633dae2716 14:06:21 ---> 25f51d7eb1e8 14:06:21 Step 17/26 : WORKDIR / 14:06:21 ---> Running in 12322f4d7c2d 14:06:21 Removing intermediate container 12322f4d7c2d 14:06:21 ---> f69e7aa16442 14:06:21 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:06:21 ---> 5af1f4001e4b 14:06:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:06:21 ---> fbac47bd636a 14:06:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:06:21 ---> 59798431db3f 14:06:21 Step 21/26 : EXPOSE 59984 14:06:21 ---> Running in 816904fea0a9 14:06:21 Removing intermediate container 816904fea0a9 14:06:21 ---> 37a566ed6442 14:06:21 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:06:21 ---> Running in 5663a5ad81bd 14:06:21 Removing intermediate container 5663a5ad81bd 14:06:21 ---> 67ef347fdc95 14:06:21 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:06:21 ---> Running in b0e243df2196 14:06:21 Removing intermediate container b0e243df2196 14:06:21 ---> a0db842ffa10 14:06:21 Step 24/26 : LABEL arch=arm64 14:06:21 ---> Running in 8f32aeb73355 14:06:21 Removing intermediate container 8f32aeb73355 14:06:21 ---> 47048ff22299 14:06:21 Step 25/26 : LABEL git_sha=8c91624ddbafd976789e4f3e8c25215b3e2dd3de 14:06:21 ---> Running in 701183a9fc90 14:06:21 Removing intermediate container 701183a9fc90 14:06:21 ---> 2b448d275753 14:06:21 Step 26/26 : LABEL version=0.0.0 14:06:21 ---> Running in 6cbbdd31e53b 14:06:21 Removing intermediate container 6cbbdd31e53b 14:06:21 ---> 4886acc84da0 14:06:21 [Warning] One or more build-args [ARCH] were not consumed 14:06:21 Successfully built 4886acc84da0 14:06:21 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 14:06:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:21 14:06:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:22 arm64: Pulling from edgex-lftools-log-publisher 14:06:22 8998bd30e6a1: Pulling fs layer 14:06:22 04944245beec: Pulling fs layer 14:06:22 699f458cf7ca: Pulling fs layer 14:06:22 765212b225bb: Pulling fs layer 14:06:22 f23df028b6ca: Pulling fs layer 14:06:22 d65c8cfc05b1: Pulling fs layer 14:06:22 2437ff75d9bd: Pulling fs layer 14:06:22 765212b225bb: Waiting 14:06:22 d65c8cfc05b1: Waiting 14:06:22 f23df028b6ca: Waiting 14:06:22 04944245beec: Download complete 14:06:22 765212b225bb: Verifying Checksum 14:06:22 765212b225bb: Download complete 14:06:22 f23df028b6ca: Verifying Checksum 14:06:22 f23df028b6ca: Download complete 14:06:22 d65c8cfc05b1: Verifying Checksum 14:06:22 d65c8cfc05b1: Download complete 14:06:22 699f458cf7ca: Verifying Checksum 14:06:22 699f458cf7ca: Download complete 14:06:23 8998bd30e6a1: Download complete 14:06:25 2437ff75d9bd: Verifying Checksum 14:06:25 2437ff75d9bd: Download complete 14:06:27 8998bd30e6a1: Pull complete 14:06:28 04944245beec: Pull complete 14:06:30 699f458cf7ca: Pull complete 14:06:30 765212b225bb: Pull complete 14:06:30 f23df028b6ca: Pull complete 14:06:30 d65c8cfc05b1: Pull complete 14:06:49 2437ff75d9bd: Pull complete 14:06:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:49 prd-ubuntu20.04-docker-arm64-4c-16g-11909 does not seem to be running inside a container 14:06:49 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 14:06:52 $ docker top e7f774e9d1235f21946aa2dfe954159fe9b2ffff30fd1d7cfd6ed4fe8520208b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:52 ---> job-cost.sh 14:06:52 lf-activate-venv: SKIPPING 14:06:52 INFO: No Stack... 14:06:53 INFO: Retrieving Pricing Info for: v3-standard-4 14:06:54 INFO: Archiving Costs [Pipeline] sh 14:06:54 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 14:06:54 + cut -d, -f6 [Pipeline] lock 14:06:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] 14:06:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] did not exist. Created. 14:06:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:06:55 /w/workspace/device-onvif-camera/2@tmp/durable-0b5d369f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:06:56 + echo total: 0.10999999940395355 [Pipeline] stash 14:06:56 Warning: overwriting stash ‘stack-cost’ 14:06:56 Stashed 1 file(s) [Pipeline] } 14:06:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-399-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:06:56 $ docker stop --time=1 e7f774e9d1235f21946aa2dfe954159fe9b2ffff30fd1d7cfd6ed4fe8520208b 14:06:57 $ docker rm -f --volumes e7f774e9d1235f21946aa2dfe954159fe9b2ffff30fd1d7cfd6ed4fe8520208b [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 14:06:58 provisioning config files... 14:06:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-399@tmp/config2392102554383739990tmp [Pipeline] { [Pipeline] sh 14:06:58 + set +x 14:06:58 + curl -s https://codecov.io/bash 14:06:58 + bash -s -- 14:06:58 14:06:58 _____ _ 14:06:58 / ____| | | 14:06:58 | | ___ __| | ___ ___ _____ __ 14:06:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:06:58 | |___| (_) | (_| | __/ (_| (_) \ V / 14:06:58 \_____\___/ \__,_|\___|\___\___/ \_/ 14:06:58 Bash-1.0.6 14:06:58 14:06:58 14:06:58 ==> git version 2.25.1 found 14:06:58 ==> 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 14:06:58 Release-Date: 2020-01-08 14:06:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:06:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:06:58 ==> Jenkins CI detected. 14:06:58 current dir:  /w/workspace/undry_device-onvif-camera_PR-399 14:06:58 project root: . 14:06:58 --> token set from env 14:06:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:06:58 ==> Running gcov in . (disable via -X gcov) 14:06:58 ==> Python coveragepy not found 14:06:58 ==> Searching for coverage reports in: 14:06:58 + . 14:06:58 -> Found 1 reports 14:06:58 ==> Detecting git/mercurial file structure 14:06:58 ==> Reading reports 14:06:58 + ./coverage.out bytes=78456 14:06:58 ==> Appending adjustments 14:06:58 https://docs.codecov.io/docs/fixing-reports 14:06:58 + Found adjustments 14:06:58 ==> Gzipping contents 14:06:58 12K /tmp/codecov.5tlYOz.gz 14:06:58 ==> Uploading reports 14:06:58 url: https://codecov.io 14:06:58 query: branch=PR-399&commit=8c91624ddbafd976789e4f3e8c25215b3e2dd3de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=399&job=&cmd_args= 14:06:58 -> Pinging Codecov 14:06:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-399&commit=8c91624ddbafd976789e4f3e8c25215b3e2dd3de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-399%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=399&job=&cmd_args= 14:06:59 -> Uploading to 14:06:59 https://storage.googleapis.com/codecov/v4/raw/2023-10-26/F29A59C45E3A92E06B3E522C9905F8EF/8c91624ddbafd976789e4f3e8c25215b3e2dd3de/1962991c-03ef-4877-b6e7-44f3d50edd78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T140658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17350a37429122b0b4da8a9da79f8879390f4f5a8508b50e451a04b14e5bf78d 14:06:59 % Total % Received % Xferd Average Speed Time Time Time Current 14:06:59 Dload Upload Total Spent Left Speed 14:06:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 31932 --:--:-- --:--:-- --:--:-- 31932 14:06:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8c91624ddbafd976789e4f3e8c25215b3e2dd3de [Pipeline] } 14:06:59 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 14:07:00 + [ -d /w/workspace/undry_device-onvif-camera_PR-399/archives ] 14:07:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-399/archives 14:07:00 total 16 14:07:00 drwxr-xr-x 3 root root 4096 Oct 26 13:51 . 14:07:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 13:51 .. 14:07:00 drwxr-xr-x 2 root root 4096 Oct 26 13:51 cost 14:07:00 -rw-r--r-- 1 root root 91 Oct 26 13:51 cost.csv 14:07:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-399/archives 14:07:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-399/archives 14:07:00 total 16 14:07:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 13:51 . 14:07:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 13:51 .. 14:07:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 13:51 cost 14:07:00 -rw-r--r-- 1 jenkins jenkins 91 Oct 26 13:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:01 ---> package-listing.sh 14:07:01 ++ tr '[:upper:]' '[:lower:]' 14:07:01 ++ facter osfamily 14:07:01 + OS_FAMILY=debian 14:07:01 + workspace=/w/workspace/undry_device-onvif-camera_PR-399 14:07:01 + START_PACKAGES=/tmp/packages_start.txt 14:07:01 + END_PACKAGES=/tmp/packages_end.txt 14:07:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:01 + PACKAGES=/tmp/packages_start.txt 14:07:01 + '[' /w/workspace/undry_device-onvif-camera_PR-399 ']' 14:07:01 + PACKAGES=/tmp/packages_end.txt 14:07:01 + case "${OS_FAMILY}" in 14:07:01 + dpkg -l 14:07:01 + grep '^ii' 14:07:01 + '[' -f /tmp/packages_start.txt ']' 14:07:01 + '[' -f /tmp/packages_end.txt ']' 14:07:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:01 + '[' /w/workspace/undry_device-onvif-camera_PR-399 ']' 14:07:01 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-399/archives/ 14:07:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-399/archives/ [Pipeline] echo 14:07:01 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:07:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:02 prd-ubuntu20.04-docker-8c-8g-11879 does not seem to be running inside a container 14:07:02 $ 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-399/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-399 -v /w/workspace/undry_device-onvif-camera_PR-399:/w/workspace/undry_device-onvif-camera_PR-399:rw,z -v /w/workspace/undry_device-onvif-camera_PR-399@tmp:/w/workspace/undry_device-onvif-camera_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:02 $ docker top 912daa95bef5eb9cd12340f5b5fc743c8d6e77b476de4ae2eb30d96d055783c5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:02 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:03 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:03 + ls /var/log/sa-host 14:07:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:03 provisioning config files... 14:07:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-399@tmp/config16386235539958939570tmp [Pipeline] { [Pipeline] echo 14:07:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:03 ---> create-netrc.sh [Pipeline] } 14:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:04 ---> python-tools-install.sh [Pipeline] echo 14:07:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:04 ---> sudo-logs.sh 14:07:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:04 ---> job-cost.sh 14:07:04 lf-activate-venv: SKIPPING 14:07:04 DEBUG: total: 0.2199999988079071 14:07:04 INFO: Retrieving Stack Cost... 14:07:05 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:05 INFO: Archiving Costs [Pipeline] echo 14:07:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:05 ---> logs-deploy.sh 14:07:05 lf-activate-venv: SKIPPING 14:07:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-399/2 14:07:05 INFO: archiving workspace using pattern(s): 14:07:06 Archives upload complete. 14:07:06 INFO: archiving logs to Nexus