Pull request #172 updated Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh7104404321111157526.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15048767878504463619.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17112667107149949900.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17254671279888824118.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13199737434220801532.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-7226 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 Merge succeeded, producing 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 Checking out Revision 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 # timeout=10 Commit message: "Update onvifdiscovery.go" > git rev-list --no-walk c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T01:53:08.242Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T01:53:08.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T01:53:08.302Z] ========================================================= [2022-10-06T01:53:08.303Z] EdgeX Global Pipelines Version Info [2022-10-06T01:53:08.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:53:09.013Z] ------------------- [2022-10-06T01:53:09.013Z] stable info: [2022-10-06T01:53:09.013Z] ------------------- [2022-10-06T01:53:09.013Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T01:53:09.013Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:53:09.013Z] Message: update stable to v1.0.239 [2022-10-06T01:53:09.590Z] ------------------- [2022-10-06T01:53:09.590Z] experimental info: [2022-10-06T01:53:09.590Z] ------------------- [2022-10-06T01:53:09.590Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T01:53:09.590Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:53:09.590Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T01:53:09.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-06T01:53:09.772Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-06T01:53:09.784Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T01:53:09.799Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T01:53:09.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T01:53:09.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T01:53:09.836Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T01:53:09.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T01:53:09.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T01:53:09.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T01:53:09.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T01:53:09.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-06T01:53:09.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T01:53:09.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T01:53:09.952Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:53:09.962Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:53:09.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:53:09.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:53:10.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T01:53:10.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T01:53:10.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T01:53:10.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-06T01:53:10.071Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T01:53:10.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T01:53:10.097Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T01:53:10.107Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T01:53:10.123Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T01:53:10.142Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:53:10.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:53:10.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-06T01:53:10.194Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [Pipeline] echo [2022-10-06T01:53:10.211Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cb3db3 [Pipeline] echo [2022-10-06T01:53:10.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:53:10.280Z] provisioning config files... [2022-10-06T01:53:10.295Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6846862787096660955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:53:10.596Z] ---> docker-login.sh [2022-10-06T01:53:10.596Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:53:10.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:10.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:10.867Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:10.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:10.867Z] [2022-10-06T01:53:10.867Z] Login Succeeded [2022-10-06T01:53:10.867Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:53:10.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:11.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:11.128Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:11.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:11.128Z] [2022-10-06T01:53:11.128Z] Login Succeeded [2022-10-06T01:53:11.128Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:53:11.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:11.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:11.128Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:11.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:11.128Z] [2022-10-06T01:53:11.128Z] Login Succeeded [2022-10-06T01:53:11.128Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:53:11.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:11.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:11.128Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:11.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:11.128Z] [2022-10-06T01:53:11.128Z] Login Succeeded [2022-10-06T01:53:11.128Z] docker.io [2022-10-06T01:53:11.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:11.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:11.650Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:11.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:11.650Z] [2022-10-06T01:53:11.650Z] Login Succeeded [2022-10-06T01:53:11.650Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:53:11.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T01:53:12.063Z] + git rev-list -1 --merges 9cb3db38a72e4eca629ee6e9c26e59386ed660a0~1..9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [Pipeline] echo [2022-10-06T01:53:12.092Z] -----------> git rev-list -1 --merges 9cb3db38a72e4eca629ee6e9c26e59386ed660a0~1..9cb3db38a72e4eca629ee6e9c26e59386ed660a0 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [false] [Pipeline] sh [2022-10-06T01:53:12.387Z] + git log --format=format:%s -1 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [Pipeline] echo [2022-10-06T01:53:12.400Z] ========================================================= [2022-10-06T01:53:12.400Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T01:53:12.400Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:53:12.717Z] + git log --format=format:%s -1 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [Pipeline] echo [2022-10-06T01:53:12.728Z] [semverPrep] GIT_COMMIT: 9cb3db38a72e4eca629ee6e9c26e59386ed660a0, Commit Message: Update onvifdiscovery.go [Pipeline] echo [2022-10-06T01:53:12.737Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T01:53:13.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T01:53:13.082Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T01:53:13.082Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T01:53:13.082Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T01:53:13.082Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T01:53:13.082Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T01:53:13.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:53:13.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:53:13.482Z] [2022-10-06T01:53:13.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:53:13.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:53:13.786Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T01:53:13.786Z] b85a868b505f: Pulling fs layer [2022-10-06T01:53:13.786Z] e2be974225ed: Pulling fs layer [2022-10-06T01:53:13.786Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T01:53:13.786Z] 988bab9f4d93: Pulling fs layer [2022-10-06T01:53:13.786Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T01:53:13.786Z] eaf3925da568: Pulling fs layer [2022-10-06T01:53:13.786Z] bab4dde63d76: Pulling fs layer [2022-10-06T01:53:13.786Z] bde34c3a00c8: Pulling fs layer [2022-10-06T01:53:13.786Z] b352a97aabf1: Pulling fs layer [2022-10-06T01:53:13.786Z] 4872d77fe225: Pulling fs layer [2022-10-06T01:53:13.786Z] 5851b861e8e6: Pulling fs layer [2022-10-06T01:53:13.786Z] 988bab9f4d93: Waiting [2022-10-06T01:53:13.786Z] b352a97aabf1: Waiting [2022-10-06T01:53:13.786Z] bab4dde63d76: Waiting [2022-10-06T01:53:13.786Z] bde34c3a00c8: Waiting [2022-10-06T01:53:13.786Z] 1469e6f7b9e6: Waiting [2022-10-06T01:53:13.786Z] eaf3925da568: Waiting [2022-10-06T01:53:13.786Z] 4872d77fe225: Waiting [2022-10-06T01:53:13.786Z] 5851b861e8e6: Waiting [2022-10-06T01:53:13.786Z] e2be974225ed: Download complete [2022-10-06T01:53:13.786Z] 988bab9f4d93: Verifying Checksum [2022-10-06T01:53:13.786Z] 988bab9f4d93: Download complete [2022-10-06T01:53:14.048Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T01:53:14.048Z] 1469e6f7b9e6: Download complete [2022-10-06T01:53:14.048Z] eaf3925da568: Verifying Checksum [2022-10-06T01:53:14.048Z] eaf3925da568: Download complete [2022-10-06T01:53:14.048Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T01:53:14.048Z] 339a4e72a1f5: Download complete [2022-10-06T01:53:14.048Z] bde34c3a00c8: Download complete [2022-10-06T01:53:14.048Z] b352a97aabf1: Verifying Checksum [2022-10-06T01:53:14.048Z] b352a97aabf1: Download complete [2022-10-06T01:53:14.048Z] 4872d77fe225: Verifying Checksum [2022-10-06T01:53:14.048Z] 4872d77fe225: Download complete [2022-10-06T01:53:14.048Z] 5851b861e8e6: Download complete [2022-10-06T01:53:14.048Z] b85a868b505f: Verifying Checksum [2022-10-06T01:53:14.048Z] b85a868b505f: Download complete [2022-10-06T01:53:14.308Z] bab4dde63d76: Verifying Checksum [2022-10-06T01:53:14.308Z] bab4dde63d76: Download complete [2022-10-06T01:53:15.243Z] b85a868b505f: Pull complete [2022-10-06T01:53:15.503Z] e2be974225ed: Pull complete [2022-10-06T01:53:16.073Z] 339a4e72a1f5: Pull complete [2022-10-06T01:53:16.073Z] 988bab9f4d93: Pull complete [2022-10-06T01:53:16.340Z] 1469e6f7b9e6: Pull complete [2022-10-06T01:53:16.340Z] eaf3925da568: Pull complete [2022-10-06T01:53:18.245Z] bab4dde63d76: Pull complete [2022-10-06T01:53:18.245Z] bde34c3a00c8: Pull complete [2022-10-06T01:53:18.505Z] b352a97aabf1: Pull complete [2022-10-06T01:53:18.505Z] 4872d77fe225: Pull complete [2022-10-06T01:53:18.505Z] 5851b861e8e6: Pull complete [2022-10-06T01:53:18.766Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T01:53:18.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:53:18.766Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:53:18.890Z] prd-ubuntu20.04-docker-8c-8g-7226 does not seem to be running inside a container [2022-10-06T01:53:18.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T01:53:22.267Z] $ docker top c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 -eo pid,comm [2022-10-06T01:53:22.328Z] 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). [2022-10-06T01:53:22.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T01:53:22.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:53:22.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:53:22.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:53:22.537Z] $ docker exec c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 ssh-agent [2022-10-06T01:53:22.660Z] SSH_AUTH_SOCK=/tmp/ssh-dumueay2TXGf/agent.32 [2022-10-06T01:53:22.660Z] SSH_AGENT_PID=38 [2022-10-06T01:53:22.666Z] Running ssh-add (command line suppressed) [2022-10-06T01:53:22.776Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9579561838650593807.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9579561838650593807.key) [2022-10-06T01:53:22.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:53:23.082Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T01:53:23.090Z] $ docker exec --env ******** --env ******** c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 ssh-agent -k [2022-10-06T01:53:23.192Z] unset SSH_AUTH_SOCK; [2022-10-06T01:53:23.193Z] unset SSH_AGENT_PID; [2022-10-06T01:53:23.193Z] echo Agent pid 38 killed; [2022-10-06T01:53:23.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T01:53:23.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:53:23.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:53:23.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:53:23.339Z] $ docker exec c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 ssh-agent [2022-10-06T01:53:23.463Z] SSH_AUTH_SOCK=/tmp/ssh-MNvx3o3SqvEy/agent.70 [2022-10-06T01:53:23.463Z] SSH_AGENT_PID=76 [2022-10-06T01:53:23.468Z] Running ssh-add (command line suppressed) [2022-10-06T01:53:23.575Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5795641686925690018.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5795641686925690018.key) [2022-10-06T01:53:23.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:53:23.881Z] + git semver init [2022-10-06T01:53:24.140Z] 2022-10-06 01:53:24,064 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T01:53:24.140Z] 2022-10-06 01:53:24,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T01:53:24.140Z] 2022-10-06 01:53:24,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T01:53:24.140Z] 2022-10-06 01:53:24,066 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,089 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,089 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,089 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,093 [execute] INFO git cat-file --batch-check [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,101 [execute] INFO git cat-file --batch [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T01:53:25.523Z] 2022-10-06 01:53:25,108 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:53:25.523Z] 0.0.0 [Pipeline] } [2022-10-06T01:53:25.532Z] $ docker exec --env ******** --env ******** c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 ssh-agent -k [2022-10-06T01:53:25.625Z] unset SSH_AUTH_SOCK; [2022-10-06T01:53:25.625Z] unset SSH_AGENT_PID; [2022-10-06T01:53:25.625Z] echo Agent pid 76 killed; [2022-10-06T01:53:25.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T01:53:25.952Z] + git semver [Pipeline] } [2022-10-06T01:53:26.224Z] $ docker stop --time=1 c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 [2022-10-06T01:53:27.555Z] $ docker rm -f c5f24c26dc7131cc605b34916297cbc4b8374139794ac9a932de667590cfec60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T01:53:27.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T01:53:28.061Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T01:53:28.064Z] [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 [2022-10-06T01:53:28.213Z] provisioning config files... [2022-10-06T01:53:28.221Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config3228355610531246230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:53:28.511Z] ---> docker-login.sh [2022-10-06T01:53:28.511Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:53:28.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:28.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:28.511Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:28.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:28.511Z] [2022-10-06T01:53:28.511Z] Login Succeeded [2022-10-06T01:53:28.511Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:53:28.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:28.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:28.511Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:28.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:28.511Z] [2022-10-06T01:53:28.511Z] Login Succeeded [2022-10-06T01:53:28.511Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:53:28.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:28.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:28.769Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:28.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:28.769Z] [2022-10-06T01:53:28.769Z] Login Succeeded [2022-10-06T01:53:28.769Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:53:28.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:28.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:28.769Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:28.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:28.769Z] [2022-10-06T01:53:28.769Z] Login Succeeded [2022-10-06T01:53:28.769Z] docker.io [2022-10-06T01:53:29.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:53:29.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:53:29.286Z] Configure a credential helper to remove this warning. See [2022-10-06T01:53:29.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:53:29.286Z] [2022-10-06T01:53:29.286Z] Login Succeeded [2022-10-06T01:53:29.286Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:53:29.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:53:29.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:53:29.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:53:29.391Z] ========================================================= [2022-10-06T01:53:29.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T01:53:29.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:53:29.715Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T01:53:29.715Z] Sending build context to Docker daemon 20.91MB [2022-10-06T01:53:29.715Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:53:29.715Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:53:29.973Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T01:53:29.973Z] 2408cc74d12b: Pulling fs layer [2022-10-06T01:53:29.973Z] ea60b727a1ce: Pulling fs layer [2022-10-06T01:53:29.973Z] 30c4a7721957: Pulling fs layer [2022-10-06T01:53:29.973Z] 370296b7ddb6: Pulling fs layer [2022-10-06T01:53:29.973Z] 7c6cee850709: Pulling fs layer [2022-10-06T01:53:29.973Z] aa9baa53a306: Pulling fs layer [2022-10-06T01:53:29.973Z] 8b309c321861: Pulling fs layer [2022-10-06T01:53:29.973Z] d8d76fd02f46: Pulling fs layer [2022-10-06T01:53:29.973Z] fa31f396de31: Pulling fs layer [2022-10-06T01:53:29.973Z] 370296b7ddb6: Waiting [2022-10-06T01:53:29.973Z] 7c6cee850709: Waiting [2022-10-06T01:53:29.973Z] aa9baa53a306: Waiting [2022-10-06T01:53:29.973Z] 8b309c321861: Waiting [2022-10-06T01:53:29.973Z] fa31f396de31: Waiting [2022-10-06T01:53:29.973Z] d8d76fd02f46: Waiting [2022-10-06T01:53:29.973Z] 30c4a7721957: Verifying Checksum [2022-10-06T01:53:29.973Z] 30c4a7721957: Download complete [2022-10-06T01:53:29.973Z] ea60b727a1ce: Verifying Checksum [2022-10-06T01:53:29.973Z] ea60b727a1ce: Download complete [2022-10-06T01:53:29.973Z] 7c6cee850709: Verifying Checksum [2022-10-06T01:53:29.973Z] 7c6cee850709: Download complete [2022-10-06T01:53:29.973Z] aa9baa53a306: Verifying Checksum [2022-10-06T01:53:29.973Z] aa9baa53a306: Download complete [2022-10-06T01:53:29.973Z] 2408cc74d12b: Verifying Checksum [2022-10-06T01:53:29.973Z] 2408cc74d12b: Download complete [2022-10-06T01:53:29.973Z] 8b309c321861: Verifying Checksum [2022-10-06T01:53:29.973Z] 8b309c321861: Download complete [2022-10-06T01:53:29.973Z] 2408cc74d12b: Pull complete [2022-10-06T01:53:30.233Z] ea60b727a1ce: Pull complete [2022-10-06T01:53:30.233Z] 30c4a7721957: Pull complete [2022-10-06T01:53:30.800Z] fa31f396de31: Verifying Checksum [2022-10-06T01:53:30.800Z] 370296b7ddb6: Verifying Checksum [2022-10-06T01:53:30.800Z] 370296b7ddb6: Download complete [2022-10-06T01:53:31.060Z] d8d76fd02f46: Verifying Checksum [2022-10-06T01:53:31.060Z] d8d76fd02f46: Download complete [2022-10-06T01:53:35.245Z] 370296b7ddb6: Pull complete [2022-10-06T01:53:35.245Z] 7c6cee850709: Pull complete [2022-10-06T01:53:35.245Z] aa9baa53a306: Pull complete [2022-10-06T01:53:35.245Z] 8b309c321861: Pull complete [2022-10-06T01:53:37.144Z] d8d76fd02f46: Pull complete [2022-10-06T01:53:37.709Z] fa31f396de31: Pull complete [2022-10-06T01:53:37.709Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T01:53:37.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T01:53:37.709Z] ---> cef68f9685f8 [2022-10-06T01:53:37.709Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:53:42.976Z] ---> Running in 429cb5c9870f [2022-10-06T01:53:42.976Z] Removing intermediate container 429cb5c9870f [2022-10-06T01:53:42.976Z] ---> 7a47b83bc65e [2022-10-06T01:53:42.976Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:53:42.976Z] ---> Running in 1372ab530962 [2022-10-06T01:53:42.976Z] Removing intermediate container 1372ab530962 [2022-10-06T01:53:42.976Z] ---> a69aaed9517c [2022-10-06T01:53:42.976Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:53:42.976Z] ---> Running in 147f2e14514d [2022-10-06T01:53:42.976Z] Removing intermediate container 147f2e14514d [2022-10-06T01:53:42.976Z] ---> 0cf888a69d67 [2022-10-06T01:53:42.976Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:53:42.976Z] ---> Running in 9546bd8d8b3a [2022-10-06T01:53:42.976Z] Removing intermediate container 9546bd8d8b3a [2022-10-06T01:53:42.976Z] ---> 14210ffa1def [2022-10-06T01:53:42.976Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:53:42.976Z] ---> Running in 69df561c06b5 [2022-10-06T01:53:42.976Z] Removing intermediate container 69df561c06b5 [2022-10-06T01:53:42.976Z] ---> c58dc174fc26 [2022-10-06T01:53:42.976Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:53:42.976Z] ---> Running in 379a85697595 [2022-10-06T01:53:43.175Z] Still waiting to schedule task [2022-10-06T01:53:43.175Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-06T01:53:43.544Z] Removing intermediate container 379a85697595 [2022-10-06T01:53:43.544Z] ---> f3846f784e40 [2022-10-06T01:53:43.544Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:53:43.544Z] ---> Running in 4abff4f6977f [2022-10-06T01:53:43.804Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T01:53:44.739Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T01:53:44.997Z] OK: 211 MiB in 51 packages [2022-10-06T01:53:45.256Z] Removing intermediate container 4abff4f6977f [2022-10-06T01:53:45.256Z] ---> 4b6532bea27d [2022-10-06T01:53:45.256Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:53:45.256Z] ---> Running in 330d3cc0b5e1 [2022-10-06T01:53:45.256Z] Removing intermediate container 330d3cc0b5e1 [2022-10-06T01:53:45.256Z] ---> cacd77b0c5c5 [2022-10-06T01:53:45.256Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:53:45.518Z] ---> 5022e52f10b9 [2022-10-06T01:53:45.518Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:53:45.518Z] ---> Running in 3d4000b1a764 [2022-10-06T01:54:07.483Z] Removing intermediate container 3d4000b1a764 [2022-10-06T01:54:07.483Z] ---> dfce4b6cb608 [2022-10-06T01:54:07.483Z] Step 13/14 : COPY . . [2022-10-06T01:54:07.483Z] ---> 29bbfb21acea [2022-10-06T01:54:07.483Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:54:07.483Z] ---> Running in 36882b942067 [2022-10-06T01:54:07.483Z] noop [2022-10-06T01:54:07.483Z] Removing intermediate container 36882b942067 [2022-10-06T01:54:07.483Z] ---> 85e8d34d7fa5 [2022-10-06T01:54:07.483Z] Successfully built 85e8d34d7fa5 [2022-10-06T01:54:07.483Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:54:07.779Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:54:07.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:54:07.844Z] prd-ubuntu20.04-docker-8c-8g-7226 does not seem to be running inside a container [2022-10-06T01:54:07.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-06T01:54:08.188Z] $ docker top d5444e7c025a697dd5b0d2a0efa646b7987c46bf83806db5cef8aaa0729e1462 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:54:08.524Z] + go version [2022-10-06T01:54:08.524Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T01:54:08.540Z] $ docker stop --time=1 d5444e7c025a697dd5b0d2a0efa646b7987c46bf83806db5cef8aaa0729e1462 [2022-10-06T01:54:09.796Z] $ docker rm -f d5444e7c025a697dd5b0d2a0efa646b7987c46bf83806db5cef8aaa0729e1462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:54:10.177Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:54:10.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:54:10.242Z] prd-ubuntu20.04-docker-8c-8g-7226 does not seem to be running inside a container [2022-10-06T01:54:10.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-06T01:54:10.595Z] $ docker top 9d90e741a09d8aa4d86c80f0419a9fe7af2bdef09d10e918e96e6e75aed65998 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:54:10.931Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:54:11.228Z] + make test [2022-10-06T01:54:11.228Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:54:11.485Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T01:54:21.444Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T01:54:22.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-06T01:54:22.012Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T01:54:22.271Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.423s coverage: 86.5% of statements [2022-10-06T01:54:30.378Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-06T01:54:30.378Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T01:54:32.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T01:54:32.908Z] ./internal/driver/onvifdiscovery.go [2022-10-06T01:54:32.908Z] ./internal/driver/driver.go [2022-10-06T01:54:32.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T01:54:32.908Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T01:54:32.925Z] $ docker stop --time=1 9d90e741a09d8aa4d86c80f0419a9fe7af2bdef09d10e918e96e6e75aed65998 [2022-10-06T01:54:35.305Z] $ docker rm -f 9d90e741a09d8aa4d86c80f0419a9fe7af2bdef09d10e918e96e6e75aed65998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:54:35.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:54:35.869Z] [2022-10-06T01:54:35.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:54:36.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:54:36.476Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T01:54:36.476Z] 5eb5b503b376: Pulling fs layer [2022-10-06T01:54:36.476Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T01:54:36.476Z] ec43610c2a17: Pulling fs layer [2022-10-06T01:54:36.476Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T01:54:36.476Z] 33b1e0a273af: Pulling fs layer [2022-10-06T01:54:36.476Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T01:54:36.476Z] 2f39f015ded8: Pulling fs layer [2022-10-06T01:54:36.476Z] 33b1e0a273af: Waiting [2022-10-06T01:54:36.476Z] 5d3b04190fa2: Waiting [2022-10-06T01:54:36.476Z] 2f39f015ded8: Waiting [2022-10-06T01:54:36.476Z] 3a2ae6a8a46f: Waiting [2022-10-06T01:54:36.476Z] 5c69ac0246d0: Verifying Checksum [2022-10-06T01:54:36.476Z] 5c69ac0246d0: Download complete [2022-10-06T01:54:36.476Z] 3a2ae6a8a46f: Download complete [2022-10-06T01:54:36.476Z] 33b1e0a273af: Verifying Checksum [2022-10-06T01:54:36.476Z] 33b1e0a273af: Download complete [2022-10-06T01:54:36.476Z] 5d3b04190fa2: Download complete [2022-10-06T01:54:36.476Z] ec43610c2a17: Verifying Checksum [2022-10-06T01:54:36.476Z] ec43610c2a17: Download complete [2022-10-06T01:54:36.734Z] 5eb5b503b376: Verifying Checksum [2022-10-06T01:54:36.734Z] 5eb5b503b376: Download complete [2022-10-06T01:54:37.301Z] 2f39f015ded8: Download complete [2022-10-06T01:54:37.868Z] 5eb5b503b376: Pull complete [2022-10-06T01:54:37.868Z] 5c69ac0246d0: Pull complete [2022-10-06T01:54:38.127Z] ec43610c2a17: Pull complete [2022-10-06T01:54:38.386Z] 3a2ae6a8a46f: Pull complete [2022-10-06T01:54:38.644Z] 33b1e0a273af: Pull complete [2022-10-06T01:54:38.644Z] 5d3b04190fa2: Pull complete [2022-10-06T01:54:42.828Z] 2f39f015ded8: Pull complete [2022-10-06T01:54:42.828Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T01:54:42.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:54:42.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:54:42.900Z] prd-ubuntu20.04-docker-8c-8g-7226 does not seem to be running inside a container [2022-10-06T01:54:42.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T01:54:45.917Z] $ docker top ff1c2c280744e9996f3066037bb24e1a579d5d7b385e1515fcd6310e8428e5f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:54:46.404Z] ---> job-cost.sh [2022-10-06T01:54:46.404Z] lf-activate-venv: SKIPPING [2022-10-06T01:54:46.404Z] INFO: No Stack... [2022-10-06T01:54:46.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T01:54:47.231Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T01:54:47.519Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-06T01:54:47.519Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T01:54:47.531Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [2022-10-06T01:54:47.537Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] did not exist. Created. [2022-10-06T01:54:47.537Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T01:54:47.844Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T01:54:47.876Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T01:54:47.883Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T01:54:47.909Z] $ docker stop --time=1 ff1c2c280744e9996f3066037bb24e1a579d5d7b385e1515fcd6310e8428e5f2 [2022-10-06T01:54:49.054Z] $ docker rm -f ff1c2c280744e9996f3066037bb24e1a579d5d7b385e1515fcd6310e8428e5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T01:54:49.175Z] Failed in branch amd64 [2022-10-06T01:56:57.041Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7227 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-06T01:56:57.055Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-10-06T01:56:57.092Z] The recommended git tool is: git [2022-10-06T01:57:02.621Z] using credential edgex-jenkins-ssh [2022-10-06T01:57:02.639Z] Cloning the remote Git repository [2022-10-06T01:57:02.688Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:57:02.768Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-10-06T01:57:02.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:57:02.932Z] > git --version # timeout=10 [2022-10-06T01:57:02.954Z] > git --version # 'git version 2.25.1' [2022-10-06T01:57:02.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:57:03.001Z] Verifying host key using known hosts file [2022-10-06T01:57:03.190Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:57:03.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:57:04.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:57:04.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:57:05.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:57:05.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:57:05.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:57:05.470Z] Verifying host key using known hosts file [2022-10-06T01:57:05.477Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:57:05.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-06T01:57:06.128Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [2022-10-06T01:57:06.510Z] Merge succeeded, producing 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 [2022-10-06T01:57:06.511Z] Checking out Revision 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 (PR-172) [2022-10-06T01:57:06.162Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:57:06.189Z] > git checkout -f 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 # timeout=10 [2022-10-06T01:57:06.405Z] > git remote # timeout=10 [2022-10-06T01:57:06.424Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T01:57:06.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:57:06.452Z] Verifying host key using known hosts file [2022-10-06T01:57:06.458Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:57:06.467Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-06T01:57:06.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T01:57:06.519Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:57:06.535Z] > git checkout -f 9cb3db38a72e4eca629ee6e9c26e59386ed660a0 # timeout=10 [2022-10-06T01:57:10.232Z] Commit message: "Update onvifdiscovery.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:57:11.194Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T01:57:11.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T01:57:11.194Z] Dload Upload Total Spent Left Speed [2022-10-06T01:57:11.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2022-10-06T01:57:11.893Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T01:57:12.221Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T01:57:12.221Z] + sudo tee /etc/docker/daemon.new [2022-10-06T01:57:12.221Z] { [2022-10-06T01:57:12.221Z] "registry-mirrors": [ [2022-10-06T01:57:12.221Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T01:57:12.221Z] ], [2022-10-06T01:57:12.221Z] "bip": "10.250.0.254/24", [2022-10-06T01:57:12.221Z] "hosts": [ [2022-10-06T01:57:12.221Z] "tcp://0.0.0.0:5555", [2022-10-06T01:57:12.221Z] "unix:///var/run/docker.sock" [2022-10-06T01:57:12.221Z] ], [2022-10-06T01:57:12.221Z] "mtu": 1458, [2022-10-06T01:57:12.221Z] "selinux-enabled": true, [2022-10-06T01:57:12.221Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T01:57:12.221Z] } [Pipeline] sh [2022-10-06T01:57:12.547Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T01:57:12.869Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:57:31.128Z] provisioning config files... [2022-10-06T01:57:31.154Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config15861114306997399810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:57:31.495Z] ---> docker-login.sh [2022-10-06T01:57:31.496Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:57:32.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:57:32.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:57:32.086Z] Configure a credential helper to remove this warning. See [2022-10-06T01:57:32.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:57:32.086Z] [2022-10-06T01:57:32.086Z] Login Succeeded [2022-10-06T01:57:32.086Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:57:32.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:57:32.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:57:32.356Z] Configure a credential helper to remove this warning. See [2022-10-06T01:57:32.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:57:32.356Z] [2022-10-06T01:57:32.356Z] Login Succeeded [2022-10-06T01:57:32.626Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:57:32.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:57:32.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:57:32.896Z] Configure a credential helper to remove this warning. See [2022-10-06T01:57:32.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:57:32.896Z] [2022-10-06T01:57:32.896Z] Login Succeeded [2022-10-06T01:57:32.896Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:57:33.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:57:33.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:57:33.166Z] Configure a credential helper to remove this warning. See [2022-10-06T01:57:33.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:57:33.166Z] [2022-10-06T01:57:33.166Z] Login Succeeded [2022-10-06T01:57:33.166Z] docker.io [2022-10-06T01:57:33.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:57:33.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:57:33.703Z] Configure a credential helper to remove this warning. See [2022-10-06T01:57:33.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:57:33.703Z] [2022-10-06T01:57:33.703Z] Login Succeeded [2022-10-06T01:57:33.703Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:57:33.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:57:33.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:57:33.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:57:33.878Z] ========================================================= [2022-10-06T01:57:33.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T01:57:33.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:57:34.227Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T01:57:34.820Z] Sending build context to Docker daemon 14.34MB [2022-10-06T01:57:34.820Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:57:34.820Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:57:34.820Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T01:57:34.820Z] b3c136eddcbf: Pulling fs layer [2022-10-06T01:57:34.820Z] c0a3192eca97: Pulling fs layer [2022-10-06T01:57:34.820Z] a050256f5b6f: Pulling fs layer [2022-10-06T01:57:34.820Z] 656be50a0ddc: Pulling fs layer [2022-10-06T01:57:34.820Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T01:57:34.820Z] f607e4fc86c3: Pulling fs layer [2022-10-06T01:57:34.820Z] 4d572c569a2c: Pulling fs layer [2022-10-06T01:57:34.820Z] fcf976331f73: Pulling fs layer [2022-10-06T01:57:34.820Z] f607e4fc86c3: Waiting [2022-10-06T01:57:34.820Z] 656be50a0ddc: Waiting [2022-10-06T01:57:34.820Z] 2bbca73fdf42: Waiting [2022-10-06T01:57:34.820Z] fcf976331f73: Waiting [2022-10-06T01:57:34.820Z] a050256f5b6f: Verifying Checksum [2022-10-06T01:57:34.820Z] a050256f5b6f: Download complete [2022-10-06T01:57:34.820Z] c0a3192eca97: Verifying Checksum [2022-10-06T01:57:34.820Z] c0a3192eca97: Download complete [2022-10-06T01:57:34.820Z] 2bbca73fdf42: Verifying Checksum [2022-10-06T01:57:34.820Z] 2bbca73fdf42: Download complete [2022-10-06T01:57:35.093Z] f607e4fc86c3: Verifying Checksum [2022-10-06T01:57:35.093Z] f607e4fc86c3: Download complete [2022-10-06T01:57:35.093Z] b3c136eddcbf: Verifying Checksum [2022-10-06T01:57:35.093Z] b3c136eddcbf: Download complete [2022-10-06T01:57:36.079Z] b3c136eddcbf: Pull complete [2022-10-06T01:57:36.079Z] fcf976331f73: Verifying Checksum [2022-10-06T01:57:36.079Z] fcf976331f73: Download complete [2022-10-06T01:57:36.675Z] c0a3192eca97: Pull complete [2022-10-06T01:57:36.948Z] a050256f5b6f: Pull complete [2022-10-06T01:57:37.220Z] 4d572c569a2c: Verifying Checksum [2022-10-06T01:57:37.220Z] 4d572c569a2c: Download complete [2022-10-06T01:57:37.812Z] 656be50a0ddc: Verifying Checksum [2022-10-06T01:57:37.812Z] 656be50a0ddc: Download complete [2022-10-06T01:57:50.173Z] 656be50a0ddc: Pull complete [2022-10-06T01:57:50.173Z] 2bbca73fdf42: Pull complete [2022-10-06T01:57:50.173Z] f607e4fc86c3: Pull complete [2022-10-06T01:57:56.827Z] 4d572c569a2c: Pull complete [2022-10-06T01:57:57.793Z] fcf976331f73: Pull complete [2022-10-06T01:57:57.793Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T01:57:57.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T01:57:57.793Z] ---> 3970a7415f9e [2022-10-06T01:57:57.793Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:57:59.745Z] ---> Running in 46d6efee3de1 [2022-10-06T01:58:00.013Z] Removing intermediate container 46d6efee3de1 [2022-10-06T01:58:00.013Z] ---> 799b6d66c27f [2022-10-06T01:58:00.013Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:58:01.427Z] ---> Running in b4cfb1ecc9a8 [2022-10-06T01:58:01.694Z] Removing intermediate container b4cfb1ecc9a8 [2022-10-06T01:58:01.694Z] ---> 5d5b1a6707ac [2022-10-06T01:58:01.694Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:58:01.694Z] ---> Running in 2e11aa7ddc20 [2022-10-06T01:58:01.975Z] Removing intermediate container 2e11aa7ddc20 [2022-10-06T01:58:01.975Z] ---> 4b0c79b3bdc7 [2022-10-06T01:58:01.975Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:58:02.244Z] ---> Running in 36d4fc2afefa [2022-10-06T01:58:02.513Z] Removing intermediate container 36d4fc2afefa [2022-10-06T01:58:02.513Z] ---> 96c8a4cea71e [2022-10-06T01:58:02.513Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:58:02.513Z] ---> Running in 2acd99f10977 [2022-10-06T01:58:02.782Z] Removing intermediate container 2acd99f10977 [2022-10-06T01:58:02.782Z] ---> d10265452773 [2022-10-06T01:58:02.782Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:58:03.050Z] ---> Running in 307216a0ea6d [2022-10-06T01:58:05.001Z] Removing intermediate container 307216a0ea6d [2022-10-06T01:58:05.001Z] ---> 2f671e5ce294 [2022-10-06T01:58:05.001Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:58:05.001Z] ---> Running in f69b720815f5 [2022-10-06T01:58:05.965Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T01:58:06.931Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T01:58:07.894Z] OK: 221 MiB in 51 packages [2022-10-06T01:58:08.480Z] Removing intermediate container f69b720815f5 [2022-10-06T01:58:08.480Z] ---> 3930651f5a84 [2022-10-06T01:58:08.480Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:58:08.751Z] ---> Running in 6070ff0825fa [2022-10-06T01:58:09.017Z] Removing intermediate container 6070ff0825fa [2022-10-06T01:58:09.017Z] ---> 8f0ad047d33e [2022-10-06T01:58:09.017Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:58:09.614Z] ---> d9f72ff72279 [2022-10-06T01:58:09.614Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:58:09.614Z] ---> Running in 0993d0bb58fb [2022-10-06T01:59:06.038Z] Removing intermediate container 0993d0bb58fb [2022-10-06T01:59:06.038Z] ---> 4d227f618829 [2022-10-06T01:59:06.038Z] Step 13/14 : COPY . . [2022-10-06T01:59:06.038Z] ---> 1b429ef20da9 [2022-10-06T01:59:06.038Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:59:06.038Z] ---> Running in 9fc584e74c6e [2022-10-06T01:59:06.038Z] noop [2022-10-06T01:59:06.038Z] Removing intermediate container 9fc584e74c6e [2022-10-06T01:59:06.038Z] ---> 52c0d68cba0e [2022-10-06T01:59:06.038Z] Successfully built 52c0d68cba0e [2022-10-06T01:59:06.038Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:59:06.392Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:59:06.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:59:06.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-7227 does not seem to be running inside a container [2022-10-06T01:59:06.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T01:59:07.859Z] $ docker top 89856f74e039a866d3b691df0802584ca2f9048451022c47bf3fa6e1c117ba44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:59:08.694Z] + go version [2022-10-06T01:59:08.694Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T01:59:08.716Z] $ docker stop --time=1 89856f74e039a866d3b691df0802584ca2f9048451022c47bf3fa6e1c117ba44 [2022-10-06T01:59:10.355Z] $ docker rm -f 89856f74e039a866d3b691df0802584ca2f9048451022c47bf3fa6e1c117ba44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:59:10.896Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:59:10.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:59:11.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-7227 does not seem to be running inside a container [2022-10-06T01:59:11.143Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T01:59:12.325Z] $ docker top 2386ea3e65801dcb702be5e8293af81fec7dfb4c38ea55a9c7bf0203685e042a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:59:13.165Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:59:13.492Z] + make test [2022-10-06T01:59:13.762Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:59:15.709Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T02:00:52.374Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T02:00:52.374Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.202s coverage: 28.2% of statements [2022-10-06T02:00:52.374Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T02:01:14.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.079s coverage: 86.5% of statements [2022-10-06T02:01:14.457Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T02:01:14.457Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T02:01:46.681Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T02:01:46.681Z] ./internal/driver/onvifdiscovery.go [2022-10-06T02:01:46.681Z] ./internal/driver/driver.go [2022-10-06T02:01:46.681Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T02:01:46.681Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T02:01:46.703Z] $ docker stop --time=1 2386ea3e65801dcb702be5e8293af81fec7dfb4c38ea55a9c7bf0203685e042a [2022-10-06T02:01:48.778Z] $ docker rm -f 2386ea3e65801dcb702be5e8293af81fec7dfb4c38ea55a9c7bf0203685e042a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:01:49.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:01:49.888Z] [2022-10-06T02:01:49.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:01:50.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:01:50.499Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T02:01:50.499Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T02:01:50.499Z] 04944245beec: Pulling fs layer [2022-10-06T02:01:50.499Z] 699f458cf7ca: Pulling fs layer [2022-10-06T02:01:50.499Z] 765212b225bb: Pulling fs layer [2022-10-06T02:01:50.499Z] f23df028b6ca: Pulling fs layer [2022-10-06T02:01:50.499Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T02:01:50.499Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T02:01:50.499Z] 765212b225bb: Waiting [2022-10-06T02:01:50.499Z] f23df028b6ca: Waiting [2022-10-06T02:01:50.499Z] d65c8cfc05b1: Waiting [2022-10-06T02:01:50.499Z] 2437ff75d9bd: Waiting [2022-10-06T02:01:50.499Z] 04944245beec: Verifying Checksum [2022-10-06T02:01:50.499Z] 04944245beec: Download complete [2022-10-06T02:01:50.499Z] 765212b225bb: Verifying Checksum [2022-10-06T02:01:50.499Z] 765212b225bb: Download complete [2022-10-06T02:01:50.770Z] f23df028b6ca: Verifying Checksum [2022-10-06T02:01:50.770Z] f23df028b6ca: Download complete [2022-10-06T02:01:50.770Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T02:01:50.770Z] d65c8cfc05b1: Download complete [2022-10-06T02:01:51.043Z] 699f458cf7ca: Verifying Checksum [2022-10-06T02:01:51.043Z] 699f458cf7ca: Download complete [2022-10-06T02:01:51.626Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T02:01:51.626Z] 8998bd30e6a1: Download complete [2022-10-06T02:01:54.213Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T02:01:54.213Z] 2437ff75d9bd: Download complete [2022-10-06T02:01:56.794Z] 8998bd30e6a1: Pull complete [2022-10-06T02:01:56.794Z] 04944245beec: Pull complete [2022-10-06T02:01:58.212Z] 699f458cf7ca: Pull complete [2022-10-06T02:01:58.480Z] 765212b225bb: Pull complete [2022-10-06T02:01:59.063Z] f23df028b6ca: Pull complete [2022-10-06T02:01:59.330Z] d65c8cfc05b1: Pull complete [2022-10-06T02:02:21.424Z] 2437ff75d9bd: Pull complete [2022-10-06T02:02:21.424Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T02:02:21.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:02:21.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:02:21.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-7227 does not seem to be running inside a container [2022-10-06T02:02:21.713Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-06T02:02:23.548Z] $ docker top 7a7e5c05d37e201c6bbce469949e54104c30f2217175b423c067a8114c8fcacf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:24.084Z] ---> job-cost.sh [2022-10-06T02:02:24.360Z] lf-activate-venv: SKIPPING [2022-10-06T02:02:24.360Z] INFO: No Stack... [2022-10-06T02:02:24.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T02:02:25.610Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T02:02:25.973Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-10-06T02:02:25.973Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T02:02:26.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [2022-10-06T02:02:26.060Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] did not exist. Created. [2022-10-06T02:02:26.061Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T02:02:26.398Z] /w/workspace/device-onvif-camera/4@tmp/durable-3c15a967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T02:02:26.732Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T02:02:26.765Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T02:02:27.168Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T02:02:27.175Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T02:02:27.202Z] $ docker stop --time=1 7a7e5c05d37e201c6bbce469949e54104c30f2217175b423c067a8114c8fcacf [2022-10-06T02:02:28.669Z] $ docker rm -f 7a7e5c05d37e201c6bbce469949e54104c30f2217175b423c067a8114c8fcacf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T02:02:28.932Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-06T02:02:29.608Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-06T02:02:29.608Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:02:29.608Z] total 16 [2022-10-06T02:02:29.608Z] drwxr-xr-x 3 root root 4096 Oct 6 01:54 . [2022-10-06T02:02:29.608Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:54 .. [2022-10-06T02:02:29.608Z] drwxr-xr-x 2 root root 4096 Oct 6 01:54 cost [2022-10-06T02:02:29.608Z] -rw-r--r-- 1 root root 91 Oct 6 01:54 cost.csv [2022-10-06T02:02:29.608Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:02:29.608Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:02:29.608Z] total 16 [2022-10-06T02:02:29.608Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 01:54 . [2022-10-06T02:02:29.608Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:54 .. [2022-10-06T02:02:29.608Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 01:54 cost [2022-10-06T02:02:29.608Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 6 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:29.896Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:30.748Z] ---> package-listing.sh [2022-10-06T02:02:30.748Z] ++ facter osfamily [2022-10-06T02:02:30.748Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T02:02:31.006Z] + OS_FAMILY=debian [2022-10-06T02:02:31.006Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-06T02:02:31.006Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T02:02:31.006Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T02:02:31.006Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T02:02:31.006Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T02:02:31.006Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T02:02:31.006Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T02:02:31.006Z] + case "${OS_FAMILY}" in [2022-10-06T02:02:31.006Z] + dpkg -l [2022-10-06T02:02:31.006Z] + grep '^ii' [2022-10-06T02:02:31.006Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T02:02:31.006Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T02:02:31.006Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T02:02:31.006Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T02:02:31.006Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-06T02:02:31.006Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-06T02:02:31.016Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-06T02:02:31.288Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:02:31.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T02:02:31.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:02:31.910Z] prd-ubuntu20.04-docker-8c-8g-7226 does not seem to be running inside a container [2022-10-06T02:02:31.948Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T02:02:32.131Z] $ docker top 7b381a8a9fe80fa2a91d190287fb2b4e8fbf50f924e5f1190354ee6984789abd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:02:32.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T02:02:32.745Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T02:02:33.033Z] + ls /var/log/sa-host [2022-10-06T02:02:33.033Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T02:02:33.168Z] provisioning config files... [2022-10-06T02:02:33.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6638415617289430899tmp [Pipeline] { [Pipeline] echo [2022-10-06T02:02:33.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:33.469Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T02:02:33.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:33.804Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T02:02:33.813Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:34.098Z] ---> sudo-logs.sh [2022-10-06T02:02:34.098Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T02:02:34.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:34.408Z] ---> job-cost.sh [2022-10-06T02:02:34.408Z] lf-activate-venv: SKIPPING [2022-10-06T02:02:34.408Z] DEBUG: total: 0.2199999988079071 [2022-10-06T02:02:34.408Z] INFO: Retrieving Stack Cost... [2022-10-06T02:02:34.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T02:02:35.233Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T02:02:35.243Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:02:35.525Z] ---> logs-deploy.sh [2022-10-06T02:02:35.525Z] lf-activate-venv: SKIPPING [2022-10-06T02:02:35.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/4 [2022-10-06T02:02:35.525Z] INFO: archiving workspace using pattern(s): [2022-10-06T02:02:36.460Z] Archives upload complete. [2022-10-06T02:02:36.460Z] INFO: archiving logs to Nexus