Pull request #90 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 brianointel for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f7fd1a7f74557858cb13a434798fc966c2703d09 rather than 818ae11e55014ea57d47742308837c5193a088ea Obtained Jenkinsfile from f7fd1a7f74557858cb13a434798fc966c2703d09 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-ssh1352658376413721678.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-ssh5467258484723909474.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-90/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-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16886150631976331644.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-ssh5535684876815237256.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-90/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-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2989542720155196542.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 Running on prd-ubuntu20.04-docker-8c-8g-16259 in /w/workspace/oundry_device-onvif-camera_PR-90 [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-90 # 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/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7fd1a7f74557858cb13a434798fc966c2703d09 into PR head commit 818ae11e55014ea57d47742308837c5193a088ea Merge succeeded, producing 818ae11e55014ea57d47742308837c5193a088ea Checking out Revision 818ae11e55014ea57d47742308837c5193a088ea (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # 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 f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 Commit message: "Merge branch 'main' into mac-v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:43:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:43:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:43:07 ========================================================= 19:43:07 EdgeX Global Pipelines Version Info 19:43:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a6978d40b74d7b39284952cb9c0e41d2321a86ac # timeout=10 19:43:08 ------------------- 19:43:08 stable info: 19:43:08 ------------------- 19:43:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:43:08 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:43:08 Message: update stable to v1.0.234 19:43:09 ------------------- 19:43:09 experimental info: 19:43:09 ------------------- 19:43:09 Commited By: **** collab-it+edgex@linuxfoundation.org 19:43:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:43:09 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 818ae11 [Pipeline] echo 19:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:09 provisioning config files... 19:43:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1736348453828108135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:10 ---> docker-login.sh 19:43:10 nexus3.edgexfoundry.org:10001 19:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:10 Configure a credential helper to remove this warning. See 19:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:10 19:43:10 Login Succeeded 19:43:10 nexus3.edgexfoundry.org:10002 19:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:10 Configure a credential helper to remove this warning. See 19:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:10 19:43:10 Login Succeeded 19:43:10 nexus3.edgexfoundry.org:10003 19:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:10 Configure a credential helper to remove this warning. See 19:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:10 19:43:10 Login Succeeded 19:43:10 nexus3.edgexfoundry.org:10004 19:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:10 Configure a credential helper to remove this warning. See 19:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:10 19:43:10 Login Succeeded 19:43:10 docker.io 19:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:11 Configure a credential helper to remove this warning. See 19:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:11 19:43:11 Login Succeeded 19:43:11 ---> docker-login.sh ends [Pipeline] } 19:43:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:43:11 + git rev-list -1 --merges 818ae11e55014ea57d47742308837c5193a088ea~1..818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo 19:43:11 -----------> git rev-list -1 --merges 818ae11e55014ea57d47742308837c5193a088ea~1..818ae11e55014ea57d47742308837c5193a088ea 818ae11e55014ea57d47742308837c5193a088ea 19:43:11 818ae11e55014ea57d47742308837c5193a088ea [false] [Pipeline] sh 19:43:11 + git log --format=format:%s -1 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo 19:43:11 ========================================================= 19:43:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:43:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:43:12 + git log --format=format:%s -1 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo 19:43:12 [semverPrep] GIT_COMMIT: 818ae11e55014ea57d47742308837c5193a088ea, Commit Message: Merge branch 'main' into mac-v3 [Pipeline] echo 19:43:12 [semverPrep] This is not a build commit. [Pipeline] sh 19:43:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:43:12 + grep -v github /etc/ssh/ssh_known_hosts 19:43:12 + [ -e /tmp/ssh_known_hosts ] 19:43:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:43:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:43:12 + sudo tee -a /etc/ssh/ssh_known_hosts 19:43:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:13 19:43:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:13 0.1.4: Pulling from edgex-devops/py-git-semver 19:43:13 42c077c10790: Pulling fs layer 19:43:13 f63e77b7563a: Pulling fs layer 19:43:13 bd5fdadae976: Pulling fs layer 19:43:13 205491f53016: Pulling fs layer 19:43:13 df18705c85c3: Pulling fs layer 19:43:13 bdb3f477010e: Pulling fs layer 19:43:13 c8a8fc8e1c8f: Pulling fs layer 19:43:13 2c6e9b1d212d: Pulling fs layer 19:43:13 bdb8f0575790: Pulling fs layer 19:43:13 386e3cb2ff24: Pulling fs layer 19:43:13 2343380bae48: Pulling fs layer 19:43:13 c8a8fc8e1c8f: Waiting 19:43:13 2c6e9b1d212d: Waiting 19:43:13 bdb8f0575790: Waiting 19:43:13 386e3cb2ff24: Waiting 19:43:13 2343380bae48: Waiting 19:43:13 205491f53016: Waiting 19:43:13 bdb3f477010e: Waiting 19:43:13 df18705c85c3: Waiting 19:43:13 f63e77b7563a: Download complete 19:43:13 205491f53016: Verifying Checksum 19:43:13 205491f53016: Download complete 19:43:13 df18705c85c3: Verifying Checksum 19:43:13 df18705c85c3: Download complete 19:43:13 bdb3f477010e: Verifying Checksum 19:43:13 bdb3f477010e: Download complete 19:43:13 bd5fdadae976: Verifying Checksum 19:43:13 bd5fdadae976: Download complete 19:43:13 2c6e9b1d212d: Verifying Checksum 19:43:13 2c6e9b1d212d: Download complete 19:43:13 bdb8f0575790: Download complete 19:43:13 386e3cb2ff24: Verifying Checksum 19:43:13 386e3cb2ff24: Download complete 19:43:13 2343380bae48: Verifying Checksum 19:43:13 2343380bae48: Download complete 19:43:13 42c077c10790: Verifying Checksum 19:43:13 42c077c10790: Download complete 19:43:13 c8a8fc8e1c8f: Download complete 19:43:14 42c077c10790: Pull complete 19:43:15 f63e77b7563a: Pull complete 19:43:15 bd5fdadae976: Pull complete 19:43:15 205491f53016: Pull complete 19:43:15 df18705c85c3: Pull complete 19:43:15 bdb3f477010e: Pull complete 19:43:17 c8a8fc8e1c8f: Pull complete 19:43:17 2c6e9b1d212d: Pull complete 19:43:17 bdb8f0575790: Pull complete 19:43:17 386e3cb2ff24: Pull complete 19:43:17 2343380bae48: Pull complete 19:43:17 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 19:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:18 prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container 19:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:43:19 $ docker top e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc -eo pid,comm 19:43:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:43:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:19 [ssh-agent] Looking for ssh-agent implementation... 19:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:19 $ docker exec e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent 19:43:19 SSH_AUTH_SOCK=/tmp/ssh-42uycZ75q6Sh/agent.33 19:43:19 SSH_AGENT_PID=39 19:43:19 Running ssh-add (command line suppressed) 19:43:19 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7667042476803971438.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7667042476803971438.key) 19:43:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:20 + git tag --points-at HEAD [Pipeline] } 19:43:20 $ docker exec --env ******** --env ******** e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent -k 19:43:20 unset SSH_AUTH_SOCK; 19:43:20 unset SSH_AGENT_PID; 19:43:20 echo Agent pid 39 killed; 19:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:43:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:20 [ssh-agent] Looking for ssh-agent implementation... 19:43:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:20 $ docker exec e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent 19:43:20 SSH_AUTH_SOCK=/tmp/ssh-XESzw1h0zfPA/agent.72 19:43:20 SSH_AGENT_PID=78 19:43:20 Running ssh-add (command line suppressed) 19:43:20 Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5926978948614478601.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5926978948614478601.key) 19:43:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:21 + git semver init 19:43:21 2022-06-28 19:43:21,198 [run_init] DEBUG init version:0.0.0 force:False 19:43:21 2022-06-28 19:43:21,199 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:43:21 2022-06-28 19:43:21,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver 19:43:21 2022-06-28 19:43:21,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-90/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90, universal_newlines=False, shell=None, istream=None) 19:43:22 2022-06-28 19:43:21,858 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude 19:43:22 2022-06-28 19:43:21,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False 19:43:22 2022-06-28 19:43:21,858 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:43:22 2022-06-28 19:43:21,861 [execute] INFO git cat-file --batch-check 19:43:22 2022-06-28 19:43:21,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 19:43:22 2022-06-28 19:43:21,867 [execute] INFO git cat-file --batch 19:43:22 2022-06-28 19:43:21,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) 19:43:22 2022-06-28 19:43:21,871 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 19:43:22 0.0.0 [Pipeline] } 19:43:22 $ docker exec --env ******** --env ******** e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent -k 19:43:22 unset SSH_AUTH_SOCK; 19:43:22 unset SSH_AGENT_PID; 19:43:22 echo Agent pid 78 killed; 19:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:22 + git semver [Pipeline] } 19:43:22 $ docker stop --time=1 e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc 19:43:24 $ docker rm -f e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc [Pipeline] // withDockerContainer [Pipeline] sh 19:43:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:43:24 Stashed 1 file(s) [Pipeline] echo 19:43:24 [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 19:43:24 provisioning config files... 19:43:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1761184214454973572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:25 ---> docker-login.sh 19:43:25 nexus3.edgexfoundry.org:10001 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:25 Configure a credential helper to remove this warning. See 19:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:25 19:43:25 Login Succeeded 19:43:25 nexus3.edgexfoundry.org:10002 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:25 Configure a credential helper to remove this warning. See 19:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:25 19:43:25 Login Succeeded 19:43:25 nexus3.edgexfoundry.org:10003 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:25 Configure a credential helper to remove this warning. See 19:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:25 19:43:25 Login Succeeded 19:43:25 nexus3.edgexfoundry.org:10004 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:25 Configure a credential helper to remove this warning. See 19:43:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:25 19:43:25 Login Succeeded 19:43:25 docker.io 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 ---> docker-login.sh ends [Pipeline] } 19:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:43:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:26 ========================================================= 19:43:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:43:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:26 + 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 . 19:43:26 Sending build context to Docker daemon 8.973MB 19:43:26 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:43:26 Step 2/13 : FROM ${BASE} AS builder 19:43:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:43:26 59bf1c3509f3: Pulling fs layer 19:43:26 666ba61612fd: Pulling fs layer 19:43:26 8ed8ca486205: Pulling fs layer 19:43:26 cc1cd167ecdc: Pulling fs layer 19:43:26 c516ae0d96e1: Pulling fs layer 19:43:26 684cea983483: Pulling fs layer 19:43:26 dd3240ac7de5: Pulling fs layer 19:43:26 b1e948a4e11c: Pulling fs layer 19:43:26 a8fd76ee1af6: Pulling fs layer 19:43:26 646ad004c059: Pulling fs layer 19:43:26 cc1cd167ecdc: Waiting 19:43:26 dd3240ac7de5: Waiting 19:43:26 c516ae0d96e1: Waiting 19:43:26 b1e948a4e11c: Waiting 19:43:26 a8fd76ee1af6: Waiting 19:43:26 684cea983483: Waiting 19:43:26 8ed8ca486205: Download complete 19:43:26 666ba61612fd: Download complete 19:43:26 c516ae0d96e1: Verifying Checksum 19:43:26 c516ae0d96e1: Download complete 19:43:26 684cea983483: Verifying Checksum 19:43:26 684cea983483: Download complete 19:43:26 dd3240ac7de5: Verifying Checksum 19:43:26 dd3240ac7de5: Download complete 19:43:26 59bf1c3509f3: Verifying Checksum 19:43:26 59bf1c3509f3: Download complete 19:43:26 b1e948a4e11c: Verifying Checksum 19:43:26 b1e948a4e11c: Download complete 19:43:26 59bf1c3509f3: Pull complete 19:43:26 666ba61612fd: Pull complete 19:43:26 8ed8ca486205: Pull complete 19:43:27 646ad004c059: Verifying Checksum 19:43:27 646ad004c059: Download complete 19:43:27 cc1cd167ecdc: Verifying Checksum 19:43:27 cc1cd167ecdc: Download complete 19:43:27 a8fd76ee1af6: Verifying Checksum 19:43:27 a8fd76ee1af6: Download complete 19:43:31 cc1cd167ecdc: Pull complete 19:43:31 c516ae0d96e1: Pull complete 19:43:31 684cea983483: Pull complete 19:43:31 dd3240ac7de5: Pull complete 19:43:31 b1e948a4e11c: Pull complete 19:43:33 a8fd76ee1af6: Pull complete 19:43:33 646ad004c059: Pull complete 19:43:33 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 19:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:43:33 ---> 8f69c11f6b0c 19:43:33 Step 3/13 : ARG MAKE="make build" 19:43:35 ---> Running in 25bc18666022 19:43:35 Removing intermediate container 25bc18666022 19:43:35 ---> d696db0b1b63 19:43:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:43:35 ---> Running in ef673163f052 19:43:35 Removing intermediate container ef673163f052 19:43:35 ---> d89c7d8a14bc 19:43:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:43:35 ---> Running in 32507ce3eed3 19:43:35 Removing intermediate container 32507ce3eed3 19:43:35 ---> cf78177e7723 19:43:35 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:43:35 ---> Running in 9a0c8f444a78 19:43:35 Removing intermediate container 9a0c8f444a78 19:43:35 ---> 12361cbc135e 19:43:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:43:35 ---> Running in 15e4f52601e9 19:43:36 Removing intermediate container 15e4f52601e9 19:43:36 ---> 5f9016977b15 19:43:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:36 ---> Running in 2bcf3fca2993 19:43:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:43:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:43:37 OK: 221 MiB in 52 packages 19:43:38 Removing intermediate container 2bcf3fca2993 19:43:38 ---> 3f9b230fd2ec 19:43:38 Step 9/13 : WORKDIR /device-onvif-camera 19:43:38 ---> Running in 0fb73c80f35e 19:43:38 Removing intermediate container 0fb73c80f35e 19:43:38 ---> cb1dae14f3b1 19:43:38 Step 10/13 : COPY go.mod vendor* ./ 19:43:38 ---> 775c2b053ca1 19:43:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:38 ---> Running in 3529c033ac5f 19:43:39 Still waiting to schedule task 19:43:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16260’ 19:43:53 Removing intermediate container 3529c033ac5f 19:43:53 ---> bf71390c8190 19:43:53 Step 12/13 : COPY . . 19:43:53 ---> 92a7b86ecca2 19:43:53 Step 13/13 : RUN ${MAKE} 19:43:53 ---> Running in 72a447ee11ad 19:43:53 noop 19:43:53 Removing intermediate container 72a447ee11ad 19:43:53 ---> fdd41195bd32 19:43:53 Successfully built fdd41195bd32 19:43:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:53 + docker inspect -f . ci-base-image-x86_64 19:43:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:53 prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container 19:43:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:43:54 $ docker top 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:54 + go version 19:43:54 go version go1.17.7 linux/amd64 [Pipeline] } 19:43:54 $ docker stop --time=1 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 19:43:55 $ docker rm -f 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:56 + docker inspect -f . ci-base-image-x86_64 19:43:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:56 prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container 19:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:43:56 $ docker top 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:43:57 + make test 19:43:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:43:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:44:07 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:44:07 internal/driver/checkstatuses.go:30:6: expression in go must be function call 19:44:07 internal/driver/checkstatuses.go:60:47: syntax error: unexpected models, expecting comma or ) 19:44:07 # cover github.com/edgexfoundry/device-onvif-camera/internal/driver 19:44:07 2022/06/28 19:44:06 cover: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/checkstatuses.go: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/checkstatuses.go:52:3: function must be invoked in go statement (and 10 more errors) 19:44:07 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 19:44:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.867s coverage: 13.8% of statements 19:44:11 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 19:44:11 $ docker stop --time=1 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea 19:44:13 $ docker rm -f 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea [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 19:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:44:14 19:44:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:44:14 latest: Pulling from edgex-lftools-log-publisher 19:44:14 5eb5b503b376: Pulling fs layer 19:44:14 5c69ac0246d0: Pulling fs layer 19:44:14 ec43610c2a17: Pulling fs layer 19:44:14 3a2ae6a8a46f: Pulling fs layer 19:44:14 33b1e0a273af: Pulling fs layer 19:44:14 5d3b04190fa2: Pulling fs layer 19:44:14 2f39f015ded8: Pulling fs layer 19:44:14 3a2ae6a8a46f: Waiting 19:44:14 33b1e0a273af: Waiting 19:44:14 5d3b04190fa2: Waiting 19:44:14 2f39f015ded8: Waiting 19:44:14 5c69ac0246d0: Verifying Checksum 19:44:14 5c69ac0246d0: Download complete 19:44:14 3a2ae6a8a46f: Verifying Checksum 19:44:14 3a2ae6a8a46f: Download complete 19:44:14 33b1e0a273af: Verifying Checksum 19:44:14 33b1e0a273af: Download complete 19:44:14 5d3b04190fa2: Download complete 19:44:14 ec43610c2a17: Verifying Checksum 19:44:14 ec43610c2a17: Download complete 19:44:14 5eb5b503b376: Verifying Checksum 19:44:14 5eb5b503b376: Download complete 19:44:15 2f39f015ded8: Download complete 19:44:15 5eb5b503b376: Pull complete 19:44:16 5c69ac0246d0: Pull complete 19:44:16 ec43610c2a17: Pull complete 19:44:16 3a2ae6a8a46f: Pull complete 19:44:16 33b1e0a273af: Pull complete 19:44:16 5d3b04190fa2: Pull complete 19:44:21 2f39f015ded8: Pull complete 19:44:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:44:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:21 prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container 19:44:21 $ 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-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:44:22 $ docker top 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:44:23 ---> job-cost.sh 19:44:23 lf-activate-venv: SKIPPING 19:44:23 INFO: No Stack... 19:44:23 INFO: Retrieving Pricing Info for: v3-standard-8 19:44:24 INFO: Archiving Costs [Pipeline] sh 19:44:24 + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv 19:44:24 + cut -d, -f6 [Pipeline] lock 19:44:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] 19:44:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] did not exist. Created. 19:44:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:44:24 + echo total: 0.2199999988079071 [Pipeline] stash 19:44:24 Stashed 1 file(s) [Pipeline] } 19:44:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] // lock [Pipeline] } 19:44:24 $ docker stop --time=1 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a 19:44:25 $ docker rm -f 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:44:26 Failed in branch amd64 19:47:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16261 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws 19:47:11 Running in /w/workspace/device-onvif-camera/23 [Pipeline] { [Pipeline] checkout 19:47:11 Selected Git installation does not exist. Using Default 19:47:11 The recommended git tool is: NONE 19:47:18 using credential edgex-jenkins-ssh 19:47:18 Cloning the remote Git repository 19:47:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:47:19 > git init /w/workspace/device-onvif-camera/23 # timeout=10 19:47:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:47:19 > git --version # timeout=10 19:47:19 > git --version # 'git version 2.25.1' 19:47:19 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:47:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:47:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:47:20 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:47:21 Merging remotes/origin/main commit f7fd1a7f74557858cb13a434798fc966c2703d09 into PR head commit 818ae11e55014ea57d47742308837c5193a088ea 19:47:21 Merge succeeded, producing 818ae11e55014ea57d47742308837c5193a088ea 19:47:21 Checking out Revision 818ae11e55014ea57d47742308837c5193a088ea (PR-90) 19:47:21 > git config core.sparsecheckout # timeout=10 19:47:21 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 19:47:21 > git remote # timeout=10 19:47:21 > git config --get remote.origin.url # timeout=10 19:47:21 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:21 > git merge f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 19:47:21 > git rev-parse HEAD^{commit} # timeout=10 19:47:21 > git config core.sparsecheckout # timeout=10 19:47:21 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 19:47:25 Commit message: "Merge branch 'main' into mac-v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:47:26 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:26 Dload Upload Total Spent Left Speed 19:47:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh 19:47:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:47:27 + sudo tee /etc/docker/daemon.new 19:47:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:47:27 { 19:47:27 "registry-mirrors": [ 19:47:27 "https://nexus3.edgexfoundry.org:10001" 19:47:27 ], 19:47:27 "bip": "10.250.0.254/24", 19:47:27 "hosts": [ 19:47:27 "tcp://0.0.0.0:5555", 19:47:27 "unix:///var/run/docker.sock" 19:47:27 ], 19:47:27 "mtu": 1458, 19:47:27 "selinux-enabled": true, 19:47:27 "seccomp-profile": "/etc/docker/seccomp.json" 19:47:27 } [Pipeline] sh 19:47:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:47:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:46 provisioning config files... 19:47:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/23@tmp/config818595634628850311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:47 ---> docker-login.sh 19:47:47 nexus3.edgexfoundry.org:10001 19:47:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:48 Configure a credential helper to remove this warning. See 19:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:48 19:47:48 Login Succeeded 19:47:48 nexus3.edgexfoundry.org:10002 19:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:48 Configure a credential helper to remove this warning. See 19:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:48 19:47:48 Login Succeeded 19:47:48 nexus3.edgexfoundry.org:10003 19:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:48 Configure a credential helper to remove this warning. See 19:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:48 19:47:48 Login Succeeded 19:47:48 nexus3.edgexfoundry.org:10004 19:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:49 Configure a credential helper to remove this warning. See 19:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:49 19:47:49 Login Succeeded 19:47:49 docker.io 19:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:50 Configure a credential helper to remove this warning. See 19:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:50 19:47:50 Login Succeeded 19:47:50 ---> docker-login.sh ends [Pipeline] } 19:47:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:47:50 ========================================================= 19:47:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:47:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:51 + 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 . 19:47:51 Sending build context to Docker daemon 6.132MB 19:47:51 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:47:51 Step 2/13 : FROM ${BASE} AS builder 19:47:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:47:51 9b3977197b4f: Pulling fs layer 19:47:51 1a89e8eeedd5: Pulling fs layer 19:47:51 94645a83ff95: Pulling fs layer 19:47:51 e6fb740bc735: Pulling fs layer 19:47:51 3a77bd46dcc9: Pulling fs layer 19:47:51 e6fb740bc735: Waiting 19:47:51 355e64cbe906: Pulling fs layer 19:47:51 63ab81a10011: Pulling fs layer 19:47:51 3a77bd46dcc9: Waiting 19:47:51 555d1d1c4555: Pulling fs layer 19:47:51 7d9057610161: Pulling fs layer 19:47:51 63ab81a10011: Waiting 19:47:51 555d1d1c4555: Waiting 19:47:51 7d9057610161: Waiting 19:47:51 355e64cbe906: Waiting 19:47:51 94645a83ff95: Download complete 19:47:51 1a89e8eeedd5: Verifying Checksum 19:47:51 1a89e8eeedd5: Download complete 19:47:51 3a77bd46dcc9: Verifying Checksum 19:47:51 3a77bd46dcc9: Download complete 19:47:51 355e64cbe906: Download complete 19:47:51 63ab81a10011: Verifying Checksum 19:47:51 63ab81a10011: Download complete 19:47:51 9b3977197b4f: Verifying Checksum 19:47:51 9b3977197b4f: Download complete 19:47:52 9b3977197b4f: Pull complete 19:47:52 7d9057610161: Verifying Checksum 19:47:52 7d9057610161: Download complete 19:47:53 1a89e8eeedd5: Pull complete 19:47:53 94645a83ff95: Pull complete 19:47:54 555d1d1c4555: Verifying Checksum 19:47:54 555d1d1c4555: Download complete 19:47:54 e6fb740bc735: Verifying Checksum 19:47:54 e6fb740bc735: Download complete 19:48:07 e6fb740bc735: Pull complete 19:48:07 3a77bd46dcc9: Pull complete 19:48:07 355e64cbe906: Pull complete 19:48:07 63ab81a10011: Pull complete 19:48:12 555d1d1c4555: Pull complete 19:48:14 7d9057610161: Pull complete 19:48:14 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 19:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:48:14 ---> 819e984ddca1 19:48:14 Step 3/13 : ARG MAKE="make build" 19:48:15 ---> Running in c9bc310ccd0d 19:48:15 Removing intermediate container c9bc310ccd0d 19:48:15 ---> 8afa306adc52 19:48:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:48:15 ---> Running in 009541dfe27d 19:48:15 Removing intermediate container 009541dfe27d 19:48:15 ---> 6d6d53060f6b 19:48:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:48:15 ---> Running in 2beb872a6f2c 19:48:16 Removing intermediate container 2beb872a6f2c 19:48:16 ---> 6aa29a8087c1 19:48:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:48:16 ---> Running in 397cbe024dbe 19:48:16 Removing intermediate container 397cbe024dbe 19:48:16 ---> 77329b16297a 19:48:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:48:16 ---> Running in 6dd201aa9a29 19:48:18 Removing intermediate container 6dd201aa9a29 19:48:18 ---> 2dd816a15351 19:48:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:18 ---> Running in ef0bc1736850 19:48:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:48:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:48:21 OK: 220 MiB in 52 packages 19:48:23 Removing intermediate container ef0bc1736850 19:48:23 ---> b2a0a81a891d 19:48:23 Step 9/13 : WORKDIR /device-onvif-camera 19:48:23 ---> Running in 10c827ca6519 19:48:23 Removing intermediate container 10c827ca6519 19:48:23 ---> 1d07d88153f6 19:48:23 Step 10/13 : COPY go.mod vendor* ./ 19:48:23 ---> 59c68b558397 19:48:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:23 ---> Running in f5032374ae51 19:49:10 Removing intermediate container f5032374ae51 19:49:10 ---> a4702430d2ab 19:49:10 Step 12/13 : COPY . . 19:49:10 ---> f302f7e4e170 19:49:10 Step 13/13 : RUN ${MAKE} 19:49:10 ---> Running in 4d44f3821744 19:49:11 noop 19:49:12 Removing intermediate container 4d44f3821744 19:49:12 ---> 6ff19e1a49ea 19:49:12 Successfully built 6ff19e1a49ea 19:49:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:12 + docker inspect -f . ci-base-image-arm64 19:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:12 prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container 19:49:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** ci-base-image-arm64 cat 19:49:14 $ docker top 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:15 + go version 19:49:15 go version go1.17.7 linux/arm64 [Pipeline] } 19:49:15 $ docker stop --time=1 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f 19:49:16 $ docker rm -f 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:17 + docker inspect -f . ci-base-image-arm64 19:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:17 prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container 19:49:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** ci-base-image-arm64 cat 19:49:19 $ docker top dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:49:20 + make test 19:49:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:49:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:50:30 # github.com/edgexfoundry/device-onvif-camera/internal/driver 19:50:30 internal/driver/checkstatuses.go:30:6: expression in go must be function call 19:50:30 internal/driver/checkstatuses.go:60:47: syntax error: unexpected models, expecting comma or ) 19:50:36 # cover github.com/edgexfoundry/device-onvif-camera/internal/driver 19:50:36 2022/06/28 19:50:36 cover: /w/workspace/device-onvif-camera/23/internal/driver/checkstatuses.go: /w/workspace/device-onvif-camera/23/internal/driver/checkstatuses.go:52:3: function must be invoked in go statement (and 10 more errors) 19:50:42 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 19:51:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.133s coverage: 13.8% of statements 19:51:09 make: *** [Makefile:48: unittest] Error 2 [Pipeline] } 19:51:09 $ docker stop --time=1 dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 19:51:10 $ docker rm -f dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 [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 19:51:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:51:12 19:51:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:51:12 arm64: Pulling from edgex-lftools-log-publisher 19:51:12 8998bd30e6a1: Pulling fs layer 19:51:12 04944245beec: Pulling fs layer 19:51:12 699f458cf7ca: Pulling fs layer 19:51:12 765212b225bb: Pulling fs layer 19:51:12 f23df028b6ca: Pulling fs layer 19:51:12 d65c8cfc05b1: Pulling fs layer 19:51:12 2437ff75d9bd: Pulling fs layer 19:51:12 f23df028b6ca: Waiting 19:51:12 2437ff75d9bd: Waiting 19:51:12 d65c8cfc05b1: Waiting 19:51:12 765212b225bb: Waiting 19:51:12 04944245beec: Verifying Checksum 19:51:12 04944245beec: Download complete 19:51:12 765212b225bb: Download complete 19:51:12 f23df028b6ca: Verifying Checksum 19:51:12 f23df028b6ca: Download complete 19:51:12 d65c8cfc05b1: Verifying Checksum 19:51:12 d65c8cfc05b1: Download complete 19:51:12 699f458cf7ca: Verifying Checksum 19:51:12 699f458cf7ca: Download complete 19:51:13 8998bd30e6a1: Verifying Checksum 19:51:13 8998bd30e6a1: Download complete 19:51:15 2437ff75d9bd: Verifying Checksum 19:51:15 2437ff75d9bd: Download complete 19:51:17 8998bd30e6a1: Pull complete 19:51:18 04944245beec: Pull complete 19:51:19 699f458cf7ca: Pull complete 19:51:19 765212b225bb: Pull complete 19:51:20 f23df028b6ca: Pull complete 19:51:20 d65c8cfc05b1: Pull complete 19:51:35 2437ff75d9bd: Pull complete 19:51:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:51:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:51:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:36 prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container 19:51:36 $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:51:38 $ docker top 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:39 ---> job-cost.sh 19:51:39 lf-activate-venv: SKIPPING 19:51:39 INFO: No Stack... 19:51:39 INFO: Retrieving Pricing Info for: v3-standard-4 19:51:40 INFO: Archiving Costs [Pipeline] sh 19:51:41 + cat /w/workspace/device-onvif-camera/23/archives/cost.csv+ 19:51:41 cut -d, -f6 [Pipeline] lock 19:51:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] 19:51:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] did not exist. Created. 19:51:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:51:42 /w/workspace/device-onvif-camera/23@tmp/durable-92401eab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:51:43 + echo total: 0.10999999940395355 [Pipeline] stash 19:51:43 Warning: overwriting stash ‘stack-cost’ 19:51:43 Stashed 1 file(s) [Pipeline] } 19:51:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] // lock [Pipeline] } 19:51:43 $ docker stop --time=1 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 19:51:45 $ docker rm -f 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:51: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 19:51:46 + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] 19:51:46 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:51:46 total 16 19:51:46 drwxr-xr-x 3 root root 4096 Jun 28 19:44 . 19:51:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:44 .. 19:51:46 drwxr-xr-x 2 root root 4096 Jun 28 19:44 cost 19:51:46 -rw-r--r-- 1 root root 90 Jun 28 19:44 cost.csv 19:51:46 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:51:46 + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives 19:51:46 total 16 19:51:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 19:44 . 19:51:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:44 .. 19:51:46 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 19:44 cost 19:51:46 -rw-r--r-- 1 jenkins jenkins 90 Jun 28 19:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:51:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:51:47 ---> package-listing.sh 19:51:47 ++ facter osfamily 19:51:47 ++ tr '[:upper:]' '[:lower:]' 19:51:47 + OS_FAMILY=debian 19:51:47 + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 19:51:47 + START_PACKAGES=/tmp/packages_start.txt 19:51:47 + END_PACKAGES=/tmp/packages_end.txt 19:51:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:51:47 + PACKAGES=/tmp/packages_start.txt 19:51:47 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 19:51:47 + PACKAGES=/tmp/packages_end.txt 19:51:47 + case "${OS_FAMILY}" in 19:51:47 + grep '^ii' 19:51:47 + dpkg -l 19:51:47 + '[' -f /tmp/packages_start.txt ']' 19:51:47 + '[' -f /tmp/packages_end.txt ']' 19:51:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:51:47 + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' 19:51:47 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ 19:51:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [Pipeline] echo 19:51:47 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-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:51:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:51:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:48 prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container 19:51:48 $ 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-90/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-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:51:48 $ docker top 4277921d9fe6b0fb459302085263766021a4d12faa48a6e245382390d001fc66 -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:49 + touch /tmp/pre-build-complete [Pipeline] sh 19:51:49 + mkdir -p /var/log/sysstat [Pipeline] sh 19:51:49 + ls /var/log/sa-host 19:51:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:49 provisioning config files... 19:51:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2226445403567564558tmp [Pipeline] { [Pipeline] echo 19:51:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:51:50 ---> create-netrc.sh [Pipeline] } 19:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:51:50 ---> python-tools-install.sh [Pipeline] echo 19:51:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:51:50 ---> sudo-logs.sh 19:51:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:51:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:51:51 ---> job-cost.sh 19:51:51 lf-activate-venv: SKIPPING 19:51:51 DEBUG: total: 0.2199999988079071 19:51:51 INFO: Retrieving Stack Cost... 19:51:51 INFO: Retrieving Pricing Info for: v3-standard-8 19:51:52 INFO: Archiving Costs [Pipeline] echo 19:51:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:51:52 ---> logs-deploy.sh 19:51:52 lf-activate-venv: SKIPPING 19:51:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/23 19:51:52 INFO: archiving workspace using pattern(s): 19:51:53 Archives upload complete. 19:51:53 INFO: archiving logs to Nexus