Pull request #176 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 bca8455642164c3d303fb1e1cb399f48d9b73870 rather than 0e550ce94c5eeefad8c7efb584243441976f9108 Obtained Jenkinsfile from bca8455642164c3d303fb1e1cb399f48d9b73870 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-ssh13334106252689901667.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-ssh13940359498562076153.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-176/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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9540450901723135653.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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5541748088540754851.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-ssh4537473236289577708.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-176/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-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3748345295914492823.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7739 in /w/workspace/undry_device-onvif-camera_PR-176 [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-176 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit 0e550ce94c5eeefad8c7efb584243441976f9108 Merge succeeded, producing 0e550ce94c5eeefad8c7efb584243441976f9108 Checking out Revision 0e550ce94c5eeefad8c7efb584243441976f9108 (PR-176) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e550ce94c5eeefad8c7efb584243441976f9108 # 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 bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e550ce94c5eeefad8c7efb584243441976f9108 # timeout=10 Commit message: "fix:discovery mode netscan when using docker-compose" 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 07:26:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:26:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:26:56 ========================================================= 07:26:56 EdgeX Global Pipelines Version Info 07:26:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:26:57 ------------------- 07:26:57 stable info: 07:26:57 ------------------- 07:26:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:26:57 Message: update stable to v1.0.239 07:26:58 ------------------- 07:26:58 experimental info: 07:26:58 ------------------- 07:26:58 Commited By: **** collab-it+edgex@linuxfoundation.org 07:26:58 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:26:58 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e550ce94c5eeefad8c7efb584243441976f9108 [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e550ce [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:59 provisioning config files... 07:26:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-176@tmp/config13700632893536288944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:00 ---> docker-login.sh 07:27:00 nexus3.edgexfoundry.org:10001 07:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:00 Configure a credential helper to remove this warning. See 07:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:00 07:27:00 Login Succeeded 07:27:00 nexus3.edgexfoundry.org:10002 07:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:00 Configure a credential helper to remove this warning. See 07:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:00 07:27:00 Login Succeeded 07:27:00 nexus3.edgexfoundry.org:10003 07:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:00 Configure a credential helper to remove this warning. See 07:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:00 07:27:00 Login Succeeded 07:27:00 nexus3.edgexfoundry.org:10004 07:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:00 Configure a credential helper to remove this warning. See 07:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:00 07:27:00 Login Succeeded 07:27:00 docker.io 07:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:01 Configure a credential helper to remove this warning. See 07:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:01 07:27:01 Login Succeeded 07:27:01 ---> docker-login.sh ends [Pipeline] } 07:27:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:27:02 + git rev-list -1 --merges 0e550ce94c5eeefad8c7efb584243441976f9108~1..0e550ce94c5eeefad8c7efb584243441976f9108 [Pipeline] echo 07:27:02 -----------> git rev-list -1 --merges 0e550ce94c5eeefad8c7efb584243441976f9108~1..0e550ce94c5eeefad8c7efb584243441976f9108 0e550ce94c5eeefad8c7efb584243441976f9108 [false] [Pipeline] sh 07:27:02 + git log --format=format:%s -1 0e550ce94c5eeefad8c7efb584243441976f9108 [Pipeline] echo 07:27:02 ========================================================= 07:27:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:27:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:02 + git log --format=format:%s -1 0e550ce94c5eeefad8c7efb584243441976f9108 [Pipeline] echo 07:27:02 [semverPrep] GIT_COMMIT: 0e550ce94c5eeefad8c7efb584243441976f9108, Commit Message: fix:discovery mode netscan when using docker-compose [Pipeline] echo 07:27:02 [semverPrep] This is not a build commit. [Pipeline] sh 07:27:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:27:03 + grep -v github /etc/ssh/ssh_known_hosts 07:27:03 + [ -e /tmp/ssh_known_hosts ] 07:27:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:27:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:27:03 + sudo tee -a /etc/ssh/ssh_known_hosts 07:27:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:03 07:27:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:04 0.1.4: Pulling from edgex-devops/py-git-semver 07:27:04 b85a868b505f: Pulling fs layer 07:27:04 e2be974225ed: Pulling fs layer 07:27:04 339a4e72a1f5: Pulling fs layer 07:27:04 988bab9f4d93: Pulling fs layer 07:27:04 1469e6f7b9e6: Pulling fs layer 07:27:04 eaf3925da568: Pulling fs layer 07:27:04 bab4dde63d76: Pulling fs layer 07:27:04 bde34c3a00c8: Pulling fs layer 07:27:04 b352a97aabf1: Pulling fs layer 07:27:04 4872d77fe225: Pulling fs layer 07:27:04 5851b861e8e6: Pulling fs layer 07:27:04 eaf3925da568: Waiting 07:27:04 b352a97aabf1: Waiting 07:27:04 4872d77fe225: Waiting 07:27:04 5851b861e8e6: Waiting 07:27:04 bab4dde63d76: Waiting 07:27:04 bde34c3a00c8: Waiting 07:27:04 e2be974225ed: Verifying Checksum 07:27:04 e2be974225ed: Download complete 07:27:04 988bab9f4d93: Verifying Checksum 07:27:04 988bab9f4d93: Download complete 07:27:04 1469e6f7b9e6: Verifying Checksum 07:27:04 1469e6f7b9e6: Download complete 07:27:04 eaf3925da568: Verifying Checksum 07:27:04 eaf3925da568: Download complete 07:27:04 339a4e72a1f5: Verifying Checksum 07:27:04 339a4e72a1f5: Download complete 07:27:04 bde34c3a00c8: Download complete 07:27:04 b352a97aabf1: Download complete 07:27:04 4872d77fe225: Verifying Checksum 07:27:04 4872d77fe225: Download complete 07:27:04 5851b861e8e6: Verifying Checksum 07:27:04 5851b861e8e6: Download complete 07:27:04 b85a868b505f: Download complete 07:27:04 bab4dde63d76: Download complete 07:27:05 b85a868b505f: Pull complete 07:27:05 e2be974225ed: Pull complete 07:27:06 339a4e72a1f5: Pull complete 07:27:06 988bab9f4d93: Pull complete 07:27:06 1469e6f7b9e6: Pull complete 07:27:07 eaf3925da568: Pull complete 07:27:08 bab4dde63d76: Pull complete 07:27:08 bde34c3a00c8: Pull complete 07:27:08 b352a97aabf1: Pull complete 07:27:08 4872d77fe225: Pull complete 07:27:09 5851b861e8e6: Pull complete 07:27:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:27:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:27:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:27:09 prd-ubuntu20.04-docker-8c-8g-7739 does not seem to be running inside a container 07:27:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-176 -v /w/workspace/undry_device-onvif-camera_PR-176:/w/workspace/undry_device-onvif-camera_PR-176:rw,z -v /w/workspace/undry_device-onvif-camera_PR-176@tmp:/w/workspace/undry_device-onvif-camera_PR-176@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:27:12 $ docker top f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf -eo pid,comm 07:27:12 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). 07:27:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:27:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:12 [ssh-agent] Looking for ssh-agent implementation... 07:27:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:12 $ docker exec f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf ssh-agent 07:27:13 SSH_AUTH_SOCK=/tmp/ssh-5zGY191YNT6o/agent.32 07:27:13 SSH_AGENT_PID=38 07:27:13 Running ssh-add (command line suppressed) 07:27:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-176@tmp/private_key_4103614585181212197.key (/w/workspace/undry_device-onvif-camera_PR-176@tmp/private_key_4103614585181212197.key) 07:27:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:13 + git tag --points-at HEAD [Pipeline] } 07:27:13 $ docker exec --env ******** --env ******** f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf ssh-agent -k 07:27:13 unset SSH_AUTH_SOCK; 07:27:13 unset SSH_AGENT_PID; 07:27:13 echo Agent pid 38 killed; 07:27:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:27:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:13 [ssh-agent] Looking for ssh-agent implementation... 07:27:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:13 $ docker exec f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf ssh-agent 07:27:13 SSH_AUTH_SOCK=/tmp/ssh-VaUG8Tvz65pJ/agent.70 07:27:13 SSH_AGENT_PID=76 07:27:13 Running ssh-add (command line suppressed) 07:27:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-176@tmp/private_key_4085441150858378437.key (/w/workspace/undry_device-onvif-camera_PR-176@tmp/private_key_4085441150858378437.key) 07:27:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:14 + git semver init 07:27:14 2022-10-12 07:27:14,618 [run_init] DEBUG init version:0.0.0 force:False 07:27:14 2022-10-12 07:27:14,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-176/.semver 07:27:14 2022-10-12 07:27:14,620 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-176/.semver 07:27:14 2022-10-12 07:27:14,621 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-176/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-176, universal_newlines=False, shell=None, istream=None) 07:27:16 2022-10-12 07:27:15,682 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-176/.git/info/exclude 07:27:16 2022-10-12 07:27:15,682 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-176/.semver/PR-176 with force:False 07:27:16 2022-10-12 07:27:15,682 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-176/.semver/PR-176 07:27:16 2022-10-12 07:27:15,687 [execute] INFO git cat-file --batch-check 07:27:16 2022-10-12 07:27:15,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) 07:27:16 2022-10-12 07:27:15,694 [execute] INFO git cat-file --batch 07:27:16 2022-10-12 07:27:15,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) 07:27:16 2022-10-12 07:27:15,699 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-176/.semver/PR-176 07:27:16 0.0.0 [Pipeline] } 07:27:16 $ docker exec --env ******** --env ******** f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf ssh-agent -k 07:27:16 unset SSH_AUTH_SOCK; 07:27:16 unset SSH_AGENT_PID; 07:27:16 echo Agent pid 76 killed; 07:27:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:16 + git semver [Pipeline] } 07:27:16 $ docker stop --time=1 f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf 07:27:18 $ docker rm -f f146f33967234d2f4be76f2276368b97d40ca30c388c0e61c6c7acc48c2986bf [Pipeline] // withDockerContainer [Pipeline] sh 07:27:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:18 Stashed 1 file(s) [Pipeline] echo 07:27:18 [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 07:27:19 provisioning config files... 07:27:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-176@tmp/config17021278290004196495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:19 ---> docker-login.sh 07:27:19 nexus3.edgexfoundry.org:10001 07:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:19 Configure a credential helper to remove this warning. See 07:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:19 07:27:19 Login Succeeded 07:27:19 nexus3.edgexfoundry.org:10002 07:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:19 Configure a credential helper to remove this warning. See 07:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:19 07:27:19 Login Succeeded 07:27:19 nexus3.edgexfoundry.org:10003 07:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:20 Configure a credential helper to remove this warning. See 07:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:20 07:27:20 Login Succeeded 07:27:20 nexus3.edgexfoundry.org:10004 07:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:20 Configure a credential helper to remove this warning. See 07:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:20 07:27:20 Login Succeeded 07:27:20 docker.io 07:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:20 Configure a credential helper to remove this warning. See 07:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:20 07:27:20 Login Succeeded 07:27:20 ---> docker-login.sh ends [Pipeline] } 07:27:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:27:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:20 ========================================================= 07:27:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:27:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:21 + 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 . 07:27:21 Sending build context to Docker daemon 20.78MB 07:27:21 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 07:27:21 Step 2/14 : FROM ${BASE} AS builder 07:27:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:27:21 213ec9aee27d: Pulling fs layer 07:27:21 4583459ba037: Pulling fs layer 07:27:21 93c1e223e6f2: Pulling fs layer 07:27:21 53926ce57604: Pulling fs layer 07:27:21 21b2b0c7a3f4: Pulling fs layer 07:27:21 30f14e443154: Pulling fs layer 07:27:21 801331c1e519: Pulling fs layer 07:27:21 99cc6dd402b0: Pulling fs layer 07:27:21 7d9ed39f4882: Pulling fs layer 07:27:21 53926ce57604: Waiting 07:27:21 21b2b0c7a3f4: Waiting 07:27:21 30f14e443154: Waiting 07:27:21 801331c1e519: Waiting 07:27:21 99cc6dd402b0: Waiting 07:27:21 7d9ed39f4882: Waiting 07:27:21 93c1e223e6f2: Verifying Checksum 07:27:21 93c1e223e6f2: Download complete 07:27:21 4583459ba037: Download complete 07:27:21 21b2b0c7a3f4: Verifying Checksum 07:27:21 21b2b0c7a3f4: Download complete 07:27:21 30f14e443154: Verifying Checksum 07:27:21 30f14e443154: Download complete 07:27:21 213ec9aee27d: Download complete 07:27:21 801331c1e519: Download complete 07:27:21 213ec9aee27d: Pull complete 07:27:21 4583459ba037: Pull complete 07:27:21 93c1e223e6f2: Pull complete 07:27:22 7d9ed39f4882: Verifying Checksum 07:27:22 7d9ed39f4882: Download complete 07:27:22 99cc6dd402b0: Verifying Checksum 07:27:22 99cc6dd402b0: Download complete 07:27:22 53926ce57604: Verifying Checksum 07:27:22 53926ce57604: Download complete 07:27:26 53926ce57604: Pull complete 07:27:26 21b2b0c7a3f4: Pull complete 07:27:26 30f14e443154: Pull complete 07:27:26 801331c1e519: Pull complete 07:27:28 99cc6dd402b0: Pull complete 07:27:29 7d9ed39f4882: Pull complete 07:27:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:27:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:27:29 ---> 1dedd983c030 07:27:29 Step 3/14 : ARG ADD_BUILD_TAGS="" 07:27:33 ---> Running in babcae509da8 07:27:33 Removing intermediate container babcae509da8 07:27:33 ---> 11f252202487 07:27:33 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:27:33 ---> Running in 316dca6b5578 07:27:33 Removing intermediate container 316dca6b5578 07:27:33 ---> 6956ba48e3dc 07:27:33 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:27:33 ---> Running in 81a6687f20b6 07:27:33 Removing intermediate container 81a6687f20b6 07:27:33 ---> dfa82e837e33 07:27:33 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 07:27:33 ---> Running in 84f7a2273438 07:27:33 Removing intermediate container 84f7a2273438 07:27:33 ---> de41c0a3b58b 07:27:33 Step 7/14 : LABEL Name=edgex-device-onvif-camera 07:27:33 ---> Running in 1b7482d3a82f 07:27:33 Removing intermediate container 1b7482d3a82f 07:27:33 ---> e2beeb0015fa 07:27:33 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:27:33 ---> Running in 85a082f240f9 07:27:34 Still waiting to schedule task 07:27:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:27:34 Removing intermediate container 85a082f240f9 07:27:34 ---> 23cb7b0906d6 07:27:34 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:27:34 ---> Running in b8091114601e 07:27:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:27:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:27:35 OK: 211 MiB in 51 packages 07:27:36 Removing intermediate container b8091114601e 07:27:36 ---> aebdefc65f0d 07:27:36 Step 10/14 : WORKDIR /device-onvif-camera 07:27:36 ---> Running in eb36847049d5 07:27:36 Removing intermediate container eb36847049d5 07:27:36 ---> 87cde061cf0c 07:27:36 Step 11/14 : COPY go.mod vendor* ./ 07:27:36 ---> e3ccd9eb18be 07:27:36 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:27:36 ---> Running in d98c3e57939a 07:28:02 Removing intermediate container d98c3e57939a 07:28:02 ---> dae4bc7b7450 07:28:02 Step 13/14 : COPY . . 07:28:02 ---> dad1a743162b 07:28:02 Step 14/14 : RUN ${MAKE} 07:28:02 ---> Running in f205bc8c4ed3 07:28:02 noop 07:28:03 Removing intermediate container f205bc8c4ed3 07:28:03 ---> f317e650c56d 07:28:03 Successfully built f317e650c56d 07:28:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:03 + docker inspect -f . ci-base-image-x86_64 07:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:03 prd-ubuntu20.04-docker-8c-8g-7739 does not seem to be running inside a container 07:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-176 -v /w/workspace/undry_device-onvif-camera_PR-176:/w/workspace/undry_device-onvif-camera_PR-176:rw,z -v /w/workspace/undry_device-onvif-camera_PR-176@tmp:/w/workspace/undry_device-onvif-camera_PR-176@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-x86_64 cat 07:28:04 $ docker top a997536480418ba537445f482d9c1e02ca3349e3d115a50f20b57c103beb53cd -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:04 + go version 07:28:04 go version go1.18.7 linux/amd64 [Pipeline] } 07:28:04 $ docker stop --time=1 a997536480418ba537445f482d9c1e02ca3349e3d115a50f20b57c103beb53cd 07:28:05 $ docker rm -f a997536480418ba537445f482d9c1e02ca3349e3d115a50f20b57c103beb53cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:06 + docker inspect -f . ci-base-image-x86_64 07:28:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:06 prd-ubuntu20.04-docker-8c-8g-7739 does not seem to be running inside a container 07:28:06 $ 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-176 -v /w/workspace/undry_device-onvif-camera_PR-176:/w/workspace/undry_device-onvif-camera_PR-176:rw,z -v /w/workspace/undry_device-onvif-camera_PR-176@tmp:/w/workspace/undry_device-onvif-camera_PR-176@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-x86_64 cat 07:28:06 $ docker top 75e65d3da42ec61a028fd96ee697a61ef377a50fb3a4666e7f67e03d14144ea2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-176 [Pipeline] fileExists [Pipeline] sh 07:28:07 + make test 07:28:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:28:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:28:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:28:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 07:28:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:28:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.600s coverage: 86.5% of statements 07:28:31 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." 07:28:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:28:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:28:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:28:33 ./bin/test-attribution-txt.sh [Pipeline] echo 07:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:28:33 $ docker stop --time=1 75e65d3da42ec61a028fd96ee697a61ef377a50fb3a4666e7f67e03d14144ea2 07:28:35 $ docker rm -f 75e65d3da42ec61a028fd96ee697a61ef377a50fb3a4666e7f67e03d14144ea2 [Pipeline] // withDockerContainer [Pipeline] sh 07:28:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:28:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:28:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:28:37 + ls -al . 07:28:37 total 236 07:28:37 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 07:28 . 07:28:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:26 .. 07:28:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:28 .git 07:28:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:26 .github 07:28:37 -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 07:26 .gitignore 07:28:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 07:26 .golangci.yml 07:28:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:27 .semver 07:28:37 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 07:26 Attribution.txt 07:28:37 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 07:26 CHANGELOG.md 07:28:37 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 07:26 Dockerfile 07:28:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:26 GOVERNANCE.md 07:28:37 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 07:26 Jenkinsfile 07:28:37 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 07:26 LICENSE 07:28:37 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 07:26 Makefile 07:28:37 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 07:26 OWNERS.md 07:28:37 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 07:26 README.md 07:28:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 07:27 VERSION 07:28:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:26 bin 07:28:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:26 cmd 07:28:37 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 07:28 coverage.out 07:28:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 07:26 doc 07:28:37 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 07:26 go.mod 07:28:37 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 07:26 go.sum 07:28:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:26 internal 07:28:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:26 snap 07:28:37 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 07:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:37 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0e550ce94c5eeefad8c7efb584243441976f9108 --label arch=amd64 --label version=0.0.0 . 07:28:37 Sending build context to Docker daemon 20.86MB 07:28:37 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 07:28:37 Step 2/27 : FROM ${BASE} AS builder 07:28:37 ---> f317e650c56d 07:28:37 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:28:38 ---> Running in 70d8ea78f817 07:28:38 Removing intermediate container 70d8ea78f817 07:28:38 ---> cd831ccdacb6 07:28:38 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:28:38 ---> Running in 42977fe2cb99 07:28:38 Removing intermediate container 42977fe2cb99 07:28:38 ---> 5a11fa7dc4c1 07:28:38 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:28:38 ---> Running in 39fe334cdf69 07:28:38 Removing intermediate container 39fe334cdf69 07:28:38 ---> 3000a47aae10 07:28:38 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:28:38 ---> Running in 34395bc821df 07:28:38 Removing intermediate container 34395bc821df 07:28:38 ---> daa6d87b8d07 07:28:38 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:28:38 ---> Running in 3bc77684a7ba 07:28:38 Removing intermediate container 3bc77684a7ba 07:28:38 ---> c3f5e784dcf3 07:28:38 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:38 ---> Running in 4539e7bee03c 07:28:39 Removing intermediate container 4539e7bee03c 07:28:39 ---> 08be029c07a0 07:28:39 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:39 ---> Running in 24bc38b1c8cb 07:28:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:28:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:28:40 OK: 211 MiB in 51 packages 07:28:40 Removing intermediate container 24bc38b1c8cb 07:28:40 ---> 55128b22102b 07:28:40 Step 10/27 : WORKDIR /device-onvif-camera 07:28:40 ---> Running in e1a54b8f7268 07:28:41 Removing intermediate container e1a54b8f7268 07:28:41 ---> 6949d64126c8 07:28:41 Step 11/27 : COPY go.mod vendor* ./ 07:28:41 ---> aa8d5f4308b0 07:28:41 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:41 ---> Running in b50674e6ff9f 07:28:42 Removing intermediate container b50674e6ff9f 07:28:42 ---> 06ab4257fc2c 07:28:42 Step 13/27 : COPY . . 07:28:42 ---> b15905bcbbf9 07:28:42 Step 14/27 : RUN ${MAKE} 07:28:42 ---> Running in 113656c858e9 07:28:43 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:29:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7740 in /w/workspace/undry_device-onvif-camera_PR-176 [Pipeline] { [Pipeline] ws 07:29:05 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 07:29:05 The recommended git tool is: git 07:29:09 Removing intermediate container 113656c858e9 07:29:09 ---> ffa864173934 07:29:09 Step 15/27 : FROM alpine:3.16 07:29:09 3.16: Pulling from library/alpine 07:29:09 213ec9aee27d: Already exists 07:29:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:29:09 Status: Downloaded newer image for alpine:3.16 07:29:09 ---> 9c6f07244728 07:29:09 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:29:09 ---> Running in 7ff0dbfc4dd9 07:29:09 Removing intermediate container 7ff0dbfc4dd9 07:29:09 ---> ac0b4e2d926a 07:29:09 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 07:29:09 ---> Running in 407a4e776ee5 07:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:29:09 (1/6) Installing dumb-init (1.2.5-r1) 07:29:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:29:09 (3/6) Installing libsodium (1.0.18-r0) 07:29:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:29:09 (5/6) Installing libzmq (4.3.4-r0) 07:29:09 (6/6) Installing zeromq (4.3.4-r0) 07:29:09 Executing busybox-1.35.0-r17.trigger 07:29:09 OK: 8 MiB in 20 packages 07:29:09 Removing intermediate container 407a4e776ee5 07:29:09 ---> 33df79718686 07:29:09 Step 18/27 : WORKDIR / 07:29:09 ---> Running in d93ceb35e5a5 07:29:09 Removing intermediate container d93ceb35e5a5 07:29:09 ---> d098b6ed6c51 07:29:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:29:09 ---> 80e4701d082d 07:29:09 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:29:09 ---> d9f62bb5ff68 07:29:09 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:29:10 ---> 1beb3b17969f 07:29:10 Step 22/27 : EXPOSE 59984 07:29:10 ---> Running in 826c02683014 07:29:10 Removing intermediate container 826c02683014 07:29:10 ---> 371eab1f597e 07:29:10 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:29:10 ---> Running in a083ed9dc25c 07:29:10 Removing intermediate container a083ed9dc25c 07:29:10 ---> 9e8201b1425e 07:29:10 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:29:10 ---> Running in 2b52ee68b98c 07:29:10 Removing intermediate container 2b52ee68b98c 07:29:10 ---> ea64655a5171 07:29:10 Step 25/27 : LABEL arch=amd64 07:29:10 ---> Running in 8a8907024390 07:29:10 Removing intermediate container 8a8907024390 07:29:10 ---> d37295824bd3 07:29:10 Step 26/27 : LABEL git_sha=0e550ce94c5eeefad8c7efb584243441976f9108 07:29:10 ---> Running in d0823a74330b 07:29:10 Removing intermediate container d0823a74330b 07:29:10 ---> 4ff512b9327a 07:29:10 Step 27/27 : LABEL version=0.0.0 07:29:10 using credential edgex-jenkins-ssh 07:29:10 Cloning the remote Git repository 07:29:10 ---> Running in d9cc2c195c11 07:29:10 Removing intermediate container d9cc2c195c11 07:29:10 ---> 7a4245e461d0 07:29:10 [Warning] One or more build-args [ARCH] were not consumed 07:29:10 Successfully built 7a4245e461d0 07:29:10 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:11 07:29:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 07:29:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:29:10 > git init /w/workspace/device-onvif-camera/1 # timeout=10 07:29:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:29:10 > git --version # timeout=10 07:29:10 > git --version # 'git version 2.25.1' 07:29:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:10 Verifying host key using known hosts file 07:29:11 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. 07:29:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 07:29:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:11 latest: Pulling from edgex-lftools-log-publisher 07:29:11 5eb5b503b376: Pulling fs layer 07:29:11 5c69ac0246d0: Pulling fs layer 07:29:11 ec43610c2a17: Pulling fs layer 07:29:11 3a2ae6a8a46f: Pulling fs layer 07:29:11 33b1e0a273af: Pulling fs layer 07:29:11 5d3b04190fa2: Pulling fs layer 07:29:11 2f39f015ded8: Pulling fs layer 07:29:11 3a2ae6a8a46f: Waiting 07:29:11 33b1e0a273af: Waiting 07:29:11 5d3b04190fa2: Waiting 07:29:11 2f39f015ded8: Waiting 07:29:11 5c69ac0246d0: Verifying Checksum 07:29:11 5c69ac0246d0: Download complete 07:29:11 3a2ae6a8a46f: Verifying Checksum 07:29:11 3a2ae6a8a46f: Download complete 07:29:11 33b1e0a273af: Verifying Checksum 07:29:11 33b1e0a273af: Download complete 07:29:11 ec43610c2a17: Verifying Checksum 07:29:11 ec43610c2a17: Download complete 07:29:12 5d3b04190fa2: Verifying Checksum 07:29:12 5d3b04190fa2: Download complete 07:29:12 5eb5b503b376: Verifying Checksum 07:29:12 5eb5b503b376: Download complete 07:29:12 2f39f015ded8: Download complete 07:29:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:29:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:13 5eb5b503b376: Pull complete 07:29:13 5c69ac0246d0: Pull complete 07:29:13 Merging remotes/origin/main commit bca8455642164c3d303fb1e1cb399f48d9b73870 into PR head commit 0e550ce94c5eeefad8c7efb584243441976f9108 07:29:14 ec43610c2a17: Pull complete 07:29:14 3a2ae6a8a46f: Pull complete 07:29:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:29:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:29:13 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:13 Verifying host key using known hosts file 07:29:13 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. 07:29:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:29:13 > git config core.sparsecheckout # timeout=10 07:29:13 > git checkout -f 0e550ce94c5eeefad8c7efb584243441976f9108 # timeout=10 07:29:14 > git remote # timeout=10 07:29:14 > git config --get remote.origin.url # timeout=10 07:29:14 Merge succeeded, producing 0e550ce94c5eeefad8c7efb584243441976f9108 07:29:14 Checking out Revision 0e550ce94c5eeefad8c7efb584243441976f9108 (PR-176) 07:29:14 33b1e0a273af: Pull complete 07:29:14 5d3b04190fa2: Pull complete 07:29:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:14 Verifying host key using known hosts file 07:29:14 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. 07:29:14 > git merge bca8455642164c3d303fb1e1cb399f48d9b73870 # timeout=10 07:29:14 > git rev-parse HEAD^{commit} # timeout=10 07:29:14 > git config core.sparsecheckout # timeout=10 07:29:14 > git checkout -f 0e550ce94c5eeefad8c7efb584243441976f9108 # timeout=10 07:29:17 Commit message: "fix:discovery mode netscan when using docker-compose" 07:29:17 > git --version # timeout=10 07:29:17 > git --version # 'git version 2.25.1' 07:29:17 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 07:29:18 07:29:18 GitHub has been notified of this commit’s build result 07:29:18 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:29:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:29:19 Dload Upload Total Spent Left Speed 07:29:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 72 12602 72 9127 0 0 76058 0 --:--:-- --:--:-- --:--:-- 76058 100 12602 100 12602 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 07:29:19 2f39f015ded8: Pull complete 07:29:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 07:29:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] withDockerContainer 07:29:19 prd-ubuntu20.04-docker-8c-8g-7739 does not seem to be running inside a container 07:29:19 $ 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-176 -v /w/workspace/undry_device-onvif-camera_PR-176:/w/workspace/undry_device-onvif-camera_PR-176:rw,z -v /w/workspace/undry_device-onvif-camera_PR-176@tmp:/w/workspace/undry_device-onvif-camera_PR-176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:29:24 $ docker top 08616fcc3d83c3c6c266f1145215baf3981aebb242de5876b3a2dc1b51311ede -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 07:29:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:29:24 + sudo tee /etc/docker/daemon.new 07:29:24 { 07:29:24 "registry-mirrors": [ 07:29:24 "https://nexus3.edgexfoundry.org:10001" 07:29:24 ], 07:29:24 "bip": "10.250.0.254/24", 07:29:24 "hosts": [ 07:29:24 "tcp://0.0.0.0:5555", 07:29:24 "unix:///var/run/docker.sock" 07:29:24 ], 07:29:24 "mtu": 1458, 07:29:24 "selinux-enabled": true, 07:29:24 "seccomp-profile": "/etc/docker/seccomp.json" 07:29:24 } [Pipeline] sh 07:29:24 ---> job-cost.sh 07:29:24 lf-activate-venv: SKIPPING 07:29:24 INFO: No Stack... 07:29:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 07:29:24 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 07:29:25 + sudo service docker restart 07:29:25 INFO: Archiving Costs [Pipeline] sh 07:29:25 + cat /w/workspace/undry_device-onvif-camera_PR-176/archives/cost.csv 07:29:25 + cut -d, -f6 [Pipeline] lock 07:29:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] 07:29:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] did not exist. Created. 07:29:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:29:26 + echo total: 0.2199999988079071 [Pipeline] stash 07:29:26 Stashed 1 file(s) [Pipeline] } 07:29:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:29:26 $ docker stop --time=1 08616fcc3d83c3c6c266f1145215baf3981aebb242de5876b3a2dc1b51311ede 07:29:27 $ docker rm -f 08616fcc3d83c3c6c266f1145215baf3981aebb242de5876b3a2dc1b51311ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:43 provisioning config files... 07:29:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3776685907326400653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:43 ---> docker-login.sh 07:29:43 nexus3.edgexfoundry.org:10001 07:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:44 Configure a credential helper to remove this warning. See 07:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:44 07:29:44 Login Succeeded 07:29:44 nexus3.edgexfoundry.org:10002 07:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:45 Configure a credential helper to remove this warning. See 07:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:45 07:29:45 Login Succeeded 07:29:45 nexus3.edgexfoundry.org:10003 07:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:45 Configure a credential helper to remove this warning. See 07:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:45 07:29:45 Login Succeeded 07:29:45 nexus3.edgexfoundry.org:10004 07:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:45 Configure a credential helper to remove this warning. See 07:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:45 07:29:45 Login Succeeded 07:29:45 docker.io 07:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:46 Configure a credential helper to remove this warning. See 07:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:46 07:29:46 Login Succeeded 07:29:46 ---> docker-login.sh ends [Pipeline] } 07:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:29:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:29:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:29:46 ========================================================= 07:29:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:29:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:46 + 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 . 07:29:47 Sending build context to Docker daemon 14.21MB 07:29:47 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 07:29:47 Step 2/14 : FROM ${BASE} AS builder 07:29:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:29:47 9b18e9b68314: Pulling fs layer 07:29:47 d32db5db7311: Pulling fs layer 07:29:47 d0c4b47475fc: Pulling fs layer 07:29:47 5831b945b038: Pulling fs layer 07:29:47 86bbec2aaacd: Pulling fs layer 07:29:47 e10730c5d714: Pulling fs layer 07:29:47 5dd5c2283517: Pulling fs layer 07:29:47 d5ac0230b979: Pulling fs layer 07:29:47 86bbec2aaacd: Waiting 07:29:47 e10730c5d714: Waiting 07:29:47 5dd5c2283517: Waiting 07:29:47 d5ac0230b979: Waiting 07:29:47 5831b945b038: Waiting 07:29:47 d0c4b47475fc: Verifying Checksum 07:29:47 d32db5db7311: Download complete 07:29:47 86bbec2aaacd: Verifying Checksum 07:29:47 86bbec2aaacd: Download complete 07:29:47 e10730c5d714: Verifying Checksum 07:29:47 e10730c5d714: Download complete 07:29:47 9b18e9b68314: Verifying Checksum 07:29:48 9b18e9b68314: Pull complete 07:29:49 d5ac0230b979: Verifying Checksum 07:29:49 d5ac0230b979: Download complete 07:29:49 d32db5db7311: Pull complete 07:29:49 d0c4b47475fc: Pull complete 07:29:50 5dd5c2283517: Verifying Checksum 07:29:50 5dd5c2283517: Download complete 07:29:50 5831b945b038: Verifying Checksum 07:29:50 5831b945b038: Download complete 07:30:02 5831b945b038: Pull complete 07:30:02 86bbec2aaacd: Pull complete 07:30:02 e10730c5d714: Pull complete 07:30:09 5dd5c2283517: Pull complete 07:30:10 d5ac0230b979: Pull complete 07:30:10 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:30:10 ---> 59b3b1a385d4 07:30:10 Step 3/14 : ARG ADD_BUILD_TAGS="" 07:30:12 ---> Running in f7bb59210b4a 07:30:12 Removing intermediate container f7bb59210b4a 07:30:12 ---> 4ae1e1c4c461 07:30:12 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:30:12 ---> Running in 5d000ac07f0f 07:30:13 Removing intermediate container 5d000ac07f0f 07:30:13 ---> 4bc6cfc0119f 07:30:13 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:30:13 ---> Running in b4d3ece7290c 07:30:13 Removing intermediate container b4d3ece7290c 07:30:13 ---> 8e8ca2b9e452 07:30:13 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 07:30:13 ---> Running in 1da558b29028 07:30:13 Removing intermediate container 1da558b29028 07:30:13 ---> 6caf83b14b51 07:30:13 Step 7/14 : LABEL Name=edgex-device-onvif-camera 07:30:13 ---> Running in 654007cbcfa1 07:30:14 Removing intermediate container 654007cbcfa1 07:30:14 ---> bf2287d8c808 07:30:14 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:30:14 ---> Running in 1cd935abf03d 07:30:16 Removing intermediate container 1cd935abf03d 07:30:16 ---> 6263302a0440 07:30:16 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:30:17 ---> Running in d2459357c355 07:30:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:30:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:30:19 OK: 221 MiB in 51 packages 07:30:20 Removing intermediate container d2459357c355 07:30:20 ---> 8b058b93206b 07:30:20 Step 10/14 : WORKDIR /device-onvif-camera 07:30:20 ---> Running in 5211d4ef86b3 07:30:20 Removing intermediate container 5211d4ef86b3 07:30:20 ---> ea0bfc1a7bdd 07:30:20 Step 11/14 : COPY go.mod vendor* ./ 07:30:21 ---> 12839b9ce536 07:30:21 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:30:21 ---> Running in d261e5ec040d 07:31:08 Removing intermediate container d261e5ec040d 07:31:08 ---> 28230c26c3d7 07:31:08 Step 13/14 : COPY . . 07:31:09 ---> 464a72385343 07:31:09 Step 14/14 : RUN ${MAKE} 07:31:09 ---> Running in 521e4fbb5461 07:31:10 noop 07:31:11 Removing intermediate container 521e4fbb5461 07:31:11 ---> 5523cba80f74 07:31:11 Successfully built 5523cba80f74 07:31:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:11 + docker inspect -f . ci-base-image-arm64 07:31:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:12 prd-ubuntu20.04-docker-arm64-4c-16g-7740 does not seem to be running inside a container 07:31:12 $ 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 07:31:13 $ docker top 89488ddf4ef45f39f0dc6bfd22984be94f38b81cdb08974d51738a152c599237 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:14 + go version 07:31:14 go version go1.18.7 linux/arm64 [Pipeline] } 07:31:14 $ docker stop --time=1 89488ddf4ef45f39f0dc6bfd22984be94f38b81cdb08974d51738a152c599237 07:31:15 $ docker rm -f 89488ddf4ef45f39f0dc6bfd22984be94f38b81cdb08974d51738a152c599237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:16 + docker inspect -f . ci-base-image-arm64 07:31:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:16 prd-ubuntu20.04-docker-arm64-4c-16g-7740 does not seem to be running inside a container 07:31:16 $ 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 07:31:18 $ docker top 466b536fe78a3167ace553ba0cb94ec051b387b0a93f19f53fcd62637c443e96 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 07:31:18 + make test 07:31:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:31:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:32:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:32:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements 07:32:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:33:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.885s coverage: 86.5% of statements 07:33:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:33:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:33:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:33:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:33:37 ./bin/test-attribution-txt.sh [Pipeline] echo 07:33:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:33:37 $ docker stop --time=1 466b536fe78a3167ace553ba0cb94ec051b387b0a93f19f53fcd62637c443e96 07:33:39 $ docker rm -f 466b536fe78a3167ace553ba0cb94ec051b387b0a93f19f53fcd62637c443e96 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:40 Warning: overwriting stash ‘coverage-report’ 07:33:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:42 + ls -al . 07:33:42 total 232 07:33:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 07:31 . 07:33:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:29 .. 07:33:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:29 .git 07:33:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:29 .github 07:33:42 -rw-rw-r-- 1 jenkins jenkins 418 Oct 12 07:29 .gitignore 07:33:42 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 07:29 .golangci.yml 07:33:42 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 07:29 Attribution.txt 07:33:42 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 07:29 CHANGELOG.md 07:33:42 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 07:29 Dockerfile 07:33:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:29 GOVERNANCE.md 07:33:42 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 07:29 Jenkinsfile 07:33:42 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 07:29 LICENSE 07:33:42 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 07:29 Makefile 07:33:42 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 07:29 OWNERS.md 07:33:42 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 07:29 README.md 07:33:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 07:27 VERSION 07:33:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:29 bin 07:33:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:29 cmd 07:33:42 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 07:33 coverage.out 07:33:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 07:29 doc 07:33:42 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 07:29 go.mod 07:33:42 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 07:29 go.sum 07:33:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:29 internal 07:33:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:29 snap 07:33:42 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 07:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:42 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0e550ce94c5eeefad8c7efb584243441976f9108 --label arch=arm64 --label version=0.0.0 . 07:33:43 Sending build context to Docker daemon 14.29MB 07:33:43 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 07:33:43 Step 2/27 : FROM ${BASE} AS builder 07:33:43 ---> 5523cba80f74 07:33:43 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:33:43 ---> Running in dad28c0c2b1d 07:33:44 Removing intermediate container dad28c0c2b1d 07:33:44 ---> 686033086fb8 07:33:44 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:33:44 ---> Running in 74bee7b9c010 07:33:44 Removing intermediate container 74bee7b9c010 07:33:44 ---> a5533a9d5ecc 07:33:44 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:33:44 ---> Running in 71a5202f8efe 07:33:45 Removing intermediate container 71a5202f8efe 07:33:45 ---> dbce3b705ce7 07:33:45 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:33:45 ---> Running in 8a1098442b1a 07:33:45 Removing intermediate container 8a1098442b1a 07:33:45 ---> 3d56864e8b84 07:33:45 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:33:45 ---> Running in c3a02537551f 07:33:45 Removing intermediate container c3a02537551f 07:33:45 ---> 6eef890f7d67 07:33:45 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:45 ---> Running in 2531f595404a 07:33:47 Removing intermediate container 2531f595404a 07:33:47 ---> 1bba24cdb193 07:33:47 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:33:47 ---> Running in 4726738eca00 07:33:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:33:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:33:50 OK: 221 MiB in 51 packages 07:33:51 Removing intermediate container 4726738eca00 07:33:51 ---> ac7a1cd1733f 07:33:51 Step 10/27 : WORKDIR /device-onvif-camera 07:33:51 ---> Running in 1cf69530e66d 07:33:51 Removing intermediate container 1cf69530e66d 07:33:51 ---> 27554a6c37bd 07:33:51 Step 11/27 : COPY go.mod vendor* ./ 07:33:52 ---> eefc1fed8a16 07:33:52 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:52 ---> Running in 82fc06cd578b 07:33:54 Removing intermediate container 82fc06cd578b 07:33:54 ---> 5cefae9f9777 07:33:54 Step 13/27 : COPY . . 07:33:57 ---> c8b294960f84 07:33:57 Step 14/27 : RUN ${MAKE} 07:33:57 ---> Running in 89b60c2cefb0 07:33:58 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 07:36:19 Removing intermediate container 89b60c2cefb0 07:36:19 ---> 26c6ec4140bc 07:36:19 Step 15/27 : FROM alpine:3.16 07:36:20 3.16: Pulling from library/alpine 07:36:20 9b18e9b68314: Already exists 07:36:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:36:20 Status: Downloaded newer image for alpine:3.16 07:36:20 ---> a6215f271958 07:36:20 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:36:20 ---> Running in d4e91f608562 07:36:20 Removing intermediate container d4e91f608562 07:36:20 ---> ef16dd6ce89b 07:36:20 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 07:36:20 ---> Running in cc506e3fd19b 07:36:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:36:23 (1/6) Installing dumb-init (1.2.5-r1) 07:36:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:36:23 (3/6) Installing libsodium (1.0.18-r0) 07:36:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:36:23 (5/6) Installing libzmq (4.3.4-r0) 07:36:23 (6/6) Installing zeromq (4.3.4-r0) 07:36:23 Executing busybox-1.35.0-r17.trigger 07:36:23 OK: 8 MiB in 20 packages 07:36:24 Removing intermediate container cc506e3fd19b 07:36:24 ---> 50156b058be3 07:36:24 Step 18/27 : WORKDIR / 07:36:24 ---> Running in 4108bdd79324 07:36:24 Removing intermediate container 4108bdd79324 07:36:24 ---> 29acfd239f51 07:36:24 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:36:25 ---> 8ee1cf43b2f2 07:36:25 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:36:25 ---> 9528bc8edba9 07:36:25 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:36:26 ---> ef612c486de3 07:36:26 Step 22/27 : EXPOSE 59984 07:36:26 ---> Running in 4c678246f881 07:36:26 Removing intermediate container 4c678246f881 07:36:26 ---> b855db72a3e7 07:36:26 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:36:26 ---> Running in caea1e167b98 07:36:27 Removing intermediate container caea1e167b98 07:36:27 ---> 47d05beacb7c 07:36:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:36:27 ---> Running in 7ea63f72ec20 07:36:27 Removing intermediate container 7ea63f72ec20 07:36:27 ---> 846da212746d 07:36:27 Step 25/27 : LABEL arch=arm64 07:36:27 ---> Running in 93e437bf2830 07:36:27 Removing intermediate container 93e437bf2830 07:36:27 ---> 941188a23f56 07:36:27 Step 26/27 : LABEL git_sha=0e550ce94c5eeefad8c7efb584243441976f9108 07:36:27 ---> Running in 99a91fd2e712 07:36:28 Removing intermediate container 99a91fd2e712 07:36:28 ---> 304f21a6f695 07:36:28 Step 27/27 : LABEL version=0.0.0 07:36:28 ---> Running in b679a526360a 07:36:28 Removing intermediate container b679a526360a 07:36:28 ---> 5cdbaaaec874 07:36:28 [Warning] One or more build-args [ARCH] were not consumed 07:36:28 Successfully built 5cdbaaaec874 07:36:28 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:36:29 07:36:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:36:29 arm64: Pulling from edgex-lftools-log-publisher 07:36:29 8998bd30e6a1: Pulling fs layer 07:36:29 04944245beec: Pulling fs layer 07:36:29 699f458cf7ca: Pulling fs layer 07:36:29 765212b225bb: Pulling fs layer 07:36:29 f23df028b6ca: Pulling fs layer 07:36:29 d65c8cfc05b1: Pulling fs layer 07:36:29 2437ff75d9bd: Pulling fs layer 07:36:29 f23df028b6ca: Waiting 07:36:29 d65c8cfc05b1: Waiting 07:36:29 2437ff75d9bd: Waiting 07:36:29 765212b225bb: Waiting 07:36:29 04944245beec: Verifying Checksum 07:36:29 04944245beec: Download complete 07:36:29 765212b225bb: Verifying Checksum 07:36:29 765212b225bb: Download complete 07:36:29 f23df028b6ca: Verifying Checksum 07:36:29 f23df028b6ca: Download complete 07:36:29 d65c8cfc05b1: Verifying Checksum 07:36:29 d65c8cfc05b1: Download complete 07:36:30 699f458cf7ca: Verifying Checksum 07:36:30 699f458cf7ca: Download complete 07:36:30 8998bd30e6a1: Verifying Checksum 07:36:30 8998bd30e6a1: Download complete 07:36:33 2437ff75d9bd: Verifying Checksum 07:36:33 2437ff75d9bd: Download complete 07:36:34 8998bd30e6a1: Pull complete 07:36:34 04944245beec: Pull complete 07:36:36 699f458cf7ca: Pull complete 07:36:36 765212b225bb: Pull complete 07:36:37 f23df028b6ca: Pull complete 07:36:37 d65c8cfc05b1: Pull complete 07:36:52 2437ff75d9bd: Pull complete 07:36:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:36:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:36:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:52 prd-ubuntu20.04-docker-arm64-4c-16g-7740 does not seem to be running inside a container 07:36:52 $ 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 07:36:55 $ docker top ab82aa9371b393c2d7aa7a70a6762f06821447316798f80dee0d1fb6dd528873 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:55 ---> job-cost.sh 07:36:55 lf-activate-venv: SKIPPING 07:36:55 INFO: No Stack... 07:36:56 INFO: Retrieving Pricing Info for: v3-standard-4 07:36:57 INFO: Archiving Costs [Pipeline] sh 07:36:57 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 07:36:57 + cut -d, -f6 [Pipeline] lock 07:36:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] 07:36:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] did not exist. Created. 07:36:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:58 /w/workspace/device-onvif-camera/1@tmp/durable-6fdab4ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:36:59 + echo total: 0.10999999940395355 [Pipeline] stash 07:36:59 Warning: overwriting stash ‘stack-cost’ 07:36:59 Stashed 1 file(s) [Pipeline] } 07:36:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:59 $ docker stop --time=1 ab82aa9371b393c2d7aa7a70a6762f06821447316798f80dee0d1fb6dd528873 07:37:00 $ docker rm -f ab82aa9371b393c2d7aa7a70a6762f06821447316798f80dee0d1fb6dd528873 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:37:01 provisioning config files... 07:37:01 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-176@tmp/config3806487326459480738tmp [Pipeline] { [Pipeline] sh 07:37:02 + set +x 07:37:02 + bash -s -- 07:37:02 + curl -s https://codecov.io/bash 07:37:02 07:37:02 _____ _ 07:37:02 / ____| | | 07:37:02 | | ___ __| | ___ ___ _____ __ 07:37:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:37:02 | |___| (_) | (_| | __/ (_| (_) \ V / 07:37:02 \_____\___/ \__,_|\___|\___\___/ \_/ 07:37:02 Bash-1.0.6 07:37:02 07:37:02 07:37:02 ==> git version 2.25.1 found 07:37:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:37:02 Release-Date: 2020-01-08 07:37:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:37:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:37:02 ==> Jenkins CI detected. 07:37:02 current dir:  /w/workspace/undry_device-onvif-camera_PR-176 07:37:02 project root: . 07:37:02 --> token set from env 07:37:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:37:02 ==> Running gcov in . (disable via -X gcov) 07:37:02 ==> Python coveragepy not found 07:37:02 ==> Searching for coverage reports in: 07:37:02 + . 07:37:02 -> Found 1 reports 07:37:02 ==> Detecting git/mercurial file structure 07:37:02 ==> Reading reports 07:37:02 + ./coverage.out bytes=78636 07:37:02 ==> Appending adjustments 07:37:02 https://docs.codecov.io/docs/fixing-reports 07:37:02 + Found adjustments 07:37:02 ==> Gzipping contents 07:37:02 12K /tmp/codecov.oRrY3z.gz 07:37:02 ==> Uploading reports 07:37:02 url: https://codecov.io 07:37:02 query: branch=PR-176&commit=0e550ce94c5eeefad8c7efb584243441976f9108&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-176%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=176&job=&cmd_args= 07:37:02 -> Pinging Codecov 07:37:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-176&commit=0e550ce94c5eeefad8c7efb584243441976f9108&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-176%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=176&job=&cmd_args= 07:37:02 -> Uploading to 07:37:02 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/0e550ce94c5eeefad8c7efb584243441976f9108/0ecf099c-c7a1-4aca-9e65-86543f131b71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T073702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a73a4da59b79010ac56abff8d0075effee245351ca53956b947b2be5ad24b55c 07:37:02 % Total % Received % Xferd Average Speed Time Time Time Current 07:37:02 Dload Upload Total Spent Left Speed 07:37:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10742 0 0 100 10742 0 46103 --:--:-- --:--:-- --:--:-- 46103 07:37:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0e550ce94c5eeefad8c7efb584243441976f9108 [Pipeline] } 07:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:37:04 + [ -d /w/workspace/undry_device-onvif-camera_PR-176/archives ] 07:37:04 + ls -al /w/workspace/undry_device-onvif-camera_PR-176/archives 07:37:04 total 16 07:37:04 drwxr-xr-x 3 root root 4096 Oct 12 07:29 . 07:37:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:29 .. 07:37:04 drwxr-xr-x 2 root root 4096 Oct 12 07:29 cost 07:37:04 -rw-r--r-- 1 root root 91 Oct 12 07:29 cost.csv 07:37:04 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-176/archives 07:37:04 + ls -al /w/workspace/undry_device-onvif-camera_PR-176/archives 07:37:04 total 16 07:37:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:29 . 07:37:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:29 .. 07:37:04 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 07:29 cost 07:37:04 -rw-r--r-- 1 jenkins jenkins 91 Oct 12 07:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:37:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:37:05 ---> package-listing.sh 07:37:05 ++ facter osfamily 07:37:05 ++ tr '[:upper:]' '[:lower:]' 07:37:06 + OS_FAMILY=debian 07:37:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-176 07:37:06 + START_PACKAGES=/tmp/packages_start.txt 07:37:06 + END_PACKAGES=/tmp/packages_end.txt 07:37:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:37:06 + PACKAGES=/tmp/packages_start.txt 07:37:06 + '[' /w/workspace/undry_device-onvif-camera_PR-176 ']' 07:37:06 + PACKAGES=/tmp/packages_end.txt 07:37:06 + case "${OS_FAMILY}" in 07:37:06 + dpkg -l 07:37:06 + grep '^ii' 07:37:06 + '[' -f /tmp/packages_start.txt ']' 07:37:06 + '[' -f /tmp/packages_end.txt ']' 07:37:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:37:06 + '[' /w/workspace/undry_device-onvif-camera_PR-176 ']' 07:37:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-176/archives/ 07:37:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-176/archives/ [Pipeline] echo 07:37:06 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-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:37:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:07 prd-ubuntu20.04-docker-8c-8g-7739 does not seem to be running inside a container 07:37:07 $ 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-176/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-176 -v /w/workspace/undry_device-onvif-camera_PR-176:/w/workspace/undry_device-onvif-camera_PR-176:rw,z -v /w/workspace/undry_device-onvif-camera_PR-176@tmp:/w/workspace/undry_device-onvif-camera_PR-176@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 07:37:07 $ docker top f5ea7f66e33785c1695a7cda673d7ab34c4b3dc3bc176bb9899c1be8ecec9ca3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:07 + touch /tmp/pre-build-complete [Pipeline] sh 07:37:08 + mkdir -p /var/log/sysstat [Pipeline] sh 07:37:08 + ls /var/log/sa-host 07:37:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:08 provisioning config files... 07:37:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-176@tmp/config15098544875337162869tmp [Pipeline] { [Pipeline] echo 07:37:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:37:09 ---> create-netrc.sh [Pipeline] } 07:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:37:09 ---> python-tools-install.sh [Pipeline] echo 07:37:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:37:09 ---> sudo-logs.sh 07:37:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:37:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:37:10 ---> job-cost.sh 07:37:10 lf-activate-venv: SKIPPING 07:37:10 DEBUG: total: 0.2199999988079071 07:37:10 INFO: Retrieving Stack Cost... 07:37:10 INFO: Retrieving Pricing Info for: v3-standard-8 07:37:11 INFO: Archiving Costs [Pipeline] echo 07:37:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:37:11 ---> logs-deploy.sh 07:37:11 lf-activate-venv: SKIPPING 07:37:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-176/1 07:37:11 INFO: archiving workspace using pattern(s): 07:37:12 Archives upload complete. 07:37:12 INFO: archiving logs to Nexus