Pull request #172 opened 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 206e92f4cbba2007935e7ec6729c5f5686b3fe9f 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-ssh436033667536485951.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-ssh6322648081325641118.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7927343755537607271.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18433714733007533769.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1248085612262969004.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15226875994804522096.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7167 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 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 206e92f4cbba2007935e7ec6729c5f5686b3fe9f Merge succeeded, producing 206e92f4cbba2007935e7ec6729c5f5686b3fe9f Checking out Revision 206e92f4cbba2007935e7ec6729c5f5686b3fe9f (PR-172) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 206e92f4cbba2007935e7ec6729c5f5686b3fe9f # 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 206e92f4cbba2007935e7ec6729c5f5686b3fe9f # timeout=10 Commit message: "Update onvifdiscovery.go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-05T14:19:46.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-05T14:19:47.042Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-05T14:19:47.143Z] ========================================================= [2022-10-05T14:19:47.143Z] EdgeX Global Pipelines Version Info [2022-10-05T14:19:47.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:19:47.896Z] ------------------- [2022-10-05T14:19:47.896Z] stable info: [2022-10-05T14:19:47.896Z] ------------------- [2022-10-05T14:19:47.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-05T14:19:47.896Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-05T14:19:47.896Z] Message: update stable to v1.0.239 [2022-10-05T14:19:48.466Z] ------------------- [2022-10-05T14:19:48.466Z] experimental info: [2022-10-05T14:19:48.466Z] ------------------- [2022-10-05T14:19:48.466Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-05T14:19:48.466Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-05T14:19:48.466Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-05T14:19:48.744Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-05T14:19:48.782Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-05T14:19:48.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-05T14:19:48.854Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-05T14:19:48.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-05T14:19:48.927Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-05T14:19:48.967Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-05T14:19:49.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-05T14:19:49.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-05T14:19:49.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-05T14:19:49.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-05T14:19:49.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-05T14:19:49.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-05T14:19:49.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-05T14:19:49.290Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-05T14:19:49.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-05T14:19:49.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-05T14:19:49.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-05T14:19:49.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-05T14:19:49.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-05T14:19:49.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-05T14:19:49.591Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-05T14:19:49.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-05T14:19:49.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-05T14:19:49.721Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-05T14:19:49.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-05T14:19:49.805Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-05T14:19:49.847Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-05T14:19:49.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-05T14:19:49.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-05T14:19:49.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [Pipeline] echo [2022-10-05T14:19:50.014Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 206e92f [Pipeline] echo [2022-10-05T14:19:50.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T14:19:50.164Z] provisioning config files... [2022-10-05T14:19:50.178Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config17803065446747085698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:19:50.519Z] ---> docker-login.sh [2022-10-05T14:19:50.519Z] nexus3.edgexfoundry.org:10001 [2022-10-05T14:19:50.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:19:51.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:19:51.038Z] Configure a credential helper to remove this warning. See [2022-10-05T14:19:51.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:19:51.038Z] [2022-10-05T14:19:51.038Z] Login Succeeded [2022-10-05T14:19:51.038Z] nexus3.edgexfoundry.org:10002 [2022-10-05T14:19:51.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:19:51.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:19:51.038Z] Configure a credential helper to remove this warning. See [2022-10-05T14:19:51.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:19:51.038Z] [2022-10-05T14:19:51.038Z] Login Succeeded [2022-10-05T14:19:51.038Z] nexus3.edgexfoundry.org:10003 [2022-10-05T14:19:51.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:19:51.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:19:51.297Z] Configure a credential helper to remove this warning. See [2022-10-05T14:19:51.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:19:51.297Z] [2022-10-05T14:19:51.297Z] Login Succeeded [2022-10-05T14:19:51.297Z] nexus3.edgexfoundry.org:10004 [2022-10-05T14:19:51.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:19:51.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:19:51.297Z] Configure a credential helper to remove this warning. See [2022-10-05T14:19:51.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:19:51.297Z] [2022-10-05T14:19:51.297Z] Login Succeeded [2022-10-05T14:19:51.297Z] docker.io [2022-10-05T14:19:51.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:19:51.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:19:51.816Z] Configure a credential helper to remove this warning. See [2022-10-05T14:19:51.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:19:51.816Z] [2022-10-05T14:19:51.816Z] Login Succeeded [2022-10-05T14:19:51.816Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T14:19:51.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-05T14:19:52.499Z] + git rev-list -1 --merges 206e92f4cbba2007935e7ec6729c5f5686b3fe9f~1..206e92f4cbba2007935e7ec6729c5f5686b3fe9f [Pipeline] echo [2022-10-05T14:19:52.541Z] -----------> git rev-list -1 --merges 206e92f4cbba2007935e7ec6729c5f5686b3fe9f~1..206e92f4cbba2007935e7ec6729c5f5686b3fe9f 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [false] [Pipeline] sh [2022-10-05T14:19:52.845Z] + git log --format=format:%s -1 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [Pipeline] echo [2022-10-05T14:19:52.874Z] ========================================================= [2022-10-05T14:19:52.874Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-05T14:19:52.874Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-05T14:19:53.304Z] + git log --format=format:%s -1 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [Pipeline] echo [2022-10-05T14:19:53.339Z] [semverPrep] GIT_COMMIT: 206e92f4cbba2007935e7ec6729c5f5686b3fe9f, Commit Message: Update onvifdiscovery.go [Pipeline] echo [2022-10-05T14:19:53.372Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-05T14:19:53.769Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-05T14:19:53.769Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-05T14:19:53.769Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-05T14:19:53.769Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-05T14:19:53.769Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-05T14:19:53.769Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-05T14:19:53.769Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:19:54.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T14:19:54.259Z] [2022-10-05T14:19:54.259Z] 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-05T14:19:54.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T14:19:54.646Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-05T14:19:54.646Z] b85a868b505f: Pulling fs layer [2022-10-05T14:19:54.646Z] e2be974225ed: Pulling fs layer [2022-10-05T14:19:54.646Z] 339a4e72a1f5: Pulling fs layer [2022-10-05T14:19:54.646Z] 988bab9f4d93: Pulling fs layer [2022-10-05T14:19:54.646Z] 1469e6f7b9e6: Pulling fs layer [2022-10-05T14:19:54.646Z] eaf3925da568: Pulling fs layer [2022-10-05T14:19:54.646Z] bab4dde63d76: Pulling fs layer [2022-10-05T14:19:54.646Z] bde34c3a00c8: Pulling fs layer [2022-10-05T14:19:54.646Z] b352a97aabf1: Pulling fs layer [2022-10-05T14:19:54.646Z] 4872d77fe225: Pulling fs layer [2022-10-05T14:19:54.646Z] 5851b861e8e6: Pulling fs layer [2022-10-05T14:19:54.646Z] bab4dde63d76: Waiting [2022-10-05T14:19:54.646Z] 4872d77fe225: Waiting [2022-10-05T14:19:54.646Z] 5851b861e8e6: Waiting [2022-10-05T14:19:54.646Z] bde34c3a00c8: Waiting [2022-10-05T14:19:54.646Z] b352a97aabf1: Waiting [2022-10-05T14:19:54.646Z] eaf3925da568: Waiting [2022-10-05T14:19:54.646Z] 1469e6f7b9e6: Waiting [2022-10-05T14:19:54.646Z] 988bab9f4d93: Waiting [2022-10-05T14:19:54.646Z] e2be974225ed: Verifying Checksum [2022-10-05T14:19:54.646Z] e2be974225ed: Download complete [2022-10-05T14:19:54.646Z] 988bab9f4d93: Verifying Checksum [2022-10-05T14:19:54.646Z] 988bab9f4d93: Download complete [2022-10-05T14:19:54.908Z] 1469e6f7b9e6: Verifying Checksum [2022-10-05T14:19:54.908Z] 1469e6f7b9e6: Download complete [2022-10-05T14:19:54.908Z] 339a4e72a1f5: Verifying Checksum [2022-10-05T14:19:54.908Z] 339a4e72a1f5: Download complete [2022-10-05T14:19:54.908Z] eaf3925da568: Verifying Checksum [2022-10-05T14:19:54.908Z] eaf3925da568: Download complete [2022-10-05T14:19:54.908Z] bde34c3a00c8: Verifying Checksum [2022-10-05T14:19:54.908Z] bde34c3a00c8: Download complete [2022-10-05T14:19:54.908Z] b352a97aabf1: Verifying Checksum [2022-10-05T14:19:54.908Z] 4872d77fe225: Verifying Checksum [2022-10-05T14:19:54.908Z] 4872d77fe225: Download complete [2022-10-05T14:19:54.908Z] b85a868b505f: Verifying Checksum [2022-10-05T14:19:54.908Z] b85a868b505f: Download complete [2022-10-05T14:19:54.908Z] 5851b861e8e6: Verifying Checksum [2022-10-05T14:19:54.908Z] 5851b861e8e6: Download complete [2022-10-05T14:19:55.168Z] bab4dde63d76: Verifying Checksum [2022-10-05T14:19:55.168Z] bab4dde63d76: Download complete [2022-10-05T14:19:56.106Z] b85a868b505f: Pull complete [2022-10-05T14:19:56.372Z] e2be974225ed: Pull complete [2022-10-05T14:19:56.949Z] 339a4e72a1f5: Pull complete [2022-10-05T14:19:56.949Z] 988bab9f4d93: Pull complete [2022-10-05T14:19:57.208Z] 1469e6f7b9e6: Pull complete [2022-10-05T14:19:57.208Z] eaf3925da568: Pull complete [2022-10-05T14:19:59.111Z] bab4dde63d76: Pull complete [2022-10-05T14:19:59.411Z] bde34c3a00c8: Pull complete [2022-10-05T14:19:59.411Z] b352a97aabf1: Pull complete [2022-10-05T14:19:59.411Z] 4872d77fe225: Pull complete [2022-10-05T14:19:59.678Z] 5851b861e8e6: Pull complete [2022-10-05T14:19:59.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-05T14:19:59.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T14:19:59.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:19:59.907Z] prd-ubuntu20.04-docker-8c-8g-7167 does not seem to be running inside a container [2022-10-05T14:19:59.933Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-05T14:20:02.966Z] $ docker top 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 -eo pid,comm [2022-10-05T14:20:03.024Z] 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-05T14:20:03.024Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-05T14:20:03.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-05T14:20:03.153Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-05T14:20:03.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-05T14:20:03.261Z] $ docker exec 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 ssh-agent [2022-10-05T14:20:03.388Z] SSH_AUTH_SOCK=/tmp/ssh-wZMNxl6ugIZz/agent.32 [2022-10-05T14:20:03.388Z] SSH_AGENT_PID=38 [2022-10-05T14:20:03.394Z] Running ssh-add (command line suppressed) [2022-10-05T14:20:03.496Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11884470737549773477.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11884470737549773477.key) [2022-10-05T14:20:03.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-05T14:20:03.847Z] + git tag --points-at HEAD [Pipeline] } [2022-10-05T14:20:03.866Z] $ docker exec --env ******** --env ******** 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 ssh-agent -k [2022-10-05T14:20:03.963Z] unset SSH_AUTH_SOCK; [2022-10-05T14:20:03.964Z] unset SSH_AGENT_PID; [2022-10-05T14:20:03.964Z] echo Agent pid 38 killed; [2022-10-05T14:20:03.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-05T14:20:04.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-05T14:20:04.066Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-05T14:20:04.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-05T14:20:04.188Z] $ docker exec 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 ssh-agent [2022-10-05T14:20:04.290Z] SSH_AUTH_SOCK=/tmp/ssh-1DTeTQw3qGn8/agent.70 [2022-10-05T14:20:04.290Z] SSH_AGENT_PID=76 [2022-10-05T14:20:04.296Z] Running ssh-add (command line suppressed) [2022-10-05T14:20:04.395Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11644100527010291869.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11644100527010291869.key) [2022-10-05T14:20:04.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-05T14:20:04.748Z] + git semver init [2022-10-05T14:20:05.011Z] 2022-10-05 14:20:04,926 [run_init] DEBUG init version:0.0.0 force:False [2022-10-05T14:20:05.011Z] 2022-10-05 14:20:04,926 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-05T14:20:05.011Z] 2022-10-05 14:20:04,927 [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-05T14:20:05.011Z] 2022-10-05 14:20:04,927 [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-05T14:20:06.394Z] 2022-10-05 14:20:05,964 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-05T14:20:06.394Z] 2022-10-05 14:20:05,965 [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-05T14:20:06.394Z] 2022-10-05 14:20:05,965 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-05T14:20:06.394Z] 2022-10-05 14:20:05,969 [execute] INFO git cat-file --batch-check [2022-10-05T14:20:06.394Z] 2022-10-05 14:20:05,970 [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-05T14:20:06.394Z] 2022-10-05 14:20:05,976 [execute] INFO git cat-file --batch [2022-10-05T14:20:06.394Z] 2022-10-05 14:20:05,976 [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-05T14:20:06.394Z] 2022-10-05 14:20:05,982 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-05T14:20:06.394Z] 0.0.0 [Pipeline] } [2022-10-05T14:20:06.416Z] $ docker exec --env ******** --env ******** 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 ssh-agent -k [2022-10-05T14:20:06.523Z] unset SSH_AUTH_SOCK; [2022-10-05T14:20:06.524Z] unset SSH_AGENT_PID; [2022-10-05T14:20:06.524Z] echo Agent pid 76 killed; [2022-10-05T14:20:06.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-05T14:20:06.958Z] + git semver [Pipeline] } [2022-10-05T14:20:07.239Z] $ docker stop --time=1 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 [2022-10-05T14:20:08.556Z] $ docker rm -f 628adc4c26a88f68241d09afc4d1e7e828d26e101c9ad46d3efd2db750c3b868 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-05T14:20:08.959Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-05T14:20:09.194Z] Stashed 1 file(s) [Pipeline] echo [2022-10-05T14:20:09.210Z] [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-05T14:20:09.878Z] provisioning config files... [2022-10-05T14:20:09.887Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16256016532481133316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:20:10.232Z] ---> docker-login.sh [2022-10-05T14:20:10.232Z] nexus3.edgexfoundry.org:10001 [2022-10-05T14:20:10.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:20:10.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:20:10.232Z] Configure a credential helper to remove this warning. See [2022-10-05T14:20:10.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:20:10.233Z] [2022-10-05T14:20:10.233Z] Login Succeeded [2022-10-05T14:20:10.233Z] nexus3.edgexfoundry.org:10002 [2022-10-05T14:20:10.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:20:10.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:20:10.233Z] Configure a credential helper to remove this warning. See [2022-10-05T14:20:10.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:20:10.233Z] [2022-10-05T14:20:10.233Z] Login Succeeded [2022-10-05T14:20:10.233Z] nexus3.edgexfoundry.org:10003 [2022-10-05T14:20:10.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:20:10.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:20:10.492Z] Configure a credential helper to remove this warning. See [2022-10-05T14:20:10.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:20:10.492Z] [2022-10-05T14:20:10.492Z] Login Succeeded [2022-10-05T14:20:10.492Z] nexus3.edgexfoundry.org:10004 [2022-10-05T14:20:10.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:20:10.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:20:10.492Z] Configure a credential helper to remove this warning. See [2022-10-05T14:20:10.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:20:10.492Z] [2022-10-05T14:20:10.492Z] Login Succeeded [2022-10-05T14:20:10.492Z] docker.io [2022-10-05T14:20:10.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:20:11.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:20:11.011Z] Configure a credential helper to remove this warning. See [2022-10-05T14:20:11.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:20:11.011Z] [2022-10-05T14:20:11.011Z] Login Succeeded [2022-10-05T14:20:11.011Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T14:20:11.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-05T14:20:11.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T14:20:11.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T14:20:11.295Z] ========================================================= [2022-10-05T14:20:11.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-05T14:20:11.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:20:11.763Z] + 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-05T14:20:11.763Z] Sending build context to Docker daemon 20.82MB [2022-10-05T14:20:11.763Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T14:20:11.763Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-05T14:20:12.023Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-05T14:20:12.023Z] 2408cc74d12b: Pulling fs layer [2022-10-05T14:20:12.023Z] ea60b727a1ce: Pulling fs layer [2022-10-05T14:20:12.023Z] 30c4a7721957: Pulling fs layer [2022-10-05T14:20:12.023Z] 370296b7ddb6: Pulling fs layer [2022-10-05T14:20:12.023Z] 7c6cee850709: Pulling fs layer [2022-10-05T14:20:12.023Z] aa9baa53a306: Pulling fs layer [2022-10-05T14:20:12.023Z] 8b309c321861: Pulling fs layer [2022-10-05T14:20:12.023Z] d8d76fd02f46: Pulling fs layer [2022-10-05T14:20:12.023Z] fa31f396de31: Pulling fs layer [2022-10-05T14:20:12.023Z] 7c6cee850709: Waiting [2022-10-05T14:20:12.023Z] 370296b7ddb6: Waiting [2022-10-05T14:20:12.023Z] aa9baa53a306: Waiting [2022-10-05T14:20:12.023Z] 8b309c321861: Waiting [2022-10-05T14:20:12.023Z] fa31f396de31: Waiting [2022-10-05T14:20:12.023Z] d8d76fd02f46: Waiting [2022-10-05T14:20:12.024Z] 30c4a7721957: Verifying Checksum [2022-10-05T14:20:12.024Z] 30c4a7721957: Download complete [2022-10-05T14:20:12.024Z] ea60b727a1ce: Download complete [2022-10-05T14:20:12.024Z] 7c6cee850709: Download complete [2022-10-05T14:20:12.024Z] aa9baa53a306: Verifying Checksum [2022-10-05T14:20:12.024Z] aa9baa53a306: Download complete [2022-10-05T14:20:12.024Z] 2408cc74d12b: Verifying Checksum [2022-10-05T14:20:12.024Z] 2408cc74d12b: Download complete [2022-10-05T14:20:12.024Z] 8b309c321861: Download complete [2022-10-05T14:20:12.024Z] 2408cc74d12b: Pull complete [2022-10-05T14:20:12.282Z] ea60b727a1ce: Pull complete [2022-10-05T14:20:12.282Z] 30c4a7721957: Pull complete [2022-10-05T14:20:12.847Z] fa31f396de31: Verifying Checksum [2022-10-05T14:20:12.847Z] fa31f396de31: Download complete [2022-10-05T14:20:12.847Z] 370296b7ddb6: Verifying Checksum [2022-10-05T14:20:12.847Z] 370296b7ddb6: Download complete [2022-10-05T14:20:13.105Z] d8d76fd02f46: Verifying Checksum [2022-10-05T14:20:13.105Z] d8d76fd02f46: Download complete [2022-10-05T14:20:17.288Z] 370296b7ddb6: Pull complete [2022-10-05T14:20:17.288Z] 7c6cee850709: Pull complete [2022-10-05T14:20:17.288Z] aa9baa53a306: Pull complete [2022-10-05T14:20:17.288Z] 8b309c321861: Pull complete [2022-10-05T14:20:19.189Z] d8d76fd02f46: Pull complete [2022-10-05T14:20:19.773Z] fa31f396de31: Pull complete [2022-10-05T14:20:19.773Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-05T14:20:19.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-05T14:20:19.773Z] ---> cef68f9685f8 [2022-10-05T14:20:19.773Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-05T14:20:23.968Z] ---> Running in fe33e11cbe56 [2022-10-05T14:20:23.968Z] Removing intermediate container fe33e11cbe56 [2022-10-05T14:20:23.968Z] ---> cb9d1f382f90 [2022-10-05T14:20:23.968Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-05T14:20:23.968Z] ---> Running in 65bf009c4cbd [2022-10-05T14:20:23.968Z] Removing intermediate container 65bf009c4cbd [2022-10-05T14:20:23.968Z] ---> a021a205a4e8 [2022-10-05T14:20:23.968Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-05T14:20:23.968Z] ---> Running in 00c8d28abd75 [2022-10-05T14:20:23.968Z] Removing intermediate container 00c8d28abd75 [2022-10-05T14:20:23.968Z] ---> 3233936c2918 [2022-10-05T14:20:23.968Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-05T14:20:23.968Z] ---> Running in a2507c1b2eac [2022-10-05T14:20:23.968Z] Removing intermediate container a2507c1b2eac [2022-10-05T14:20:23.968Z] ---> 6ffc74004886 [2022-10-05T14:20:23.968Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-05T14:20:23.968Z] ---> Running in 68b772508663 [2022-10-05T14:20:23.968Z] Removing intermediate container 68b772508663 [2022-10-05T14:20:23.968Z] ---> 55ff67dd0551 [2022-10-05T14:20:23.968Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T14:20:23.968Z] ---> Running in 7e6649ff7351 [2022-10-05T14:20:24.535Z] Removing intermediate container 7e6649ff7351 [2022-10-05T14:20:24.535Z] ---> cd77206ca5bb [2022-10-05T14:20:24.535Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-05T14:20:24.535Z] ---> Running in 5bb9db0d87ed [2022-10-05T14:20:24.706Z] Still waiting to schedule task [2022-10-05T14:20:24.707Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-05T14:20:24.795Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-05T14:20:25.729Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-05T14:20:25.987Z] OK: 211 MiB in 51 packages [2022-10-05T14:20:26.554Z] Removing intermediate container 5bb9db0d87ed [2022-10-05T14:20:26.554Z] ---> 15496504f3d6 [2022-10-05T14:20:26.554Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-05T14:20:26.554Z] ---> Running in 722e0db687fa [2022-10-05T14:20:26.554Z] Removing intermediate container 722e0db687fa [2022-10-05T14:20:26.554Z] ---> a60904131bff [2022-10-05T14:20:26.554Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-05T14:20:26.554Z] ---> 98463910495c [2022-10-05T14:20:26.554Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T14:20:26.813Z] ---> Running in dd3f0072c8dd [2022-10-05T14:20:53.380Z] Removing intermediate container dd3f0072c8dd [2022-10-05T14:20:53.380Z] ---> 4ca00c1f9a21 [2022-10-05T14:20:53.380Z] Step 13/14 : COPY . . [2022-10-05T14:20:53.380Z] ---> 8e0e977227c2 [2022-10-05T14:20:53.380Z] Step 14/14 : RUN ${MAKE} [2022-10-05T14:20:53.380Z] ---> Running in e6fad94e4e74 [2022-10-05T14:20:53.380Z] noop [2022-10-05T14:20:53.380Z] Removing intermediate container e6fad94e4e74 [2022-10-05T14:20:53.381Z] ---> 4b8233e53bdf [2022-10-05T14:20:53.381Z] Successfully built 4b8233e53bdf [2022-10-05T14:20:53.381Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:20:53.846Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-05T14:20:53.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:20:53.998Z] prd-ubuntu20.04-docker-8c-8g-7167 does not seem to be running inside a container [2022-10-05T14:20:54.026Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-05T14:20:54.388Z] $ docker top d80a13ffb4fcc9373f2d55f264abc4f415bce026631cf20d62c5e2bed3703ec6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T14:20:54.788Z] + go version [2022-10-05T14:20:54.788Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-05T14:20:54.819Z] $ docker stop --time=1 d80a13ffb4fcc9373f2d55f264abc4f415bce026631cf20d62c5e2bed3703ec6 [2022-10-05T14:20:56.084Z] $ docker rm -f d80a13ffb4fcc9373f2d55f264abc4f415bce026631cf20d62c5e2bed3703ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:20:56.795Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-05T14:20:56.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:20:56.957Z] prd-ubuntu20.04-docker-8c-8g-7167 does not seem to be running inside a container [2022-10-05T14:20:56.983Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-05T14:20:57.312Z] $ docker top 6de620ac2ed22562033c5e2b32e05b2c2a8974b547f8da975fd78bbb0096e5cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T14:20:57.703Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-05T14:20:58.064Z] + make test [2022-10-05T14:20:58.064Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-05T14:20:58.630Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-05T14:21:10.857Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-05T14:21:11.117Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.2% of statements [2022-10-05T14:21:11.117Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-05T14:21:11.117Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.464s coverage: 86.5% of statements [2022-10-05T14:21:19.233Z] 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-05T14:21:19.491Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-05T14:21:23.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-05T14:21:23.673Z] ./internal/driver/driver.go [2022-10-05T14:21:23.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-05T14:21:23.673Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-05T14:21:23.719Z] $ docker stop --time=1 6de620ac2ed22562033c5e2b32e05b2c2a8974b547f8da975fd78bbb0096e5cc [2022-10-05T14:21:26.251Z] $ docker rm -f 6de620ac2ed22562033c5e2b32e05b2c2a8974b547f8da975fd78bbb0096e5cc [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-05T14:21:27.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T14:21:27.446Z] [2022-10-05T14:21:27.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:21:27.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T14:21:27.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-05T14:21:27.823Z] 5eb5b503b376: Pulling fs layer [2022-10-05T14:21:27.823Z] 5c69ac0246d0: Pulling fs layer [2022-10-05T14:21:27.823Z] ec43610c2a17: Pulling fs layer [2022-10-05T14:21:27.823Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-05T14:21:27.823Z] 33b1e0a273af: Pulling fs layer [2022-10-05T14:21:27.823Z] 5d3b04190fa2: Pulling fs layer [2022-10-05T14:21:27.823Z] 2f39f015ded8: Pulling fs layer [2022-10-05T14:21:27.823Z] 3a2ae6a8a46f: Waiting [2022-10-05T14:21:27.823Z] 5d3b04190fa2: Waiting [2022-10-05T14:21:27.823Z] 2f39f015ded8: Waiting [2022-10-05T14:21:27.823Z] 33b1e0a273af: Waiting [2022-10-05T14:21:27.823Z] 5c69ac0246d0: Download complete [2022-10-05T14:21:27.823Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-05T14:21:27.823Z] 3a2ae6a8a46f: Download complete [2022-10-05T14:21:28.084Z] 33b1e0a273af: Verifying Checksum [2022-10-05T14:21:28.084Z] 33b1e0a273af: Download complete [2022-10-05T14:21:28.084Z] ec43610c2a17: Verifying Checksum [2022-10-05T14:21:28.084Z] ec43610c2a17: Download complete [2022-10-05T14:21:28.084Z] 5d3b04190fa2: Verifying Checksum [2022-10-05T14:21:28.084Z] 5d3b04190fa2: Download complete [2022-10-05T14:21:28.084Z] 5eb5b503b376: Verifying Checksum [2022-10-05T14:21:28.084Z] 5eb5b503b376: Download complete [2022-10-05T14:21:29.023Z] 2f39f015ded8: Download complete [2022-10-05T14:21:29.589Z] 5eb5b503b376: Pull complete [2022-10-05T14:21:29.589Z] 5c69ac0246d0: Pull complete [2022-10-05T14:21:30.155Z] ec43610c2a17: Pull complete [2022-10-05T14:21:30.155Z] 3a2ae6a8a46f: Pull complete [2022-10-05T14:21:30.413Z] 33b1e0a273af: Pull complete [2022-10-05T14:21:30.413Z] 5d3b04190fa2: Pull complete [2022-10-05T14:21:35.689Z] 2f39f015ded8: Pull complete [2022-10-05T14:21:35.689Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-05T14:21:35.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T14:21:35.689Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:21:35.908Z] prd-ubuntu20.04-docker-8c-8g-7167 does not seem to be running inside a container [2022-10-05T14:21:35.938Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-05T14:21:39.308Z] $ docker top b385ba319f0e9ea6db083268c44b4800772b04fc486e7cbc980fc03a2e23ff44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:21:39.760Z] ---> job-cost.sh [2022-10-05T14:21:39.760Z] lf-activate-venv: SKIPPING [2022-10-05T14:21:39.760Z] INFO: No Stack... [2022-10-05T14:21:40.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-05T14:21:40.586Z] INFO: Archiving Costs [Pipeline] sh [2022-10-05T14:21:40.895Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-05T14:21:40.895Z] + cut -d, -f6 [Pipeline] lock [2022-10-05T14:21:40.936Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [2022-10-05T14:21:40.941Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] did not exist. Created. [2022-10-05T14:21:40.941Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-05T14:21:41.333Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-05T14:21:41.398Z] Stashed 1 file(s) [Pipeline] } [2022-10-05T14:21:41.421Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-05T14:21:41.505Z] $ docker stop --time=1 b385ba319f0e9ea6db083268c44b4800772b04fc486e7cbc980fc03a2e23ff44 [2022-10-05T14:21:42.663Z] $ docker rm -f b385ba319f0e9ea6db083268c44b4800772b04fc486e7cbc980fc03a2e23ff44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-05T14:21:43.054Z] Failed in branch amd64 [2022-10-05T14:21:54.907Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7168 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-05T14:21:54.950Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-05T14:21:55.036Z] The recommended git tool is: git [2022-10-05T14:21:59.892Z] using credential edgex-jenkins-ssh [2022-10-05T14:21:59.910Z] Cloning the remote Git repository [2022-10-05T14:21:59.950Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-05T14:22:00.048Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-05T14:22:00.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-05T14:22:00.182Z] > git --version # timeout=10 [2022-10-05T14:22:00.209Z] > git --version # 'git version 2.25.1' [2022-10-05T14:22:00.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T14:22:00.254Z] Verifying host key using known hosts file [2022-10-05T14:22:00.444Z] 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-05T14:22:00.457Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-05T14:22:01.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-05T14:22:01.754Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-05T14:22:03.257Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [2022-10-05T14:22:03.613Z] Merge succeeded, producing 206e92f4cbba2007935e7ec6729c5f5686b3fe9f [2022-10-05T14:22:03.614Z] Checking out Revision 206e92f4cbba2007935e7ec6729c5f5686b3fe9f (PR-172) [2022-10-05T14:22:02.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-05T14:22:02.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-05T14:22:02.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T14:22:02.596Z] Verifying host key using known hosts file [2022-10-05T14:22:02.603Z] 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-05T14:22:02.613Z] > 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-05T14:22:03.269Z] > git config core.sparsecheckout # timeout=10 [2022-10-05T14:22:03.296Z] > git checkout -f 206e92f4cbba2007935e7ec6729c5f5686b3fe9f # timeout=10 [2022-10-05T14:22:03.513Z] > git remote # timeout=10 [2022-10-05T14:22:03.532Z] > git config --get remote.origin.url # timeout=10 [2022-10-05T14:22:03.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T14:22:03.550Z] Verifying host key using known hosts file [2022-10-05T14:22:03.555Z] 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-05T14:22:03.566Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-05T14:22:03.592Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-05T14:22:03.615Z] > git config core.sparsecheckout # timeout=10 [2022-10-05T14:22:03.635Z] > git checkout -f 206e92f4cbba2007935e7ec6729c5f5686b3fe9f # timeout=10 [2022-10-05T14:22:07.309Z] Commit message: "Update onvifdiscovery.go" [2022-10-05T14:22:07.358Z] > git --version # timeout=10 [2022-10-05T14:22:07.369Z] > git --version # 'git version 2.25.1' [2022-10-05T14:22:07.388Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-05T14:22:08.493Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-05T14:22:08.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-05T14:22:08.493Z] Dload Upload Total Spent Left Speed [2022-10-05T14:22:08.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-10-05T14:22:09.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-05T14:22:09.507Z] + sudo tee /etc/docker/daemon.new [2022-10-05T14:22:09.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-05T14:22:09.507Z] { [2022-10-05T14:22:09.507Z] "registry-mirrors": [ [2022-10-05T14:22:09.507Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-05T14:22:09.507Z] ], [2022-10-05T14:22:09.507Z] "bip": "10.250.0.254/24", [2022-10-05T14:22:09.507Z] "hosts": [ [2022-10-05T14:22:09.507Z] "tcp://0.0.0.0:5555", [2022-10-05T14:22:09.507Z] "unix:///var/run/docker.sock" [2022-10-05T14:22:09.507Z] ], [2022-10-05T14:22:09.507Z] "mtu": 1458, [2022-10-05T14:22:09.507Z] "selinux-enabled": true, [2022-10-05T14:22:09.507Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-05T14:22:09.507Z] } [Pipeline] sh [2022-10-05T14:22:09.859Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-05T14:22:10.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T14:22:28.535Z] provisioning config files... [2022-10-05T14:22:28.563Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5641301192746106090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:22:28.944Z] ---> docker-login.sh [2022-10-05T14:22:28.944Z] nexus3.edgexfoundry.org:10001 [2022-10-05T14:22:29.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:22:29.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:22:29.493Z] Configure a credential helper to remove this warning. See [2022-10-05T14:22:29.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:22:29.493Z] [2022-10-05T14:22:29.493Z] Login Succeeded [2022-10-05T14:22:29.493Z] nexus3.edgexfoundry.org:10002 [2022-10-05T14:22:29.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:22:29.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:22:29.761Z] Configure a credential helper to remove this warning. See [2022-10-05T14:22:29.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:22:29.761Z] [2022-10-05T14:22:29.761Z] Login Succeeded [2022-10-05T14:22:29.761Z] nexus3.edgexfoundry.org:10003 [2022-10-05T14:22:30.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:22:30.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:22:30.303Z] Configure a credential helper to remove this warning. See [2022-10-05T14:22:30.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:22:30.303Z] [2022-10-05T14:22:30.303Z] Login Succeeded [2022-10-05T14:22:30.303Z] nexus3.edgexfoundry.org:10004 [2022-10-05T14:22:30.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:22:30.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:22:30.576Z] Configure a credential helper to remove this warning. See [2022-10-05T14:22:30.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:22:30.576Z] [2022-10-05T14:22:30.576Z] Login Succeeded [2022-10-05T14:22:30.576Z] docker.io [2022-10-05T14:22:30.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T14:22:31.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T14:22:31.113Z] Configure a credential helper to remove this warning. See [2022-10-05T14:22:31.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T14:22:31.113Z] [2022-10-05T14:22:31.113Z] Login Succeeded [2022-10-05T14:22:31.113Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T14:22:31.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-05T14:22:31.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T14:22:31.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T14:22:31.468Z] ========================================================= [2022-10-05T14:22:31.468Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-05T14:22:31.468Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:22:31.962Z] + 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-05T14:22:32.233Z] Sending build context to Docker daemon 14.24MB [2022-10-05T14:22:32.500Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T14:22:32.500Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-05T14:22:32.500Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-05T14:22:32.500Z] b3c136eddcbf: Pulling fs layer [2022-10-05T14:22:32.500Z] c0a3192eca97: Pulling fs layer [2022-10-05T14:22:32.500Z] a050256f5b6f: Pulling fs layer [2022-10-05T14:22:32.500Z] 656be50a0ddc: Pulling fs layer [2022-10-05T14:22:32.500Z] 2bbca73fdf42: Pulling fs layer [2022-10-05T14:22:32.500Z] 656be50a0ddc: Waiting [2022-10-05T14:22:32.500Z] f607e4fc86c3: Pulling fs layer [2022-10-05T14:22:32.500Z] 4d572c569a2c: Pulling fs layer [2022-10-05T14:22:32.500Z] fcf976331f73: Pulling fs layer [2022-10-05T14:22:32.500Z] 2bbca73fdf42: Waiting [2022-10-05T14:22:32.500Z] f607e4fc86c3: Waiting [2022-10-05T14:22:32.500Z] 4d572c569a2c: Waiting [2022-10-05T14:22:32.500Z] fcf976331f73: Waiting [2022-10-05T14:22:32.500Z] a050256f5b6f: Download complete [2022-10-05T14:22:32.501Z] c0a3192eca97: Download complete [2022-10-05T14:22:32.501Z] 2bbca73fdf42: Verifying Checksum [2022-10-05T14:22:32.501Z] 2bbca73fdf42: Download complete [2022-10-05T14:22:32.501Z] f607e4fc86c3: Verifying Checksum [2022-10-05T14:22:32.781Z] f607e4fc86c3: Download complete [2022-10-05T14:22:32.781Z] b3c136eddcbf: Verifying Checksum [2022-10-05T14:22:32.781Z] b3c136eddcbf: Download complete [2022-10-05T14:22:33.758Z] b3c136eddcbf: Pull complete [2022-10-05T14:22:33.758Z] fcf976331f73: Verifying Checksum [2022-10-05T14:22:33.758Z] fcf976331f73: Download complete [2022-10-05T14:22:34.030Z] c0a3192eca97: Pull complete [2022-10-05T14:22:34.298Z] a050256f5b6f: Pull complete [2022-10-05T14:22:34.893Z] 4d572c569a2c: Verifying Checksum [2022-10-05T14:22:34.893Z] 4d572c569a2c: Download complete [2022-10-05T14:22:35.481Z] 656be50a0ddc: Download complete [2022-10-05T14:22:47.812Z] 656be50a0ddc: Pull complete [2022-10-05T14:22:47.812Z] 2bbca73fdf42: Pull complete [2022-10-05T14:22:47.812Z] f607e4fc86c3: Pull complete [2022-10-05T14:22:53.163Z] 4d572c569a2c: Pull complete [2022-10-05T14:22:54.592Z] fcf976331f73: Pull complete [2022-10-05T14:22:54.592Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-05T14:22:54.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-05T14:22:54.592Z] ---> 3970a7415f9e [2022-10-05T14:22:54.592Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-05T14:22:56.562Z] ---> Running in ead9e4d92212 [2022-10-05T14:22:56.562Z] Removing intermediate container ead9e4d92212 [2022-10-05T14:22:56.562Z] ---> 9e95b167eead [2022-10-05T14:22:56.562Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-05T14:22:56.562Z] ---> Running in c47928540303 [2022-10-05T14:22:56.829Z] Removing intermediate container c47928540303 [2022-10-05T14:22:56.829Z] ---> 90ff5c030c81 [2022-10-05T14:22:56.829Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-05T14:22:57.097Z] ---> Running in 2102513daaba [2022-10-05T14:22:57.366Z] Removing intermediate container 2102513daaba [2022-10-05T14:22:57.366Z] ---> 2d4fa6b4b647 [2022-10-05T14:22:57.366Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-05T14:22:57.366Z] ---> Running in 274958390b24 [2022-10-05T14:22:57.632Z] Removing intermediate container 274958390b24 [2022-10-05T14:22:57.632Z] ---> 454e10b1116b [2022-10-05T14:22:57.632Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-05T14:22:57.632Z] ---> Running in 29001c6b7357 [2022-10-05T14:22:57.900Z] Removing intermediate container 29001c6b7357 [2022-10-05T14:22:57.900Z] ---> f22bb443827c [2022-10-05T14:22:57.900Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T14:22:58.170Z] ---> Running in a7940c4bcc63 [2022-10-05T14:23:00.142Z] Removing intermediate container a7940c4bcc63 [2022-10-05T14:23:00.143Z] ---> 33ee8cd3c000 [2022-10-05T14:23:00.143Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-05T14:23:00.143Z] ---> Running in 8476d02c9f45 [2022-10-05T14:23:00.734Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-05T14:23:01.702Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-05T14:23:02.678Z] OK: 221 MiB in 51 packages [2022-10-05T14:23:03.269Z] Removing intermediate container 8476d02c9f45 [2022-10-05T14:23:03.269Z] ---> 2f50c0550cc1 [2022-10-05T14:23:03.269Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-05T14:23:03.269Z] ---> Running in 2357ee37ed7a [2022-10-05T14:23:03.545Z] Removing intermediate container 2357ee37ed7a [2022-10-05T14:23:03.545Z] ---> 02f733f5d5f4 [2022-10-05T14:23:03.545Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-05T14:23:04.142Z] ---> 368924144ef9 [2022-10-05T14:23:04.142Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T14:23:04.142Z] ---> Running in 34866506bc5a [2022-10-05T14:24:00.557Z] Removing intermediate container 34866506bc5a [2022-10-05T14:24:00.557Z] ---> 9696b2d8d0e0 [2022-10-05T14:24:00.557Z] Step 13/14 : COPY . . [2022-10-05T14:24:00.557Z] ---> 15e2a40e4008 [2022-10-05T14:24:00.557Z] Step 14/14 : RUN ${MAKE} [2022-10-05T14:24:00.557Z] ---> Running in f4aa7a7863ae [2022-10-05T14:24:00.557Z] noop [2022-10-05T14:24:00.557Z] Removing intermediate container f4aa7a7863ae [2022-10-05T14:24:00.557Z] ---> 96e44dc99c16 [2022-10-05T14:24:00.557Z] Successfully built 96e44dc99c16 [2022-10-05T14:24:00.557Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:24:01.066Z] + docker inspect -f . ci-base-image-arm64 [2022-10-05T14:24:01.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:24:01.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-7168 does not seem to be running inside a container [2022-10-05T14:24:01.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-05T14:24:02.573Z] $ docker top e0e32da1b81e57f3565a654b09f0a6ea243f8815821323836ab6bfa900f5e329 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T14:24:03.428Z] + go version [2022-10-05T14:24:03.428Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-05T14:24:03.467Z] $ docker stop --time=1 e0e32da1b81e57f3565a654b09f0a6ea243f8815821323836ab6bfa900f5e329 [2022-10-05T14:24:05.956Z] $ docker rm -f e0e32da1b81e57f3565a654b09f0a6ea243f8815821323836ab6bfa900f5e329 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:24:06.759Z] + docker inspect -f . ci-base-image-arm64 [2022-10-05T14:24:06.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:24:06.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-7168 does not seem to be running inside a container [2022-10-05T14:24:07.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-05T14:24:08.169Z] $ docker top f5a606d84f0412bbbb33948ef9cebb8f3954080e28e47756d87563a3855d17cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T14:24:08.695Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-05T14:24:09.071Z] + make test [2022-10-05T14:24:09.071Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-05T14:24:11.019Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-05T14:25:47.665Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-05T14:25:47.665Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.193s coverage: 28.2% of statements [2022-10-05T14:25:47.665Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-05T14:26:05.910Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.435s coverage: 86.5% of statements [2022-10-05T14:26:05.910Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-05T14:26:05.910Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-05T14:26:38.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-05T14:26:38.138Z] ./internal/driver/driver.go [2022-10-05T14:26:38.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-05T14:26:38.138Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-05T14:26:38.195Z] $ docker stop --time=1 f5a606d84f0412bbbb33948ef9cebb8f3954080e28e47756d87563a3855d17cd [2022-10-05T14:26:40.131Z] $ docker rm -f f5a606d84f0412bbbb33948ef9cebb8f3954080e28e47756d87563a3855d17cd [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-05T14:26:41.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T14:26:41.662Z] [2022-10-05T14:26:41.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:26:42.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T14:26:42.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-05T14:26:42.324Z] 8998bd30e6a1: Pulling fs layer [2022-10-05T14:26:42.324Z] 04944245beec: Pulling fs layer [2022-10-05T14:26:42.324Z] 699f458cf7ca: Pulling fs layer [2022-10-05T14:26:42.324Z] 765212b225bb: Pulling fs layer [2022-10-05T14:26:42.324Z] f23df028b6ca: Pulling fs layer [2022-10-05T14:26:42.324Z] d65c8cfc05b1: Pulling fs layer [2022-10-05T14:26:42.324Z] 2437ff75d9bd: Pulling fs layer [2022-10-05T14:26:42.324Z] 765212b225bb: Waiting [2022-10-05T14:26:42.324Z] d65c8cfc05b1: Waiting [2022-10-05T14:26:42.324Z] 2437ff75d9bd: Waiting [2022-10-05T14:26:42.324Z] f23df028b6ca: Waiting [2022-10-05T14:26:42.324Z] 04944245beec: Verifying Checksum [2022-10-05T14:26:42.324Z] 04944245beec: Download complete [2022-10-05T14:26:42.324Z] 765212b225bb: Verifying Checksum [2022-10-05T14:26:42.324Z] 765212b225bb: Download complete [2022-10-05T14:26:42.593Z] f23df028b6ca: Verifying Checksum [2022-10-05T14:26:42.593Z] f23df028b6ca: Download complete [2022-10-05T14:26:42.593Z] d65c8cfc05b1: Download complete [2022-10-05T14:26:42.593Z] 699f458cf7ca: Verifying Checksum [2022-10-05T14:26:42.593Z] 699f458cf7ca: Download complete [2022-10-05T14:26:43.179Z] 8998bd30e6a1: Download complete [2022-10-05T14:26:46.533Z] 2437ff75d9bd: Verifying Checksum [2022-10-05T14:26:46.533Z] 2437ff75d9bd: Download complete [2022-10-05T14:26:49.114Z] 8998bd30e6a1: Pull complete [2022-10-05T14:26:49.698Z] 04944245beec: Pull complete [2022-10-05T14:26:51.645Z] 699f458cf7ca: Pull complete [2022-10-05T14:26:51.645Z] 765212b225bb: Pull complete [2022-10-05T14:26:52.603Z] f23df028b6ca: Pull complete [2022-10-05T14:26:52.603Z] d65c8cfc05b1: Pull complete [2022-10-05T14:27:14.671Z] 2437ff75d9bd: Pull complete [2022-10-05T14:27:14.671Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-05T14:27:14.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T14:27:14.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:27:14.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-7168 does not seem to be running inside a container [2022-10-05T14:27:15.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-05T14:27:16.635Z] $ docker top 5e89ee86216e657d91bd151d477dd15943d48e1296359f384ac09d77ea0ffa94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:17.239Z] ---> job-cost.sh [2022-10-05T14:27:17.515Z] lf-activate-venv: SKIPPING [2022-10-05T14:27:17.515Z] INFO: No Stack... [2022-10-05T14:27:17.785Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-05T14:27:18.772Z] INFO: Archiving Costs [Pipeline] sh [2022-10-05T14:27:19.121Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-10-05T14:27:19.122Z] + cut -d, -f6 [Pipeline] lock [2022-10-05T14:27:19.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [2022-10-05T14:27:19.202Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] did not exist. Created. [2022-10-05T14:27:19.202Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-05T14:27:19.647Z] /w/workspace/device-onvif-camera/1@tmp/durable-f5e733a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-05T14:27:20.314Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-05T14:27:20.352Z] Warning: overwriting stash ‘stack-cost’ [2022-10-05T14:27:20.731Z] Stashed 1 file(s) [Pipeline] } [2022-10-05T14:27:20.746Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-05T14:27:20.834Z] $ docker stop --time=1 5e89ee86216e657d91bd151d477dd15943d48e1296359f384ac09d77ea0ffa94 [2022-10-05T14:27:22.324Z] $ docker rm -f 5e89ee86216e657d91bd151d477dd15943d48e1296359f384ac09d77ea0ffa94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-05T14:27:22.979Z] 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-05T14:27:24.954Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-05T14:27:24.954Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-05T14:27:24.954Z] total 16 [2022-10-05T14:27:24.954Z] drwxr-xr-x 3 root root 4096 Oct 5 14:21 . [2022-10-05T14:27:24.954Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 14:21 .. [2022-10-05T14:27:24.954Z] drwxr-xr-x 2 root root 4096 Oct 5 14:21 cost [2022-10-05T14:27:24.955Z] -rw-r--r-- 1 root root 91 Oct 5 14:21 cost.csv [2022-10-05T14:27:24.955Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-05T14:27:24.955Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-05T14:27:24.955Z] total 16 [2022-10-05T14:27:24.955Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:21 . [2022-10-05T14:27:24.955Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 14:21 .. [2022-10-05T14:27:24.955Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 14:21 cost [2022-10-05T14:27:24.955Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 5 14:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:25.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:26.171Z] ---> package-listing.sh [2022-10-05T14:27:26.171Z] ++ facter osfamily [2022-10-05T14:27:26.171Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-05T14:27:26.429Z] + OS_FAMILY=debian [2022-10-05T14:27:26.429Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-05T14:27:26.429Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-05T14:27:26.429Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-05T14:27:26.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-05T14:27:26.429Z] + PACKAGES=/tmp/packages_start.txt [2022-10-05T14:27:26.429Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-05T14:27:26.429Z] + PACKAGES=/tmp/packages_end.txt [2022-10-05T14:27:26.429Z] + case "${OS_FAMILY}" in [2022-10-05T14:27:26.429Z] + dpkg -l [2022-10-05T14:27:26.429Z] + grep '^ii' [2022-10-05T14:27:26.429Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-05T14:27:26.429Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-05T14:27:26.429Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-05T14:27:26.429Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-05T14:27:26.429Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-05T14:27:26.429Z] + 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-05T14:27:26.472Z] 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-05T14:27:26.770Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T14:27:27.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T14:27:27.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T14:27:27.622Z] prd-ubuntu20.04-docker-8c-8g-7167 does not seem to be running inside a container [2022-10-05T14:27:27.651Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-05T14:27:27.842Z] $ docker top 15c569ca75f03f6c2b587d766b5c0ce724f15275d8780290198c655fc82bba0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T14:27:28.228Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-05T14:27:28.541Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-05T14:27:28.850Z] + ls /var/log/sa-host [2022-10-05T14:27:28.850Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T14:27:29.057Z] provisioning config files... [2022-10-05T14:27:29.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config17546487095897613980tmp [Pipeline] { [Pipeline] echo [2022-10-05T14:27:29.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:29.430Z] ---> create-netrc.sh [Pipeline] } [2022-10-05T14:27:29.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:29.871Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-05T14:27:29.907Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:30.223Z] ---> sudo-logs.sh [2022-10-05T14:27:30.223Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-05T14:27:30.319Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:30.656Z] ---> job-cost.sh [2022-10-05T14:27:30.657Z] lf-activate-venv: SKIPPING [2022-10-05T14:27:30.657Z] DEBUG: total: 0.2199999988079071 [2022-10-05T14:27:30.657Z] INFO: Retrieving Stack Cost... [2022-10-05T14:27:31.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-05T14:27:31.483Z] INFO: Archiving Costs [Pipeline] echo [2022-10-05T14:27:31.517Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T14:27:31.827Z] ---> logs-deploy.sh [2022-10-05T14:27:31.827Z] lf-activate-venv: SKIPPING [2022-10-05T14:27:31.827Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/1 [2022-10-05T14:27:31.827Z] INFO: archiving workspace using pattern(s): [2022-10-05T14:27:32.763Z] Archives upload complete. [2022-10-05T14:27:32.763Z] INFO: archiving logs to Nexus