Pull request #187 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 ejlee3 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh8580886731680239997.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh15076023330313402978.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-187/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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11296640110044703948.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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4883125887246765906.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh11506640607191368637.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-187/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-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10296915249629631348.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116993’ Running on prd-ubuntu20.04-docker-8c-8g-116995 in /w/workspace/undry_device-onvif-camera_PR-187 [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-187 # 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/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Merge succeeded, producing 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Checking out Revision 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a (PR-187) > git config core.sparsecheckout # timeout=10 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # 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 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:43:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:05 ========================================================= 22:43:05 EdgeX Global Pipelines Version Info 22:43:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:43:06 ------------------- 22:43:06 stable info: 22:43:06 ------------------- 22:43:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:43:06 Message: update stable to v1.0.243 22:43:07 ------------------- 22:43:07 experimental info: 22:43:07 ------------------- 22:43:07 Commited By: **** collab-it+edgex@linuxfoundation.org 22:43:07 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:43:07 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:43:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9513422 [Pipeline] echo 22:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:08 provisioning config files... 22:43:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config6973120742240174322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:09 ---> docker-login.sh 22:43:09 nexus3.edgexfoundry.org:10001 22:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:09 Configure a credential helper to remove this warning. See 22:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:09 22:43:09 Login Succeeded 22:43:09 nexus3.edgexfoundry.org:10002 22:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:09 Configure a credential helper to remove this warning. See 22:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:09 22:43:09 Login Succeeded 22:43:09 nexus3.edgexfoundry.org:10003 22:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:09 Configure a credential helper to remove this warning. See 22:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:09 22:43:09 Login Succeeded 22:43:09 nexus3.edgexfoundry.org:10004 22:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:09 Configure a credential helper to remove this warning. See 22:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:09 22:43:09 Login Succeeded 22:43:09 docker.io 22:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:10 Configure a credential helper to remove this warning. See 22:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:10 22:43:10 Login Succeeded 22:43:10 ---> docker-login.sh ends [Pipeline] } 22:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:43:10 + git rev-list -1 --merges 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a~1..9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo 22:43:10 -----------> git rev-list -1 --merges 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a~1..9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [false] [Pipeline] sh 22:43:11 + git log --format=format:%s -1 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo 22:43:11 ========================================================= 22:43:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:43:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:11 + git log --format=format:%s -1 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo 22:43:11 [semverPrep] GIT_COMMIT: 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 22:43:11 [semverPrep] This is not a build commit. [Pipeline] sh 22:43:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:43:12 + grep -v github /etc/ssh/ssh_known_hosts 22:43:12 + [ -e /tmp/ssh_known_hosts ] 22:43:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:43:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:43:12 + sudo tee -a /etc/ssh/ssh_known_hosts 22:43:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:12 22:43:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:12 0.1.4: Pulling from edgex-devops/py-git-semver 22:43:12 b85a868b505f: Pulling fs layer 22:43:12 e2be974225ed: Pulling fs layer 22:43:12 339a4e72a1f5: Pulling fs layer 22:43:12 988bab9f4d93: Pulling fs layer 22:43:12 1469e6f7b9e6: Pulling fs layer 22:43:12 eaf3925da568: Pulling fs layer 22:43:12 bab4dde63d76: Pulling fs layer 22:43:12 bde34c3a00c8: Pulling fs layer 22:43:12 b352a97aabf1: Pulling fs layer 22:43:12 4872d77fe225: Pulling fs layer 22:43:12 5851b861e8e6: Pulling fs layer 22:43:12 1469e6f7b9e6: Waiting 22:43:12 bab4dde63d76: Waiting 22:43:12 eaf3925da568: Waiting 22:43:12 bde34c3a00c8: Waiting 22:43:12 b352a97aabf1: Waiting 22:43:12 5851b861e8e6: Waiting 22:43:12 4872d77fe225: Waiting 22:43:12 e2be974225ed: Download complete 22:43:12 988bab9f4d93: Download complete 22:43:13 339a4e72a1f5: Verifying Checksum 22:43:13 339a4e72a1f5: Download complete 22:43:13 1469e6f7b9e6: Verifying Checksum 22:43:13 1469e6f7b9e6: Download complete 22:43:13 eaf3925da568: Verifying Checksum 22:43:13 eaf3925da568: Download complete 22:43:13 bde34c3a00c8: Download complete 22:43:13 b352a97aabf1: Download complete 22:43:13 4872d77fe225: Verifying Checksum 22:43:13 4872d77fe225: Download complete 22:43:13 5851b861e8e6: Verifying Checksum 22:43:13 5851b861e8e6: Download complete 22:43:13 b85a868b505f: Verifying Checksum 22:43:13 b85a868b505f: Download complete 22:43:13 bab4dde63d76: Verifying Checksum 22:43:13 bab4dde63d76: Download complete 22:43:14 b85a868b505f: Pull complete 22:43:14 e2be974225ed: Pull complete 22:43:15 339a4e72a1f5: Pull complete 22:43:15 988bab9f4d93: Pull complete 22:43:15 1469e6f7b9e6: Pull complete 22:43:15 eaf3925da568: Pull complete 22:43:17 bab4dde63d76: Pull complete 22:43:17 bde34c3a00c8: Pull complete 22:43:17 b352a97aabf1: Pull complete 22:43:17 4872d77fe225: Pull complete 22:43:17 5851b861e8e6: Pull complete 22:43:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:43:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:17 prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container 22:43:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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-devops/py-git-semver:0.1.4 cat 22:43:19 $ docker top 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 -eo pid,comm 22:43:19 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). 22:43:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:19 [ssh-agent] Looking for ssh-agent implementation... 22:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:19 $ docker exec 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent 22:43:19 SSH_AUTH_SOCK=/tmp/ssh-IsBk9mKpCs32/agent.32 22:43:19 SSH_AGENT_PID=38 22:43:19 Running ssh-add (command line suppressed) 22:43:19 Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_12096355743068722338.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_12096355743068722338.key) 22:43:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:20 + git tag --points-at HEAD [Pipeline] } 22:43:20 $ docker exec --env ******** --env ******** 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent -k 22:43:20 unset SSH_AUTH_SOCK; 22:43:20 unset SSH_AGENT_PID; 22:43:20 echo Agent pid 38 killed; 22:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:43:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:20 [ssh-agent] Looking for ssh-agent implementation... 22:43:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:20 $ docker exec 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent 22:43:20 SSH_AUTH_SOCK=/tmp/ssh-AivQx0pVFYQV/agent.70 22:43:20 SSH_AGENT_PID=76 22:43:20 Running ssh-add (command line suppressed) 22:43:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6911272941044962703.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6911272941044962703.key) 22:43:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:21 + git semver init 22:43:21 2022-10-25 22:43:21,379 [run_init] DEBUG init version:0.0.0 force:False 22:43:21 2022-10-25 22:43:21,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-187/.semver 22:43:21 2022-10-25 22:43:21,380 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-187/.semver 22:43:21 2022-10-25 22:43:21,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-187/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-187, universal_newlines=False, shell=None, istream=None) 22:43:22 2022-10-25 22:43:22,423 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-187/.git/info/exclude 22:43:22 2022-10-25 22:43:22,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 with force:False 22:43:22 2022-10-25 22:43:22,424 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 22:43:22 2022-10-25 22:43:22,428 [execute] INFO git cat-file --batch-check 22:43:22 2022-10-25 22:43:22,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) 22:43:22 2022-10-25 22:43:22,436 [execute] INFO git cat-file --batch 22:43:22 2022-10-25 22:43:22,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) 22:43:22 2022-10-25 22:43:22,442 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 22:43:22 0.0.0 [Pipeline] } 22:43:22 $ docker exec --env ******** --env ******** 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent -k 22:43:22 unset SSH_AUTH_SOCK; 22:43:22 unset SSH_AGENT_PID; 22:43:22 echo Agent pid 76 killed; 22:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:23 + git semver [Pipeline] } 22:43:23 $ docker stop --time=1 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 22:43:25 $ docker rm -f 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:25 Stashed 1 file(s) [Pipeline] echo 22:43:25 [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 22:43:26 provisioning config files... 22:43:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config18071632450294477600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:26 ---> docker-login.sh 22:43:26 nexus3.edgexfoundry.org:10001 22:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:26 Configure a credential helper to remove this warning. See 22:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:26 22:43:26 Login Succeeded 22:43:26 nexus3.edgexfoundry.org:10002 22:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:26 Configure a credential helper to remove this warning. See 22:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:26 22:43:26 Login Succeeded 22:43:26 nexus3.edgexfoundry.org:10003 22:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:26 Configure a credential helper to remove this warning. See 22:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:26 22:43:26 Login Succeeded 22:43:26 nexus3.edgexfoundry.org:10004 22:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:26 Configure a credential helper to remove this warning. See 22:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:26 22:43:26 Login Succeeded 22:43:26 docker.io 22:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:27 Configure a credential helper to remove this warning. See 22:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:27 22:43:27 Login Succeeded 22:43:27 ---> docker-login.sh ends [Pipeline] } 22:43:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:27 ========================================================= 22:43:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:43:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:28 + 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 . 22:43:28 Sending build context to Docker daemon 21.49MB 22:43:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:43:28 Step 2/13 : FROM ${BASE} AS builder 22:43:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:28 213ec9aee27d: Pulling fs layer 22:43:28 4583459ba037: Pulling fs layer 22:43:28 93c1e223e6f2: Pulling fs layer 22:43:28 53926ce57604: Pulling fs layer 22:43:28 21b2b0c7a3f4: Pulling fs layer 22:43:28 30f14e443154: Pulling fs layer 22:43:28 801331c1e519: Pulling fs layer 22:43:28 99cc6dd402b0: Pulling fs layer 22:43:28 7d9ed39f4882: Pulling fs layer 22:43:28 99cc6dd402b0: Waiting 22:43:28 7d9ed39f4882: Waiting 22:43:28 801331c1e519: Waiting 22:43:28 21b2b0c7a3f4: Waiting 22:43:28 93c1e223e6f2: Download complete 22:43:28 4583459ba037: Verifying Checksum 22:43:28 4583459ba037: Download complete 22:43:28 21b2b0c7a3f4: Verifying Checksum 22:43:28 21b2b0c7a3f4: Download complete 22:43:28 30f14e443154: Verifying Checksum 22:43:28 30f14e443154: Download complete 22:43:28 213ec9aee27d: Download complete 22:43:28 801331c1e519: Verifying Checksum 22:43:28 801331c1e519: Download complete 22:43:28 213ec9aee27d: Pull complete 22:43:28 4583459ba037: Pull complete 22:43:28 93c1e223e6f2: Pull complete 22:43:28 7d9ed39f4882: Verifying Checksum 22:43:28 7d9ed39f4882: Download complete 22:43:29 99cc6dd402b0: Verifying Checksum 22:43:29 99cc6dd402b0: Download complete 22:43:29 53926ce57604: Verifying Checksum 22:43:29 53926ce57604: Download complete 22:43:33 53926ce57604: Pull complete 22:43:33 21b2b0c7a3f4: Pull complete 22:43:33 30f14e443154: Pull complete 22:43:33 801331c1e519: Pull complete 22:43:35 99cc6dd402b0: Pull complete 22:43:36 7d9ed39f4882: Pull complete 22:43:36 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:43:36 ---> 1dedd983c030 22:43:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:43:38 ---> Running in 7d832298198f 22:43:38 Removing intermediate container 7d832298198f 22:43:38 ---> 644b58efd23e 22:43:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:38 ---> Running in 60a9d42560d0 22:43:38 Removing intermediate container 60a9d42560d0 22:43:38 ---> cf54131e11c9 22:43:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:43:38 ---> Running in 4e1934dc7099 22:43:38 Removing intermediate container 4e1934dc7099 22:43:38 ---> 6a6b4b84119c 22:43:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:43:38 ---> Running in 2716ec49af27 22:43:38 Removing intermediate container 2716ec49af27 22:43:38 ---> 1e625a26d62f 22:43:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:43:38 ---> Running in 0cafc81d33ea 22:43:38 Removing intermediate container 0cafc81d33ea 22:43:38 ---> 44508df959bb 22:43:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:38 ---> Running in d3068a64ef9d 22:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:39 OK: 211 MiB in 51 packages 22:43:39 Removing intermediate container d3068a64ef9d 22:43:39 ---> 6cc3c148fd1f 22:43:39 Step 9/13 : WORKDIR /device-onvif-camera 22:43:39 ---> Running in 08241a956b6b 22:43:39 Removing intermediate container 08241a956b6b 22:43:39 ---> c0093037021e 22:43:39 Step 10/13 : COPY go.mod vendor* ./ 22:43:39 ---> 26efbbcb1a9f 22:43:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:40 ---> Running in cbbbc3990ec9 22:43:41 Still waiting to schedule task 22:43:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116994’ is offline 22:43:58 Removing intermediate container cbbbc3990ec9 22:43:58 ---> 8a2b8e402e09 22:43:58 Step 12/13 : COPY . . 22:43:58 ---> 679a09e685c2 22:43:58 Step 13/13 : RUN ${MAKE} 22:43:58 ---> Running in 7df3142f4a73 22:43:58 noop 22:43:59 Removing intermediate container 7df3142f4a73 22:43:59 ---> 2b62dc9a842e 22:43:59 Successfully built 2b62dc9a842e 22:43:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:59 + docker inspect -f . ci-base-image-x86_64 22:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:59 prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container 22:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:44:00 $ docker top 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:00 + go version 22:44:00 go version go1.18.7 linux/amd64 [Pipeline] } 22:44:00 $ docker stop --time=1 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b 22:44:01 $ docker rm -f 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:02 + docker inspect -f . ci-base-image-x86_64 22:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:02 prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container 22:44:02 $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:44:03 $ docker top 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:03 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] fileExists [Pipeline] sh 22:44:04 + make test 22:44:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:44:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:44:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:44:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 22:44:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:44:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.396s coverage: 86.5% of statements 22:44:24 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." 22:44:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:44:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:44:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:44:26 ./bin/test-attribution-txt.sh [Pipeline] echo 22:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:44:26 $ docker stop --time=1 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b 22:44:28 $ docker rm -f 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b [Pipeline] // withDockerContainer [Pipeline] sh 22:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:44:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:30 + ls -al . 22:44:30 total 244 22:44:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:44 . 22:44:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:42 .. 22:44:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:44 .git 22:44:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:43 .github 22:44:30 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 22:43 .gitignore 22:44:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:43 .golangci.yml 22:44:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:43 .semver 22:44:30 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 22:43 Attribution.txt 22:44:30 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 22:43 CHANGELOG.md 22:44:30 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 25 22:43 Dockerfile 22:44:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:43 GOVERNANCE.md 22:44:30 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 22:43 Jenkinsfile 22:44:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 22:43 LICENSE 22:44:30 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 22:43 Makefile 22:44:30 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 22:43 OWNERS.md 22:44:30 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 22:43 README.md 22:44:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:43 VERSION 22:44:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:43 bin 22:44:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:43 cmd 22:44:30 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 22:44 coverage.out 22:44:30 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:43 doc 22:44:30 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 25 22:43 go.mod 22:44:30 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 25 22:43 go.sum 22:44:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:43 internal 22:44:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:43 snap 22:44:30 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:30 + 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=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a --label arch=amd64 --label version=0.0.0 . 22:44:30 Sending build context to Docker daemon 21.57MB 22:44:30 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:44:30 Step 2/26 : FROM ${BASE} AS builder 22:44:30 ---> 2b62dc9a842e 22:44:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:44:30 ---> Running in 89140d56269d 22:44:30 Removing intermediate container 89140d56269d 22:44:30 ---> 28111642b54a 22:44:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:30 ---> Running in 4ea215bc60a7 22:44:31 Removing intermediate container 4ea215bc60a7 22:44:31 ---> 277f41237232 22:44:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:44:31 ---> Running in 11ea2392ceaa 22:44:31 Removing intermediate container 11ea2392ceaa 22:44:31 ---> 2f91e22be784 22:44:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:44:31 ---> Running in eb1e2ccc90ff 22:44:31 Removing intermediate container eb1e2ccc90ff 22:44:31 ---> e70dfa725251 22:44:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:44:31 ---> Running in d74fbbddd01e 22:44:31 Removing intermediate container d74fbbddd01e 22:44:31 ---> 7edfcdf97d63 22:44:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:31 ---> Running in 6bd8eaa61273 22:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:44:32 OK: 211 MiB in 51 packages 22:44:32 Removing intermediate container 6bd8eaa61273 22:44:32 ---> c616b2fcf7b8 22:44:32 Step 9/26 : WORKDIR /device-onvif-camera 22:44:32 ---> Running in 5d29b092faaa 22:44:32 Removing intermediate container 5d29b092faaa 22:44:32 ---> 5adc9b6fce1f 22:44:32 Step 10/26 : COPY go.mod vendor* ./ 22:44:32 ---> 44002ab43f68 22:44:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:32 ---> Running in 724c40916d01 22:44:33 Removing intermediate container 724c40916d01 22:44:33 ---> c962ac76d102 22:44:33 Step 12/26 : COPY . . 22:44:33 ---> 61333fb250c2 22:44:33 Step 13/26 : RUN ${MAKE} 22:44:33 ---> Running in 7d5cfb855e2c 22:44:34 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.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:44:56 Removing intermediate container 7d5cfb855e2c 22:44:56 ---> 7aab74fdfee1 22:44:56 Step 14/26 : FROM alpine:3.16 22:44:56 3.16: Pulling from library/alpine 22:44:56 213ec9aee27d: Already exists 22:44:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:44:56 Status: Downloaded newer image for alpine:3.16 22:44:56 ---> 9c6f07244728 22:44:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:44:56 ---> Running in 9644e21b041d 22:44:56 Removing intermediate container 9644e21b041d 22:44:56 ---> 99cb5f9066e9 22:44:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:44:56 ---> Running in 5c705111f305 22:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:44:56 (1/6) Installing dumb-init (1.2.5-r1) 22:44:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:44:56 (3/6) Installing libsodium (1.0.18-r0) 22:44:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:44:56 (5/6) Installing libzmq (4.3.4-r0) 22:44:56 (6/6) Installing zeromq (4.3.4-r0) 22:44:56 Executing busybox-1.35.0-r17.trigger 22:44:56 OK: 8 MiB in 20 packages 22:44:56 Removing intermediate container 5c705111f305 22:44:56 ---> 0f1d9c0e753a 22:44:56 Step 17/26 : WORKDIR / 22:44:56 ---> Running in 6af328d41f54 22:44:56 Removing intermediate container 6af328d41f54 22:44:56 ---> 5beb66196a6f 22:44:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:44:56 ---> f01e60e619f7 22:44:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:44:56 ---> 4718312e3b89 22:44:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:44:56 ---> 94ae0a182d8a 22:44:56 Step 21/26 : EXPOSE 59984 22:44:56 ---> Running in 2fc25361df9d 22:44:56 Removing intermediate container 2fc25361df9d 22:44:56 ---> 3da177a856a9 22:44:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:44:56 ---> Running in 6302ec3389ea 22:44:56 Removing intermediate container 6302ec3389ea 22:44:56 ---> fe32a70d26cf 22:44:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:44:56 ---> Running in 9da06026b9b3 22:44:56 Removing intermediate container 9da06026b9b3 22:44:56 ---> 96d7c0c2b16a 22:44:56 Step 24/26 : LABEL arch=amd64 22:44:56 ---> Running in 1d7b4028fd70 22:44:57 Removing intermediate container 1d7b4028fd70 22:44:57 ---> 349bb7342c77 22:44:57 Step 25/26 : LABEL git_sha=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 22:44:57 ---> Running in bdc79257ccf4 22:44:57 Removing intermediate container bdc79257ccf4 22:44:57 ---> 7a3c3aa23e75 22:44:57 Step 26/26 : LABEL version=0.0.0 22:44:57 ---> Running in d4b938fee7f6 22:44:57 Removing intermediate container d4b938fee7f6 22:44:57 ---> 82dd8b49861a 22:44:57 [Warning] One or more build-args [ARCH] were not consumed 22:44:57 Successfully built 82dd8b49861a 22:44:57 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 22:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:58 22:44:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:58 latest: Pulling from edgex-lftools-log-publisher 22:44:58 5eb5b503b376: Pulling fs layer 22:44:58 5c69ac0246d0: Pulling fs layer 22:44:58 ec43610c2a17: Pulling fs layer 22:44:58 3a2ae6a8a46f: Pulling fs layer 22:44:58 33b1e0a273af: Pulling fs layer 22:44:58 5d3b04190fa2: Pulling fs layer 22:44:58 2f39f015ded8: Pulling fs layer 22:44:58 3a2ae6a8a46f: Waiting 22:44:58 33b1e0a273af: Waiting 22:44:58 5d3b04190fa2: Waiting 22:44:58 2f39f015ded8: Waiting 22:44:58 5c69ac0246d0: Verifying Checksum 22:44:58 5c69ac0246d0: Download complete 22:44:58 3a2ae6a8a46f: Verifying Checksum 22:44:58 3a2ae6a8a46f: Download complete 22:44:58 33b1e0a273af: Verifying Checksum 22:44:58 5d3b04190fa2: Verifying Checksum 22:44:58 5d3b04190fa2: Download complete 22:44:58 ec43610c2a17: Verifying Checksum 22:44:58 ec43610c2a17: Download complete 22:44:58 5eb5b503b376: Verifying Checksum 22:44:58 5eb5b503b376: Download complete 22:44:59 2f39f015ded8: Verifying Checksum 22:44:59 2f39f015ded8: Download complete 22:45:00 5eb5b503b376: Pull complete 22:45:00 5c69ac0246d0: Pull complete 22:45:00 ec43610c2a17: Pull complete 22:45:00 3a2ae6a8a46f: Pull complete 22:45:00 33b1e0a273af: Pull complete 22:45:00 5d3b04190fa2: Pull complete 22:45:05 2f39f015ded8: Pull complete 22:45:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:45:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:05 prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container 22:45:05 $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:45:07 $ docker top 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:07 ---> job-cost.sh 22:45:07 lf-activate-venv: SKIPPING 22:45:07 INFO: No Stack... 22:45:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:45:08 INFO: Archiving Costs [Pipeline] sh 22:45:08 + cat /w/workspace/undry_device-onvif-camera_PR-187/archives/cost.csv 22:45:08 + cut -d, -f6 [Pipeline] lock 22:45:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] 22:45:08 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] did not exist. Created. 22:45:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:45:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:45:09 Stashed 1 file(s) [Pipeline] } 22:45:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:45:09 $ docker stop --time=1 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 22:45:10 $ docker rm -f 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:45:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116996 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] ws 22:45:12 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 22:45:12 The recommended git tool is: git 22:45:17 using credential edgex-jenkins-ssh 22:45:17 Cloning the remote Git repository 22:45:17 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:45:18 > git init /w/workspace/device-onvif-camera/1 # timeout=10 22:45:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:45:18 > git --version # timeout=10 22:45:18 > git --version # 'git version 2.25.1' 22:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:18 Verifying host key using known hosts file 22:45:18 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. 22:45:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:19 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:45:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:21 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 22:45:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:45:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:20 Verifying host key using known hosts file 22:45:20 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. 22:45:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:21 > git config core.sparsecheckout # timeout=10 22:45:21 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 22:45:21 Merge succeeded, producing 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 22:45:21 Checking out Revision 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a (PR-187) 22:45:21 > git remote # timeout=10 22:45:21 > git config --get remote.origin.url # timeout=10 22:45:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:21 Verifying host key using known hosts file 22:45:21 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. 22:45:21 > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 22:45:21 > git rev-parse HEAD^{commit} # timeout=10 22:45:21 > git config core.sparsecheckout # timeout=10 22:45:21 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 22:45:25 Commit message: "build: Latest go-mods, config and Dockerfile fix" 22:45:25 > git --version # timeout=10 22:45:25 > git --version # 'git version 2.25.1' 22:45:25 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:45:26 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:26 Dload Upload Total Spent Left Speed 22:45:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 22:45:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:45:27 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:45:27 sudo tee /etc/docker/daemon.new 22:45:27 { 22:45:27 "registry-mirrors": [ 22:45:27 "https://nexus3.edgexfoundry.org:10001" 22:45:27 ], 22:45:27 "bip": "10.250.0.254/24", 22:45:27 "hosts": [ 22:45:27 "tcp://0.0.0.0:5555", 22:45:27 "unix:///var/run/docker.sock" 22:45:27 ], 22:45:27 "mtu": 1458, 22:45:27 "selinux-enabled": true, 22:45:27 "seccomp-profile": "/etc/docker/seccomp.json" 22:45:27 } [Pipeline] sh 22:45:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:45:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:46 provisioning config files... 22:45:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8169852715911261218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:47 ---> docker-login.sh 22:45:47 nexus3.edgexfoundry.org:10001 22:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:47 Configure a credential helper to remove this warning. See 22:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:47 22:45:47 Login Succeeded 22:45:47 nexus3.edgexfoundry.org:10002 22:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:48 Configure a credential helper to remove this warning. See 22:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:48 22:45:48 Login Succeeded 22:45:48 nexus3.edgexfoundry.org:10003 22:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:48 Configure a credential helper to remove this warning. See 22:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:48 22:45:48 Login Succeeded 22:45:48 nexus3.edgexfoundry.org:10004 22:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:48 Configure a credential helper to remove this warning. See 22:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:48 22:45:48 Login Succeeded 22:45:48 docker.io 22:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:49 Configure a credential helper to remove this warning. See 22:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:49 22:45:49 Login Succeeded 22:45:49 ---> docker-login.sh ends [Pipeline] } 22:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:49 ========================================================= 22:45:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:45:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:50 + 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 . 22:45:50 Sending build context to Docker daemon 14.79MB 22:45:50 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:45:50 Step 2/13 : FROM ${BASE} AS builder 22:45:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:50 9b18e9b68314: Pulling fs layer 22:45:50 d32db5db7311: Pulling fs layer 22:45:50 d0c4b47475fc: Pulling fs layer 22:45:50 5831b945b038: Pulling fs layer 22:45:50 86bbec2aaacd: Pulling fs layer 22:45:50 e10730c5d714: Pulling fs layer 22:45:50 5dd5c2283517: Pulling fs layer 22:45:50 d5ac0230b979: Pulling fs layer 22:45:50 e10730c5d714: Waiting 22:45:50 5dd5c2283517: Waiting 22:45:50 5831b945b038: Waiting 22:45:50 86bbec2aaacd: Waiting 22:45:50 d5ac0230b979: Waiting 22:45:50 d0c4b47475fc: Verifying Checksum 22:45:50 d0c4b47475fc: Download complete 22:45:50 d32db5db7311: Verifying Checksum 22:45:50 d32db5db7311: Download complete 22:45:50 86bbec2aaacd: Download complete 22:45:50 e10730c5d714: Verifying Checksum 22:45:50 e10730c5d714: Download complete 22:45:50 9b18e9b68314: Verifying Checksum 22:45:50 9b18e9b68314: Download complete 22:45:52 d5ac0230b979: Verifying Checksum 22:45:52 d5ac0230b979: Download complete 22:45:52 5dd5c2283517: Verifying Checksum 22:45:52 5dd5c2283517: Download complete 22:45:53 9b18e9b68314: Pull complete 22:45:53 5831b945b038: Verifying Checksum 22:45:53 5831b945b038: Download complete 22:45:53 d32db5db7311: Pull complete 22:45:53 d0c4b47475fc: Pull complete 22:46:06 5831b945b038: Pull complete 22:46:06 86bbec2aaacd: Pull complete 22:46:06 e10730c5d714: Pull complete 22:46:11 5dd5c2283517: Pull complete 22:46:13 d5ac0230b979: Pull complete 22:46:13 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 22:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:46:13 ---> 59b3b1a385d4 22:46:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:46:15 ---> Running in 63485079fd6d 22:46:15 Removing intermediate container 63485079fd6d 22:46:15 ---> eaee597b193c 22:46:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:46:15 ---> Running in 8c93b190da66 22:46:15 Removing intermediate container 8c93b190da66 22:46:15 ---> bf1577735f19 22:46:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:46:15 ---> Running in cd1cf1c4d920 22:46:16 Removing intermediate container cd1cf1c4d920 22:46:16 ---> 8b102be6f04b 22:46:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:46:16 ---> Running in 4d9b33538504 22:46:17 Removing intermediate container 4d9b33538504 22:46:17 ---> c1cdd880cfe3 22:46:17 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:46:17 ---> Running in 8d8fd5b8bb7f 22:46:17 Removing intermediate container 8d8fd5b8bb7f 22:46:17 ---> c8dca012f42f 22:46:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:17 ---> Running in 274172f50177 22:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:46:19 OK: 221 MiB in 51 packages 22:46:20 Removing intermediate container 274172f50177 22:46:20 ---> c997e4c572cf 22:46:20 Step 9/13 : WORKDIR /device-onvif-camera 22:46:20 ---> Running in 35e2de92fc03 22:46:20 Removing intermediate container 35e2de92fc03 22:46:20 ---> e133a48ea8bd 22:46:20 Step 10/13 : COPY go.mod vendor* ./ 22:46:21 ---> e8002461d043 22:46:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:21 ---> Running in 6bdf9b935043 22:47:17 Removing intermediate container 6bdf9b935043 22:47:17 ---> 55430573f07c 22:47:17 Step 12/13 : COPY . . 22:47:17 ---> 42c52a4b8a57 22:47:17 Step 13/13 : RUN ${MAKE} 22:47:17 ---> Running in 7bc01473a793 22:47:17 noop 22:47:17 Removing intermediate container 7bc01473a793 22:47:17 ---> 481ab3a490c9 22:47:17 Successfully built 481ab3a490c9 22:47:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:18 + docker inspect -f . ci-base-image-arm64 22:47:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:18 prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container 22:47:18 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:19 $ docker top 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:20 + go version 22:47:20 go version go1.18.7 linux/arm64 [Pipeline] } 22:47:20 $ docker stop --time=1 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 22:47:22 $ docker rm -f 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:23 + docker inspect -f . ci-base-image-arm64 22:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:23 prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container 22:47:23 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:24 $ docker top ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 22:47:25 + make test 22:47:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:47:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:49:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:49:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements 22:49:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:49:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.217s coverage: 86.5% of statements 22:49:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:49:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:49:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:49 ./bin/test-attribution-txt.sh [Pipeline] echo 22:49:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:49 $ docker stop --time=1 ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c 22:49:52 $ docker rm -f ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c [Pipeline] // withDockerContainer [Pipeline] sh 22:49:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:53 Warning: overwriting stash ‘coverage-report’ 22:49:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:55 + ls -al . 22:49:55 total 240 22:49:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:47 . 22:49:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 .. 22:49:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:45 .git 22:49:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:45 .github 22:49:55 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 22:45 .gitignore 22:49:55 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:45 .golangci.yml 22:49:55 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 22:45 Attribution.txt 22:49:55 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 22:45 CHANGELOG.md 22:49:55 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 25 22:45 Dockerfile 22:49:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:45 GOVERNANCE.md 22:49:55 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 22:45 Jenkinsfile 22:49:55 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 22:45 LICENSE 22:49:55 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 22:45 Makefile 22:49:55 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 22:45 OWNERS.md 22:49:55 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 22:45 README.md 22:49:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:43 VERSION 22:49:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:45 bin 22:49:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:45 cmd 22:49:55 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 22:49 coverage.out 22:49:55 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:45 doc 22:49:55 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 25 22:45 go.mod 22:49:55 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 25 22:45 go.sum 22:49:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 internal 22:49:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 snap 22:49:55 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:55 + 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=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a --label arch=arm64 --label version=0.0.0 . 22:49:56 Sending build context to Docker daemon 14.87MB 22:49:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:49:56 Step 2/26 : FROM ${BASE} AS builder 22:49:56 ---> 481ab3a490c9 22:49:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:49:56 ---> Running in acb29b8ac632 22:49:57 Removing intermediate container acb29b8ac632 22:49:57 ---> 2f2e51dbbb2d 22:49:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:57 ---> Running in b6be355c33d7 22:49:57 Removing intermediate container b6be355c33d7 22:49:57 ---> 611ff32e7935 22:49:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:49:57 ---> Running in 84edd85524a4 22:49:57 Removing intermediate container 84edd85524a4 22:49:57 ---> c8224c655b18 22:49:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:49:57 ---> Running in b64bdcba347e 22:49:58 Removing intermediate container b64bdcba347e 22:49:58 ---> b72e8de8626e 22:49:58 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:49:58 ---> Running in ad6b29742928 22:49:58 Removing intermediate container ad6b29742928 22:49:58 ---> 3bce54826cdf 22:49:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:58 ---> Running in 5269a0760323 22:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:50:01 OK: 221 MiB in 51 packages 22:50:02 Removing intermediate container 5269a0760323 22:50:02 ---> bff4ecb00a17 22:50:02 Step 9/26 : WORKDIR /device-onvif-camera 22:50:02 ---> Running in 60e649875bc9 22:50:02 Removing intermediate container 60e649875bc9 22:50:02 ---> 8bb4c850124b 22:50:02 Step 10/26 : COPY go.mod vendor* ./ 22:50:03 ---> 1f922207b072 22:50:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:03 ---> Running in 387a9f0fcbce 22:50:05 Removing intermediate container 387a9f0fcbce 22:50:05 ---> 0b080dc8a0a8 22:50:05 Step 12/26 : COPY . . 22:50:07 ---> d7a4f2dd13b5 22:50:07 Step 13/26 : RUN ${MAKE} 22:50:07 ---> Running in 53d4f96dd261 22:50:08 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.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:52:30 Removing intermediate container 53d4f96dd261 22:52:30 ---> 0089e2ce4507 22:52:30 Step 14/26 : FROM alpine:3.16 22:52:30 3.16: Pulling from library/alpine 22:52:30 9b18e9b68314: Already exists 22:52:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:52:31 Status: Downloaded newer image for alpine:3.16 22:52:31 ---> a6215f271958 22:52:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:52:31 ---> Running in c361793d46fc 22:52:31 Removing intermediate container c361793d46fc 22:52:31 ---> 153567039532 22:52:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:52:31 ---> Running in 60fbf2ee6fdc 22:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:52:33 (1/6) Installing dumb-init (1.2.5-r1) 22:52:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:52:33 (3/6) Installing libsodium (1.0.18-r0) 22:52:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:52:33 (5/6) Installing libzmq (4.3.4-r0) 22:52:33 (6/6) Installing zeromq (4.3.4-r0) 22:52:33 Executing busybox-1.35.0-r17.trigger 22:52:33 OK: 8 MiB in 20 packages 22:52:34 Removing intermediate container 60fbf2ee6fdc 22:52:34 ---> efa59a7dba5b 22:52:34 Step 17/26 : WORKDIR / 22:52:34 ---> Running in 3a8cec692be3 22:52:35 Removing intermediate container 3a8cec692be3 22:52:35 ---> 9c54482462b2 22:52:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:52:36 ---> 4aeceeb7a43c 22:52:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:52:37 ---> fcce03fbed01 22:52:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:52:37 ---> 57c96b77111c 22:52:37 Step 21/26 : EXPOSE 59984 22:52:37 ---> Running in bd4700a82b63 22:52:37 Removing intermediate container bd4700a82b63 22:52:37 ---> 895f3a50bb5e 22:52:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:52:37 ---> Running in a9ed5a1b3a31 22:52:38 Removing intermediate container a9ed5a1b3a31 22:52:38 ---> 46d9e4e81b47 22:52:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:52:38 ---> Running in 7372f3786180 22:52:38 Removing intermediate container 7372f3786180 22:52:38 ---> 4d1d23bda115 22:52:38 Step 24/26 : LABEL arch=arm64 22:52:38 ---> Running in 0e5123c51c89 22:52:39 Removing intermediate container 0e5123c51c89 22:52:39 ---> 31ae072c64b7 22:52:39 Step 25/26 : LABEL git_sha=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 22:52:39 ---> Running in 3ed632edd2a1 22:52:39 Removing intermediate container 3ed632edd2a1 22:52:39 ---> 2985931f308c 22:52:39 Step 26/26 : LABEL version=0.0.0 22:52:39 ---> Running in 0dcba99741de 22:52:39 Removing intermediate container 0dcba99741de 22:52:39 ---> b6778837c91d 22:52:39 [Warning] One or more build-args [ARCH] were not consumed 22:52:39 Successfully built b6778837c91d 22:52:39 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 22:52:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:40 22:52:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:40 arm64: Pulling from edgex-lftools-log-publisher 22:52:40 8998bd30e6a1: Pulling fs layer 22:52:40 04944245beec: Pulling fs layer 22:52:40 699f458cf7ca: Pulling fs layer 22:52:40 765212b225bb: Pulling fs layer 22:52:40 f23df028b6ca: Pulling fs layer 22:52:40 d65c8cfc05b1: Pulling fs layer 22:52:40 2437ff75d9bd: Pulling fs layer 22:52:40 765212b225bb: Waiting 22:52:40 f23df028b6ca: Waiting 22:52:40 d65c8cfc05b1: Waiting 22:52:40 2437ff75d9bd: Waiting 22:52:41 04944245beec: Verifying Checksum 22:52:41 04944245beec: Download complete 22:52:41 765212b225bb: Download complete 22:52:41 f23df028b6ca: Download complete 22:52:41 d65c8cfc05b1: Verifying Checksum 22:52:41 d65c8cfc05b1: Download complete 22:52:41 699f458cf7ca: Verifying Checksum 22:52:41 699f458cf7ca: Download complete 22:52:41 8998bd30e6a1: Verifying Checksum 22:52:41 8998bd30e6a1: Download complete 22:52:44 2437ff75d9bd: Verifying Checksum 22:52:44 2437ff75d9bd: Download complete 22:52:45 8998bd30e6a1: Pull complete 22:52:45 04944245beec: Pull complete 22:52:47 699f458cf7ca: Pull complete 22:52:47 765212b225bb: Pull complete 22:52:48 f23df028b6ca: Pull complete 22:52:48 d65c8cfc05b1: Pull complete 22:53:03 2437ff75d9bd: Pull complete 22:53:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:53:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:03 prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container 22:53:03 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:53:06 $ docker top 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:06 ---> job-cost.sh 22:53:06 lf-activate-venv: SKIPPING 22:53:06 INFO: No Stack... 22:53:07 INFO: Retrieving Pricing Info for: v3-standard-4 22:53:08 INFO: Archiving Costs [Pipeline] sh 22:53:08 + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, 22:53:08 -f6 [Pipeline] lock 22:53:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] 22:53:08 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] did not exist. Created. 22:53:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:09 /w/workspace/device-onvif-camera/1@tmp/durable-534f3af8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:53:09 + echo total: 0.10999999940395355 [Pipeline] stash 22:53:09 Warning: overwriting stash ‘stack-cost’ 22:53:09 Stashed 1 file(s) [Pipeline] } 22:53:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:53:09 $ docker stop --time=1 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 22:53:11 $ docker rm -f 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 [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 22:53:11 provisioning config files... 22:53:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config13842532159558801969tmp [Pipeline] { [Pipeline] sh 22:53:12 + set +x 22:53:12 + curl -s https://codecov.io/bash 22:53:12 + bash -s -- 22:53:12 22:53:12 _____ _ 22:53:12 / ____| | | 22:53:12 | | ___ __| | ___ ___ _____ __ 22:53:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:12 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:12 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:12 Bash-1.0.6 22:53:12 22:53:12 22:53:12 ==> git version 2.25.1 found 22:53:12 ==> 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 22:53:12 Release-Date: 2020-01-08 22:53:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:53:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:53:12 ==> Jenkins CI detected. 22:53:12 current dir:  /w/workspace/undry_device-onvif-camera_PR-187 22:53:12 project root: . 22:53:12 --> token set from env 22:53:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:12 ==> Running gcov in . (disable via -X gcov) 22:53:12 ==> Python coveragepy not found 22:53:12 ==> Searching for coverage reports in: 22:53:12 + . 22:53:12 -> Found 1 reports 22:53:12 ==> Detecting git/mercurial file structure 22:53:12 ==> Reading reports 22:53:12 + ./coverage.out bytes=78636 22:53:12 ==> Appending adjustments 22:53:12 https://docs.codecov.io/docs/fixing-reports 22:53:12 + Found adjustments 22:53:12 ==> Gzipping contents 22:53:12 12K /tmp/codecov.PwpLif.gz 22:53:12 ==> Uploading reports 22:53:12 url: https://codecov.io 22:53:12 query: branch=PR-187&commit=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= 22:53:12 -> Pinging Codecov 22:53:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-187&commit=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= 22:53:13 -> Uploading to 22:53:13 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a/0fc8eca3-8678-4fcf-b175-3914c9ff6a51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T225312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e48528280ea515eb94ef5897f122d9f8e0ff6ac1f9d55259e68fa639445a9bc0 22:53:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:13 Dload Upload Total Spent Left Speed 22:53:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10816 0 0 100 10816 0 38628 --:--:-- --:--:-- --:--:-- 38628 22:53:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] } 22:53:13 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 22:53:14 + [ -d /w/workspace/undry_device-onvif-camera_PR-187/archives ] 22:53:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives 22:53:14 total 16 22:53:14 drwxr-xr-x 3 root root 4096 Oct 25 22:45 . 22:53:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:45 .. 22:53:14 drwxr-xr-x 2 root root 4096 Oct 25 22:45 cost 22:53:14 -rw-r--r-- 1 root root 91 Oct 25 22:45 cost.csv 22:53:14 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-187/archives 22:53:14 + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives 22:53:14 total 16 22:53:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:45 . 22:53:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:45 .. 22:53:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:45 cost 22:53:14 -rw-r--r-- 1 jenkins jenkins 91 Oct 25 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:53:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:53:16 ---> package-listing.sh 22:53:16 ++ facter osfamily 22:53:16 ++ tr '[:upper:]' '[:lower:]' 22:53:16 + OS_FAMILY=debian 22:53:16 + workspace=/w/workspace/undry_device-onvif-camera_PR-187 22:53:16 + START_PACKAGES=/tmp/packages_start.txt 22:53:16 + END_PACKAGES=/tmp/packages_end.txt 22:53:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:53:16 + PACKAGES=/tmp/packages_start.txt 22:53:16 + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' 22:53:16 + PACKAGES=/tmp/packages_end.txt 22:53:16 + case "${OS_FAMILY}" in 22:53:16 + dpkg -l 22:53:16 + grep '^ii' 22:53:16 + '[' -f /tmp/packages_start.txt ']' 22:53:16 + '[' -f /tmp/packages_end.txt ']' 22:53:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:53:16 + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' 22:53:16 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-187/archives/ 22:53:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-187/archives/ [Pipeline] echo 22:53:16 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:53:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:53:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:17 prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container 22:53:17 $ 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-187/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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:53:17 $ docker top c35b619281bb1ab00e6f71991819c816f1a65be9e8a0cec0decf20fa0434d5fe -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:18 + touch /tmp/pre-build-complete [Pipeline] sh 22:53:18 + mkdir -p /var/log/sysstat [Pipeline] sh 22:53:18 + ls /var/log/sa-host 22:53:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:18 provisioning config files... 22:53:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config15205430646347889453tmp [Pipeline] { [Pipeline] echo 22:53:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:19 ---> create-netrc.sh [Pipeline] } 22:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:53:19 ---> python-tools-install.sh [Pipeline] echo 22:53:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:53:20 ---> sudo-logs.sh 22:53:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:53:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:53:20 ---> job-cost.sh 22:53:20 lf-activate-venv: SKIPPING 22:53:20 DEBUG: total: 0.2199999988079071 22:53:20 INFO: Retrieving Stack Cost... 22:53:20 INFO: Retrieving Pricing Info for: v3-standard-8 22:53:21 INFO: Archiving Costs [Pipeline] echo 22:53:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:53:21 ---> logs-deploy.sh 22:53:21 lf-activate-venv: SKIPPING 22:53:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-187/1 22:53:21 INFO: archiving workspace using pattern(s): 22:53:22 Archives upload complete. 22:53:22 INFO: archiving logs to Nexus 22:53:23 ---> uname -a: 22:53:23 Linux prd-ubuntu20-04-docker-8c-8g-116995 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:53:23 22:53:23