Pull request #91 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 78edb2e18077c7b755f91a2667f86559cbfd1cc6+8374ad439d5c8571ae7424cc77de71a785d5a0ca (54669c8f9962e2709bb60e0cde130725cd83eef9) 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-ssh18155308148470116144.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1650272816819709880.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12330149206660092721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10826216226601144597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5899661690254873018.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16122 in /w/workspace/oundry_device-onvif-camera_PR-91 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-91 # 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) > 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/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 Commit message: "fix: move device save state to top of loop" > git rev-list --no-walk 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:42:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:42:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:42:50 ========================================================= 17:42:50 EdgeX Global Pipelines Version Info 17:42:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:42:51 ------------------- 17:42:51 stable info: 17:42:51 ------------------- 17:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:42:51 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:42:51 Message: update stable to v1.0.234 17:42:51 ------------------- 17:42:51 experimental info: 17:42:51 ------------------- 17:42:51 Commited By: **** collab-it+edgex@linuxfoundation.org 17:42:51 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:42:51 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78edb2e [Pipeline] echo 17:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:52 provisioning config files... 17:42:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config6360508093537767526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:52 ---> docker-login.sh 17:42:52 nexus3.edgexfoundry.org:10001 17:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:53 Configure a credential helper to remove this warning. See 17:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:53 17:42:53 Login Succeeded 17:42:53 nexus3.edgexfoundry.org:10002 17:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:53 Configure a credential helper to remove this warning. See 17:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:53 17:42:53 Login Succeeded 17:42:53 nexus3.edgexfoundry.org:10003 17:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:53 Configure a credential helper to remove this warning. See 17:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:53 17:42:53 Login Succeeded 17:42:53 nexus3.edgexfoundry.org:10004 17:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:53 Configure a credential helper to remove this warning. See 17:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:53 17:42:53 Login Succeeded 17:42:53 docker.io 17:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:54 Configure a credential helper to remove this warning. See 17:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:54 17:42:54 Login Succeeded 17:42:54 ---> docker-login.sh ends [Pipeline] } 17:42:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:42:54 + git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 17:42:54 -----------> git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [false] [Pipeline] sh 17:42:55 + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 17:42:55 ========================================================= 17:42:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:42:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:42:55 + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 17:42:55 [semverPrep] GIT_COMMIT: 78edb2e18077c7b755f91a2667f86559cbfd1cc6, Commit Message: fix: move device save state to top of loop [Pipeline] echo 17:42:55 [semverPrep] This is not a build commit. [Pipeline] sh 17:42:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:42:55 + grep -v github /etc/ssh/ssh_known_hosts 17:42:55 + [ -e /tmp/ssh_known_hosts ] 17:42:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:42:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:42:55 + sudo tee -a /etc/ssh/ssh_known_hosts 17:42:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:42:56 17:42:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:42:56 0.1.4: Pulling from edgex-devops/py-git-semver 17:42:56 42c077c10790: Pulling fs layer 17:42:56 f63e77b7563a: Pulling fs layer 17:42:56 bd5fdadae976: Pulling fs layer 17:42:56 205491f53016: Pulling fs layer 17:42:56 df18705c85c3: Pulling fs layer 17:42:56 bdb3f477010e: Pulling fs layer 17:42:56 c8a8fc8e1c8f: Pulling fs layer 17:42:56 2c6e9b1d212d: Pulling fs layer 17:42:56 bdb8f0575790: Pulling fs layer 17:42:56 386e3cb2ff24: Pulling fs layer 17:42:56 2343380bae48: Pulling fs layer 17:42:56 c8a8fc8e1c8f: Waiting 17:42:56 2c6e9b1d212d: Waiting 17:42:56 205491f53016: Waiting 17:42:56 2343380bae48: Waiting 17:42:56 bdb3f477010e: Waiting 17:42:56 df18705c85c3: Waiting 17:42:56 386e3cb2ff24: Waiting 17:42:56 f63e77b7563a: Verifying Checksum 17:42:56 f63e77b7563a: Download complete 17:42:56 205491f53016: Verifying Checksum 17:42:56 205491f53016: Download complete 17:42:56 df18705c85c3: Verifying Checksum 17:42:56 df18705c85c3: Download complete 17:42:56 bdb3f477010e: Verifying Checksum 17:42:56 bdb3f477010e: Download complete 17:42:56 bd5fdadae976: Verifying Checksum 17:42:56 bd5fdadae976: Download complete 17:42:56 2c6e9b1d212d: Download complete 17:42:56 bdb8f0575790: Verifying Checksum 17:42:56 bdb8f0575790: Download complete 17:42:56 386e3cb2ff24: Download complete 17:42:56 2343380bae48: Verifying Checksum 17:42:56 2343380bae48: Download complete 17:42:56 42c077c10790: Verifying Checksum 17:42:56 42c077c10790: Download complete 17:42:57 c8a8fc8e1c8f: Download complete 17:42:58 42c077c10790: Pull complete 17:42:58 f63e77b7563a: Pull complete 17:42:58 bd5fdadae976: Pull complete 17:42:58 205491f53016: Pull complete 17:42:59 df18705c85c3: Pull complete 17:42:59 bdb3f477010e: Pull complete 17:43:01 c8a8fc8e1c8f: Pull complete 17:43:01 2c6e9b1d212d: Pull complete 17:43:01 bdb8f0575790: Pull complete 17:43:01 386e3cb2ff24: Pull complete 17:43:01 2343380bae48: Pull complete 17:43:01 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:01 prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container 17:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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-devops/py-git-semver:0.1.4 cat 17:43:03 $ docker top c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 -eo pid,comm 17:43:03 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). 17:43:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:03 [ssh-agent] Looking for ssh-agent implementation... 17:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:03 $ docker exec c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent 17:43:03 SSH_AUTH_SOCK=/tmp/ssh-ANLIKx5uwWND/agent.32 17:43:03 SSH_AGENT_PID=38 17:43:03 Running ssh-add (command line suppressed) 17:43:03 Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_4026967375403418841.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_4026967375403418841.key) 17:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:04 + git tag --points-at HEAD [Pipeline] } 17:43:04 $ docker exec --env ******** --env ******** c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent -k 17:43:04 unset SSH_AUTH_SOCK; 17:43:04 unset SSH_AGENT_PID; 17:43:04 echo Agent pid 38 killed; 17:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:43:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:04 [ssh-agent] Looking for ssh-agent implementation... 17:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:04 $ docker exec c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent 17:43:04 SSH_AUTH_SOCK=/tmp/ssh-Oggzqi2aKRPN/agent.71 17:43:04 SSH_AGENT_PID=77 17:43:04 Running ssh-add (command line suppressed) 17:43:04 Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6627903085920029125.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6627903085920029125.key) 17:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:05 + git semver init 17:43:05 2022-06-27 17:43:05,196 [run_init] DEBUG init version:0.0.0 force:False 17:43:05 2022-06-27 17:43:05,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-91/.semver 17:43:05 2022-06-27 17:43:05,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-91/.semver 17:43:05 2022-06-27 17:43:05,198 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-91/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91, universal_newlines=False, shell=None, istream=None) 17:43:06 2022-06-27 17:43:05,906 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-91/.git/info/exclude 17:43:06 2022-06-27 17:43:05,906 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 with force:False 17:43:06 2022-06-27 17:43:05,906 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 17:43:06 2022-06-27 17:43:05,911 [execute] INFO git cat-file --batch-check 17:43:06 2022-06-27 17:43:05,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) 17:43:06 2022-06-27 17:43:05,917 [execute] INFO git cat-file --batch 17:43:06 2022-06-27 17:43:05,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) 17:43:06 2022-06-27 17:43:05,922 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 17:43:06 0.0.0 [Pipeline] } 17:43:06 $ docker exec --env ******** --env ******** c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent -k 17:43:06 unset SSH_AUTH_SOCK; 17:43:06 unset SSH_AGENT_PID; 17:43:06 echo Agent pid 77 killed; 17:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:06 + git semver [Pipeline] } 17:43:06 $ docker stop --time=1 c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 17:43:08 $ docker rm -f c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 [Pipeline] // withDockerContainer [Pipeline] sh 17:43:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:43:08 Stashed 1 file(s) [Pipeline] echo 17:43:08 [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 17:43:09 provisioning config files... 17:43:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config3616787332997960954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:09 ---> docker-login.sh 17:43:09 nexus3.edgexfoundry.org:10001 17:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:09 Configure a credential helper to remove this warning. See 17:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:09 17:43:09 Login Succeeded 17:43:09 nexus3.edgexfoundry.org:10002 17:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:09 Configure a credential helper to remove this warning. See 17:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:09 17:43:09 Login Succeeded 17:43:09 nexus3.edgexfoundry.org:10003 17:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:09 Configure a credential helper to remove this warning. See 17:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:09 17:43:09 Login Succeeded 17:43:09 nexus3.edgexfoundry.org:10004 17:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:09 Configure a credential helper to remove this warning. See 17:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:09 17:43:09 Login Succeeded 17:43:09 docker.io 17:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:10 Configure a credential helper to remove this warning. See 17:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:10 17:43:10 Login Succeeded 17:43:10 ---> docker-login.sh ends [Pipeline] } 17:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:43:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:10 ========================================================= 17:43:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:43:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:43:10 Sending build context to Docker daemon 8.783MB 17:43:10 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:43:10 Step 2/13 : FROM ${BASE} AS builder 17:43:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:43:10 59bf1c3509f3: Pulling fs layer 17:43:10 666ba61612fd: Pulling fs layer 17:43:10 8ed8ca486205: Pulling fs layer 17:43:10 cc1cd167ecdc: Pulling fs layer 17:43:10 c516ae0d96e1: Pulling fs layer 17:43:10 684cea983483: Pulling fs layer 17:43:10 dd3240ac7de5: Pulling fs layer 17:43:10 b1e948a4e11c: Pulling fs layer 17:43:10 a8fd76ee1af6: Pulling fs layer 17:43:10 646ad004c059: Pulling fs layer 17:43:10 c516ae0d96e1: Waiting 17:43:10 684cea983483: Waiting 17:43:10 a8fd76ee1af6: Waiting 17:43:10 dd3240ac7de5: Waiting 17:43:10 b1e948a4e11c: Waiting 17:43:10 646ad004c059: Waiting 17:43:10 cc1cd167ecdc: Waiting 17:43:10 8ed8ca486205: Download complete 17:43:10 666ba61612fd: Verifying Checksum 17:43:10 666ba61612fd: Download complete 17:43:10 c516ae0d96e1: Verifying Checksum 17:43:10 c516ae0d96e1: Download complete 17:43:10 684cea983483: Verifying Checksum 17:43:10 684cea983483: Download complete 17:43:10 dd3240ac7de5: Verifying Checksum 17:43:10 dd3240ac7de5: Download complete 17:43:10 59bf1c3509f3: Verifying Checksum 17:43:10 59bf1c3509f3: Download complete 17:43:10 b1e948a4e11c: Verifying Checksum 17:43:10 b1e948a4e11c: Download complete 17:43:10 59bf1c3509f3: Pull complete 17:43:11 666ba61612fd: Pull complete 17:43:11 8ed8ca486205: Pull complete 17:43:11 a8fd76ee1af6: Verifying Checksum 17:43:11 a8fd76ee1af6: Download complete 17:43:11 646ad004c059: Verifying Checksum 17:43:11 cc1cd167ecdc: Verifying Checksum 17:43:11 cc1cd167ecdc: Download complete 17:43:14 cc1cd167ecdc: Pull complete 17:43:14 c516ae0d96e1: Pull complete 17:43:15 684cea983483: Pull complete 17:43:15 dd3240ac7de5: Pull complete 17:43:15 b1e948a4e11c: Pull complete 17:43:17 a8fd76ee1af6: Pull complete 17:43:17 646ad004c059: Pull complete 17:43:17 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:43:17 ---> 8f69c11f6b0c 17:43:17 Step 3/13 : ARG MAKE="make build" 17:43:19 ---> Running in 23fa7b968089 17:43:19 Removing intermediate container 23fa7b968089 17:43:19 ---> 550f1221d29e 17:43:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:43:19 ---> Running in a9c2b5381699 17:43:20 Removing intermediate container a9c2b5381699 17:43:20 ---> 401bdd43166c 17:43:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:43:20 ---> Running in cdf27a5e0e6f 17:43:20 Removing intermediate container cdf27a5e0e6f 17:43:20 ---> b5e03abdfb25 17:43:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:43:20 ---> Running in ec3188d493c1 17:43:20 Removing intermediate container ec3188d493c1 17:43:20 ---> 7b7fc1306b28 17:43:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:43:20 ---> Running in 5ed43d928316 17:43:20 Removing intermediate container 5ed43d928316 17:43:20 ---> 53164429ae93 17:43:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:43:20 ---> Running in 68081a1a63e5 17:43:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:43:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:43:22 OK: 221 MiB in 52 packages 17:43:22 Removing intermediate container 68081a1a63e5 17:43:22 ---> 49351a6636c5 17:43:22 Step 9/13 : WORKDIR /device-onvif-camera 17:43:22 ---> Running in d0d3afb26cbf 17:43:22 Removing intermediate container d0d3afb26cbf 17:43:22 ---> 8920c062ccd9 17:43:22 Step 10/13 : COPY go.mod vendor* ./ 17:43:22 ---> 8703fcb811c3 17:43:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:43:23 ---> Running in d3176bf11cfc 17:43:23 Still waiting to schedule task 17:43:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:43:41 Removing intermediate container d3176bf11cfc 17:43:41 ---> 5ab573f8a16a 17:43:41 Step 12/13 : COPY . . 17:43:41 ---> dc22f643eb80 17:43:41 Step 13/13 : RUN ${MAKE} 17:43:41 ---> Running in 74b4d9df5953 17:43:41 noop 17:43:41 Removing intermediate container 74b4d9df5953 17:43:41 ---> b9f4b56f8425 17:43:41 Successfully built b9f4b56f8425 17:43:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:41 + docker inspect -f . ci-base-image-x86_64 17:43:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:41 prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container 17:43:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:43:42 $ docker top fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:42 + go version 17:43:42 go version go1.17.7 linux/amd64 [Pipeline] } 17:43:42 $ docker stop --time=1 fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 17:43:43 $ docker rm -f fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:44 + docker inspect -f . ci-base-image-x86_64 17:43:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:44 prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container 17:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:43:44 $ docker top c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:43:45 + make test 17:43:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:43:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:43:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:43:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements 17:43:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.857s coverage: 13.8% of statements 17:44:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:44:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:44:09 ./internal/driver/checkstatuses.go 17:44:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:44:09 make: *** [Makefile:57: test] Error 1 [Pipeline] } 17:44:09 $ docker stop --time=1 c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e 17:44:11 $ docker rm -f c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e [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 17:44:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:11 17:44:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:12 latest: Pulling from edgex-lftools-log-publisher 17:44:12 5eb5b503b376: Pulling fs layer 17:44:12 5c69ac0246d0: Pulling fs layer 17:44:12 ec43610c2a17: Pulling fs layer 17:44:12 3a2ae6a8a46f: Pulling fs layer 17:44:12 33b1e0a273af: Pulling fs layer 17:44:12 5d3b04190fa2: Pulling fs layer 17:44:12 2f39f015ded8: Pulling fs layer 17:44:12 5d3b04190fa2: Waiting 17:44:12 3a2ae6a8a46f: Waiting 17:44:12 2f39f015ded8: Waiting 17:44:12 5c69ac0246d0: Download complete 17:44:12 3a2ae6a8a46f: Verifying Checksum 17:44:12 33b1e0a273af: Download complete 17:44:12 ec43610c2a17: Verifying Checksum 17:44:12 ec43610c2a17: Download complete 17:44:12 5d3b04190fa2: Verifying Checksum 17:44:12 5d3b04190fa2: Download complete 17:44:12 5eb5b503b376: Verifying Checksum 17:44:12 5eb5b503b376: Download complete 17:44:12 2f39f015ded8: Download complete 17:44:13 5eb5b503b376: Pull complete 17:44:13 5c69ac0246d0: Pull complete 17:44:14 ec43610c2a17: Pull complete 17:44:14 3a2ae6a8a46f: Pull complete 17:44:14 33b1e0a273af: Pull complete 17:44:14 5d3b04190fa2: Pull complete 17:44:18 2f39f015ded8: Pull complete 17:44:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:18 prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container 17:44:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:44:20 $ docker top 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:21 ---> job-cost.sh 17:44:21 lf-activate-venv: SKIPPING 17:44:21 INFO: No Stack... 17:44:21 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:21 INFO: Archiving Costs [Pipeline] sh 17:44:22 + cat /w/workspace/oundry_device-onvif-camera_PR-91/archives/cost.csv 17:44:22 + cut -d, -f6 [Pipeline] lock 17:44:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] 17:44:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] did not exist. Created. 17:44:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:22 + echo total: 0.2199999988079071 [Pipeline] stash 17:44:22 Stashed 1 file(s) [Pipeline] } 17:44:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:44:22 $ docker stop --time=1 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e 17:44:23 $ docker rm -f 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:44:23 Failed in branch amd64 17:44:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16123 in /w/workspace/oundry_device-onvif-camera_PR-91 [Pipeline] { [Pipeline] ws 17:44:55 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 17:44:55 Selected Git installation does not exist. Using Default 17:44:55 The recommended git tool is: NONE 17:45:02 using credential edgex-jenkins-ssh 17:45:02 Cloning the remote Git repository 17:45:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:45:02 > git init /w/workspace/device-onvif-camera/2 # timeout=10 17:45:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:45:02 > git --version # timeout=10 17:45:03 > git --version # 'git version 2.25.1' 17:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:04 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 17:45:04 Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 17:45:04 Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) 17:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:45:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:45:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:45:04 > git config core.sparsecheckout # timeout=10 17:45:04 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 17:45:04 > git remote # timeout=10 17:45:04 > git config --get remote.origin.url # timeout=10 17:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:04 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 17:45:04 > git rev-parse HEAD^{commit} # timeout=10 17:45:04 > git config core.sparsecheckout # timeout=10 17:45:04 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 17:45:09 Commit message: "fix: move device save state to top of loop" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:45:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:45:09 Dload Upload Total Spent Left Speed 17:45:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh 17:45:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:45:11 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 17:45:11 /etc/docker/daemon.new 17:45:11 { 17:45:11 "registry-mirrors": [ 17:45:11 "https://nexus3.edgexfoundry.org:10001" 17:45:11 ], 17:45:11 "bip": "10.250.0.254/24", 17:45:11 "hosts": [ 17:45:11 "tcp://0.0.0.0:5555", 17:45:11 "unix:///var/run/docker.sock" 17:45:11 ], 17:45:11 "mtu": 1458, 17:45:11 "selinux-enabled": true, 17:45:11 "seccomp-profile": "/etc/docker/seccomp.json" 17:45:11 } [Pipeline] sh 17:45:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:45:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:30 provisioning config files... 17:45:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7570469337482340160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:30 ---> docker-login.sh 17:45:30 nexus3.edgexfoundry.org:10001 17:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:31 Configure a credential helper to remove this warning. See 17:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:31 17:45:31 Login Succeeded 17:45:31 nexus3.edgexfoundry.org:10002 17:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:31 Configure a credential helper to remove this warning. See 17:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:31 17:45:31 Login Succeeded 17:45:31 nexus3.edgexfoundry.org:10003 17:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:32 Configure a credential helper to remove this warning. See 17:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:32 17:45:32 Login Succeeded 17:45:32 nexus3.edgexfoundry.org:10004 17:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:32 Configure a credential helper to remove this warning. See 17:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:32 17:45:32 Login Succeeded 17:45:32 docker.io 17:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:33 Configure a credential helper to remove this warning. See 17:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:33 17:45:33 Login Succeeded 17:45:33 ---> docker-login.sh ends [Pipeline] } 17:45:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:33 ========================================================= 17:45:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:45:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 17:45:34 Sending build context to Docker daemon 5.989MB 17:45:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:45:34 Step 2/13 : FROM ${BASE} AS builder 17:45:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:45:34 9b3977197b4f: Pulling fs layer 17:45:34 1a89e8eeedd5: Pulling fs layer 17:45:34 94645a83ff95: Pulling fs layer 17:45:34 e6fb740bc735: Pulling fs layer 17:45:34 3a77bd46dcc9: Pulling fs layer 17:45:34 e6fb740bc735: Waiting 17:45:34 355e64cbe906: Pulling fs layer 17:45:34 63ab81a10011: Pulling fs layer 17:45:34 555d1d1c4555: Pulling fs layer 17:45:34 3a77bd46dcc9: Waiting 17:45:34 7d9057610161: Pulling fs layer 17:45:34 63ab81a10011: Waiting 17:45:34 555d1d1c4555: Waiting 17:45:34 355e64cbe906: Waiting 17:45:34 7d9057610161: Waiting 17:45:34 94645a83ff95: Verifying Checksum 17:45:34 94645a83ff95: Download complete 17:45:34 1a89e8eeedd5: Download complete 17:45:34 3a77bd46dcc9: Verifying Checksum 17:45:34 3a77bd46dcc9: Download complete 17:45:34 355e64cbe906: Verifying Checksum 17:45:34 355e64cbe906: Download complete 17:45:34 9b3977197b4f: Download complete 17:45:34 63ab81a10011: Verifying Checksum 17:45:34 63ab81a10011: Download complete 17:45:35 9b3977197b4f: Pull complete 17:45:36 7d9057610161: Verifying Checksum 17:45:36 7d9057610161: Download complete 17:45:36 1a89e8eeedd5: Pull complete 17:45:36 94645a83ff95: Pull complete 17:45:37 555d1d1c4555: Verifying Checksum 17:45:37 555d1d1c4555: Download complete 17:45:37 e6fb740bc735: Verifying Checksum 17:45:37 e6fb740bc735: Download complete 17:45:49 e6fb740bc735: Pull complete 17:45:49 3a77bd46dcc9: Pull complete 17:45:50 355e64cbe906: Pull complete 17:45:50 63ab81a10011: Pull complete 17:45:57 555d1d1c4555: Pull complete 17:45:58 7d9057610161: Pull complete 17:45:58 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:45:58 ---> 819e984ddca1 17:45:58 Step 3/13 : ARG MAKE="make build" 17:46:00 ---> Running in 1cdbaef589b8 17:46:00 Removing intermediate container 1cdbaef589b8 17:46:00 ---> 4bf0c2471e9a 17:46:00 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:46:00 ---> Running in 5f3dfe0ce063 17:46:00 Removing intermediate container 5f3dfe0ce063 17:46:00 ---> d05c516a2291 17:46:00 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:46:00 ---> Running in 054347f4490d 17:46:01 Removing intermediate container 054347f4490d 17:46:01 ---> f60240d79d23 17:46:01 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:46:01 ---> Running in 85b2b57412d9 17:46:01 Removing intermediate container 85b2b57412d9 17:46:01 ---> 5c918ba5c654 17:46:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:01 ---> Running in ae2c3d4937cc 17:46:03 Removing intermediate container ae2c3d4937cc 17:46:03 ---> 4fa7dd7b7aac 17:46:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:03 ---> Running in 38964d897b14 17:46:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:46:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:46:07 OK: 220 MiB in 52 packages 17:46:07 Removing intermediate container 38964d897b14 17:46:07 ---> 756f1dfd5119 17:46:07 Step 9/13 : WORKDIR /device-onvif-camera 17:46:07 ---> Running in c6287a098abd 17:46:08 Removing intermediate container c6287a098abd 17:46:08 ---> 775ce8d715d2 17:46:08 Step 10/13 : COPY go.mod vendor* ./ 17:46:08 ---> e92f58a23df4 17:46:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:08 ---> Running in 6a1626273574 17:46:55 Removing intermediate container 6a1626273574 17:46:55 ---> f181a80ebbd2 17:46:55 Step 12/13 : COPY . . 17:46:55 ---> bfb30bdd0199 17:46:55 Step 13/13 : RUN ${MAKE} 17:46:55 ---> Running in 0df9376bbee2 17:46:55 noop 17:46:56 Removing intermediate container 0df9376bbee2 17:46:56 ---> a3f5ad8a1a2a 17:46:56 Successfully built a3f5ad8a1a2a 17:46:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:56 + docker inspect -f . ci-base-image-arm64 17:46:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:56 prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container 17:46:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:46:58 $ docker top 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:59 + go version 17:46:59 go version go1.17.7 linux/arm64 [Pipeline] } 17:46:59 $ docker stop --time=1 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 17:47:00 $ docker rm -f 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:01 + docker inspect -f . ci-base-image-arm64 17:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:01 prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container 17:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:47:02 $ docker top 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:47:03 + make test 17:47:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:47:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:48:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:48:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.084s coverage: 1.2% of statements 17:49:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.863s coverage: 13.8% of statements 17:49:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:49:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:49:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:49:33 ./internal/driver/checkstatuses.go 17:49:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:49:33 make: *** [Makefile:57: test] Error 1 [Pipeline] } 17:49:33 $ docker stop --time=1 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 17:49:35 $ docker rm -f 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 [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 17:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:36 17:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:37 arm64: Pulling from edgex-lftools-log-publisher 17:49:37 8998bd30e6a1: Pulling fs layer 17:49:37 04944245beec: Pulling fs layer 17:49:37 699f458cf7ca: Pulling fs layer 17:49:37 765212b225bb: Pulling fs layer 17:49:37 f23df028b6ca: Pulling fs layer 17:49:37 d65c8cfc05b1: Pulling fs layer 17:49:37 2437ff75d9bd: Pulling fs layer 17:49:37 765212b225bb: Waiting 17:49:37 f23df028b6ca: Waiting 17:49:37 d65c8cfc05b1: Waiting 17:49:37 2437ff75d9bd: Waiting 17:49:37 04944245beec: Download complete 17:49:37 765212b225bb: Verifying Checksum 17:49:37 765212b225bb: Download complete 17:49:37 f23df028b6ca: Verifying Checksum 17:49:37 f23df028b6ca: Download complete 17:49:37 d65c8cfc05b1: Verifying Checksum 17:49:37 d65c8cfc05b1: Download complete 17:49:37 699f458cf7ca: Verifying Checksum 17:49:37 699f458cf7ca: Download complete 17:49:37 8998bd30e6a1: Verifying Checksum 17:49:37 8998bd30e6a1: Download complete 17:49:40 2437ff75d9bd: Verifying Checksum 17:49:40 2437ff75d9bd: Download complete 17:49:42 8998bd30e6a1: Pull complete 17:49:42 04944245beec: Pull complete 17:49:43 699f458cf7ca: Pull complete 17:49:44 765212b225bb: Pull complete 17:49:45 f23df028b6ca: Pull complete 17:49:45 d65c8cfc05b1: Pull complete 17:50:00 2437ff75d9bd: Pull complete 17:50:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:50:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:00 prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container 17:50:00 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:50:03 $ docker top 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:03 ---> job-cost.sh 17:50:03 lf-activate-venv: SKIPPING 17:50:03 INFO: No Stack... 17:50:04 INFO: Retrieving Pricing Info for: v3-standard-4 17:50:05 INFO: Archiving Costs [Pipeline] sh 17:50:05 + cut -d, -f6 17:50:05 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 17:50:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] 17:50:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] did not exist. Created. 17:50:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:06 /w/workspace/device-onvif-camera/2@tmp/durable-17522c1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:50:07 + echo total: 0.10999999940395355 [Pipeline] stash 17:50:07 Warning: overwriting stash ‘stack-cost’ 17:50:07 Stashed 1 file(s) [Pipeline] } 17:50:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:07 $ docker stop --time=1 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 17:50:09 $ docker rm -f 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:50:09 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 17:50:10 + [ -d /w/workspace/oundry_device-onvif-camera_PR-91/archives ] 17:50:10 + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives 17:50:10 total 16 17:50:10 drwxr-xr-x 3 root root 4096 Jun 27 17:44 . 17:50:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 17:44 .. 17:50:10 drwxr-xr-x 2 root root 4096 Jun 27 17:44 cost 17:50:10 -rw-r--r-- 1 root root 89 Jun 27 17:44 cost.csv 17:50:10 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-91/archives 17:50:10 + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives 17:50:10 total 16 17:50:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 17:44 . 17:50:10 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 17:44 .. 17:50:10 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 17:44 cost 17:50:10 -rw-r--r-- 1 jenkins jenkins 89 Jun 27 17:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:50:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:50:11 ---> package-listing.sh 17:50:11 ++ facter osfamily 17:50:11 ++ tr '[:upper:]' '[:lower:]' 17:50:11 + OS_FAMILY=debian 17:50:11 + workspace=/w/workspace/oundry_device-onvif-camera_PR-91 17:50:11 + START_PACKAGES=/tmp/packages_start.txt 17:50:11 + END_PACKAGES=/tmp/packages_end.txt 17:50:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:11 + PACKAGES=/tmp/packages_start.txt 17:50:11 + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' 17:50:11 + PACKAGES=/tmp/packages_end.txt 17:50:11 + case "${OS_FAMILY}" in 17:50:11 + dpkg -l 17:50:11 + grep '^ii' 17:50:11 + '[' -f /tmp/packages_start.txt ']' 17:50:11 + '[' -f /tmp/packages_end.txt ']' 17:50:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:11 + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' 17:50:11 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-91/archives/ 17:50:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [Pipeline] echo 17:50:11 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:50:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:12 prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container 17:50:12 $ 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:50:12 $ docker top a1d6bee3ae2e6d5f421f64f14eb95c14d6d7b4cd4959d50ed8ec0b31427c2a2b -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:13 + touch /tmp/pre-build-complete [Pipeline] sh 17:50:13 + mkdir -p /var/log/sysstat [Pipeline] sh 17:50:13 + ls /var/log/sa-host 17:50:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:13 provisioning config files... 17:50:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config68410349844286823tmp [Pipeline] { [Pipeline] echo 17:50:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:50:14 ---> create-netrc.sh [Pipeline] } 17:50:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:50:14 ---> python-tools-install.sh [Pipeline] echo 17:50:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:50:15 ---> sudo-logs.sh 17:50:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:50:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:50:15 ---> job-cost.sh 17:50:15 lf-activate-venv: SKIPPING 17:50:15 DEBUG: total: 0.2199999988079071 17:50:15 INFO: Retrieving Stack Cost... 17:50:15 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:16 INFO: Archiving Costs [Pipeline] echo 17:50:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:50:16 ---> logs-deploy.sh 17:50:16 lf-activate-venv: SKIPPING 17:50:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-91/2 17:50:16 INFO: archiving workspace using pattern(s): 17:50:17 Archives upload complete. 17:50:17 INFO: archiving logs to Nexus