Pull request #350 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4db93aea9123a1e2911bdb29f58f0353fec7ed69+1961be3dbf536bee699796c7591b42b4c7bef829 (8cdd55d7a3c44fdb7261b71940c615e8f05b37cc) 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-ssh16346509756158609855.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1485024638835531539.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-350/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-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16996566304630778608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8063155503857624577.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh16539887244089619868.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-350/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-350/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7651273524203187513.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14786’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14787 in /w/workspace/undry_device-onvif-camera_PR-350 [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-350 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 4db93aea9123a1e2911bdb29f58f0353fec7ed69 Merge succeeded, producing 4db93aea9123a1e2911bdb29f58f0353fec7ed69 Checking out Revision 4db93aea9123a1e2911bdb29f58f0353fec7ed69 (PR-350) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage > git config core.sparsecheckout # timeout=10 > git checkout -f 4db93aea9123a1e2911bdb29f58f0353fec7ed69 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4db93aea9123a1e2911bdb29f58f0353fec7ed69 # timeout=10 [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:19 ========================================================= 22:19:19 EdgeX Global Pipelines Version Info 22:19:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:20 ------------------- 22:19:20 stable info: 22:19:20 ------------------- 22:19:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:19:20 Message: update stable to v1.0.249 22:19:21 ------------------- 22:19:21 experimental info: 22:19:21 ------------------- 22:19:21 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:19:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-350 [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-350 [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-350 [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4db93aea9123a1e2911bdb29f58f0353fec7ed69 [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4db93ae [Pipeline] echo 22:19:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:23 provisioning config files... 22:19:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-350@tmp/config7153972827534615222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:23 ---> docker-login.sh 22:19:23 nexus3.edgexfoundry.org:10001 22:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:23 Configure a credential helper to remove this warning. See 22:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:23 22:19:23 Login Succeeded 22:19:23 nexus3.edgexfoundry.org:10002 22:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:23 Configure a credential helper to remove this warning. See 22:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:23 22:19:23 Login Succeeded 22:19:23 nexus3.edgexfoundry.org:10003 22:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:23 Configure a credential helper to remove this warning. See 22:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:23 22:19:23 Login Succeeded 22:19:23 nexus3.edgexfoundry.org:10004 22:19:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:23 Configure a credential helper to remove this warning. See 22:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:23 22:19:23 Login Succeeded 22:19:24 docker.io 22:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:24 Configure a credential helper to remove this warning. See 22:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:24 22:19:24 Login Succeeded 22:19:24 ---> docker-login.sh ends [Pipeline] } 22:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:19:25 + git rev-list -1 --merges 4db93aea9123a1e2911bdb29f58f0353fec7ed69~1..4db93aea9123a1e2911bdb29f58f0353fec7ed69 [Pipeline] echo 22:19:25 -----------> git rev-list -1 --merges 4db93aea9123a1e2911bdb29f58f0353fec7ed69~1..4db93aea9123a1e2911bdb29f58f0353fec7ed69 4db93aea9123a1e2911bdb29f58f0353fec7ed69 [false] [Pipeline] sh 22:19:25 + git log --format=format:%s -1 4db93aea9123a1e2911bdb29f58f0353fec7ed69 [Pipeline] echo 22:19:25 ========================================================= 22:19:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:19:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:25 + git log --format=format:%s -1 4db93aea9123a1e2911bdb29f58f0353fec7ed69 [Pipeline] echo 22:19:25 [semverPrep] GIT_COMMIT: 4db93aea9123a1e2911bdb29f58f0353fec7ed69, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 22:19:26 [semverPrep] This is not a build commit. [Pipeline] sh 22:19:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:19:26 + grep -v github /etc/ssh/ssh_known_hosts 22:19:26 + [ -e /tmp/ssh_known_hosts ] 22:19:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:19:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:19:26 + sudo tee -a /etc/ssh/ssh_known_hosts 22:19:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:26 22:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:27 0.1.4: Pulling from edgex-devops/py-git-semver 22:19:27 b85a868b505f: Pulling fs layer 22:19:27 e2be974225ed: Pulling fs layer 22:19:27 339a4e72a1f5: Pulling fs layer 22:19:27 988bab9f4d93: Pulling fs layer 22:19:27 1469e6f7b9e6: Pulling fs layer 22:19:27 eaf3925da568: Pulling fs layer 22:19:27 bab4dde63d76: Pulling fs layer 22:19:27 bde34c3a00c8: Pulling fs layer 22:19:27 b352a97aabf1: Pulling fs layer 22:19:27 4872d77fe225: Pulling fs layer 22:19:27 5851b861e8e6: Pulling fs layer 22:19:27 988bab9f4d93: Waiting 22:19:27 1469e6f7b9e6: Waiting 22:19:27 bde34c3a00c8: Waiting 22:19:27 4872d77fe225: Waiting 22:19:27 b352a97aabf1: Waiting 22:19:27 eaf3925da568: Waiting 22:19:27 bab4dde63d76: Waiting 22:19:27 e2be974225ed: Download complete 22:19:27 988bab9f4d93: Download complete 22:19:27 1469e6f7b9e6: Verifying Checksum 22:19:27 1469e6f7b9e6: Download complete 22:19:27 eaf3925da568: Verifying Checksum 22:19:27 eaf3925da568: Download complete 22:19:27 339a4e72a1f5: Verifying Checksum 22:19:27 339a4e72a1f5: Download complete 22:19:27 bde34c3a00c8: Verifying Checksum 22:19:27 bde34c3a00c8: Download complete 22:19:27 b352a97aabf1: Verifying Checksum 22:19:27 b352a97aabf1: Download complete 22:19:27 4872d77fe225: Verifying Checksum 22:19:27 4872d77fe225: Download complete 22:19:27 5851b861e8e6: Verifying Checksum 22:19:27 5851b861e8e6: Download complete 22:19:27 b85a868b505f: Verifying Checksum 22:19:27 b85a868b505f: Download complete 22:19:27 bab4dde63d76: Verifying Checksum 22:19:27 bab4dde63d76: Download complete 22:19:28 b85a868b505f: Pull complete 22:19:28 e2be974225ed: Pull complete 22:19:29 339a4e72a1f5: Pull complete 22:19:29 988bab9f4d93: Pull complete 22:19:29 1469e6f7b9e6: Pull complete 22:19:29 eaf3925da568: Pull complete 22:19:31 bab4dde63d76: Pull complete 22:19:31 bde34c3a00c8: Pull complete 22:19:31 b352a97aabf1: Pull complete 22:19:31 4872d77fe225: Pull complete 22:19:31 5851b861e8e6: Pull complete 22:19:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:19:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:19:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:31 prd-ubuntu20.04-docker-8c-8g-14787 does not seem to be running inside a container 22:19:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-350 -v /w/workspace/undry_device-onvif-camera_PR-350:/w/workspace/undry_device-onvif-camera_PR-350:rw,z -v /w/workspace/undry_device-onvif-camera_PR-350@tmp:/w/workspace/undry_device-onvif-camera_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:19:33 $ docker top 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b -eo pid,comm 22:19:33 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:19:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:19:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:33 [ssh-agent] Looking for ssh-agent implementation... 22:19:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:33 $ docker exec 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b ssh-agent 22:19:33 SSH_AUTH_SOCK=/tmp/ssh-NFzdOVJbE4pL/agent.32 22:19:33 SSH_AGENT_PID=38 22:19:33 Running ssh-add (command line suppressed) 22:19:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-350@tmp/private_key_2111896421063171636.key (/w/workspace/undry_device-onvif-camera_PR-350@tmp/private_key_2111896421063171636.key) 22:19:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:34 + git tag --points-at HEAD [Pipeline] } 22:19:34 $ docker exec --env ******** --env ******** 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b ssh-agent -k 22:19:34 unset SSH_AUTH_SOCK; 22:19:34 unset SSH_AGENT_PID; 22:19:34 echo Agent pid 38 killed; 22:19:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:19:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:19:34 [ssh-agent] Looking for ssh-agent implementation... 22:19:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:19:34 $ docker exec 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b ssh-agent 22:19:34 SSH_AUTH_SOCK=/tmp/ssh-xRHNjso1bBNp/agent.70 22:19:34 SSH_AGENT_PID=76 22:19:34 Running ssh-add (command line suppressed) 22:19:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-350@tmp/private_key_18332054265409819834.key (/w/workspace/undry_device-onvif-camera_PR-350@tmp/private_key_18332054265409819834.key) 22:19:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:19:35 + git semver init 22:19:35 2023-05-09 22:19:35,476 [run_init] DEBUG init version:0.0.0 force:False 22:19:35 2023-05-09 22:19:35,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-350/.semver 22:19:35 2023-05-09 22:19:35,477 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-350/.semver 22:19:35 2023-05-09 22:19:35,477 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-350/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-350, universal_newlines=False, shell=None, istream=None) 22:19:36 2023-05-09 22:19:36,294 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-350/.git/info/exclude 22:19:36 2023-05-09 22:19:36,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-350/.semver/PR-350 with force:False 22:19:36 2023-05-09 22:19:36,295 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-350/.semver/PR-350 22:19:36 2023-05-09 22:19:36,299 [execute] INFO git cat-file --batch-check 22:19:36 2023-05-09 22:19:36,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-350/.semver, universal_newlines=False, shell=None, istream=) 22:19:36 2023-05-09 22:19:36,308 [execute] INFO git cat-file --batch 22:19:36 2023-05-09 22:19:36,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-350/.semver, universal_newlines=False, shell=None, istream=) 22:19:36 2023-05-09 22:19:36,316 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-350/.semver/PR-350 22:19:36 0.0.0 [Pipeline] } 22:19:36 $ docker exec --env ******** --env ******** 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b ssh-agent -k 22:19:36 unset SSH_AUTH_SOCK; 22:19:36 unset SSH_AGENT_PID; 22:19:36 echo Agent pid 76 killed; 22:19:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:19:37 + git semver [Pipeline] } 22:19:37 $ docker stop --time=1 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b 22:19:38 $ docker rm -f --volumes 606d628d84c34c3b60b0692a2a6c99f441ac0d2ad0e2263e0fabaef6e5a8377b [Pipeline] // withDockerContainer [Pipeline] sh 22:19:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:19:39 Stashed 1 file(s) [Pipeline] echo 22:19:39 [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:19:39 provisioning config files... 22:19:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-350@tmp/config14434744395566077130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:40 ---> docker-login.sh 22:19:40 nexus3.edgexfoundry.org:10001 22:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:40 Configure a credential helper to remove this warning. See 22:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:40 22:19:40 Login Succeeded 22:19:40 nexus3.edgexfoundry.org:10002 22:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:40 Configure a credential helper to remove this warning. See 22:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:40 22:19:40 Login Succeeded 22:19:40 nexus3.edgexfoundry.org:10003 22:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:40 Configure a credential helper to remove this warning. See 22:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:40 22:19:40 Login Succeeded 22:19:40 nexus3.edgexfoundry.org:10004 22:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:40 Configure a credential helper to remove this warning. See 22:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:40 22:19:40 Login Succeeded 22:19:40 docker.io 22:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:40 Configure a credential helper to remove this warning. See 22:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:40 22:19:40 Login Succeeded 22:19:40 ---> docker-login.sh ends [Pipeline] } 22:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:41 ========================================================= 22:19:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:19:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:19:41 Sending build context to Docker daemon 21.55MB 22:19:41 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:19:41 Step 2/13 : FROM ${BASE} AS builder 22:19:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:19:41 f56be85fc22e: Pulling fs layer 22:19:41 85791d961cd3: Pulling fs layer 22:19:41 d694b5ae8c79: Pulling fs layer 22:19:41 9f32a84ed3da: Pulling fs layer 22:19:41 4d19c01a9841: Pulling fs layer 22:19:41 9325e15d5711: Pulling fs layer 22:19:41 556b6ee489ea: Pulling fs layer 22:19:41 c5a4b2cf53e6: Pulling fs layer 22:19:41 556b6ee489ea: Waiting 22:19:41 c5a4b2cf53e6: Waiting 22:19:41 9f32a84ed3da: Waiting 22:19:41 9325e15d5711: Waiting 22:19:41 4d19c01a9841: Waiting 22:19:41 85791d961cd3: Verifying Checksum 22:19:41 85791d961cd3: Download complete 22:19:41 9f32a84ed3da: Download complete 22:19:41 4d19c01a9841: Download complete 22:19:41 f56be85fc22e: Verifying Checksum 22:19:41 f56be85fc22e: Download complete 22:19:41 9325e15d5711: Verifying Checksum 22:19:41 9325e15d5711: Download complete 22:19:41 f56be85fc22e: Pull complete 22:19:42 85791d961cd3: Pull complete 22:19:42 d694b5ae8c79: Verifying Checksum 22:19:42 d694b5ae8c79: Download complete 22:19:42 c5a4b2cf53e6: Verifying Checksum 22:19:42 c5a4b2cf53e6: Download complete 22:19:42 556b6ee489ea: Verifying Checksum 22:19:42 556b6ee489ea: Download complete 22:19:45 d694b5ae8c79: Pull complete 22:19:45 9f32a84ed3da: Pull complete 22:19:45 4d19c01a9841: Pull complete 22:19:45 9325e15d5711: Pull complete 22:19:48 556b6ee489ea: Pull complete 22:19:49 c5a4b2cf53e6: Pull complete 22:19:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:19:49 ---> c4be618373d6 22:19:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:19:51 ---> Running in b762cc478c43 22:19:51 Removing intermediate container b762cc478c43 22:19:51 ---> 4007208a2d7c 22:19:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:51 ---> Running in e08ffc4a064f 22:19:51 Removing intermediate container e08ffc4a064f 22:19:51 ---> f984b294bda6 22:19:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:19:51 ---> Running in ac1f4a325e83 22:19:51 Removing intermediate container ac1f4a325e83 22:19:51 ---> 8649139de629 22:19:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:19:51 ---> Running in dec50662f441 22:19:51 Removing intermediate container dec50662f441 22:19:51 ---> fba36642d4e5 22:19:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:19:51 ---> Running in 6b035d6a518f 22:19:51 Removing intermediate container 6b035d6a518f 22:19:51 ---> 31762da2efc1 22:19:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:51 ---> Running in 0f843585a343 22:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:19:52 OK: 265 MiB in 53 packages 22:19:52 Removing intermediate container 0f843585a343 22:19:52 ---> 29a9fa8cb4b4 22:19:52 Step 9/13 : WORKDIR /device-onvif-camera 22:19:52 ---> Running in c1670454ad50 22:19:52 Removing intermediate container c1670454ad50 22:19:52 ---> 0677995d0fba 22:19:52 Step 10/13 : COPY go.mod vendor* ./ 22:19:52 ---> 58b2df3cb6e1 22:19:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:52 ---> Running in dd555e118b8a 22:19:54 Still waiting to schedule task 22:19:54 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:19:54 ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:19:54 ‘prd-ubuntu20.04-docker-8c-8g-14786’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:19:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14788’ is offline 22:20:14 Removing intermediate container dd555e118b8a 22:20:14 ---> fb45c5cc04dc 22:20:14 Step 12/13 : COPY . . 22:20:14 ---> 61fbcb547395 22:20:14 Step 13/13 : RUN ${MAKE} 22:20:14 ---> Running in a7b75142c0d8 22:20:14 noop 22:20:14 Removing intermediate container a7b75142c0d8 22:20:14 ---> fe9131710d23 22:20:14 Successfully built fe9131710d23 22:20:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:15 + docker inspect -f . ci-base-image-x86_64 22:20:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:15 prd-ubuntu20.04-docker-8c-8g-14787 does not seem to be running inside a container 22:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-350 -v /w/workspace/undry_device-onvif-camera_PR-350:/w/workspace/undry_device-onvif-camera_PR-350:rw,z -v /w/workspace/undry_device-onvif-camera_PR-350@tmp:/w/workspace/undry_device-onvif-camera_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:15 $ docker top 0b36ef4f54ad05bcde17486c0700fd38533514c40c80049538977ec1ca6387af -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:16 + go version 22:20:16 go version go1.20.2 linux/amd64 [Pipeline] } 22:20:16 $ docker stop --time=1 0b36ef4f54ad05bcde17486c0700fd38533514c40c80049538977ec1ca6387af 22:20:17 $ docker rm -f --volumes 0b36ef4f54ad05bcde17486c0700fd38533514c40c80049538977ec1ca6387af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:18 + docker inspect -f . ci-base-image-x86_64 22:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:18 prd-ubuntu20.04-docker-8c-8g-14787 does not seem to be running inside a container 22:20:18 $ 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-350 -v /w/workspace/undry_device-onvif-camera_PR-350:/w/workspace/undry_device-onvif-camera_PR-350:rw,z -v /w/workspace/undry_device-onvif-camera_PR-350@tmp:/w/workspace/undry_device-onvif-camera_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:20:18 $ docker top ec61a8b4ef66ab5ceeb7bf0980cd0c821ab45a5a1e85ffad5ca6ff80d56d78bf -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:19 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-350 [Pipeline] fileExists [Pipeline] sh 22:20:19 + make test 22:20:19 go test ./... -coverprofile=coverage.out ./... 22:20:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:34 # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] 22:20:34 internal/driver/credentials_test.go:219:48: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:20:34 internal/driver/driver_test.go:52:22: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in assignment: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:20:34 internal/driver/macmapper_test.go:134:35: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:20:34 internal/driver/macmapper_test.go:256:50: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:20:34 internal/driver/macmapper_test.go:318:48: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:20:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:34 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:20:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.538s coverage: 86.5% of statements 22:20:37 FAIL 22:20:37 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 22:20:37 $ docker stop --time=1 ec61a8b4ef66ab5ceeb7bf0980cd0c821ab45a5a1e85ffad5ca6ff80d56d78bf 22:20:39 $ docker rm -f --volumes ec61a8b4ef66ab5ceeb7bf0980cd0c821ab45a5a1e85ffad5ca6ff80d56d78bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:40 22:20:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:40 latest: Pulling from edgex-lftools-log-publisher 22:20:40 5eb5b503b376: Pulling fs layer 22:20:40 5c69ac0246d0: Pulling fs layer 22:20:40 ec43610c2a17: Pulling fs layer 22:20:40 3a2ae6a8a46f: Pulling fs layer 22:20:40 33b1e0a273af: Pulling fs layer 22:20:40 5d3b04190fa2: Pulling fs layer 22:20:40 2f39f015ded8: Pulling fs layer 22:20:40 2f39f015ded8: Waiting 22:20:40 33b1e0a273af: Waiting 22:20:40 5d3b04190fa2: Waiting 22:20:40 3a2ae6a8a46f: Waiting 22:20:40 5c69ac0246d0: Verifying Checksum 22:20:40 5c69ac0246d0: Download complete 22:20:40 3a2ae6a8a46f: Download complete 22:20:40 33b1e0a273af: Verifying Checksum 22:20:40 33b1e0a273af: Download complete 22:20:40 5d3b04190fa2: Verifying Checksum 22:20:40 5d3b04190fa2: Download complete 22:20:40 ec43610c2a17: Verifying Checksum 22:20:40 ec43610c2a17: Download complete 22:20:40 5eb5b503b376: Verifying Checksum 22:20:40 5eb5b503b376: Download complete 22:20:41 2f39f015ded8: Download complete 22:20:42 5eb5b503b376: Pull complete 22:20:42 5c69ac0246d0: Pull complete 22:20:42 ec43610c2a17: Pull complete 22:20:42 3a2ae6a8a46f: Pull complete 22:20:42 33b1e0a273af: Pull complete 22:20:42 5d3b04190fa2: Pull complete 22:20:47 2f39f015ded8: Pull complete 22:20:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:20:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:47 prd-ubuntu20.04-docker-8c-8g-14787 does not seem to be running inside a container 22:20:47 $ 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-350 -v /w/workspace/undry_device-onvif-camera_PR-350:/w/workspace/undry_device-onvif-camera_PR-350:rw,z -v /w/workspace/undry_device-onvif-camera_PR-350@tmp:/w/workspace/undry_device-onvif-camera_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:20:48 $ docker top e503b1108d1fd7c7ea3b217dad1db35ec3c9288a36d7a0a9a017a64ad3a0d708 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:49 ---> job-cost.sh 22:20:49 lf-activate-venv: SKIPPING 22:20:49 INFO: No Stack... 22:20:49 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:49 INFO: Archiving Costs [Pipeline] sh 22:20:49 + cat /w/workspace/undry_device-onvif-camera_PR-350/archives/cost.csv 22:20:49 + cut -d, -f6 [Pipeline] lock 22:20:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] 22:20:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] did not exist. Created. 22:20:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:50 + echo total: 0.2199999988079071 [Pipeline] stash 22:20:50 Stashed 1 file(s) [Pipeline] } 22:20:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:20:50 $ docker stop --time=1 e503b1108d1fd7c7ea3b217dad1db35ec3c9288a36d7a0a9a017a64ad3a0d708 22:20:51 $ docker rm -f --volumes e503b1108d1fd7c7ea3b217dad1db35ec3c9288a36d7a0a9a017a64ad3a0d708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:20:52 Failed in branch amd64 22:22:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14790 in /w/workspace/undry_device-onvif-camera_PR-350 [Pipeline] { [Pipeline] ws 22:22:11 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 22:22:11 The recommended git tool is: git 22:22:18 using credential edgex-jenkins-ssh 22:22:18 Cloning the remote Git repository 22:22:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:22:18 > git init /w/workspace/device-onvif-camera/1 # timeout=10 22:22:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:22:18 > git --version # timeout=10 22:22:18 > git --version # 'git version 2.25.1' 22:22:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:22:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:22:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:22:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:22:21 Merging remotes/origin/main commit 1961be3dbf536bee699796c7591b42b4c7bef829 into PR head commit 4db93aea9123a1e2911bdb29f58f0353fec7ed69 22:22:22 Merge succeeded, producing 4db93aea9123a1e2911bdb29f58f0353fec7ed69 22:22:22 Checking out Revision 4db93aea9123a1e2911bdb29f58f0353fec7ed69 (PR-350) 22:22:21 > git config core.sparsecheckout # timeout=10 22:22:22 > git checkout -f 4db93aea9123a1e2911bdb29f58f0353fec7ed69 # timeout=10 22:22:22 > git remote # timeout=10 22:22:22 > git config --get remote.origin.url # timeout=10 22:22:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:22 > git merge 1961be3dbf536bee699796c7591b42b4c7bef829 # timeout=10 22:22:22 > git rev-parse HEAD^{commit} # timeout=10 22:22:22 > git config core.sparsecheckout # timeout=10 22:22:22 > git checkout -f 4db93aea9123a1e2911bdb29f58f0353fec7ed69 # timeout=10 22:22:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 22:22:23 > git --version # timeout=10 22:22:23 > git --version # 'git version 2.25.1' 22:22:23 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:22:24 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:24 Dload Upload Total Spent Left Speed 22:22:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 22:22:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:22:25 + sudo tee /etc/docker/daemon.new 22:22:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:22:25 { 22:22:25 "registry-mirrors": [ 22:22:25 "https://nexus3.edgexfoundry.org:10001" 22:22:25 ], 22:22:25 "bip": "10.250.0.254/24", 22:22:25 "hosts": [ 22:22:25 "tcp://0.0.0.0:5555", 22:22:25 "unix:///var/run/docker.sock" 22:22:25 ], 22:22:25 "mtu": 1458, 22:22:25 "selinux-enabled": true, 22:22:25 "seccomp-profile": "/etc/docker/seccomp.json" 22:22:25 } [Pipeline] sh 22:22:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:22:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:44 provisioning config files... 22:22:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config17626228704605734013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:45 ---> docker-login.sh 22:22:45 nexus3.edgexfoundry.org:10001 22:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:45 Configure a credential helper to remove this warning. See 22:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:45 22:22:45 Login Succeeded 22:22:45 nexus3.edgexfoundry.org:10002 22:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:46 Configure a credential helper to remove this warning. See 22:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:46 22:22:46 Login Succeeded 22:22:46 nexus3.edgexfoundry.org:10003 22:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:46 Configure a credential helper to remove this warning. See 22:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:46 22:22:46 Login Succeeded 22:22:46 nexus3.edgexfoundry.org:10004 22:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:47 Configure a credential helper to remove this warning. See 22:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:47 22:22:47 Login Succeeded 22:22:47 docker.io 22:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:47 Configure a credential helper to remove this warning. See 22:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:47 22:22:47 Login Succeeded 22:22:47 ---> docker-login.sh ends [Pipeline] } 22:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:22:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:48 ========================================================= 22:22:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:22:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:22:49 Sending build context to Docker daemon 14.19MB 22:22:49 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:22:49 Step 2/13 : FROM ${BASE} AS builder 22:22:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:22:49 c41833b44d91: Pulling fs layer 22:22:49 ed15518f5707: Pulling fs layer 22:22:49 feae8fd75edb: Pulling fs layer 22:22:49 242c74f7c9fa: Pulling fs layer 22:22:49 3cdef696dda3: Pulling fs layer 22:22:49 2ced38df9373: Pulling fs layer 22:22:49 58f1dce35555: Pulling fs layer 22:22:49 242c74f7c9fa: Waiting 22:22:49 3cdef696dda3: Waiting 22:22:49 58f1dce35555: Waiting 22:22:49 ed15518f5707: Verifying Checksum 22:22:49 ed15518f5707: Download complete 22:22:49 242c74f7c9fa: Verifying Checksum 22:22:49 242c74f7c9fa: Download complete 22:22:49 3cdef696dda3: Verifying Checksum 22:22:49 3cdef696dda3: Download complete 22:22:49 c41833b44d91: Download complete 22:22:50 c41833b44d91: Pull complete 22:22:51 58f1dce35555: Verifying Checksum 22:22:51 58f1dce35555: Download complete 22:22:51 ed15518f5707: Pull complete 22:22:52 feae8fd75edb: Verifying Checksum 22:22:52 feae8fd75edb: Download complete 22:22:52 2ced38df9373: Verifying Checksum 22:22:52 2ced38df9373: Download complete 22:23:05 feae8fd75edb: Pull complete 22:23:05 242c74f7c9fa: Pull complete 22:23:05 3cdef696dda3: Pull complete 22:23:11 2ced38df9373: Pull complete 22:23:14 58f1dce35555: Pull complete 22:23:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:23:14 ---> fadd8f120f05 22:23:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:23:16 ---> Running in 0edc5aceead9 22:23:16 Removing intermediate container 0edc5aceead9 22:23:16 ---> b7a4c0d95083 22:23:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:16 ---> Running in 3439821427a2 22:23:17 Removing intermediate container 3439821427a2 22:23:17 ---> d1498cb19994 22:23:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:23:17 ---> Running in d1514754438f 22:23:17 Removing intermediate container d1514754438f 22:23:17 ---> 56b7d374487b 22:23:17 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:23:17 ---> Running in 7142df80d86e 22:23:18 Removing intermediate container 7142df80d86e 22:23:18 ---> 68ee7e604c2b 22:23:18 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:23:18 ---> Running in 52f081e9512d 22:23:18 Removing intermediate container 52f081e9512d 22:23:18 ---> b96767f4d548 22:23:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:23:18 ---> Running in ff1aa2457b7f 22:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:23:22 OK: 263 MiB in 53 packages 22:23:23 Removing intermediate container ff1aa2457b7f 22:23:23 ---> b7ef2689b108 22:23:23 Step 9/13 : WORKDIR /device-onvif-camera 22:23:23 ---> Running in 3c45990ab8fe 22:23:23 Removing intermediate container 3c45990ab8fe 22:23:23 ---> 10c68fe4b373 22:23:23 Step 10/13 : COPY go.mod vendor* ./ 22:23:23 ---> 2e374851f4bd 22:23:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:24 ---> Running in 8bdc2cfcfbfd 22:24:32 Removing intermediate container 8bdc2cfcfbfd 22:24:32 ---> a2c6d1bca285 22:24:32 Step 12/13 : COPY . . 22:24:32 ---> 42532960de4e 22:24:32 Step 13/13 : RUN ${MAKE} 22:24:32 ---> Running in 0d35093e1a80 22:24:32 noop 22:24:32 Removing intermediate container 0d35093e1a80 22:24:32 ---> 7982a94cdea6 22:24:32 Successfully built 7982a94cdea6 22:24:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:32 + docker inspect -f . ci-base-image-arm64 22:24:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:32 prd-ubuntu20.04-docker-arm64-4c-16g-14790 does not seem to be running inside a container 22:24:32 $ 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 ******** ci-base-image-arm64 cat 22:24:34 $ docker top efa431bc9edaa63bc88a07f05caa41d928385c243f5d1390523da0813787990e -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:35 + go version 22:24:35 go version go1.20.2 linux/arm64 [Pipeline] } 22:24:35 $ docker stop --time=1 efa431bc9edaa63bc88a07f05caa41d928385c243f5d1390523da0813787990e 22:24:36 $ docker rm -f --volumes efa431bc9edaa63bc88a07f05caa41d928385c243f5d1390523da0813787990e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:37 + docker inspect -f . ci-base-image-arm64 22:24:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:38 prd-ubuntu20.04-docker-arm64-4c-16g-14790 does not seem to be running inside a container 22:24:38 $ 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 ******** ci-base-image-arm64 cat 22:24:40 $ docker top b9b8607e9dee3d809c67a61b81450effb30675a6b6cad6a421df6c877375cfe0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 22:24:42 + make test 22:24:42 go test ./... -coverprofile=coverage.out ./... 22:25:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:27:43 # github.com/edgexfoundry/device-onvif-camera/internal/driver [github.com/edgexfoundry/device-onvif-camera/internal/driver.test] 22:27:43 internal/driver/credentials_test.go:219:48: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:27:43 internal/driver/driver_test.go:52:22: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in assignment: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:27:43 internal/driver/macmapper_test.go:134:35: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:27:43 internal/driver/macmapper_test.go:256:50: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:27:43 internal/driver/macmapper_test.go:318:48: cannot use mockService (variable of type *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK value in argument to NewMACAddressMapper: *"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks".DeviceServiceSDK does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK (missing method Run) 22:27:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:27:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:27:43 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:28:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.424s coverage: 86.5% of statements 22:28:10 FAIL 22:28:10 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 22:28:10 $ docker stop --time=1 b9b8607e9dee3d809c67a61b81450effb30675a6b6cad6a421df6c877375cfe0 22:28:12 $ docker rm -f --volumes b9b8607e9dee3d809c67a61b81450effb30675a6b6cad6a421df6c877375cfe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:14 22:28:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:14 arm64: Pulling from edgex-lftools-log-publisher 22:28:14 8998bd30e6a1: Pulling fs layer 22:28:14 04944245beec: Pulling fs layer 22:28:14 699f458cf7ca: Pulling fs layer 22:28:14 765212b225bb: Pulling fs layer 22:28:14 f23df028b6ca: Pulling fs layer 22:28:14 d65c8cfc05b1: Pulling fs layer 22:28:14 2437ff75d9bd: Pulling fs layer 22:28:14 f23df028b6ca: Waiting 22:28:14 d65c8cfc05b1: Waiting 22:28:14 2437ff75d9bd: Waiting 22:28:14 765212b225bb: Waiting 22:28:14 04944245beec: Verifying Checksum 22:28:14 04944245beec: Download complete 22:28:14 765212b225bb: Verifying Checksum 22:28:14 765212b225bb: Download complete 22:28:15 f23df028b6ca: Verifying Checksum 22:28:15 f23df028b6ca: Download complete 22:28:15 d65c8cfc05b1: Verifying Checksum 22:28:15 d65c8cfc05b1: Download complete 22:28:15 699f458cf7ca: Verifying Checksum 22:28:15 699f458cf7ca: Download complete 22:28:15 8998bd30e6a1: Verifying Checksum 22:28:15 8998bd30e6a1: Download complete 22:28:17 2437ff75d9bd: Verifying Checksum 22:28:17 2437ff75d9bd: Download complete 22:28:19 8998bd30e6a1: Pull complete 22:28:19 04944245beec: Pull complete 22:28:21 699f458cf7ca: Pull complete 22:28:21 765212b225bb: Pull complete 22:28:22 f23df028b6ca: Pull complete 22:28:22 d65c8cfc05b1: Pull complete 22:28:34 2437ff75d9bd: Pull complete 22:28:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:28:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-14790 does not seem to be running inside a container 22:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:28:38 $ docker top 9c5ab1e0dba0d6b981ad2d308894e4c31894e4d0d11295a506828c16dc143403 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:39 ---> job-cost.sh 22:28:39 lf-activate-venv: SKIPPING 22:28:39 INFO: No Stack... 22:28:39 INFO: Retrieving Pricing Info for: v3-standard-4 22:28:40 INFO: Archiving Costs [Pipeline] sh 22:28:40 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv+ 22:28:40 cut -d, -f6 [Pipeline] lock 22:28:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] 22:28:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] did not exist. Created. 22:28:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:41 /w/workspace/device-onvif-camera/1@tmp/durable-0a2f02af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:28:42 + echo total: 0.10999999940395355 [Pipeline] stash 22:28:42 Warning: overwriting stash ‘stack-cost’ 22:28:42 Stashed 1 file(s) [Pipeline] } 22:28:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:43 $ docker stop --time=1 9c5ab1e0dba0d6b981ad2d308894e4c31894e4d0d11295a506828c16dc143403 22:28:44 $ docker rm -f --volumes 9c5ab1e0dba0d6b981ad2d308894e4c31894e4d0d11295a506828c16dc143403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:45 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:28:47 + [ -d /w/workspace/undry_device-onvif-camera_PR-350/archives ] 22:28:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-350/archives 22:28:47 total 16 22:28:47 drwxr-xr-x 3 root root 4096 May 9 22:20 . 22:28:47 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:20 .. 22:28:47 drwxr-xr-x 2 root root 4096 May 9 22:20 cost 22:28:47 -rw-r--r-- 1 root root 91 May 9 22:20 cost.csv 22:28:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-350/archives 22:28:47 + ls -al /w/workspace/undry_device-onvif-camera_PR-350/archives 22:28:47 total 16 22:28:47 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:20 . 22:28:47 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:20 .. 22:28:47 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:20 cost 22:28:47 -rw-r--r-- 1 jenkins jenkins 91 May 9 22:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:28:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:28:48 ---> package-listing.sh 22:28:48 ++ tr '[:upper:]' '[:lower:]' 22:28:48 ++ facter osfamily 22:28:48 + OS_FAMILY=debian 22:28:48 + workspace=/w/workspace/undry_device-onvif-camera_PR-350 22:28:48 + START_PACKAGES=/tmp/packages_start.txt 22:28:48 + END_PACKAGES=/tmp/packages_end.txt 22:28:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:28:48 + PACKAGES=/tmp/packages_start.txt 22:28:48 + '[' /w/workspace/undry_device-onvif-camera_PR-350 ']' 22:28:48 + PACKAGES=/tmp/packages_end.txt 22:28:48 + case "${OS_FAMILY}" in 22:28:48 + dpkg -l 22:28:48 + grep '^ii' 22:28:48 + '[' -f /tmp/packages_start.txt ']' 22:28:48 + '[' -f /tmp/packages_end.txt ']' 22:28:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:28:48 + '[' /w/workspace/undry_device-onvif-camera_PR-350 ']' 22:28:48 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-350/archives/ 22:28:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-350/archives/ [Pipeline] echo 22:28:48 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-350/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:28:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:49 prd-ubuntu20.04-docker-8c-8g-14787 does not seem to be running inside a container 22:28:49 $ 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-350/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-350 -v /w/workspace/undry_device-onvif-camera_PR-350:/w/workspace/undry_device-onvif-camera_PR-350:rw,z -v /w/workspace/undry_device-onvif-camera_PR-350@tmp:/w/workspace/undry_device-onvif-camera_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:28:50 $ docker top cbce4cc431b08b6bce4cf5e06921e10e94e3027fceaa229a2262153bff71a867 -eo pid,comm [Pipeline] { [Pipeline] sh 22:28:50 + touch /tmp/pre-build-complete [Pipeline] sh 22:28:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:28:51 + ls /var/log/sa-host 22:28:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:51 provisioning config files... 22:28:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-350@tmp/config8618694959038193706tmp [Pipeline] { [Pipeline] echo 22:28:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:28:51 ---> create-netrc.sh [Pipeline] } 22:28:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:28:52 ---> python-tools-install.sh [Pipeline] echo 22:28:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:28:52 ---> sudo-logs.sh 22:28:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:28:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:28:52 ---> job-cost.sh 22:28:52 lf-activate-venv: SKIPPING 22:28:52 DEBUG: total: 0.2199999988079071 22:28:52 INFO: Retrieving Stack Cost... 22:28:53 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:53 INFO: Archiving Costs [Pipeline] echo 22:28:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:28:54 ---> logs-deploy.sh 22:28:54 lf-activate-venv: SKIPPING 22:28:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-350/1 22:28:54 INFO: archiving workspace using pattern(s): 22:28:55 Archives upload complete. 22:28:55 INFO: archiving logs to Nexus