Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dffb7f2740dabbc09a199987319937f43974e7a+77ccddf1f831a316cff875f9b23112dd948a8538 (fc0776bf20922a7e953b31ef743dd2ee740f4853) 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-ssh11776686886637933113.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14831151214332930600.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-267/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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4234084876427291111.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh3591354732952787495.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-267/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-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12522649913772407450.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4437 in /w/workspace/undry_device-onvif-camera_PR-267 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-267 # 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/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 8dffb7f2740dabbc09a199987319937f43974e7a Merge succeeded, producing bf58f407bb5b5cd507f1960bc2296619bbac6289 Checking out Revision bf58f407bb5b5cd507f1960bc2296619bbac6289 (PR-267) > git config core.sparsecheckout # timeout=10 > git checkout -f 8dffb7f2740dabbc09a199987319937f43974e7a # 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 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf58f407bb5b5cd507f1960bc2296619bbac6289 # timeout=10 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T22:11:23.282Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T22:11:23.325Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T22:11:23.339Z] ========================================================= [2023-03-17T22:11:23.339Z] EdgeX Global Pipelines Version Info [2023-03-17T22:11:23.339Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b566fb414694f55cf674b3e2520bd6b691c44d80 # timeout=10 [2023-03-17T22:11:24.042Z] ------------------- [2023-03-17T22:11:24.042Z] stable info: [2023-03-17T22:11:24.042Z] ------------------- [2023-03-17T22:11:24.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T22:11:24.042Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T22:11:24.042Z] Message: update stable to v1.0.245 [2023-03-17T22:11:24.611Z] ------------------- [2023-03-17T22:11:24.611Z] experimental info: [2023-03-17T22:11:24.611Z] ------------------- [2023-03-17T22:11:24.611Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T22:11:24.611Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T22:11:24.611Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T22:11:24.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T22:11:24.802Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T22:11:24.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T22:11:24.824Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T22:11:24.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T22:11:24.845Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T22:11:24.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T22:11:24.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T22:11:24.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T22:11:24.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T22:11:24.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T22:11:24.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T22:11:24.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T22:11:24.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T22:11:24.949Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:11:24.965Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:11:24.979Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:11:24.990Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:11:25.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T22:11:25.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T22:11:25.027Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T22:11:25.039Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T22:11:25.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T22:11:25.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T22:11:25.094Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T22:11:25.105Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T22:11:25.116Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T22:11:25.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-267 [Pipeline] echo [2023-03-17T22:11:25.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-267 [Pipeline] echo [2023-03-17T22:11:25.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-267 [Pipeline] echo [2023-03-17T22:11:25.173Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf58f407bb5b5cd507f1960bc2296619bbac6289 [Pipeline] echo [2023-03-17T22:11:25.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf58f40 [Pipeline] echo [2023-03-17T22:11:25.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:11:25.238Z] provisioning config files... [2023-03-17T22:11:25.250Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config1261202210796563970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:25.551Z] ---> docker-login.sh [2023-03-17T22:11:25.551Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:11:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:25.813Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:25.813Z] [2023-03-17T22:11:25.813Z] Login Succeeded [2023-03-17T22:11:25.813Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:11:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:25.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:25.813Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:25.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:25.813Z] [2023-03-17T22:11:25.813Z] Login Succeeded [2023-03-17T22:11:25.813Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:11:25.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:26.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:26.072Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:26.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:26.072Z] [2023-03-17T22:11:26.072Z] Login Succeeded [2023-03-17T22:11:26.072Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:11:26.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:26.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:26.072Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:26.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:26.072Z] [2023-03-17T22:11:26.072Z] Login Succeeded [2023-03-17T22:11:26.072Z] docker.io [2023-03-17T22:11:26.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:26.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:26.331Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:26.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:26.331Z] [2023-03-17T22:11:26.331Z] Login Succeeded [2023-03-17T22:11:26.331Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:11:26.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T22:11:26.707Z] + git rev-list -1 --merges bf58f407bb5b5cd507f1960bc2296619bbac6289~1..bf58f407bb5b5cd507f1960bc2296619bbac6289 [Pipeline] echo [2023-03-17T22:11:26.748Z] -----------> git rev-list -1 --merges bf58f407bb5b5cd507f1960bc2296619bbac6289~1..bf58f407bb5b5cd507f1960bc2296619bbac6289 bf58f407bb5b5cd507f1960bc2296619bbac6289 [2023-03-17T22:11:26.748Z] bf58f407bb5b5cd507f1960bc2296619bbac6289 [false] [Pipeline] sh [2023-03-17T22:11:27.032Z] + git log --format=format:%s -1 bf58f407bb5b5cd507f1960bc2296619bbac6289 [Pipeline] echo [2023-03-17T22:11:27.043Z] ========================================================= [2023-03-17T22:11:27.043Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T22:11:27.043Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:11:27.369Z] + git log --format=format:%s -1 bf58f407bb5b5cd507f1960bc2296619bbac6289 [Pipeline] echo [2023-03-17T22:11:27.380Z] [semverPrep] GIT_COMMIT: bf58f407bb5b5cd507f1960bc2296619bbac6289, Commit Message: Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD [Pipeline] echo [2023-03-17T22:11:27.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T22:11:27.726Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T22:11:27.726Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T22:11:27.726Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T22:11:27.726Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T22:11:27.726Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T22:11:27.726Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T22:11:27.726Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:28.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:28.070Z] [2023-03-17T22:11:28.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:28.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:28.366Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T22:11:28.366Z] b85a868b505f: Pulling fs layer [2023-03-17T22:11:28.366Z] e2be974225ed: Pulling fs layer [2023-03-17T22:11:28.366Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T22:11:28.366Z] 988bab9f4d93: Pulling fs layer [2023-03-17T22:11:28.366Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T22:11:28.366Z] eaf3925da568: Pulling fs layer [2023-03-17T22:11:28.366Z] bab4dde63d76: Pulling fs layer [2023-03-17T22:11:28.366Z] bde34c3a00c8: Pulling fs layer [2023-03-17T22:11:28.366Z] b352a97aabf1: Pulling fs layer [2023-03-17T22:11:28.366Z] 4872d77fe225: Pulling fs layer [2023-03-17T22:11:28.366Z] 988bab9f4d93: Waiting [2023-03-17T22:11:28.366Z] 5851b861e8e6: Pulling fs layer [2023-03-17T22:11:28.366Z] 1469e6f7b9e6: Waiting [2023-03-17T22:11:28.366Z] bde34c3a00c8: Waiting [2023-03-17T22:11:28.366Z] b352a97aabf1: Waiting [2023-03-17T22:11:28.366Z] eaf3925da568: Waiting [2023-03-17T22:11:28.366Z] 4872d77fe225: Waiting [2023-03-17T22:11:28.366Z] 5851b861e8e6: Waiting [2023-03-17T22:11:28.366Z] bab4dde63d76: Waiting [2023-03-17T22:11:28.366Z] e2be974225ed: Verifying Checksum [2023-03-17T22:11:28.366Z] e2be974225ed: Download complete [2023-03-17T22:11:28.366Z] 988bab9f4d93: Verifying Checksum [2023-03-17T22:11:28.366Z] 988bab9f4d93: Download complete [2023-03-17T22:11:28.625Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T22:11:28.625Z] 1469e6f7b9e6: Download complete [2023-03-17T22:11:28.625Z] eaf3925da568: Verifying Checksum [2023-03-17T22:11:28.625Z] eaf3925da568: Download complete [2023-03-17T22:11:28.625Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T22:11:28.625Z] 339a4e72a1f5: Download complete [2023-03-17T22:11:28.625Z] bde34c3a00c8: Verifying Checksum [2023-03-17T22:11:28.625Z] bde34c3a00c8: Download complete [2023-03-17T22:11:28.625Z] b352a97aabf1: Verifying Checksum [2023-03-17T22:11:28.625Z] b352a97aabf1: Download complete [2023-03-17T22:11:28.625Z] 4872d77fe225: Verifying Checksum [2023-03-17T22:11:28.625Z] 4872d77fe225: Download complete [2023-03-17T22:11:28.625Z] 5851b861e8e6: Verifying Checksum [2023-03-17T22:11:28.625Z] 5851b861e8e6: Download complete [2023-03-17T22:11:28.625Z] b85a868b505f: Verifying Checksum [2023-03-17T22:11:28.625Z] b85a868b505f: Download complete [2023-03-17T22:11:29.194Z] bab4dde63d76: Verifying Checksum [2023-03-17T22:11:29.194Z] bab4dde63d76: Download complete [2023-03-17T22:11:29.762Z] b85a868b505f: Pull complete [2023-03-17T22:11:29.762Z] e2be974225ed: Pull complete [2023-03-17T22:11:30.328Z] 339a4e72a1f5: Pull complete [2023-03-17T22:11:30.328Z] 988bab9f4d93: Pull complete [2023-03-17T22:11:30.587Z] 1469e6f7b9e6: Pull complete [2023-03-17T22:11:30.587Z] eaf3925da568: Pull complete [2023-03-17T22:11:32.487Z] bab4dde63d76: Pull complete [2023-03-17T22:11:32.487Z] bde34c3a00c8: Pull complete [2023-03-17T22:11:32.487Z] b352a97aabf1: Pull complete [2023-03-17T22:11:32.487Z] 4872d77fe225: Pull complete [2023-03-17T22:11:32.487Z] 5851b861e8e6: Pull complete [2023-03-17T22:11:32.487Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T22:11:32.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:32.487Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:11:32.579Z] prd-ubuntu20.04-docker-8c-8g-4437 does not seem to be running inside a container [2023-03-17T22:11:32.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T22:11:33.757Z] $ docker top 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 -eo pid,comm [2023-03-17T22:11:33.803Z] 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). [2023-03-17T22:11:33.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T22:11:33.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:11:33.881Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:11:33.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:11:33.999Z] $ docker exec 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 ssh-agent [2023-03-17T22:11:34.096Z] SSH_AUTH_SOCK=/tmp/ssh-3WClGLPWUTtn/agent.33 [2023-03-17T22:11:34.096Z] SSH_AGENT_PID=39 [2023-03-17T22:11:34.102Z] Running ssh-add (command line suppressed) [2023-03-17T22:11:34.208Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_11282249620303689291.key (/w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_11282249620303689291.key) [2023-03-17T22:11:34.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:11:34.502Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T22:11:34.521Z] $ docker exec --env ******** --env ******** 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 ssh-agent -k [2023-03-17T22:11:34.606Z] unset SSH_AUTH_SOCK; [2023-03-17T22:11:34.606Z] unset SSH_AGENT_PID; [2023-03-17T22:11:34.606Z] echo Agent pid 39 killed; [2023-03-17T22:11:34.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T22:11:34.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:11:34.637Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:11:34.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:11:34.726Z] $ docker exec 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 ssh-agent [2023-03-17T22:11:34.829Z] SSH_AUTH_SOCK=/tmp/ssh-IGaqR3CuQ674/agent.71 [2023-03-17T22:11:34.829Z] SSH_AGENT_PID=77 [2023-03-17T22:11:34.834Z] Running ssh-add (command line suppressed) [2023-03-17T22:11:34.940Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_3810812571852791174.key (/w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_3810812571852791174.key) [2023-03-17T22:11:34.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:11:35.235Z] + git semver init [2023-03-17T22:11:35.493Z] 2023-03-17 22:11:35,403 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T22:11:35.493Z] 2023-03-17 22:11:35,404 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-267/.semver [2023-03-17T22:11:35.493Z] 2023-03-17 22:11:35,404 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-267/.semver [2023-03-17T22:11:35.493Z] 2023-03-17 22:11:35,405 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-267/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-267, universal_newlines=False, shell=None, istream=None) [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,235 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-267/.git/info/exclude [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,235 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 with force:False [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,235 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,239 [execute] INFO git cat-file --batch-check [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,245 [execute] INFO git cat-file --batch [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:11:36.430Z] 2023-03-17 22:11:36,250 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 [2023-03-17T22:11:36.430Z] 0.0.0 [Pipeline] } [2023-03-17T22:11:36.442Z] $ docker exec --env ******** --env ******** 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 ssh-agent -k [2023-03-17T22:11:36.528Z] unset SSH_AUTH_SOCK; [2023-03-17T22:11:36.528Z] unset SSH_AGENT_PID; [2023-03-17T22:11:36.529Z] echo Agent pid 77 killed; [2023-03-17T22:11:36.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T22:11:36.835Z] + git semver [Pipeline] } [2023-03-17T22:11:37.111Z] $ docker stop --time=1 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 [2023-03-17T22:11:38.388Z] $ docker rm -f --volumes 1cd088a12fab1f184ec4b878a9fc2cd349b551c3743b95ab455a73e8a42c6e25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T22:11:38.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T22:11:38.896Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T22:11:38.899Z] [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 [2023-03-17T22:11:39.041Z] provisioning config files... [2023-03-17T22:11:39.048Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config1930513068218421256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:39.339Z] ---> docker-login.sh [2023-03-17T22:11:39.339Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:11:39.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:39.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:39.339Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:39.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:39.339Z] [2023-03-17T22:11:39.339Z] Login Succeeded [2023-03-17T22:11:39.339Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:11:39.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:39.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:39.339Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:39.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:39.339Z] [2023-03-17T22:11:39.339Z] Login Succeeded [2023-03-17T22:11:39.339Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:11:39.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:39.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:39.598Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:39.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:39.598Z] [2023-03-17T22:11:39.598Z] Login Succeeded [2023-03-17T22:11:39.598Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:11:39.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:39.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:39.598Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:39.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:39.598Z] [2023-03-17T22:11:39.598Z] Login Succeeded [2023-03-17T22:11:39.598Z] docker.io [2023-03-17T22:11:39.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:39.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:39.857Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:39.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:39.857Z] [2023-03-17T22:11:39.857Z] Login Succeeded [2023-03-17T22:11:39.857Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:11:39.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:11:39.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:11:39.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:11:39.948Z] ========================================================= [2023-03-17T22:11:39.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T22:11:39.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:40.264Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T22:11:40.264Z] Sending build context to Docker daemon 27.9MB [2023-03-17T22:11:40.264Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:11:40.264Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:11:40.529Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T22:11:40.529Z] 63b65145d645: Pulling fs layer [2023-03-17T22:11:40.529Z] a2d21d5440eb: Pulling fs layer [2023-03-17T22:11:40.529Z] 935e6c44a52c: Pulling fs layer [2023-03-17T22:11:40.529Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T22:11:40.529Z] 30dea6a524f1: Pulling fs layer [2023-03-17T22:11:40.529Z] a2aff8979fd8: Pulling fs layer [2023-03-17T22:11:40.529Z] 6808be2612f2: Pulling fs layer [2023-03-17T22:11:40.529Z] f25807f1079a: Pulling fs layer [2023-03-17T22:11:40.529Z] 30dea6a524f1: Waiting [2023-03-17T22:11:40.529Z] 94cc34f8dd06: Waiting [2023-03-17T22:11:40.529Z] a2aff8979fd8: Waiting [2023-03-17T22:11:40.529Z] 6808be2612f2: Waiting [2023-03-17T22:11:40.529Z] a2d21d5440eb: Verifying Checksum [2023-03-17T22:11:40.529Z] a2d21d5440eb: Download complete [2023-03-17T22:11:40.529Z] 94cc34f8dd06: Download complete [2023-03-17T22:11:40.529Z] 30dea6a524f1: Verifying Checksum [2023-03-17T22:11:40.529Z] 30dea6a524f1: Download complete [2023-03-17T22:11:40.529Z] 63b65145d645: Verifying Checksum [2023-03-17T22:11:40.529Z] 63b65145d645: Download complete [2023-03-17T22:11:40.529Z] a2aff8979fd8: Verifying Checksum [2023-03-17T22:11:40.529Z] a2aff8979fd8: Download complete [2023-03-17T22:11:40.793Z] 63b65145d645: Pull complete [2023-03-17T22:11:40.793Z] a2d21d5440eb: Pull complete [2023-03-17T22:11:41.053Z] f25807f1079a: Verifying Checksum [2023-03-17T22:11:41.053Z] f25807f1079a: Download complete [2023-03-17T22:11:41.310Z] 935e6c44a52c: Verifying Checksum [2023-03-17T22:11:41.310Z] 935e6c44a52c: Download complete [2023-03-17T22:11:41.569Z] 6808be2612f2: Verifying Checksum [2023-03-17T22:11:41.569Z] 6808be2612f2: Download complete [2023-03-17T22:11:44.854Z] 935e6c44a52c: Pull complete [2023-03-17T22:11:44.854Z] 94cc34f8dd06: Pull complete [2023-03-17T22:11:44.854Z] 30dea6a524f1: Pull complete [2023-03-17T22:11:44.854Z] a2aff8979fd8: Pull complete [2023-03-17T22:11:46.751Z] 6808be2612f2: Pull complete [2023-03-17T22:11:47.318Z] f25807f1079a: Pull complete [2023-03-17T22:11:47.318Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T22:11:47.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T22:11:47.318Z] ---> 3b553350e43f [2023-03-17T22:11:47.318Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:11:48.695Z] ---> Running in 1d8b18395345 [2023-03-17T22:11:48.695Z] Removing intermediate container 1d8b18395345 [2023-03-17T22:11:48.695Z] ---> 29c5c9b04180 [2023-03-17T22:11:48.695Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:11:48.695Z] ---> Running in 2005615dd9bf [2023-03-17T22:11:48.695Z] Removing intermediate container 2005615dd9bf [2023-03-17T22:11:48.695Z] ---> 66c6f3fd28ff [2023-03-17T22:11:48.695Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:11:48.695Z] ---> Running in 07d2857def3f [2023-03-17T22:11:48.953Z] Removing intermediate container 07d2857def3f [2023-03-17T22:11:48.953Z] ---> cfd3ffd4820c [2023-03-17T22:11:48.953Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:11:48.953Z] ---> Running in f80ca275e55d [2023-03-17T22:11:48.953Z] Removing intermediate container f80ca275e55d [2023-03-17T22:11:48.953Z] ---> 13995c43e625 [2023-03-17T22:11:48.953Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:11:48.953Z] ---> Running in 27d72c6e27b4 [2023-03-17T22:11:48.953Z] Removing intermediate container 27d72c6e27b4 [2023-03-17T22:11:48.953Z] ---> 01a5ea031a4a [2023-03-17T22:11:48.953Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:11:49.212Z] ---> Running in ce1eb9fd1441 [2023-03-17T22:11:49.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T22:11:49.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T22:11:49.728Z] OK: 265 MiB in 53 packages [2023-03-17T22:11:51.105Z] Removing intermediate container ce1eb9fd1441 [2023-03-17T22:11:51.105Z] ---> dc61093ace01 [2023-03-17T22:11:51.105Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:11:51.105Z] ---> Running in 2bed717b9642 [2023-03-17T22:11:51.105Z] Removing intermediate container 2bed717b9642 [2023-03-17T22:11:51.105Z] ---> 8a66d9e5f48a [2023-03-17T22:11:51.105Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:11:51.364Z] ---> b76616d8d372 [2023-03-17T22:11:51.364Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:11:51.623Z] ---> Running in 5067c8a9175e [2023-03-17T22:11:54.003Z] Still waiting to schedule task [2023-03-17T22:11:54.003Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4439’ is offline [2023-03-17T22:12:18.183Z] Removing intermediate container 5067c8a9175e [2023-03-17T22:12:18.183Z] ---> 6eed89f732ed [2023-03-17T22:12:18.183Z] Step 12/13 : COPY . . [2023-03-17T22:12:18.183Z] ---> 99b62ff33d7d [2023-03-17T22:12:18.183Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:12:18.183Z] ---> Running in 1a46452de0fd [2023-03-17T22:12:18.183Z] noop [2023-03-17T22:12:18.183Z] Removing intermediate container 1a46452de0fd [2023-03-17T22:12:18.183Z] ---> bd53e3a119bd [2023-03-17T22:12:18.183Z] Successfully built bd53e3a119bd [2023-03-17T22:12:18.183Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:12:18.486Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:12:18.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:12:18.550Z] prd-ubuntu20.04-docker-8c-8g-4437 does not seem to be running inside a container [2023-03-17T22:12:18.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 ******** ci-base-image-x86_64 cat [2023-03-17T22:12:18.934Z] $ docker top c8419c56f50031fc621ec9d5a0400672dae78a10ab38faa34b58f76d7a638675 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:12:19.267Z] + go version [2023-03-17T22:12:19.267Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T22:12:19.283Z] $ docker stop --time=1 c8419c56f50031fc621ec9d5a0400672dae78a10ab38faa34b58f76d7a638675 [2023-03-17T22:12:20.547Z] $ docker rm -f --volumes c8419c56f50031fc621ec9d5a0400672dae78a10ab38faa34b58f76d7a638675 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:12:20.956Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:12:20.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:12:21.032Z] prd-ubuntu20.04-docker-8c-8g-4437 does not seem to be running inside a container [2023-03-17T22:12:21.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 ******** ci-base-image-x86_64 cat [2023-03-17T22:12:21.438Z] $ docker top 737be30fa8b0b791d75d9c89ee375ba5f4b84bace564e28a1d3280b2eb26f97a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:12:21.771Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-267 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:12:22.065Z] + make test [2023-03-17T22:12:22.065Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:12:27.338Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:12:37.312Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-17T22:12:37.312Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-17T22:12:37.570Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T22:12:37.570Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:12:42.844Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.091s coverage: 86.5% of statements [2023-03-17T22:12:42.844Z] FAIL [2023-03-17T22:12:42.844Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T22:12:42.861Z] $ docker stop --time=1 737be30fa8b0b791d75d9c89ee375ba5f4b84bace564e28a1d3280b2eb26f97a [2023-03-17T22:12:44.898Z] $ docker rm -f --volumes 737be30fa8b0b791d75d9c89ee375ba5f4b84bace564e28a1d3280b2eb26f97a [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 [2023-03-17T22:12:45.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:12:45.439Z] [2023-03-17T22:12:45.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:12:45.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:12:45.737Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T22:12:45.737Z] 5eb5b503b376: Pulling fs layer [2023-03-17T22:12:45.737Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T22:12:45.737Z] ec43610c2a17: Pulling fs layer [2023-03-17T22:12:45.737Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T22:12:45.737Z] 33b1e0a273af: Pulling fs layer [2023-03-17T22:12:45.737Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T22:12:45.737Z] 2f39f015ded8: Pulling fs layer [2023-03-17T22:12:45.737Z] 5d3b04190fa2: Waiting [2023-03-17T22:12:45.737Z] 2f39f015ded8: Waiting [2023-03-17T22:12:45.737Z] 3a2ae6a8a46f: Waiting [2023-03-17T22:12:45.737Z] 33b1e0a273af: Waiting [2023-03-17T22:12:45.737Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T22:12:45.737Z] 5c69ac0246d0: Download complete [2023-03-17T22:12:45.737Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T22:12:45.737Z] 3a2ae6a8a46f: Download complete [2023-03-17T22:12:45.996Z] 33b1e0a273af: Verifying Checksum [2023-03-17T22:12:45.996Z] 33b1e0a273af: Download complete [2023-03-17T22:12:45.996Z] ec43610c2a17: Verifying Checksum [2023-03-17T22:12:45.996Z] ec43610c2a17: Download complete [2023-03-17T22:12:45.996Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T22:12:45.996Z] 5d3b04190fa2: Download complete [2023-03-17T22:12:45.996Z] 5eb5b503b376: Download complete [2023-03-17T22:12:46.563Z] 2f39f015ded8: Download complete [2023-03-17T22:12:47.130Z] 5eb5b503b376: Pull complete [2023-03-17T22:12:47.130Z] 5c69ac0246d0: Pull complete [2023-03-17T22:12:47.696Z] ec43610c2a17: Pull complete [2023-03-17T22:12:47.696Z] 3a2ae6a8a46f: Pull complete [2023-03-17T22:12:47.953Z] 33b1e0a273af: Pull complete [2023-03-17T22:12:47.953Z] 5d3b04190fa2: Pull complete [2023-03-17T22:12:52.137Z] 2f39f015ded8: Pull complete [2023-03-17T22:12:52.137Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T22:12:52.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:12:52.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:12:52.217Z] prd-ubuntu20.04-docker-8c-8g-4437 does not seem to be running inside a container [2023-03-17T22:12:52.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 [2023-03-17T22:12:54.019Z] $ docker top d86304030720f4f96c146c9d217dd3bb9b53c8081746616d3a32ab72723fb7d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:12:54.382Z] ---> job-cost.sh [2023-03-17T22:12:54.382Z] lf-activate-venv: SKIPPING [2023-03-17T22:12:54.382Z] INFO: No Stack... [2023-03-17T22:12:54.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:12:55.209Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:12:55.497Z] + cat /w/workspace/undry_device-onvif-camera_PR-267/archives/cost.csv [2023-03-17T22:12:55.497Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T22:12:55.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [2023-03-17T22:12:55.516Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] did not exist. Created. [2023-03-17T22:12:55.516Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:12:55.814Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T22:12:55.855Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:12:55.861Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:12:55.882Z] $ docker stop --time=1 d86304030720f4f96c146c9d217dd3bb9b53c8081746616d3a32ab72723fb7d2 [2023-03-17T22:12:57.035Z] $ docker rm -f --volumes d86304030720f4f96c146c9d217dd3bb9b53c8081746616d3a32ab72723fb7d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:12:57.118Z] Failed in branch amd64 [2023-03-17T22:14:40.913Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4442 in /w/workspace/undry_device-onvif-camera_PR-267 [Pipeline] { [Pipeline] ws [2023-03-17T22:14:40.925Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2023-03-17T22:14:40.969Z] The recommended git tool is: git [2023-03-17T22:14:47.578Z] using credential edgex-jenkins-ssh [2023-03-17T22:14:47.597Z] Cloning the remote Git repository [2023-03-17T22:14:47.654Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:47.773Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2023-03-17T22:14:47.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:47.946Z] > git --version # timeout=10 [2023-03-17T22:14:47.969Z] > git --version # 'git version 2.25.1' [2023-03-17T22:14:47.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:48.152Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:14:49.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:14:49.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:14:50.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:14:50.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:51.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:51.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T22:14:51.602Z] Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 8dffb7f2740dabbc09a199987319937f43974e7a [2023-03-17T22:14:52.242Z] Merge succeeded, producing fbb1ea2f0e31b475ee7fc6679513cca90294daf9 [2023-03-17T22:14:52.243Z] Checking out Revision fbb1ea2f0e31b475ee7fc6679513cca90294daf9 (PR-267) [2023-03-17T22:14:51.625Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:14:51.726Z] > git checkout -f 8dffb7f2740dabbc09a199987319937f43974e7a # timeout=10 [2023-03-17T22:14:52.076Z] > git remote # timeout=10 [2023-03-17T22:14:52.101Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T22:14:52.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:52.149Z] > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 [2023-03-17T22:14:52.215Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T22:14:52.250Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:14:52.271Z] > git checkout -f fbb1ea2f0e31b475ee7fc6679513cca90294daf9 # timeout=10 [2023-03-17T22:14:55.908Z] Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" [2023-03-17T22:14:55.947Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:14:56.873Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T22:14:56.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T22:14:56.873Z] Dload Upload Total Spent Left Speed [2023-03-17T22:14:56.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-17T22:14:55.919Z] > git rev-list --no-walk b566fb414694f55cf674b3e2520bd6b691c44d80 # timeout=10 [2023-03-17T22:14:57.680Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T22:14:58.030Z] + sudo tee /etc/docker/daemon.new [2023-03-17T22:14:58.030Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T22:14:58.030Z] { [2023-03-17T22:14:58.030Z] "registry-mirrors": [ [2023-03-17T22:14:58.030Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T22:14:58.030Z] ], [2023-03-17T22:14:58.030Z] "bip": "10.250.0.254/24", [2023-03-17T22:14:58.030Z] "hosts": [ [2023-03-17T22:14:58.030Z] "tcp://0.0.0.0:5555", [2023-03-17T22:14:58.030Z] "unix:///var/run/docker.sock" [2023-03-17T22:14:58.030Z] ], [2023-03-17T22:14:58.030Z] "mtu": 1458, [2023-03-17T22:14:58.030Z] "selinux-enabled": true, [2023-03-17T22:14:58.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T22:14:58.030Z] } [Pipeline] sh [2023-03-17T22:14:58.380Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T22:14:58.726Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:15:17.089Z] provisioning config files... [2023-03-17T22:15:17.128Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config184011595898443885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:15:17.513Z] ---> docker-login.sh [2023-03-17T22:15:17.513Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:15:18.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:15:18.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:15:18.106Z] Configure a credential helper to remove this warning. See [2023-03-17T22:15:18.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:15:18.106Z] [2023-03-17T22:15:18.106Z] Login Succeeded [2023-03-17T22:15:18.106Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:15:18.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:15:18.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:15:18.649Z] Configure a credential helper to remove this warning. See [2023-03-17T22:15:18.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:15:18.649Z] [2023-03-17T22:15:18.649Z] Login Succeeded [2023-03-17T22:15:18.649Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:15:18.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:15:18.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:15:18.922Z] Configure a credential helper to remove this warning. See [2023-03-17T22:15:18.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:15:18.922Z] [2023-03-17T22:15:18.922Z] Login Succeeded [2023-03-17T22:15:18.922Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:15:19.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:15:19.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:15:19.474Z] Configure a credential helper to remove this warning. See [2023-03-17T22:15:19.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:15:19.474Z] [2023-03-17T22:15:19.474Z] Login Succeeded [2023-03-17T22:15:19.474Z] docker.io [2023-03-17T22:15:19.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:15:20.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:15:20.019Z] Configure a credential helper to remove this warning. See [2023-03-17T22:15:20.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:15:20.019Z] [2023-03-17T22:15:20.019Z] Login Succeeded [2023-03-17T22:15:20.019Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:15:20.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:15:20.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:15:20.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:15:20.346Z] ========================================================= [2023-03-17T22:15:20.346Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T22:15:20.346Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:15:20.722Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T22:15:21.340Z] Sending build context to Docker daemon 20.64MB [2023-03-17T22:15:21.340Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:15:21.340Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:15:21.614Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T22:15:21.614Z] af6eaf76a39c: Pulling fs layer [2023-03-17T22:15:21.614Z] 55522c791124: Pulling fs layer [2023-03-17T22:15:21.614Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T22:15:21.614Z] 169dfbe0d373: Pulling fs layer [2023-03-17T22:15:21.614Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T22:15:21.614Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T22:15:21.614Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T22:15:21.614Z] 169dfbe0d373: Waiting [2023-03-17T22:15:21.614Z] e1ff8fa3b103: Waiting [2023-03-17T22:15:21.614Z] 52ebb69f0ebf: Waiting [2023-03-17T22:15:21.614Z] 5abe8eddf0d5: Waiting [2023-03-17T22:15:21.614Z] 55522c791124: Verifying Checksum [2023-03-17T22:15:21.614Z] 55522c791124: Download complete [2023-03-17T22:15:21.614Z] 169dfbe0d373: Verifying Checksum [2023-03-17T22:15:21.615Z] 169dfbe0d373: Download complete [2023-03-17T22:15:21.615Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T22:15:21.615Z] e1ff8fa3b103: Download complete [2023-03-17T22:15:21.889Z] af6eaf76a39c: Download complete [2023-03-17T22:15:22.874Z] af6eaf76a39c: Pull complete [2023-03-17T22:15:22.874Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T22:15:23.466Z] 55522c791124: Pull complete [2023-03-17T22:15:24.456Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T22:15:24.456Z] ce5c4a1c91eb: Download complete [2023-03-17T22:15:24.456Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T22:15:24.456Z] 52ebb69f0ebf: Download complete [2023-03-17T22:15:36.809Z] ce5c4a1c91eb: Pull complete [2023-03-17T22:15:36.809Z] 169dfbe0d373: Pull complete [2023-03-17T22:15:36.809Z] e1ff8fa3b103: Pull complete [2023-03-17T22:15:43.513Z] 52ebb69f0ebf: Pull complete [2023-03-17T22:15:45.484Z] 5abe8eddf0d5: Pull complete [2023-03-17T22:15:45.757Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T22:15:45.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T22:15:45.757Z] ---> 6cb57ee374ae [2023-03-17T22:15:45.757Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:15:47.734Z] ---> Running in e38233947829 [2023-03-17T22:15:48.002Z] Removing intermediate container e38233947829 [2023-03-17T22:15:48.002Z] ---> b6f738ce789d [2023-03-17T22:15:48.002Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:15:48.270Z] ---> Running in 06da43daf5fa [2023-03-17T22:15:48.539Z] Removing intermediate container 06da43daf5fa [2023-03-17T22:15:48.539Z] ---> 7c226b85b14b [2023-03-17T22:15:48.539Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:15:48.539Z] ---> Running in fad8dc9b062a [2023-03-17T22:15:48.815Z] Removing intermediate container fad8dc9b062a [2023-03-17T22:15:48.815Z] ---> 2631f6d6b634 [2023-03-17T22:15:48.815Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:15:49.084Z] ---> Running in 90a3bbacc889 [2023-03-17T22:15:49.353Z] Removing intermediate container 90a3bbacc889 [2023-03-17T22:15:49.353Z] ---> 5dddf025c1b9 [2023-03-17T22:15:49.353Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:15:49.353Z] ---> Running in c6930a8e3341 [2023-03-17T22:15:49.937Z] Removing intermediate container c6930a8e3341 [2023-03-17T22:15:49.937Z] ---> f7f5b6025705 [2023-03-17T22:15:49.937Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:15:49.937Z] ---> Running in c9360dda1ec5 [2023-03-17T22:15:51.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T22:15:51.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T22:15:52.914Z] OK: 263 MiB in 53 packages [2023-03-17T22:15:53.904Z] Removing intermediate container c9360dda1ec5 [2023-03-17T22:15:53.904Z] ---> 2070fd5d4d63 [2023-03-17T22:15:53.904Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:15:54.174Z] ---> Running in 9204aa7f55e6 [2023-03-17T22:15:54.443Z] Removing intermediate container 9204aa7f55e6 [2023-03-17T22:15:54.443Z] ---> 4ab0dbc8b6ed [2023-03-17T22:15:54.444Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:15:55.036Z] ---> 1feec8d45746 [2023-03-17T22:15:55.036Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:15:55.036Z] ---> Running in 4ded100db7c5 [2023-03-17T22:17:16.728Z] Removing intermediate container 4ded100db7c5 [2023-03-17T22:17:16.728Z] ---> f1b089c937ce [2023-03-17T22:17:16.728Z] Step 12/13 : COPY . . [2023-03-17T22:17:16.728Z] ---> 8e94f6f01f2e [2023-03-17T22:17:16.728Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:17:16.728Z] ---> Running in 4cbbe0e3ae1f [2023-03-17T22:17:16.728Z] noop [2023-03-17T22:17:16.728Z] Removing intermediate container 4cbbe0e3ae1f [2023-03-17T22:17:16.728Z] ---> 21eeac23e235 [2023-03-17T22:17:16.728Z] Successfully built 21eeac23e235 [2023-03-17T22:17:16.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:17:17.086Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:17:17.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:17:17.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-4442 does not seem to be running inside a container [2023-03-17T22:17:17.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** ci-base-image-arm64 cat [2023-03-17T22:17:18.881Z] $ docker top 902da6b4e2ef11e7c21169bfe08b4d1634adcc3a2b2848c7fdc64335181a00a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:17:19.753Z] + go version [2023-03-17T22:17:19.753Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T22:17:19.783Z] $ docker stop --time=1 902da6b4e2ef11e7c21169bfe08b4d1634adcc3a2b2848c7fdc64335181a00a1 [2023-03-17T22:17:21.495Z] $ docker rm -f --volumes 902da6b4e2ef11e7c21169bfe08b4d1634adcc3a2b2848c7fdc64335181a00a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:17:22.057Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:17:22.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:17:22.269Z] prd-ubuntu20.04-docker-arm64-4c-16g-4442 does not seem to be running inside a container [2023-03-17T22:17:22.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** ci-base-image-arm64 cat [2023-03-17T22:17:23.712Z] $ docker top 08e99abbd4e59dcb74ddfac07b37d7525dcbb22ebcfb6a506d0fcbc5cb269630 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:17:24.574Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:17:25.238Z] + make test [2023-03-17T22:17:25.238Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:18:04.169Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:20:40.939Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-17T22:20:40.939Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-17T22:20:49.154Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:20:49.154Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T22:21:21.413Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.287s coverage: 86.5% of statements [2023-03-17T22:21:21.413Z] FAIL [2023-03-17T22:21:21.413Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T22:21:21.443Z] $ docker stop --time=1 08e99abbd4e59dcb74ddfac07b37d7525dcbb22ebcfb6a506d0fcbc5cb269630 [2023-03-17T22:21:23.335Z] $ docker rm -f --volumes 08e99abbd4e59dcb74ddfac07b37d7525dcbb22ebcfb6a506d0fcbc5cb269630 [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 [2023-03-17T22:21:24.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:21:24.579Z] [2023-03-17T22:21:24.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:21:25.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:21:25.296Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T22:21:25.296Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T22:21:25.296Z] 04944245beec: Pulling fs layer [2023-03-17T22:21:25.296Z] 699f458cf7ca: Pulling fs layer [2023-03-17T22:21:25.296Z] 765212b225bb: Pulling fs layer [2023-03-17T22:21:25.296Z] f23df028b6ca: Pulling fs layer [2023-03-17T22:21:25.296Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T22:21:25.296Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T22:21:25.296Z] 765212b225bb: Waiting [2023-03-17T22:21:25.296Z] f23df028b6ca: Waiting [2023-03-17T22:21:25.296Z] d65c8cfc05b1: Waiting [2023-03-17T22:21:25.296Z] 2437ff75d9bd: Waiting [2023-03-17T22:21:25.296Z] 04944245beec: Verifying Checksum [2023-03-17T22:21:25.296Z] 04944245beec: Download complete [2023-03-17T22:21:25.296Z] 765212b225bb: Verifying Checksum [2023-03-17T22:21:25.296Z] 765212b225bb: Download complete [2023-03-17T22:21:25.296Z] f23df028b6ca: Download complete [2023-03-17T22:21:25.586Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T22:21:25.586Z] d65c8cfc05b1: Download complete [2023-03-17T22:21:25.586Z] 699f458cf7ca: Verifying Checksum [2023-03-17T22:21:25.586Z] 699f458cf7ca: Download complete [2023-03-17T22:21:25.887Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T22:21:25.887Z] 8998bd30e6a1: Download complete [2023-03-17T22:21:28.584Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T22:21:28.584Z] 2437ff75d9bd: Download complete [2023-03-17T22:21:30.538Z] 8998bd30e6a1: Pull complete [2023-03-17T22:21:30.538Z] 04944245beec: Pull complete [2023-03-17T22:21:31.964Z] 699f458cf7ca: Pull complete [2023-03-17T22:21:32.234Z] 765212b225bb: Pull complete [2023-03-17T22:21:33.202Z] f23df028b6ca: Pull complete [2023-03-17T22:21:33.472Z] d65c8cfc05b1: Pull complete [2023-03-17T22:21:48.503Z] 2437ff75d9bd: Pull complete [2023-03-17T22:21:48.503Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T22:21:48.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:21:48.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:21:48.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-4442 does not seem to be running inside a container [2023-03-17T22:21:48.803Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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:arm64 cat [2023-03-17T22:21:51.536Z] $ docker top d371f46b49446d111422a8da21f647b580c49f586db4c896de4b96ebb3ab07e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:52.389Z] ---> job-cost.sh [2023-03-17T22:21:52.389Z] lf-activate-venv: SKIPPING [2023-03-17T22:21:52.389Z] INFO: No Stack... [2023-03-17T22:21:52.973Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T22:21:53.931Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:21:54.252Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2023-03-17T22:21:54.253Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T22:21:54.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [2023-03-17T22:21:54.588Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] did not exist. Created. [2023-03-17T22:21:54.588Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:21:54.930Z] /w/workspace/device-onvif-camera/3@tmp/durable-7608077a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T22:21:55.262Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T22:21:55.280Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T22:21:55.700Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:21:55.709Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:21:55.741Z] $ docker stop --time=1 d371f46b49446d111422a8da21f647b580c49f586db4c896de4b96ebb3ab07e0 [2023-03-17T22:21:57.251Z] $ docker rm -f --volumes d371f46b49446d111422a8da21f647b580c49f586db4c896de4b96ebb3ab07e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:21:57.468Z] 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 [2023-03-17T22:21:58.091Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-267/archives ] [2023-03-17T22:21:58.091Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-17T22:21:58.091Z] total 16 [2023-03-17T22:21:58.091Z] drwxr-xr-x 3 root root 4096 Mar 17 22:12 . [2023-03-17T22:21:58.091Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:12 .. [2023-03-17T22:21:58.092Z] drwxr-xr-x 2 root root 4096 Mar 17 22:12 cost [2023-03-17T22:21:58.092Z] -rw-r--r-- 1 root root 91 Mar 17 22:12 cost.csv [2023-03-17T22:21:58.092Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-17T22:21:58.092Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-17T22:21:58.092Z] total 16 [2023-03-17T22:21:58.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:12 . [2023-03-17T22:21:58.092Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:12 .. [2023-03-17T22:21:58.092Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 22:12 cost [2023-03-17T22:21:58.092Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:58.379Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:59.241Z] ---> package-listing.sh [2023-03-17T22:21:59.241Z] ++ facter osfamily [2023-03-17T22:21:59.241Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T22:21:59.241Z] + OS_FAMILY=debian [2023-03-17T22:21:59.241Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-267 [2023-03-17T22:21:59.241Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T22:21:59.241Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T22:21:59.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T22:21:59.241Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T22:21:59.241Z] + '[' /w/workspace/undry_device-onvif-camera_PR-267 ']' [2023-03-17T22:21:59.241Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T22:21:59.241Z] + case "${OS_FAMILY}" in [2023-03-17T22:21:59.241Z] + dpkg -l [2023-03-17T22:21:59.241Z] + grep '^ii' [2023-03-17T22:21:59.500Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T22:21:59.500Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T22:21:59.500Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T22:21:59.500Z] + '[' /w/workspace/undry_device-onvif-camera_PR-267 ']' [2023-03-17T22:21:59.500Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-267/archives/ [2023-03-17T22:21:59.500Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-267/archives/ [Pipeline] echo [2023-03-17T22:21:59.509Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T22:21:59.795Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:22:00.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:22:00.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:22:00.412Z] prd-ubuntu20.04-docker-8c-8g-4437 does not seem to be running inside a container [2023-03-17T22:22:00.446Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T22:22:00.639Z] $ docker top 18a5c3623fb1ae7eb3a2b97736d04c69d402476e565a125383b716c48b556888 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:22:00.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T22:22:01.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T22:22:01.539Z] + ls /var/log/sa-host [2023-03-17T22:22:01.539Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:22:01.601Z] provisioning config files... [2023-03-17T22:22:01.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config8287070201203630719tmp [Pipeline] { [Pipeline] echo [2023-03-17T22:22:01.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:22:01.902Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T22:22:01.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:22:02.232Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T22:22:02.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:22:02.520Z] ---> sudo-logs.sh [2023-03-17T22:22:02.520Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T22:22:02.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:22:02.828Z] ---> job-cost.sh [2023-03-17T22:22:02.828Z] lf-activate-venv: SKIPPING [2023-03-17T22:22:02.828Z] DEBUG: total: 0.2199999988079071 [2023-03-17T22:22:02.828Z] INFO: Retrieving Stack Cost... [2023-03-17T22:22:03.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:22:03.654Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T22:22:03.666Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:22:03.952Z] ---> logs-deploy.sh [2023-03-17T22:22:03.952Z] lf-activate-venv: SKIPPING [2023-03-17T22:22:03.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-267/3 [2023-03-17T22:22:03.952Z] INFO: archiving workspace using pattern(s): [2023-03-17T22:22:04.888Z] Archives upload complete. [2023-03-17T22:22:04.888Z] INFO: archiving logs to Nexus