Push event to branch dependabot-daily Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d15146409c3866d30e4d226daf3e5ed400615f3 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-ssh1500627597431278825.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14703889928539579851.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7695734308445358748.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/dependabot-daily/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11314458448512307147.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12640175091131513902.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/dependabot-daily/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15391686907212965957.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-629 in /w/workspace/ce-onvif-camera_dependabot-daily [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/ce-onvif-camera_dependabot-daily # 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 Avoid second fetch Checking out Revision 4d15146409c3866d30e4d226daf3e5ed400615f3 (dependabot-daily) Commit message: "ci: Change dependabot gomod schedule to daily" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > 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 core.sparsecheckout # timeout=10 > git checkout -f 4d15146409c3866d30e4d226daf3e5ed400615f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:48:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:48:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:48:48 ========================================================= 15:48:48 EdgeX Global Pipelines Version Info 15:48:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:48:49 ------------------- 15:48:49 stable info: 15:48:49 ------------------- 15:48:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:48:49 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:48:49 Message: update stable to v1.0.245 15:48:50 ------------------- 15:48:50 experimental info: 15:48:50 ------------------- 15:48:50 Commited By: **** collab-it+edgex@linuxfoundation.org 15:48:50 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:48:50 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:48:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = dependabot-daily [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = dependabot-daily [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = dependabot-daily [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d15146409c3866d30e4d226daf3e5ed400615f3 [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d15146 [Pipeline] echo 15:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:51 provisioning config files... 15:48:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/ce-onvif-camera_dependabot-daily@tmp/config12359611029399014643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:52 ---> docker-login.sh 15:48:52 nexus3.edgexfoundry.org:10001 15:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:52 Configure a credential helper to remove this warning. See 15:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:52 15:48:52 Login Succeeded 15:48:52 nexus3.edgexfoundry.org:10002 15:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:52 Configure a credential helper to remove this warning. See 15:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:52 15:48:52 Login Succeeded 15:48:52 nexus3.edgexfoundry.org:10003 15:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:52 Configure a credential helper to remove this warning. See 15:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:52 15:48:52 Login Succeeded 15:48:52 nexus3.edgexfoundry.org:10004 15:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 docker.io 15:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:53 Configure a credential helper to remove this warning. See 15:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:53 15:48:53 Login Succeeded 15:48:53 ---> docker-login.sh ends [Pipeline] } 15:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:48:53 + git rev-list -1 --merges 4d15146409c3866d30e4d226daf3e5ed400615f3~1..4d15146409c3866d30e4d226daf3e5ed400615f3 [Pipeline] echo 15:48:54 -----------> git rev-list -1 --merges 4d15146409c3866d30e4d226daf3e5ed400615f3~1..4d15146409c3866d30e4d226daf3e5ed400615f3 4d15146409c3866d30e4d226daf3e5ed400615f3 [false] [Pipeline] sh 15:48:54 + git log --format=format:%s -1 4d15146409c3866d30e4d226daf3e5ed400615f3 [Pipeline] echo 15:48:54 ========================================================= 15:48:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:48:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:54 + git log --format=format:%s -1 4d15146409c3866d30e4d226daf3e5ed400615f3 [Pipeline] echo 15:48:54 [semverPrep] GIT_COMMIT: 4d15146409c3866d30e4d226daf3e5ed400615f3, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo 15:48:54 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:55 + grep -v github /etc/ssh/ssh_known_hosts 15:48:55 + [ -e /tmp/ssh_known_hosts ] 15:48:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:55 + sudo tee -a /etc/ssh/ssh_known_hosts 15:48:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:55 15:48:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:56 0.1.4: Pulling from edgex-devops/py-git-semver 15:48:56 b85a868b505f: Pulling fs layer 15:48:56 e2be974225ed: Pulling fs layer 15:48:56 339a4e72a1f5: Pulling fs layer 15:48:56 988bab9f4d93: Pulling fs layer 15:48:56 1469e6f7b9e6: Pulling fs layer 15:48:56 eaf3925da568: Pulling fs layer 15:48:56 bab4dde63d76: Pulling fs layer 15:48:56 bde34c3a00c8: Pulling fs layer 15:48:56 b352a97aabf1: Pulling fs layer 15:48:56 4872d77fe225: Pulling fs layer 15:48:56 5851b861e8e6: Pulling fs layer 15:48:56 eaf3925da568: Waiting 15:48:56 988bab9f4d93: Waiting 15:48:56 bab4dde63d76: Waiting 15:48:56 4872d77fe225: Waiting 15:48:56 5851b861e8e6: Waiting 15:48:56 bde34c3a00c8: Waiting 15:48:56 b352a97aabf1: Waiting 15:48:56 e2be974225ed: Verifying Checksum 15:48:56 e2be974225ed: Download complete 15:48:56 988bab9f4d93: Verifying Checksum 15:48:56 988bab9f4d93: Download complete 15:48:56 339a4e72a1f5: Verifying Checksum 15:48:56 339a4e72a1f5: Download complete 15:48:56 eaf3925da568: Verifying Checksum 15:48:56 eaf3925da568: Download complete 15:48:56 1469e6f7b9e6: Verifying Checksum 15:48:56 1469e6f7b9e6: Download complete 15:48:56 bde34c3a00c8: Verifying Checksum 15:48:56 bde34c3a00c8: Download complete 15:48:56 b352a97aabf1: Download complete 15:48:56 4872d77fe225: Verifying Checksum 15:48:56 4872d77fe225: Download complete 15:48:56 5851b861e8e6: Verifying Checksum 15:48:56 5851b861e8e6: Download complete 15:48:56 b85a868b505f: Verifying Checksum 15:48:56 b85a868b505f: Download complete 15:48:56 bab4dde63d76: Verifying Checksum 15:48:56 bab4dde63d76: Download complete 15:48:57 b85a868b505f: Pull complete 15:48:57 e2be974225ed: Pull complete 15:48:58 339a4e72a1f5: Pull complete 15:48:58 988bab9f4d93: Pull complete 15:48:58 1469e6f7b9e6: Pull complete 15:48:58 eaf3925da568: Pull complete 15:49:00 bab4dde63d76: Pull complete 15:49:00 bde34c3a00c8: Pull complete 15:49:00 b352a97aabf1: Pull complete 15:49:00 4872d77fe225: Pull complete 15:49:00 5851b861e8e6: Pull complete 15:49:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:00 prd-ubuntu20.04-docker-8c-8g-629 does not seem to be running inside a container 15:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ce-onvif-camera_dependabot-daily -v /w/workspace/ce-onvif-camera_dependabot-daily:/w/workspace/ce-onvif-camera_dependabot-daily:rw,z -v /w/workspace/ce-onvif-camera_dependabot-daily@tmp:/w/workspace/ce-onvif-camera_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:49:02 $ docker top c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 -eo pid,comm 15:49:02 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). 15:49:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:02 [ssh-agent] Looking for ssh-agent implementation... 15:49:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:02 $ docker exec c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 ssh-agent 15:49:03 SSH_AUTH_SOCK=/tmp/ssh-zA32SUpnm1Qj/agent.32 15:49:03 SSH_AGENT_PID=38 15:49:03 Running ssh-add (command line suppressed) 15:49:03 Identity added: /w/workspace/ce-onvif-camera_dependabot-daily@tmp/private_key_9914962979659882096.key (/w/workspace/ce-onvif-camera_dependabot-daily@tmp/private_key_9914962979659882096.key) 15:49:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:03 + git tag --points-at HEAD [Pipeline] } 15:49:03 $ docker exec --env ******** --env ******** c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 ssh-agent -k 15:49:03 unset SSH_AUTH_SOCK; 15:49:03 unset SSH_AGENT_PID; 15:49:03 echo Agent pid 38 killed; 15:49:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:49:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:03 [ssh-agent] Looking for ssh-agent implementation... 15:49:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:03 $ docker exec c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 ssh-agent 15:49:03 SSH_AUTH_SOCK=/tmp/ssh-PEWToCE5jgcN/agent.70 15:49:03 SSH_AGENT_PID=76 15:49:03 Running ssh-add (command line suppressed) 15:49:04 Identity added: /w/workspace/ce-onvif-camera_dependabot-daily@tmp/private_key_6727471426479237912.key (/w/workspace/ce-onvif-camera_dependabot-daily@tmp/private_key_6727471426479237912.key) 15:49:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:04 + git semver init 15:49:04 2023-03-15 15:49:04,582 [run_init] DEBUG init version:0.0.0 force:False 15:49:04 2023-03-15 15:49:04,583 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ce-onvif-camera_dependabot-daily/.semver 15:49:04 2023-03-15 15:49:04,583 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/ce-onvif-camera_dependabot-daily/.semver 15:49:04 2023-03-15 15:49:04,584 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/ce-onvif-camera_dependabot-daily/.semver'], cwd=/w/workspace/ce-onvif-camera_dependabot-daily, universal_newlines=False, shell=None, istream=None) 15:49:05 2023-03-15 15:49:05,477 [append_file] DEBUG append to file:/w/workspace/ce-onvif-camera_dependabot-daily/.git/info/exclude 15:49:05 2023-03-15 15:49:05,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ce-onvif-camera_dependabot-daily/.semver/dependabot-daily with force:False 15:49:05 2023-03-15 15:49:05,477 [write_file] DEBUG write to file:/w/workspace/ce-onvif-camera_dependabot-daily/.semver/dependabot-daily 15:49:05 2023-03-15 15:49:05,481 [execute] INFO git cat-file --batch-check 15:49:05 2023-03-15 15:49:05,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ce-onvif-camera_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:49:05 2023-03-15 15:49:05,486 [execute] INFO git cat-file --batch 15:49:05 2023-03-15 15:49:05,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ce-onvif-camera_dependabot-daily/.semver, universal_newlines=False, shell=None, istream=) 15:49:05 2023-03-15 15:49:05,491 [read_version] DEBUG read version from /w/workspace/ce-onvif-camera_dependabot-daily/.semver/dependabot-daily 15:49:05 0.0.0 [Pipeline] } 15:49:05 $ docker exec --env ******** --env ******** c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 ssh-agent -k 15:49:05 unset SSH_AUTH_SOCK; 15:49:05 unset SSH_AGENT_PID; 15:49:05 echo Agent pid 76 killed; 15:49:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:06 + git semver [Pipeline] } 15:49:06 $ docker stop --time=1 c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 15:49:07 $ docker rm -f --volumes c788868f73e3b8fb1ce329fed64c8c483d71017e9cd0d79bdc81938d64a6e3c0 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:49:08 Stashed 1 file(s) [Pipeline] echo 15:49:08 [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 15:49:09 provisioning config files... 15:49:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/ce-onvif-camera_dependabot-daily@tmp/config12705042911646379896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:09 ---> docker-login.sh 15:49:09 nexus3.edgexfoundry.org:10001 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10002 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10003 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 nexus3.edgexfoundry.org:10004 15:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:09 Configure a credential helper to remove this warning. See 15:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:09 15:49:09 Login Succeeded 15:49:09 docker.io 15:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:10 Configure a credential helper to remove this warning. See 15:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:10 15:49:10 Login Succeeded 15:49:10 ---> docker-login.sh ends [Pipeline] } 15:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:10 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:10 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:10 ========================================================= 15:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:49:10 Sending build context to Docker daemon 27.86MB 15:49:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:49:10 Step 2/13 : FROM ${BASE} AS builder 15:49:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:11 63b65145d645: Pulling fs layer 15:49:11 a2d21d5440eb: Pulling fs layer 15:49:11 935e6c44a52c: Pulling fs layer 15:49:11 94cc34f8dd06: Pulling fs layer 15:49:11 30dea6a524f1: Pulling fs layer 15:49:11 a2aff8979fd8: Pulling fs layer 15:49:11 6808be2612f2: Pulling fs layer 15:49:11 f25807f1079a: Pulling fs layer 15:49:11 94cc34f8dd06: Waiting 15:49:11 30dea6a524f1: Waiting 15:49:11 a2aff8979fd8: Waiting 15:49:11 6808be2612f2: Waiting 15:49:11 f25807f1079a: Waiting 15:49:11 a2d21d5440eb: Verifying Checksum 15:49:11 a2d21d5440eb: Download complete 15:49:11 94cc34f8dd06: Verifying Checksum 15:49:11 94cc34f8dd06: Download complete 15:49:11 30dea6a524f1: Verifying Checksum 15:49:11 30dea6a524f1: Download complete 15:49:11 63b65145d645: Verifying Checksum 15:49:11 63b65145d645: Download complete 15:49:11 a2aff8979fd8: Verifying Checksum 15:49:11 a2aff8979fd8: Download complete 15:49:11 63b65145d645: Pull complete 15:49:11 a2d21d5440eb: Pull complete 15:49:12 f25807f1079a: Download complete 15:49:12 935e6c44a52c: Verifying Checksum 15:49:12 935e6c44a52c: Download complete 15:49:12 6808be2612f2: Verifying Checksum 15:49:12 6808be2612f2: Download complete 15:49:14 935e6c44a52c: Pull complete 15:49:15 94cc34f8dd06: Pull complete 15:49:15 30dea6a524f1: Pull complete 15:49:15 a2aff8979fd8: Pull complete 15:49:17 6808be2612f2: Pull complete 15:49:18 f25807f1079a: Pull complete 15:49:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:49:18 ---> 3b553350e43f 15:49:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:49:21 ---> Running in afc44c15a6db 15:49:21 Removing intermediate container afc44c15a6db 15:49:21 ---> 193e409bbffa 15:49:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:49:21 ---> Running in e24861da8edb 15:49:21 Removing intermediate container e24861da8edb 15:49:21 ---> 5c1fdcf482b5 15:49:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:49:21 ---> Running in 9eb82c8a65b4 15:49:21 Removing intermediate container 9eb82c8a65b4 15:49:21 ---> e83e7d98b475 15:49:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:49:21 ---> Running in b803d71901c5 15:49:21 Removing intermediate container b803d71901c5 15:49:21 ---> 7a30a1687027 15:49:21 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:49:21 ---> Running in 2d0e4a47e390 15:49:21 Removing intermediate container 2d0e4a47e390 15:49:21 ---> 8dcf50bf8bb4 15:49:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:21 ---> Running in 7d4db90fa33e 15:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:49:22 OK: 265 MiB in 53 packages 15:49:22 Removing intermediate container 7d4db90fa33e 15:49:22 ---> 6511fa9628c3 15:49:22 Step 9/13 : WORKDIR /device-onvif-camera 15:49:22 ---> Running in 19707ddc30ac 15:49:22 Removing intermediate container 19707ddc30ac 15:49:22 ---> f6b8ba031165 15:49:22 Step 10/13 : COPY go.mod vendor* ./ 15:49:22 ---> e060e4b14f61 15:49:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:22 ---> Running in 29124d3c7cf9 15:49:24 Still waiting to schedule task 15:49:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:49:49 Removing intermediate container 29124d3c7cf9 15:49:49 ---> 31060538d1a8 15:49:49 Step 12/13 : COPY . . 15:49:49 ---> 682635eb732b 15:49:49 Step 13/13 : RUN ${MAKE} 15:49:49 ---> Running in f7bc919b625c 15:49:49 noop 15:49:49 Removing intermediate container f7bc919b625c 15:49:49 ---> fc788e364430 15:49:49 Successfully built fc788e364430 15:49:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:49 + docker inspect -f . ci-base-image-x86_64 15:49:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:49 prd-ubuntu20.04-docker-8c-8g-629 does not seem to be running inside a container 15:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ce-onvif-camera_dependabot-daily -v /w/workspace/ce-onvif-camera_dependabot-daily:/w/workspace/ce-onvif-camera_dependabot-daily:rw,z -v /w/workspace/ce-onvif-camera_dependabot-daily@tmp:/w/workspace/ce-onvif-camera_dependabot-daily@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 ******** ci-base-image-x86_64 cat 15:49:50 $ docker top 081393eef5707f0424ebe99d47a086bcb6d268fb7e68aded457db99d8390d76a -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:50 + go version 15:49:50 go version go1.20.2 linux/amd64 [Pipeline] } 15:49:50 $ docker stop --time=1 081393eef5707f0424ebe99d47a086bcb6d268fb7e68aded457db99d8390d76a 15:49:51 $ docker rm -f --volumes 081393eef5707f0424ebe99d47a086bcb6d268fb7e68aded457db99d8390d76a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:52 + docker inspect -f . ci-base-image-x86_64 15:49:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:52 prd-ubuntu20.04-docker-8c-8g-629 does not seem to be running inside a container 15:49:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/ce-onvif-camera_dependabot-daily -v /w/workspace/ce-onvif-camera_dependabot-daily:/w/workspace/ce-onvif-camera_dependabot-daily:rw,z -v /w/workspace/ce-onvif-camera_dependabot-daily@tmp:/w/workspace/ce-onvif-camera_dependabot-daily@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 ******** ci-base-image-x86_64 cat 15:49:53 $ docker top 37666dc9eeda032b72f0347acd763fa48f6211178b15c8da375008065075f0ef -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:53 + git config --global --add safe.directory /w/workspace/ce-onvif-camera_dependabot-daily [Pipeline] fileExists [Pipeline] sh 15:49:53 + make test 15:49:53 go test ./... -coverprofile=coverage.out ./... 15:49:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:50:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:50:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:50:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 30.5% of statements 15:50:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.162s coverage: 86.5% of statements 15:50:17 go vet ./... 15:50:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:20 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:20 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:50:20 $ docker stop --time=1 37666dc9eeda032b72f0347acd763fa48f6211178b15c8da375008065075f0ef 15:50:22 $ docker rm -f --volumes 37666dc9eeda032b72f0347acd763fa48f6211178b15c8da375008065075f0ef [Pipeline] // withDockerContainer [Pipeline] sh 15:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:50:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:24 + ls -al . 15:50:24 total 232 15:50:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:49 . 15:50:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 .. 15:50:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:49 .git 15:50:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 .github 15:50:24 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 15:48 .gitignore 15:50:24 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 15:48 .golangci.yml 15:50:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:49 .semver 15:50:24 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 15:48 Attribution.txt 15:50:24 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 15:48 CHANGELOG.md 15:50:24 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 15:48 Dockerfile 15:50:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:48 GOVERNANCE.md 15:50:24 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 15:48 Jenkinsfile 15:50:24 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 15:48 LICENSE 15:50:24 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 15:48 Makefile 15:50:24 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 15:48 OWNERS.md 15:50:24 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 15:48 README.md 15:50:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION 15:50:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:48 bin 15:50:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 cmd 15:50:24 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 15:50 coverage.out 15:50:24 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 15:48 doc 15:50:24 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 15:48 go.mod 15:50:24 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 15:48 go.sum 15:50:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 internal 15:50:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 snap 15:50:24 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:24 + 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=4d15146409c3866d30e4d226daf3e5ed400615f3 --label arch=amd64 --label version=0.0.0 . 15:50:24 Sending build context to Docker daemon 27.94MB 15:50:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:50:24 Step 2/26 : FROM ${BASE} AS builder 15:50:24 ---> fc788e364430 15:50:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:50:25 ---> Running in 1ac27235c1b9 15:50:25 Removing intermediate container 1ac27235c1b9 15:50:25 ---> feb4b91d4d0e 15:50:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:50:25 ---> Running in 1155ee11efe7 15:50:25 Removing intermediate container 1155ee11efe7 15:50:25 ---> b77824131e3a 15:50:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:50:25 ---> Running in 15162ec1ef47 15:50:25 Removing intermediate container 15162ec1ef47 15:50:25 ---> 4b77c75a4a08 15:50:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:50:25 ---> Running in ab851e13dffa 15:50:25 Removing intermediate container ab851e13dffa 15:50:25 ---> 8b42e17cc828 15:50:25 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:50:25 ---> Running in c28740f352e9 15:50:25 Removing intermediate container c28740f352e9 15:50:25 ---> 781c01d59821 15:50:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:25 ---> Running in 6465da970423 15:50:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:26 OK: 265 MiB in 53 packages 15:50:26 Removing intermediate container 6465da970423 15:50:26 ---> f5e6aa3fec32 15:50:26 Step 9/26 : WORKDIR /device-onvif-camera 15:50:26 ---> Running in ae9aa2b494be 15:50:26 Removing intermediate container ae9aa2b494be 15:50:26 ---> 5b90ec6a708f 15:50:26 Step 10/26 : COPY go.mod vendor* ./ 15:50:26 ---> b75e1540ad5d 15:50:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:26 ---> Running in 875caa2a7852 15:50:27 Removing intermediate container 875caa2a7852 15:50:27 ---> 951a4b293c61 15:50:27 Step 12/26 : COPY . . 15:50:28 ---> cc5d124cb90a 15:50:28 Step 13/26 : RUN ${MAKE} 15:50:28 ---> Running in 1a576c8f784c 15:50:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:50:46 Removing intermediate container 1a576c8f784c 15:50:46 ---> f0b3fb846dcc 15:50:46 Step 14/26 : FROM alpine:3.17 15:50:46 3.17: Pulling from library/alpine 15:50:46 63b65145d645: Already exists 15:50:46 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:50:46 Status: Downloaded newer image for alpine:3.17 15:50:46 ---> b2aa39c304c2 15:50:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:50:46 ---> Running in 3d8c006115b6 15:50:46 Removing intermediate container 3d8c006115b6 15:50:46 ---> fe3e51a35fe8 15:50:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:50:46 ---> Running in e44af2f63437 15:50:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:46 (1/1) Installing dumb-init (1.2.5-r2) 15:50:46 Executing busybox-1.35.0-r29.trigger 15:50:46 OK: 7 MiB in 16 packages 15:50:47 Removing intermediate container e44af2f63437 15:50:47 ---> db630eda8463 15:50:47 Step 17/26 : WORKDIR / 15:50:47 ---> Running in 4e10e8aa2266 15:50:47 Removing intermediate container 4e10e8aa2266 15:50:47 ---> 540a171bac01 15:50:47 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:50:48 ---> 9175f28572da 15:50:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:50:48 ---> a001d9b73697 15:50:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:50:48 ---> e97a62340ab7 15:50:48 Step 21/26 : EXPOSE 59984 15:50:48 ---> Running in c3e67fc63156 15:50:48 Removing intermediate container c3e67fc63156 15:50:48 ---> ca1468152a25 15:50:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:50:48 ---> Running in 052c110182f5 15:50:48 Removing intermediate container 052c110182f5 15:50:48 ---> f8d19b4e27c9 15:50:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:50:48 ---> Running in e8d0e22be439 15:50:48 Removing intermediate container e8d0e22be439 15:50:48 ---> 80e151e196aa 15:50:48 Step 24/26 : LABEL arch=amd64 15:50:48 ---> Running in 4fb4a227dc0a 15:50:48 Removing intermediate container 4fb4a227dc0a 15:50:48 ---> 7bdf6e0ded06 15:50:48 Step 25/26 : LABEL git_sha=4d15146409c3866d30e4d226daf3e5ed400615f3 15:50:48 ---> Running in 7487f73c683f 15:50:48 Removing intermediate container 7487f73c683f 15:50:48 ---> a0cfed2f2dfe 15:50:48 Step 26/26 : LABEL version=0.0.0 15:50:48 ---> Running in f8eaba353bda 15:50:48 Removing intermediate container f8eaba353bda 15:50:48 ---> cfc0bf087fe8 15:50:48 [Warning] One or more build-args [ARCH] were not consumed 15:50:48 Successfully built cfc0bf087fe8 15:50:48 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 15:50:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:49 15:50:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:50 latest: Pulling from edgex-lftools-log-publisher 15:50:50 5eb5b503b376: Pulling fs layer 15:50:50 5c69ac0246d0: Pulling fs layer 15:50:50 ec43610c2a17: Pulling fs layer 15:50:50 3a2ae6a8a46f: Pulling fs layer 15:50:50 33b1e0a273af: Pulling fs layer 15:50:50 5d3b04190fa2: Pulling fs layer 15:50:50 2f39f015ded8: Pulling fs layer 15:50:50 3a2ae6a8a46f: Waiting 15:50:50 33b1e0a273af: Waiting 15:50:50 5d3b04190fa2: Waiting 15:50:50 2f39f015ded8: Waiting 15:50:50 5c69ac0246d0: Verifying Checksum 15:50:50 5c69ac0246d0: Download complete 15:50:50 3a2ae6a8a46f: Verifying Checksum 15:50:50 3a2ae6a8a46f: Download complete 15:50:50 33b1e0a273af: Verifying Checksum 15:50:50 33b1e0a273af: Download complete 15:50:50 ec43610c2a17: Verifying Checksum 15:50:50 ec43610c2a17: Download complete 15:50:50 5d3b04190fa2: Verifying Checksum 15:50:50 5d3b04190fa2: Download complete 15:50:50 5eb5b503b376: Verifying Checksum 15:50:50 5eb5b503b376: Download complete 15:50:50 2f39f015ded8: Verifying Checksum 15:50:50 2f39f015ded8: Download complete 15:50:51 5eb5b503b376: Pull complete 15:50:52 5c69ac0246d0: Pull complete 15:50:52 ec43610c2a17: Pull complete 15:50:52 3a2ae6a8a46f: Pull complete 15:50:52 33b1e0a273af: Pull complete 15:50:52 5d3b04190fa2: Pull complete 15:50:56 2f39f015ded8: Pull complete 15:50:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:57 prd-ubuntu20.04-docker-8c-8g-629 does not seem to be running inside a container 15:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ce-onvif-camera_dependabot-daily -v /w/workspace/ce-onvif-camera_dependabot-daily:/w/workspace/ce-onvif-camera_dependabot-daily:rw,z -v /w/workspace/ce-onvif-camera_dependabot-daily@tmp:/w/workspace/ce-onvif-camera_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:50:59 $ docker top d027b5ed9ba29bc76698cf336f788195c488dab816ee11dffa880ae987c03ca9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:59 ---> job-cost.sh 15:50:59 lf-activate-venv: SKIPPING 15:50:59 INFO: No Stack... 15:51:00 INFO: Retrieving Pricing Info for: v3-standard-8 15:51:00 INFO: Archiving Costs [Pipeline] sh 15:51:00 + cat /w/workspace/ce-onvif-camera_dependabot-daily/archives/cost.csv 15:51:00 + cut -d, -f6 [Pipeline] lock 15:51:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] 15:51:00 Resource [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] did not exist. Created. 15:51:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:51:01 + echo total: 0.2199999988079071 [Pipeline] stash 15:51:01 Stashed 1 file(s) [Pipeline] } 15:51:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:51:01 $ docker stop --time=1 d027b5ed9ba29bc76698cf336f788195c488dab816ee11dffa880ae987c03ca9 15:51:02 $ docker rm -f --volumes d027b5ed9ba29bc76698cf336f788195c488dab816ee11dffa880ae987c03ca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-756 in /w/workspace/ce-onvif-camera_dependabot-daily [Pipeline] { [Pipeline] ws 15:57:50 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 15:57:50 The recommended git tool is: git 15:57:56 using credential edgex-jenkins-ssh 15:57:56 Cloning the remote Git repository 15:57:57 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:57:57 > git init /w/workspace/device-onvif-camera/1 # timeout=10 15:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:57:57 > git --version # timeout=10 15:57:57 > git --version # 'git version 2.25.1' 15:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:57:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:57:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:57:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:00 Avoid second fetch 15:58:00 Checking out Revision 4d15146409c3866d30e4d226daf3e5ed400615f3 (dependabot-daily) 15:58:00 > git config core.sparsecheckout # timeout=10 15:58:01 Commit message: "ci: Change dependabot gomod schedule to daily" 15:58:01 > git --version # timeout=10 15:58:01 > git --version # 'git version 2.25.1' 15:58:01 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 15:58:00 > git checkout -f 4d15146409c3866d30e4d226daf3e5ed400615f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:58:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:02 Dload Upload Total Spent Left Speed 15:58:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70447 0 --:--:-- --:--:-- --:--:-- 70447 [Pipeline] sh 15:58:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:58:03 + sudo tee /etc/docker/daemon.new 15:58:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:58:03 { 15:58:03 "registry-mirrors": [ 15:58:03 "https://nexus3.edgexfoundry.org:10001" 15:58:03 ], 15:58:03 "bip": "10.250.0.254/24", 15:58:03 "hosts": [ 15:58:03 "tcp://0.0.0.0:5555", 15:58:03 "unix:///var/run/docker.sock" 15:58:03 ], 15:58:03 "mtu": 1458, 15:58:03 "selinux-enabled": true, 15:58:03 "seccomp-profile": "/etc/docker/seccomp.json" 15:58:03 } [Pipeline] sh 15:58:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:58:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:23 provisioning config files... 15:58:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13641855950209881427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:23 ---> docker-login.sh 15:58:23 nexus3.edgexfoundry.org:10001 15:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:24 Configure a credential helper to remove this warning. See 15:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:24 15:58:24 Login Succeeded 15:58:24 nexus3.edgexfoundry.org:10002 15:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:24 Configure a credential helper to remove this warning. See 15:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:24 15:58:24 Login Succeeded 15:58:24 nexus3.edgexfoundry.org:10003 15:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:24 Configure a credential helper to remove this warning. See 15:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:24 15:58:24 Login Succeeded 15:58:24 nexus3.edgexfoundry.org:10004 15:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:25 Configure a credential helper to remove this warning. See 15:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:25 15:58:25 Login Succeeded 15:58:25 docker.io 15:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:25 Configure a credential helper to remove this warning. See 15:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:25 15:58:25 Login Succeeded 15:58:25 ---> docker-login.sh ends [Pipeline] } 15:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:26 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:26 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:26 ========================================================= 15:58:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:58:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:58:27 Sending build context to Docker daemon 20.62MB 15:58:27 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:58:27 Step 2/13 : FROM ${BASE} AS builder 15:58:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:58:29 af6eaf76a39c: Pulling fs layer 15:58:29 55522c791124: Pulling fs layer 15:58:29 ce5c4a1c91eb: Pulling fs layer 15:58:29 169dfbe0d373: Pulling fs layer 15:58:29 e1ff8fa3b103: Pulling fs layer 15:58:29 52ebb69f0ebf: Pulling fs layer 15:58:29 5abe8eddf0d5: Pulling fs layer 15:58:29 169dfbe0d373: Waiting 15:58:29 e1ff8fa3b103: Waiting 15:58:29 52ebb69f0ebf: Waiting 15:58:29 5abe8eddf0d5: Waiting 15:58:29 55522c791124: Download complete 15:58:29 169dfbe0d373: Download complete 15:58:29 e1ff8fa3b103: Verifying Checksum 15:58:29 e1ff8fa3b103: Download complete 15:58:29 af6eaf76a39c: Verifying Checksum 15:58:29 af6eaf76a39c: Download complete 15:58:30 af6eaf76a39c: Pull complete 15:58:30 5abe8eddf0d5: Verifying Checksum 15:58:30 5abe8eddf0d5: Download complete 15:58:31 55522c791124: Pull complete 15:58:32 ce5c4a1c91eb: Verifying Checksum 15:58:32 ce5c4a1c91eb: Download complete 15:58:32 52ebb69f0ebf: Verifying Checksum 15:58:32 52ebb69f0ebf: Download complete 15:58:42 ce5c4a1c91eb: Pull complete 15:58:42 169dfbe0d373: Pull complete 15:58:42 e1ff8fa3b103: Pull complete 15:58:49 52ebb69f0ebf: Pull complete 15:58:50 5abe8eddf0d5: Pull complete 15:58:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:58:50 ---> 6cb57ee374ae 15:58:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:58:55 ---> Running in bb1d2b23601a 15:58:55 Removing intermediate container bb1d2b23601a 15:58:55 ---> dfc869ec626d 15:58:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:55 ---> Running in beac2c25b67c 15:58:55 Removing intermediate container beac2c25b67c 15:58:55 ---> af19f7ffd158 15:58:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:58:55 ---> Running in db87e2eaba1d 15:58:56 Removing intermediate container db87e2eaba1d 15:58:56 ---> f81ab28d33de 15:58:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:58:56 ---> Running in 5d27207628f6 15:58:57 Removing intermediate container 5d27207628f6 15:58:57 ---> 1bf75533489e 15:58:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:58:57 ---> Running in 73b6d735eec8 15:58:57 Removing intermediate container 73b6d735eec8 15:58:57 ---> 0af5f742da27 15:58:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:57 ---> Running in 81e8a1a76e03 15:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:00 OK: 263 MiB in 53 packages 15:59:01 Removing intermediate container 81e8a1a76e03 15:59:01 ---> b583d9f5051b 15:59:01 Step 9/13 : WORKDIR /device-onvif-camera 15:59:01 ---> Running in 2b9ff2a881b0 15:59:02 Removing intermediate container 2b9ff2a881b0 15:59:02 ---> 4240457ebd48 15:59:02 Step 10/13 : COPY go.mod vendor* ./ 15:59:02 ---> 70b2880b21c1 15:59:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:02 ---> Running in 3d58af446c4c 16:00:24 Removing intermediate container 3d58af446c4c 16:00:24 ---> 863e9f17d0d0 16:00:24 Step 12/13 : COPY . . 16:00:24 ---> f41203758b8e 16:00:24 Step 13/13 : RUN ${MAKE} 16:00:24 ---> Running in 5c88e91026d3 16:00:24 noop 16:00:24 Removing intermediate container 5c88e91026d3 16:00:24 ---> ab764c2bd25e 16:00:24 Successfully built ab764c2bd25e 16:00:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:25 + docker inspect -f . ci-base-image-arm64 16:00:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:25 prd-ubuntu20.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 16:00:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 16:00:27 $ docker top 339bc0e844d25e8c4201d90cbd0e0acf9638ea0a7ff247782a38950993231404 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:27 + go version 16:00:27 go version go1.20.2 linux/arm64 [Pipeline] } 16:00:27 $ docker stop --time=1 339bc0e844d25e8c4201d90cbd0e0acf9638ea0a7ff247782a38950993231404 16:00:29 $ docker rm -f --volumes 339bc0e844d25e8c4201d90cbd0e0acf9638ea0a7ff247782a38950993231404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:30 + docker inspect -f . ci-base-image-arm64 16:00:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:30 prd-ubuntu20.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 16:00:30 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 16:00:32 $ docker top f959b50198dad208d7933fcc0b4b83bd45d2047a01f7481ba56e11fae638309e -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:33 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 16:00:33 + make test 16:00:33 go test ./... -coverprofile=coverage.out ./... 16:01:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:03:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:03:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:03:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.210s coverage: 30.5% of statements 16:04:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.321s coverage: 86.5% of statements 16:04:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:04:24 go vet ./... 16:04:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:56 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:57 [edgeX.isLTS] Checking if [dependabot-daily] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:57 $ docker stop --time=1 f959b50198dad208d7933fcc0b4b83bd45d2047a01f7481ba56e11fae638309e 16:04:58 $ docker rm -f --volumes f959b50198dad208d7933fcc0b4b83bd45d2047a01f7481ba56e11fae638309e [Pipeline] // withDockerContainer [Pipeline] sh 16:05:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:05:00 Warning: overwriting stash ‘coverage-report’ 16:05:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:05:01 + ls -al . 16:05:01 total 228 16:05:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:00 . 16:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:57 .. 16:05:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:58 .git 16:05:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 .github 16:05:01 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 15:58 .gitignore 16:05:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 15:58 .golangci.yml 16:05:01 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 15:58 Attribution.txt 16:05:01 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 15:58 CHANGELOG.md 16:05:01 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 15:58 Dockerfile 16:05:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:58 GOVERNANCE.md 16:05:01 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 15:58 Jenkinsfile 16:05:01 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 15:58 LICENSE 16:05:01 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 15:58 Makefile 16:05:01 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 15:58 OWNERS.md 16:05:01 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 15:58 README.md 16:05:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION 16:05:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:58 bin 16:05:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 cmd 16:05:01 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 16:04 coverage.out 16:05:01 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 15:58 doc 16:05:01 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 15:58 go.mod 16:05:01 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 15:58 go.sum 16:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:58 internal 16:05:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:58 snap 16:05:01 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05: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=4d15146409c3866d30e4d226daf3e5ed400615f3 --label arch=arm64 --label version=0.0.0 . 16:05:02 Sending build context to Docker daemon 20.69MB 16:05:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:05:02 Step 2/26 : FROM ${BASE} AS builder 16:05:02 ---> ab764c2bd25e 16:05:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:05:03 ---> Running in 76dc5731806c 16:05:03 Removing intermediate container 76dc5731806c 16:05:03 ---> 92d9d7674aab 16:05:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:05:03 ---> Running in ecbf9b2e2652 16:05:03 Removing intermediate container ecbf9b2e2652 16:05:03 ---> 83424d2ca31a 16:05:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:05:03 ---> Running in 3f3dbc486fc4 16:05:04 Removing intermediate container 3f3dbc486fc4 16:05:04 ---> dd9e8db27f94 16:05:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:05:04 ---> Running in 0b47db9c120a 16:05:04 Removing intermediate container 0b47db9c120a 16:05:04 ---> c5982bf5e12b 16:05:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:05:04 ---> Running in 23f69dd97608 16:05:04 Removing intermediate container 23f69dd97608 16:05:04 ---> acdd2c1fff1b 16:05:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:05 ---> Running in 7f4737c9c9ec 16:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:05:08 OK: 263 MiB in 53 packages 16:05:09 Removing intermediate container 7f4737c9c9ec 16:05:09 ---> 4486c079b7bb 16:05:09 Step 9/26 : WORKDIR /device-onvif-camera 16:05:09 ---> Running in a6dc923bd4b9 16:05:09 Removing intermediate container a6dc923bd4b9 16:05:09 ---> a135e066a9b2 16:05:09 Step 10/26 : COPY go.mod vendor* ./ 16:05:10 ---> f0f27f345f52 16:05:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:10 ---> Running in 8851d845c88c 16:05:14 Removing intermediate container 8851d845c88c 16:05:14 ---> 56867bf081d6 16:05:14 Step 12/26 : COPY . . 16:05:16 ---> d967b016721a 16:05:16 Step 13/26 : RUN ${MAKE} 16:05:16 ---> Running in 39c0b15b18f2 16:05:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:08:09 Removing intermediate container 39c0b15b18f2 16:08:09 ---> b7b2e9ac82e3 16:08:09 Step 14/26 : FROM alpine:3.17 16:08:09 3.17: Pulling from library/alpine 16:08:09 af6eaf76a39c: Already exists 16:08:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:08:09 Status: Downloaded newer image for alpine:3.17 16:08:09 ---> d74e625d9115 16:08:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:08:09 ---> Running in 37386d8bb5ab 16:08:09 Removing intermediate container 37386d8bb5ab 16:08:09 ---> b32606ddd0a4 16:08:09 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:08:09 ---> Running in 873c06e0bca7 16:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:08:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:08:09 (1/1) Installing dumb-init (1.2.5-r2) 16:08:09 Executing busybox-1.35.0-r29.trigger 16:08:09 OK: 8 MiB in 16 packages 16:08:09 Removing intermediate container 873c06e0bca7 16:08:09 ---> b612bb747e7b 16:08:09 Step 17/26 : WORKDIR / 16:08:09 ---> Running in 8bf5396066db 16:08:09 Removing intermediate container 8bf5396066db 16:08:09 ---> 1d95e5afc045 16:08:09 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:08:09 ---> eada3df6e0e5 16:08:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:08:09 ---> b8585985ede0 16:08:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:08:09 ---> c58cda4a110f 16:08:09 Step 21/26 : EXPOSE 59984 16:08:09 ---> Running in d7c9a93d5d9f 16:08:09 Removing intermediate container d7c9a93d5d9f 16:08:09 ---> 303cd38838c0 16:08:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:08:09 ---> Running in 014091cc96e0 16:08:09 Removing intermediate container 014091cc96e0 16:08:09 ---> d094f06fd857 16:08:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:08:09 ---> Running in abc1d142ef6c 16:08:09 Removing intermediate container abc1d142ef6c 16:08:09 ---> 9d09aeedc59a 16:08:09 Step 24/26 : LABEL arch=arm64 16:08:09 ---> Running in d39fa49d70d1 16:08:09 Removing intermediate container d39fa49d70d1 16:08:09 ---> 2804d94a3ee3 16:08:09 Step 25/26 : LABEL git_sha=4d15146409c3866d30e4d226daf3e5ed400615f3 16:08:09 ---> Running in 77de3579c6c7 16:08:09 Removing intermediate container 77de3579c6c7 16:08:09 ---> 14358d997cba 16:08:09 Step 26/26 : LABEL version=0.0.0 16:08:09 ---> Running in a9a29f8d0df2 16:08:10 Removing intermediate container a9a29f8d0df2 16:08:10 ---> 6c1d5cb0d4b6 16:08:10 [Warning] One or more build-args [ARCH] were not consumed 16:08:10 Successfully built 6c1d5cb0d4b6 16:08:10 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 16:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:11 16:08:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:11 arm64: Pulling from edgex-lftools-log-publisher 16:08:11 8998bd30e6a1: Pulling fs layer 16:08:11 04944245beec: Pulling fs layer 16:08:11 699f458cf7ca: Pulling fs layer 16:08:11 765212b225bb: Pulling fs layer 16:08:11 f23df028b6ca: Pulling fs layer 16:08:11 d65c8cfc05b1: Pulling fs layer 16:08:11 2437ff75d9bd: Pulling fs layer 16:08:11 765212b225bb: Waiting 16:08:11 f23df028b6ca: Waiting 16:08:11 d65c8cfc05b1: Waiting 16:08:11 2437ff75d9bd: Waiting 16:08:11 04944245beec: Verifying Checksum 16:08:11 04944245beec: Download complete 16:08:11 765212b225bb: Verifying Checksum 16:08:11 765212b225bb: Download complete 16:08:11 f23df028b6ca: Verifying Checksum 16:08:11 f23df028b6ca: Download complete 16:08:11 d65c8cfc05b1: Verifying Checksum 16:08:12 d65c8cfc05b1: Download complete 16:08:12 699f458cf7ca: Verifying Checksum 16:08:12 8998bd30e6a1: Verifying Checksum 16:08:12 8998bd30e6a1: Download complete 16:08:15 2437ff75d9bd: Verifying Checksum 16:08:15 2437ff75d9bd: Download complete 16:08:17 8998bd30e6a1: Pull complete 16:08:17 04944245beec: Pull complete 16:08:18 699f458cf7ca: Pull complete 16:08:18 765212b225bb: Pull complete 16:08:19 f23df028b6ca: Pull complete 16:08:19 d65c8cfc05b1: Pull complete 16:08:34 2437ff75d9bd: Pull complete 16:08:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:08:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:35 prd-ubuntu20.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 16:08:35 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:08:38 $ docker top 09a32b6330d45ccbb67eba7c9110b71550b1afe2dd1a3d3536b38552622cfe9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:39 ---> job-cost.sh 16:08:39 lf-activate-venv: SKIPPING 16:08:39 INFO: No Stack... 16:08:39 INFO: Retrieving Pricing Info for: v3-standard-4 16:08:40 INFO: Archiving Costs [Pipeline] sh 16:08:41 + cut -d, -f6 16:08:41 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 16:08:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] 16:08:41 Resource [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] did not exist. Created. 16:08:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:41 /w/workspace/device-onvif-camera/1@tmp/durable-ef0e38e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:42 + echo total: 0.10999999940395355 [Pipeline] stash 16:08:42 Warning: overwriting stash ‘stack-cost’ 16:08:42 Stashed 1 file(s) [Pipeline] } 16:08:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-dependabot-daily-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:42 $ docker stop --time=1 09a32b6330d45ccbb67eba7c9110b71550b1afe2dd1a3d3536b38552622cfe9d 16:08:44 $ docker rm -f --volumes 09a32b6330d45ccbb67eba7c9110b71550b1afe2dd1a3d3536b38552622cfe9d [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 16:08:45 provisioning config files... 16:08:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/ce-onvif-camera_dependabot-daily@tmp/config15648601657059053619tmp [Pipeline] { [Pipeline] sh 16:08:45 + set +x 16:08:45 + curl -s https://codecov.io/bash 16:08:45 + bash -s -- 16:08:45 16:08:45 _____ _ 16:08:45 / ____| | | 16:08:45 | | ___ __| | ___ ___ _____ __ 16:08:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:45 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:45 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:45 Bash-1.0.6 16:08:45 16:08:45 16:08:45 ==> git version 2.25.1 found 16:08:45 ==> 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 16:08:45 Release-Date: 2020-01-08 16:08:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:08:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:08:45 ==> Jenkins CI detected. 16:08:45 current dir:  /w/workspace/ce-onvif-camera_dependabot-daily 16:08:45 project root: . 16:08:45 --> token set from env 16:08:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:45 ==> Running gcov in . (disable via -X gcov) 16:08:45 ==> Python coveragepy not found 16:08:45 ==> Searching for coverage reports in: 16:08:45 + . 16:08:45 -> Found 1 reports 16:08:45 ==> Detecting git/mercurial file structure 16:08:45 ==> Reading reports 16:08:45 + ./coverage.out bytes=76650 16:08:45 ==> Appending adjustments 16:08:45 https://docs.codecov.io/docs/fixing-reports 16:08:46 + Found adjustments 16:08:46 ==> Gzipping contents 16:08:46 12K /tmp/codecov.JfmPf4.gz 16:08:46 ==> Uploading reports 16:08:46 url: https://codecov.io 16:08:46 query: branch=dependabot-daily&commit=4d15146409c3866d30e4d226daf3e5ed400615f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:46 -> Pinging Codecov 16:08:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=dependabot-daily&commit=4d15146409c3866d30e4d226daf3e5ed400615f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fdependabot-daily%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:46 -> Uploading to 16:08:46 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/F29A59C45E3A92E06B3E522C9905F8EF/4d15146409c3866d30e4d226daf3e5ed400615f3/4718f705-6311-4974-9d88-ea632bcd5e20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T160846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=656f0a6a1d226ca77577e5fc84da991525e2846a43cfc136877f8c84bca01926 16:08:46 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:46 Dload Upload Total Spent Left Speed 16:08:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 36978 --:--:-- --:--:-- --:--:-- 36978 16:08:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4d15146409c3866d30e4d226daf3e5ed400615f3 [Pipeline] } 16:08:46 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 16:08:48 + [ -d /w/workspace/ce-onvif-camera_dependabot-daily/archives ] 16:08:48 + ls -al /w/workspace/ce-onvif-camera_dependabot-daily/archives 16:08:48 total 16 16:08:48 drwxr-xr-x 3 root root 4096 Mar 15 15:51 . 16:08:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:51 .. 16:08:48 drwxr-xr-x 2 root root 4096 Mar 15 15:51 cost 16:08:48 -rw-r--r-- 1 root root 101 Mar 15 15:51 cost.csv 16:08:48 + sudo chown -R jenkins:jenkins /w/workspace/ce-onvif-camera_dependabot-daily/archives 16:08:48 + ls -al /w/workspace/ce-onvif-camera_dependabot-daily/archives 16:08:48 total 16 16:08:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:51 . 16:08:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 15:51 .. 16:08:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:51 cost 16:08:48 -rw-r--r-- 1 jenkins jenkins 101 Mar 15 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:49 ---> package-listing.sh 16:08:49 ++ facter osfamily 16:08:49 ++ tr '[:upper:]' '[:lower:]' 16:08:49 + OS_FAMILY=debian 16:08:49 + workspace=/w/workspace/ce-onvif-camera_dependabot-daily 16:08:49 + START_PACKAGES=/tmp/packages_start.txt 16:08:49 + END_PACKAGES=/tmp/packages_end.txt 16:08:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:49 + PACKAGES=/tmp/packages_start.txt 16:08:49 + '[' /w/workspace/ce-onvif-camera_dependabot-daily ']' 16:08:49 + PACKAGES=/tmp/packages_end.txt 16:08:49 + case "${OS_FAMILY}" in 16:08:49 + dpkg -l 16:08:49 + grep '^ii' 16:08:49 + '[' -f /tmp/packages_start.txt ']' 16:08:49 + '[' -f /tmp/packages_end.txt ']' 16:08:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:49 + '[' /w/workspace/ce-onvif-camera_dependabot-daily ']' 16:08:49 + mkdir -p /w/workspace/ce-onvif-camera_dependabot-daily/archives/ 16:08:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ce-onvif-camera_dependabot-daily/archives/ [Pipeline] echo 16:08:49 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/ce-onvif-camera_dependabot-daily/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:50 prd-ubuntu20.04-docker-8c-8g-629 does not seem to be running inside a container 16:08:50 $ 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/ce-onvif-camera_dependabot-daily/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ce-onvif-camera_dependabot-daily -v /w/workspace/ce-onvif-camera_dependabot-daily:/w/workspace/ce-onvif-camera_dependabot-daily:rw,z -v /w/workspace/ce-onvif-camera_dependabot-daily@tmp:/w/workspace/ce-onvif-camera_dependabot-daily@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:51 $ docker top 487689fac74e7972eea42179c5c1bfa08787ec5e39ad7158c83a4b7238433f4a -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:51 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:51 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:52 + ls /var/log/sa-host 16:08:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:52 provisioning config files... 16:08:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ce-onvif-camera_dependabot-daily@tmp/config16658599595414413772tmp [Pipeline] { [Pipeline] echo 16:08:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:52 ---> create-netrc.sh [Pipeline] } 16:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:52 ---> python-tools-install.sh [Pipeline] echo 16:08:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:53 ---> sudo-logs.sh 16:08:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:53 ---> job-cost.sh 16:08:53 lf-activate-venv: SKIPPING 16:08:53 DEBUG: total: 0.2199999988079071 16:08:53 INFO: Retrieving Stack Cost... 16:08:53 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:54 INFO: Archiving Costs [Pipeline] echo 16:08:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:54 ---> logs-deploy.sh 16:08:54 lf-activate-venv: SKIPPING 16:08:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/dependabot-daily/1 16:08:54 INFO: archiving workspace using pattern(s): 16:08:55 Archives upload complete. 16:08:55 INFO: archiving logs to Nexus