Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6+96327e049a2d26e356251a4ee56d80af5c884d85 (1d8cbb1ec8286116c5fef59934ec64a20088735f) 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-ssh853902639382662069.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-ssh10311010512348723292.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-usb-camera/branches/PR-187/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-usb-camera/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5905513442437801821.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-ssh7500335500831095855.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-usb-camera/branches/PR-187/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-usb-camera/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13950861601559862044.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-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-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-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4350 in /w/workspace/foundry_device-usb-camera_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 Merge succeeded, producing 02866ba9c0edffc1163527951f8286fc3e9d0ae1 Checking out Revision 02866ba9c0edffc1163527951f8286fc3e9d0ae1 (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 # 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 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02866ba9c0edffc1163527951f8286fc3e9d0ae1 # timeout=10 Commit message: "Merge commit '96327e049a2d26e356251a4ee56d80af5c884d85' into HEAD" > git rev-list --no-walk 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T06:15:57.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T06:15:57.201Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T06:15:57.211Z] ========================================================= [2023-03-17T06:15:57.211Z] EdgeX Global Pipelines Version Info [2023-03-17T06:15:57.211Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:15:57.928Z] ------------------- [2023-03-17T06:15:57.928Z] stable info: [2023-03-17T06:15:57.928Z] ------------------- [2023-03-17T06:15:57.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T06:15:57.928Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T06:15:57.928Z] Message: update stable to v1.0.245 [2023-03-17T06:15:58.500Z] ------------------- [2023-03-17T06:15:58.500Z] experimental info: [2023-03-17T06:15:58.500Z] ------------------- [2023-03-17T06:15:58.500Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T06:15:58.500Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T06:15:58.500Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T06:15:58.680Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-17T06:15:58.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-17T06:15:58.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T06:15:58.708Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T06:15:58.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T06:15:58.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T06:15:58.740Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T06:15:58.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T06:15:58.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T06:15:58.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T06:15:58.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T06:15:58.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-17T06:15:58.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T06:15:58.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T06:15:58.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T06:15:58.867Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T06:15:58.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T06:15:58.891Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T06:15:58.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T06:15:58.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T06:15:58.927Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-17T06:15:58.938Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-17T06:15:58.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T06:15:58.966Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T06:15:58.976Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T06:15:58.991Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T06:15:59.003Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T06:15:59.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2023-03-17T06:15:59.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2023-03-17T06:15:59.044Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2023-03-17T06:15:59.056Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02866ba9c0edffc1163527951f8286fc3e9d0ae1 [Pipeline] echo [2023-03-17T06:15:59.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02866ba [Pipeline] echo [2023-03-17T06:15:59.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T06:15:59.112Z] provisioning config files... [2023-03-17T06:15:59.125Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-187@tmp/config18344955713478835774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:15:59.424Z] ---> docker-login.sh [2023-03-17T06:15:59.424Z] nexus3.edgexfoundry.org:10001 [2023-03-17T06:15:59.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:15:59.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:15:59.684Z] Configure a credential helper to remove this warning. See [2023-03-17T06:15:59.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:15:59.684Z] [2023-03-17T06:15:59.684Z] Login Succeeded [2023-03-17T06:15:59.684Z] nexus3.edgexfoundry.org:10002 [2023-03-17T06:15:59.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:15:59.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:15:59.943Z] Configure a credential helper to remove this warning. See [2023-03-17T06:15:59.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:15:59.943Z] [2023-03-17T06:15:59.943Z] Login Succeeded [2023-03-17T06:15:59.943Z] nexus3.edgexfoundry.org:10003 [2023-03-17T06:15:59.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:15:59.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:15:59.943Z] Configure a credential helper to remove this warning. See [2023-03-17T06:15:59.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:15:59.943Z] [2023-03-17T06:15:59.943Z] Login Succeeded [2023-03-17T06:15:59.943Z] nexus3.edgexfoundry.org:10004 [2023-03-17T06:16:00.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:00.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:00.204Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:00.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:00.204Z] [2023-03-17T06:16:00.204Z] Login Succeeded [2023-03-17T06:16:00.204Z] docker.io [2023-03-17T06:16:00.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:00.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:00.463Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:00.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:00.463Z] [2023-03-17T06:16:00.463Z] Login Succeeded [2023-03-17T06:16:00.463Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T06:16:00.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T06:16:00.833Z] + git rev-list -1 --merges 02866ba9c0edffc1163527951f8286fc3e9d0ae1~1..02866ba9c0edffc1163527951f8286fc3e9d0ae1 [Pipeline] echo [2023-03-17T06:16:00.877Z] -----------> git rev-list -1 --merges 02866ba9c0edffc1163527951f8286fc3e9d0ae1~1..02866ba9c0edffc1163527951f8286fc3e9d0ae1 02866ba9c0edffc1163527951f8286fc3e9d0ae1 [2023-03-17T06:16:00.877Z] 02866ba9c0edffc1163527951f8286fc3e9d0ae1 [false] [Pipeline] sh [2023-03-17T06:16:01.168Z] + git log --format=format:%s -1 02866ba9c0edffc1163527951f8286fc3e9d0ae1 [Pipeline] echo [2023-03-17T06:16:01.184Z] ========================================================= [2023-03-17T06:16:01.184Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T06:16:01.184Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T06:16:01.519Z] + git log --format=format:%s -1 02866ba9c0edffc1163527951f8286fc3e9d0ae1 [Pipeline] echo [2023-03-17T06:16:01.529Z] [semverPrep] GIT_COMMIT: 02866ba9c0edffc1163527951f8286fc3e9d0ae1, Commit Message: Merge commit '96327e049a2d26e356251a4ee56d80af5c884d85' into HEAD [Pipeline] echo [2023-03-17T06:16:01.536Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T06:16:01.866Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T06:16:01.866Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T06:16:01.866Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T06:16:01.866Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T06:16:01.866Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T06:16:01.866Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T06:16:01.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:16:02.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T06:16:02.250Z] [2023-03-17T06:16:02.250Z] 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-17T06:16:02.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T06:16:02.562Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T06:16:02.562Z] b85a868b505f: Pulling fs layer [2023-03-17T06:16:02.562Z] e2be974225ed: Pulling fs layer [2023-03-17T06:16:02.562Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T06:16:02.562Z] 988bab9f4d93: Pulling fs layer [2023-03-17T06:16:02.562Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T06:16:02.562Z] eaf3925da568: Pulling fs layer [2023-03-17T06:16:02.562Z] bab4dde63d76: Pulling fs layer [2023-03-17T06:16:02.562Z] bde34c3a00c8: Pulling fs layer [2023-03-17T06:16:02.562Z] b352a97aabf1: Pulling fs layer [2023-03-17T06:16:02.562Z] 4872d77fe225: Pulling fs layer [2023-03-17T06:16:02.562Z] 5851b861e8e6: Pulling fs layer [2023-03-17T06:16:02.562Z] eaf3925da568: Waiting [2023-03-17T06:16:02.562Z] 988bab9f4d93: Waiting [2023-03-17T06:16:02.562Z] 1469e6f7b9e6: Waiting [2023-03-17T06:16:02.562Z] bab4dde63d76: Waiting [2023-03-17T06:16:02.562Z] 4872d77fe225: Waiting [2023-03-17T06:16:02.562Z] bde34c3a00c8: Waiting [2023-03-17T06:16:02.562Z] b352a97aabf1: Waiting [2023-03-17T06:16:02.562Z] 5851b861e8e6: Waiting [2023-03-17T06:16:02.562Z] e2be974225ed: Verifying Checksum [2023-03-17T06:16:02.562Z] e2be974225ed: Download complete [2023-03-17T06:16:02.562Z] 988bab9f4d93: Verifying Checksum [2023-03-17T06:16:02.562Z] 988bab9f4d93: Download complete [2023-03-17T06:16:02.824Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T06:16:02.824Z] 1469e6f7b9e6: Download complete [2023-03-17T06:16:02.824Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T06:16:02.824Z] 339a4e72a1f5: Download complete [2023-03-17T06:16:02.824Z] eaf3925da568: Verifying Checksum [2023-03-17T06:16:02.824Z] eaf3925da568: Download complete [2023-03-17T06:16:02.824Z] bde34c3a00c8: Download complete [2023-03-17T06:16:02.824Z] b352a97aabf1: Verifying Checksum [2023-03-17T06:16:02.824Z] b352a97aabf1: Download complete [2023-03-17T06:16:02.824Z] 4872d77fe225: Download complete [2023-03-17T06:16:02.824Z] 5851b861e8e6: Verifying Checksum [2023-03-17T06:16:02.824Z] 5851b861e8e6: Download complete [2023-03-17T06:16:02.824Z] b85a868b505f: Verifying Checksum [2023-03-17T06:16:02.824Z] b85a868b505f: Download complete [2023-03-17T06:16:03.082Z] bab4dde63d76: Verifying Checksum [2023-03-17T06:16:03.082Z] bab4dde63d76: Download complete [2023-03-17T06:16:04.032Z] b85a868b505f: Pull complete [2023-03-17T06:16:04.290Z] e2be974225ed: Pull complete [2023-03-17T06:16:04.860Z] 339a4e72a1f5: Pull complete [2023-03-17T06:16:04.860Z] 988bab9f4d93: Pull complete [2023-03-17T06:16:05.122Z] 1469e6f7b9e6: Pull complete [2023-03-17T06:16:05.122Z] eaf3925da568: Pull complete [2023-03-17T06:16:07.027Z] bab4dde63d76: Pull complete [2023-03-17T06:16:07.027Z] bde34c3a00c8: Pull complete [2023-03-17T06:16:07.027Z] b352a97aabf1: Pull complete [2023-03-17T06:16:07.027Z] 4872d77fe225: Pull complete [2023-03-17T06:16:07.287Z] 5851b861e8e6: Pull complete [2023-03-17T06:16:07.287Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T06:16:07.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T06:16:07.287Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:16:07.393Z] prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container [2023-03-17T06:16:07.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-187 -v /w/workspace/foundry_device-usb-camera_PR-187:/w/workspace/foundry_device-usb-camera_PR-187:rw,z -v /w/workspace/foundry_device-usb-camera_PR-187@tmp:/w/workspace/foundry_device-usb-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T06:16:08.711Z] $ docker top 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 -eo pid,comm [2023-03-17T06:16:08.765Z] 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-17T06:16:08.765Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T06:16:08.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T06:16:08.800Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T06:16:08.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T06:16:08.940Z] $ docker exec 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 ssh-agent [2023-03-17T06:16:09.049Z] SSH_AUTH_SOCK=/tmp/ssh-gfCVOwAfFQ7u/agent.32 [2023-03-17T06:16:09.049Z] SSH_AGENT_PID=38 [2023-03-17T06:16:09.055Z] Running ssh-add (command line suppressed) [2023-03-17T06:16:09.185Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-187@tmp/private_key_3754726928776831111.key (/w/workspace/foundry_device-usb-camera_PR-187@tmp/private_key_3754726928776831111.key) [2023-03-17T06:16:09.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T06:16:09.482Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T06:16:09.501Z] $ docker exec --env ******** --env ******** 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 ssh-agent -k [2023-03-17T06:16:09.603Z] unset SSH_AUTH_SOCK; [2023-03-17T06:16:09.607Z] unset SSH_AGENT_PID; [2023-03-17T06:16:09.607Z] echo Agent pid 38 killed; [2023-03-17T06:16:09.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T06:16:09.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T06:16:09.654Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T06:16:09.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T06:16:09.773Z] $ docker exec 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 ssh-agent [2023-03-17T06:16:09.886Z] SSH_AUTH_SOCK=/tmp/ssh-2D1YvJKkeBWy/agent.70 [2023-03-17T06:16:09.886Z] SSH_AGENT_PID=76 [2023-03-17T06:16:09.891Z] Running ssh-add (command line suppressed) [2023-03-17T06:16:10.000Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-187@tmp/private_key_4842381908193396538.key (/w/workspace/foundry_device-usb-camera_PR-187@tmp/private_key_4842381908193396538.key) [2023-03-17T06:16:10.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T06:16:10.319Z] + git semver init [2023-03-17T06:16:10.578Z] 2023-03-17 06:16:10,503 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T06:16:10.578Z] 2023-03-17 06:16:10,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-187/.semver [2023-03-17T06:16:10.578Z] 2023-03-17 06:16:10,505 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-187/.semver [2023-03-17T06:16:10.578Z] 2023-03-17 06:16:10,505 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-187/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-187, universal_newlines=False, shell=None, istream=None) [2023-03-17T06:16:11.147Z] 2023-03-17 06:16:11,143 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-187/.git/info/exclude [2023-03-17T06:16:11.147Z] 2023-03-17 06:16:11,144 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-187/.semver/PR-187 with force:False [2023-03-17T06:16:11.147Z] 2023-03-17 06:16:11,144 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-187/.semver/PR-187 [2023-03-17T06:16:11.147Z] 2023-03-17 06:16:11,149 [execute] INFO git cat-file --batch-check [2023-03-17T06:16:11.147Z] 2023-03-17 06:16:11,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T06:16:11.407Z] 2023-03-17 06:16:11,156 [execute] INFO git cat-file --batch [2023-03-17T06:16:11.407Z] 2023-03-17 06:16:11,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T06:16:11.407Z] 2023-03-17 06:16:11,162 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-187/.semver/PR-187 [2023-03-17T06:16:11.407Z] 0.0.0 [Pipeline] } [2023-03-17T06:16:11.420Z] $ docker exec --env ******** --env ******** 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 ssh-agent -k [2023-03-17T06:16:11.523Z] unset SSH_AUTH_SOCK; [2023-03-17T06:16:11.524Z] unset SSH_AGENT_PID; [2023-03-17T06:16:11.524Z] echo Agent pid 76 killed; [2023-03-17T06:16:11.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T06:16:11.838Z] + git semver [Pipeline] } [2023-03-17T06:16:12.114Z] $ docker stop --time=1 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 [2023-03-17T06:16:13.434Z] $ docker rm -f --volumes 9315b46ec4aa438e5347fe964faf2360515e55a6baf3276d2f40193cb7f13354 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T06:16:13.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T06:16:13.981Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T06:16:13.985Z] [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-17T06:16:14.123Z] provisioning config files... [2023-03-17T06:16:14.133Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-187@tmp/config15931445468525270826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:16:14.427Z] ---> docker-login.sh [2023-03-17T06:16:14.427Z] nexus3.edgexfoundry.org:10001 [2023-03-17T06:16:14.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:14.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:14.427Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:14.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:14.427Z] [2023-03-17T06:16:14.427Z] Login Succeeded [2023-03-17T06:16:14.427Z] nexus3.edgexfoundry.org:10002 [2023-03-17T06:16:14.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:14.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:14.687Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:14.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:14.687Z] [2023-03-17T06:16:14.687Z] Login Succeeded [2023-03-17T06:16:14.687Z] nexus3.edgexfoundry.org:10003 [2023-03-17T06:16:14.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:14.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:14.687Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:14.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:14.687Z] [2023-03-17T06:16:14.687Z] Login Succeeded [2023-03-17T06:16:14.687Z] nexus3.edgexfoundry.org:10004 [2023-03-17T06:16:14.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:15.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:15.207Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:15.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:15.207Z] [2023-03-17T06:16:15.207Z] Login Succeeded [2023-03-17T06:16:15.207Z] docker.io [2023-03-17T06:16:15.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:16:15.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:16:15.466Z] Configure a credential helper to remove this warning. See [2023-03-17T06:16:15.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:16:15.466Z] [2023-03-17T06:16:15.466Z] Login Succeeded [2023-03-17T06:16:15.466Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T06:16:15.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T06:16:15.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:16:15.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:16:15.563Z] ========================================================= [2023-03-17T06:16:15.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T06:16:15.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:16:15.876Z] + 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-17T06:16:15.876Z] Sending build context to Docker daemon 1.785MB [2023-03-17T06:16:15.876Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T06:16:15.876Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T06:16:15.876Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T06:16:15.876Z] 63b65145d645: Pulling fs layer [2023-03-17T06:16:15.876Z] a2d21d5440eb: Pulling fs layer [2023-03-17T06:16:15.876Z] 935e6c44a52c: Pulling fs layer [2023-03-17T06:16:15.876Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T06:16:15.876Z] 30dea6a524f1: Pulling fs layer [2023-03-17T06:16:15.876Z] a2aff8979fd8: Pulling fs layer [2023-03-17T06:16:15.876Z] 6808be2612f2: Pulling fs layer [2023-03-17T06:16:15.877Z] f25807f1079a: Pulling fs layer [2023-03-17T06:16:15.877Z] 94cc34f8dd06: Waiting [2023-03-17T06:16:15.877Z] 30dea6a524f1: Waiting [2023-03-17T06:16:15.877Z] a2aff8979fd8: Waiting [2023-03-17T06:16:15.877Z] 6808be2612f2: Waiting [2023-03-17T06:16:15.877Z] f25807f1079a: Waiting [2023-03-17T06:16:15.877Z] a2d21d5440eb: Verifying Checksum [2023-03-17T06:16:15.877Z] a2d21d5440eb: Download complete [2023-03-17T06:16:16.138Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T06:16:16.138Z] 94cc34f8dd06: Download complete [2023-03-17T06:16:16.138Z] 30dea6a524f1: Verifying Checksum [2023-03-17T06:16:16.138Z] 30dea6a524f1: Download complete [2023-03-17T06:16:16.138Z] 63b65145d645: Verifying Checksum [2023-03-17T06:16:16.138Z] 63b65145d645: Download complete [2023-03-17T06:16:16.138Z] a2aff8979fd8: Verifying Checksum [2023-03-17T06:16:16.138Z] a2aff8979fd8: Download complete [2023-03-17T06:16:16.138Z] 63b65145d645: Pull complete [2023-03-17T06:16:16.405Z] a2d21d5440eb: Pull complete [2023-03-17T06:16:16.668Z] f25807f1079a: Verifying Checksum [2023-03-17T06:16:16.668Z] f25807f1079a: Download complete [2023-03-17T06:16:16.668Z] 935e6c44a52c: Verifying Checksum [2023-03-17T06:16:16.668Z] 935e6c44a52c: Download complete [2023-03-17T06:16:16.928Z] 6808be2612f2: Verifying Checksum [2023-03-17T06:16:16.928Z] 6808be2612f2: Download complete [2023-03-17T06:16:20.212Z] 935e6c44a52c: Pull complete [2023-03-17T06:16:20.212Z] 94cc34f8dd06: Pull complete [2023-03-17T06:16:20.470Z] 30dea6a524f1: Pull complete [2023-03-17T06:16:20.470Z] a2aff8979fd8: Pull complete [2023-03-17T06:16:22.999Z] 6808be2612f2: Pull complete [2023-03-17T06:16:23.564Z] f25807f1079a: Pull complete [2023-03-17T06:16:23.564Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T06:16:23.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T06:16:23.564Z] ---> 3b553350e43f [2023-03-17T06:16:23.564Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T06:16:25.476Z] ---> Running in 55f4cd0a5c63 [2023-03-17T06:16:25.476Z] Removing intermediate container 55f4cd0a5c63 [2023-03-17T06:16:25.476Z] ---> 1f010ccbc702 [2023-03-17T06:16:25.476Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T06:16:25.476Z] ---> Running in adf1aebce36c [2023-03-17T06:16:25.476Z] Removing intermediate container adf1aebce36c [2023-03-17T06:16:25.476Z] ---> 256231d5d43a [2023-03-17T06:16:25.476Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-17T06:16:25.476Z] ---> Running in b657b4e729f0 [2023-03-17T06:16:25.476Z] Removing intermediate container b657b4e729f0 [2023-03-17T06:16:25.476Z] ---> 137b95185208 [2023-03-17T06:16:25.476Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-17T06:16:25.736Z] ---> Running in c5abc9ac53f8 [2023-03-17T06:16:25.736Z] Removing intermediate container c5abc9ac53f8 [2023-03-17T06:16:25.736Z] ---> 798c57b8ffb5 [2023-03-17T06:16:25.736Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T06:16:25.736Z] ---> Running in 800660d353c1 [2023-03-17T06:16:25.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T06:16:26.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T06:16:26.252Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-17T06:16:26.252Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-17T06:16:26.252Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-17T06:16:26.252Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-17T06:16:26.252Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-17T06:16:26.252Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-17T06:16:26.252Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-17T06:16:26.252Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-17T06:16:26.252Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-17T06:16:26.511Z] (10/14) Installing kmod-libs (30-r1) [2023-03-17T06:16:26.511Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-17T06:16:26.511Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-17T06:16:26.511Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-17T06:16:26.511Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-17T06:16:26.511Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T06:16:26.511Z] Executing eudev-3.2.11-r4.trigger [2023-03-17T06:16:26.511Z] OK: 272 MiB in 67 packages [2023-03-17T06:16:27.078Z] Removing intermediate container 800660d353c1 [2023-03-17T06:16:27.078Z] ---> 2814558c905d [2023-03-17T06:16:27.078Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-17T06:16:27.078Z] ---> Running in 3a915c70dd10 [2023-03-17T06:16:27.078Z] Removing intermediate container 3a915c70dd10 [2023-03-17T06:16:27.078Z] ---> aa52960a0809 [2023-03-17T06:16:27.078Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-17T06:16:27.078Z] ---> 5b4f12c076ae [2023-03-17T06:16:27.078Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T06:16:27.337Z] ---> Running in bb64d1521b0e [2023-03-17T06:16:29.082Z] Still waiting to schedule task [2023-03-17T06:16:29.082Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T06:16:49.295Z] Removing intermediate container bb64d1521b0e [2023-03-17T06:16:49.295Z] ---> d5daf03106c8 [2023-03-17T06:16:49.295Z] Step 11/13 : COPY . . [2023-03-17T06:16:49.295Z] ---> 04d76b45f89e [2023-03-17T06:16:49.295Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-17T06:16:49.295Z] ---> Running in 53ede077275f [2023-03-17T06:16:49.295Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T06:16:49.295Z] Dload Upload Total Spent Left Speed [2023-03-17T06:16:49.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8152 0 --:--:-- --:--:-- --:--:-- 8232 [2023-03-17T06:16:49.295Z] Removing intermediate container 53ede077275f [2023-03-17T06:16:49.295Z] ---> 6cd770cdde89 [2023-03-17T06:16:49.295Z] Step 13/13 : RUN ${MAKE} [2023-03-17T06:16:49.295Z] ---> Running in 6474e0fce4c1 [2023-03-17T06:16:49.295Z] noop [2023-03-17T06:16:49.295Z] Removing intermediate container 6474e0fce4c1 [2023-03-17T06:16:49.295Z] ---> a765e83eb72e [2023-03-17T06:16:49.295Z] Successfully built a765e83eb72e [2023-03-17T06:16:49.295Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:16:49.607Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T06:16:49.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:16:49.682Z] prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container [2023-03-17T06:16:49.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-187 -v /w/workspace/foundry_device-usb-camera_PR-187:/w/workspace/foundry_device-usb-camera_PR-187:rw,z -v /w/workspace/foundry_device-usb-camera_PR-187@tmp:/w/workspace/foundry_device-usb-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T06:16:50.093Z] $ docker top 6bddb1b1a18cfdba3108983c90dd3bc39e63c1c9da43ecab4193644d63f54355 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:16:50.432Z] + go version [2023-03-17T06:16:50.432Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T06:16:50.445Z] $ docker stop --time=1 6bddb1b1a18cfdba3108983c90dd3bc39e63c1c9da43ecab4193644d63f54355 [2023-03-17T06:16:51.772Z] $ docker rm -f --volumes 6bddb1b1a18cfdba3108983c90dd3bc39e63c1c9da43ecab4193644d63f54355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:16:52.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T06:16:52.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:16:52.236Z] prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container [2023-03-17T06:16:52.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-187 -v /w/workspace/foundry_device-usb-camera_PR-187:/w/workspace/foundry_device-usb-camera_PR-187:rw,z -v /w/workspace/foundry_device-usb-camera_PR-187@tmp:/w/workspace/foundry_device-usb-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T06:16:52.613Z] $ docker top b40f894ff010acdeb4e2e7a553728deb92a570152744a14b93b5c24d87192edf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:16:52.956Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-187 [Pipeline] fileExists [Pipeline] sh [2023-03-17T06:16:53.247Z] + make test [2023-03-17T06:16:53.247Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T06:16:58.518Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-17T06:17:08.480Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-17T06:17:08.480Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-17T06:17:08.480Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-17T06:17:08.480Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-17T06:17:08.480Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-17T06:17:08.480Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-17T06:17:08.480Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-17T06:17:08.480Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-17T06:17:08.739Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-17T06:17:08.739Z] FAIL [2023-03-17T06:17:08.739Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-17T06:17:08.753Z] $ docker stop --time=1 b40f894ff010acdeb4e2e7a553728deb92a570152744a14b93b5c24d87192edf [2023-03-17T06:17:10.485Z] $ docker rm -f --volumes b40f894ff010acdeb4e2e7a553728deb92a570152744a14b93b5c24d87192edf [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-17T06:17:11.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:17:11.091Z] [2023-03-17T06:17:11.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:17:11.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:17:11.384Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T06:17:11.384Z] 5eb5b503b376: Pulling fs layer [2023-03-17T06:17:11.384Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T06:17:11.384Z] ec43610c2a17: Pulling fs layer [2023-03-17T06:17:11.384Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T06:17:11.384Z] 33b1e0a273af: Pulling fs layer [2023-03-17T06:17:11.384Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T06:17:11.384Z] 2f39f015ded8: Pulling fs layer [2023-03-17T06:17:11.384Z] 3a2ae6a8a46f: Waiting [2023-03-17T06:17:11.384Z] 2f39f015ded8: Waiting [2023-03-17T06:17:11.384Z] 33b1e0a273af: Waiting [2023-03-17T06:17:11.384Z] 5d3b04190fa2: Waiting [2023-03-17T06:17:11.384Z] 5c69ac0246d0: Download complete [2023-03-17T06:17:11.384Z] 3a2ae6a8a46f: Download complete [2023-03-17T06:17:11.642Z] 33b1e0a273af: Verifying Checksum [2023-03-17T06:17:11.642Z] 33b1e0a273af: Download complete [2023-03-17T06:17:11.642Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T06:17:11.642Z] 5d3b04190fa2: Download complete [2023-03-17T06:17:11.642Z] ec43610c2a17: Verifying Checksum [2023-03-17T06:17:11.642Z] ec43610c2a17: Download complete [2023-03-17T06:17:11.642Z] 5eb5b503b376: Verifying Checksum [2023-03-17T06:17:11.642Z] 5eb5b503b376: Download complete [2023-03-17T06:17:12.207Z] 2f39f015ded8: Download complete [2023-03-17T06:17:12.772Z] 5eb5b503b376: Pull complete [2023-03-17T06:17:13.029Z] 5c69ac0246d0: Pull complete [2023-03-17T06:17:13.286Z] ec43610c2a17: Pull complete [2023-03-17T06:17:13.544Z] 3a2ae6a8a46f: Pull complete [2023-03-17T06:17:13.802Z] 33b1e0a273af: Pull complete [2023-03-17T06:17:13.802Z] 5d3b04190fa2: Pull complete [2023-03-17T06:17:17.994Z] 2f39f015ded8: Pull complete [2023-03-17T06:17:17.994Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T06:17:17.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:17:17.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:17:18.082Z] prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container [2023-03-17T06:17:18.111Z] $ 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/foundry_device-usb-camera_PR-187 -v /w/workspace/foundry_device-usb-camera_PR-187:/w/workspace/foundry_device-usb-camera_PR-187:rw,z -v /w/workspace/foundry_device-usb-camera_PR-187@tmp:/w/workspace/foundry_device-usb-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T06:17:19.288Z] $ docker top bd81d2c69b21cf6d5db773190b33f578888499c1f62dc9b6703ae080991551d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:17:19.664Z] ---> job-cost.sh [2023-03-17T06:17:19.664Z] lf-activate-venv: SKIPPING [2023-03-17T06:17:19.664Z] INFO: No Stack... [2023-03-17T06:17:19.921Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T06:17:20.180Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T06:17:20.465Z] + cat /w/workspace/foundry_device-usb-camera_PR-187/archives/cost.csv [2023-03-17T06:17:20.465Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T06:17:20.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [2023-03-17T06:17:20.481Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] did not exist. Created. [2023-03-17T06:17:20.481Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T06:17:20.780Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T06:17:20.818Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T06:17:20.825Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T06:17:20.841Z] $ docker stop --time=1 bd81d2c69b21cf6d5db773190b33f578888499c1f62dc9b6703ae080991551d6 [2023-03-17T06:17:22.013Z] $ docker rm -f --volumes bd81d2c69b21cf6d5db773190b33f578888499c1f62dc9b6703ae080991551d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T06:17:22.119Z] Failed in branch amd64 [2023-03-17T06:18:56.490Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4353 in /w/workspace/foundry_device-usb-camera_PR-187 [Pipeline] { [Pipeline] ws [2023-03-17T06:18:56.504Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-17T06:18:56.544Z] Selected Git installation does not exist. Using Default [2023-03-17T06:18:56.544Z] The recommended git tool is: NONE [2023-03-17T06:19:02.593Z] using credential edgex-jenkins-ssh [2023-03-17T06:19:02.612Z] Cloning the remote Git repository [2023-03-17T06:19:02.675Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-17T06:19:02.800Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-03-17T06:19:02.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-17T06:19:02.992Z] > git --version # timeout=10 [2023-03-17T06:19:03.025Z] > git --version # 'git version 2.25.1' [2023-03-17T06:19:03.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:19:03.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T06:19:03.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-17T06:19:04.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T06:19:05.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-17T06:19:05.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-17T06:19:05.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:19:05.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T06:19:05.739Z] Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 [2023-03-17T06:19:06.163Z] Merge succeeded, producing 5482b2a3981ff1a5587e96717285f69202b22f00 [2023-03-17T06:19:06.163Z] Checking out Revision 5482b2a3981ff1a5587e96717285f69202b22f00 (PR-187) [2023-03-17T06:19:05.768Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T06:19:05.878Z] > git checkout -f 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 # timeout=10 [2023-03-17T06:19:05.999Z] > git remote # timeout=10 [2023-03-17T06:19:06.028Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T06:19:06.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T06:19:06.069Z] > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 [2023-03-17T06:19:06.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T06:19:06.172Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T06:19:06.198Z] > git checkout -f 5482b2a3981ff1a5587e96717285f69202b22f00 # timeout=10 [2023-03-17T06:19:09.744Z] Commit message: "Merge commit '96327e049a2d26e356251a4ee56d80af5c884d85' into HEAD" [2023-03-17T06:19:09.753Z] > git rev-list --no-walk 60d5bf3d0df8c396fb1da34b3fa3aa49de5367f6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T06:19:10.836Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T06:19:10.836Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T06:19:10.836Z] Dload Upload Total Spent Left Speed [2023-03-17T06:19:10.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-03-17T06:19:11.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T06:19:11.919Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T06:19:11.919Z] + sudo tee /etc/docker/daemon.new [2023-03-17T06:19:11.919Z] { [2023-03-17T06:19:11.919Z] "registry-mirrors": [ [2023-03-17T06:19:11.919Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T06:19:11.919Z] ], [2023-03-17T06:19:11.919Z] "bip": "10.250.0.254/24", [2023-03-17T06:19:11.919Z] "hosts": [ [2023-03-17T06:19:11.919Z] "tcp://0.0.0.0:5555", [2023-03-17T06:19:11.919Z] "unix:///var/run/docker.sock" [2023-03-17T06:19:11.919Z] ], [2023-03-17T06:19:11.919Z] "mtu": 1458, [2023-03-17T06:19:11.919Z] "selinux-enabled": true, [2023-03-17T06:19:11.919Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T06:19:11.919Z] } [Pipeline] sh [2023-03-17T06:19:12.266Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T06:19:12.599Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T06:19:34.742Z] provisioning config files... [2023-03-17T06:19:34.770Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config12569645514452780756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:19:35.130Z] ---> docker-login.sh [2023-03-17T06:19:35.130Z] nexus3.edgexfoundry.org:10001 [2023-03-17T06:19:35.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:19:35.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:19:35.990Z] Configure a credential helper to remove this warning. See [2023-03-17T06:19:35.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:19:35.990Z] [2023-03-17T06:19:35.990Z] Login Succeeded [2023-03-17T06:19:35.990Z] nexus3.edgexfoundry.org:10002 [2023-03-17T06:19:36.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:19:36.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:19:36.260Z] Configure a credential helper to remove this warning. See [2023-03-17T06:19:36.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:19:36.260Z] [2023-03-17T06:19:36.260Z] Login Succeeded [2023-03-17T06:19:36.260Z] nexus3.edgexfoundry.org:10003 [2023-03-17T06:19:36.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:19:36.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:19:36.798Z] Configure a credential helper to remove this warning. See [2023-03-17T06:19:36.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:19:36.798Z] [2023-03-17T06:19:36.798Z] Login Succeeded [2023-03-17T06:19:36.798Z] nexus3.edgexfoundry.org:10004 [2023-03-17T06:19:37.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:19:37.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:19:37.067Z] Configure a credential helper to remove this warning. See [2023-03-17T06:19:37.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:19:37.067Z] [2023-03-17T06:19:37.067Z] Login Succeeded [2023-03-17T06:19:37.067Z] docker.io [2023-03-17T06:19:37.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T06:19:37.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T06:19:37.604Z] Configure a credential helper to remove this warning. See [2023-03-17T06:19:37.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T06:19:37.604Z] [2023-03-17T06:19:37.604Z] Login Succeeded [2023-03-17T06:19:37.604Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T06:19:37.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T06:19:37.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:19:37.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T06:19:37.898Z] ========================================================= [2023-03-17T06:19:37.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T06:19:37.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:19:38.242Z] + 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-17T06:19:38.511Z] Sending build context to Docker daemon 1.154MB [2023-03-17T06:19:38.511Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T06:19:38.511Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T06:19:38.785Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T06:19:38.785Z] af6eaf76a39c: Pulling fs layer [2023-03-17T06:19:38.785Z] 55522c791124: Pulling fs layer [2023-03-17T06:19:38.785Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T06:19:38.785Z] 169dfbe0d373: Pulling fs layer [2023-03-17T06:19:38.785Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T06:19:38.785Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T06:19:38.785Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T06:19:38.785Z] e1ff8fa3b103: Waiting [2023-03-17T06:19:38.785Z] 52ebb69f0ebf: Waiting [2023-03-17T06:19:38.785Z] 5abe8eddf0d5: Waiting [2023-03-17T06:19:38.785Z] 169dfbe0d373: Waiting [2023-03-17T06:19:38.785Z] 55522c791124: Verifying Checksum [2023-03-17T06:19:38.785Z] 55522c791124: Download complete [2023-03-17T06:19:38.785Z] 169dfbe0d373: Verifying Checksum [2023-03-17T06:19:38.785Z] 169dfbe0d373: Download complete [2023-03-17T06:19:38.785Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T06:19:38.785Z] e1ff8fa3b103: Download complete [2023-03-17T06:19:38.785Z] af6eaf76a39c: Download complete [2023-03-17T06:19:39.758Z] af6eaf76a39c: Pull complete [2023-03-17T06:19:40.047Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T06:19:40.047Z] 5abe8eddf0d5: Download complete [2023-03-17T06:19:40.320Z] 55522c791124: Pull complete [2023-03-17T06:19:41.297Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T06:19:41.297Z] ce5c4a1c91eb: Download complete [2023-03-17T06:19:41.297Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T06:19:41.297Z] 52ebb69f0ebf: Download complete [2023-03-17T06:19:51.406Z] ce5c4a1c91eb: Pull complete [2023-03-17T06:19:51.673Z] 169dfbe0d373: Pull complete [2023-03-17T06:19:51.942Z] e1ff8fa3b103: Pull complete [2023-03-17T06:19:58.613Z] 52ebb69f0ebf: Pull complete [2023-03-17T06:20:00.034Z] 5abe8eddf0d5: Pull complete [2023-03-17T06:20:00.034Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T06:20:00.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T06:20:00.034Z] ---> 6cb57ee374ae [2023-03-17T06:20:00.034Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T06:20:01.996Z] ---> Running in 10a4d149255c [2023-03-17T06:20:01.996Z] Removing intermediate container 10a4d149255c [2023-03-17T06:20:01.996Z] ---> 21bfbdeea762 [2023-03-17T06:20:01.996Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T06:20:02.265Z] ---> Running in 6c20c03d9e8d [2023-03-17T06:20:02.535Z] Removing intermediate container 6c20c03d9e8d [2023-03-17T06:20:02.535Z] ---> 00efecebace0 [2023-03-17T06:20:02.535Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-17T06:20:02.535Z] ---> Running in 08c2a7eeeb8b [2023-03-17T06:20:02.806Z] Removing intermediate container 08c2a7eeeb8b [2023-03-17T06:20:02.806Z] ---> 2b64b9f940db [2023-03-17T06:20:02.806Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-17T06:20:03.077Z] ---> Running in 01c7affc03a0 [2023-03-17T06:20:03.347Z] Removing intermediate container 01c7affc03a0 [2023-03-17T06:20:03.347Z] ---> 0a3e12f8c37b [2023-03-17T06:20:03.347Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T06:20:03.347Z] ---> Running in 15f439241ae5 [2023-03-17T06:20:04.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T06:20:05.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T06:20:06.314Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-17T06:20:06.314Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-17T06:20:06.314Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-17T06:20:06.314Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-17T06:20:06.314Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-17T06:20:06.314Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-17T06:20:06.314Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-17T06:20:06.314Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-17T06:20:06.314Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-17T06:20:06.314Z] (10/14) Installing kmod-libs (30-r1) [2023-03-17T06:20:06.314Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-17T06:20:06.580Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-17T06:20:06.580Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-17T06:20:06.580Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-17T06:20:06.580Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T06:20:06.580Z] Executing eudev-3.2.11-r4.trigger [2023-03-17T06:20:06.580Z] OK: 271 MiB in 67 packages [2023-03-17T06:20:07.995Z] Removing intermediate container 15f439241ae5 [2023-03-17T06:20:07.995Z] ---> 2ce2001a0f4a [2023-03-17T06:20:07.995Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-17T06:20:07.995Z] ---> Running in 8242e874cd5b [2023-03-17T06:20:08.268Z] Removing intermediate container 8242e874cd5b [2023-03-17T06:20:08.268Z] ---> b233f3d472c5 [2023-03-17T06:20:08.268Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-17T06:20:08.853Z] ---> e17c3c6122ac [2023-03-17T06:20:08.853Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T06:20:08.853Z] ---> Running in 7008a70e1cc5 [2023-03-17T06:21:16.772Z] Removing intermediate container 7008a70e1cc5 [2023-03-17T06:21:16.772Z] ---> d79b4bdfbd67 [2023-03-17T06:21:16.772Z] Step 11/13 : COPY . . [2023-03-17T06:21:16.772Z] ---> b757d7f3daab [2023-03-17T06:21:16.772Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-17T06:21:16.772Z] ---> Running in 72b93dd47ffb [2023-03-17T06:21:16.772Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T06:21:16.772Z] Dload Upload Total Spent Left Speed [2023-03-17T06:21:16.772Z] 0 0 0 0   0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100 1062 0 0 3872 0 --:--:-- --:--:-- --:--:-- 3890 [2023-03-17T06:21:16.772Z] Removing intermediate container 72b93dd47ffb [2023-03-17T06:21:16.772Z] ---> eee9173aa9b4 [2023-03-17T06:21:16.772Z] Step 13/13 : RUN ${MAKE} [2023-03-17T06:21:16.772Z] ---> Running in be1d093902d9 [2023-03-17T06:21:16.772Z] noop [2023-03-17T06:21:16.772Z] Removing intermediate container be1d093902d9 [2023-03-17T06:21:16.772Z] ---> 695ef464ba81 [2023-03-17T06:21:16.772Z] Successfully built 695ef464ba81 [2023-03-17T06:21:16.772Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:21:17.138Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T06:21:17.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:21:17.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-4353 does not seem to be running inside a container [2023-03-17T06:21:17.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T06:21:18.853Z] $ docker top a092d9788e43b07fb4757c119154f5c12eddcd862e0aa08a08d3907d00ef0599 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:21:19.710Z] + go version [2023-03-17T06:21:19.710Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T06:21:19.747Z] $ docker stop --time=1 a092d9788e43b07fb4757c119154f5c12eddcd862e0aa08a08d3907d00ef0599 [2023-03-17T06:21:21.385Z] $ docker rm -f --volumes a092d9788e43b07fb4757c119154f5c12eddcd862e0aa08a08d3907d00ef0599 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:21:21.919Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T06:21:21.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:21:22.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-4353 does not seem to be running inside a container [2023-03-17T06:21:22.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T06:21:23.449Z] $ docker top 2ebd30249e651bfb587a6e6d5a380e6dfac0b8653050ab25469434e957e8c439 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:21:24.303Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-17T06:21:24.963Z] + make test [2023-03-17T06:21:24.963Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T06:22:03.861Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-17T06:24:10.555Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-17T06:24:10.555Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-17T06:24:10.555Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-17T06:24:10.555Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-17T06:24:10.555Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-17T06:24:10.555Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-17T06:24:10.555Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-17T06:24:10.555Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-17T06:24:25.612Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-17T06:24:25.612Z] FAIL [2023-03-17T06:24:25.612Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-17T06:24:25.642Z] $ docker stop --time=1 2ebd30249e651bfb587a6e6d5a380e6dfac0b8653050ab25469434e957e8c439 [2023-03-17T06:24:27.502Z] $ docker rm -f --volumes 2ebd30249e651bfb587a6e6d5a380e6dfac0b8653050ab25469434e957e8c439 [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-17T06:24:28.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:24:28.710Z] [2023-03-17T06:24:28.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:24:29.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:24:29.050Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T06:24:29.050Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T06:24:29.050Z] 04944245beec: Pulling fs layer [2023-03-17T06:24:29.050Z] 699f458cf7ca: Pulling fs layer [2023-03-17T06:24:29.050Z] 765212b225bb: Pulling fs layer [2023-03-17T06:24:29.050Z] f23df028b6ca: Pulling fs layer [2023-03-17T06:24:29.050Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T06:24:29.050Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T06:24:29.050Z] f23df028b6ca: Waiting [2023-03-17T06:24:29.050Z] d65c8cfc05b1: Waiting [2023-03-17T06:24:29.050Z] 2437ff75d9bd: Waiting [2023-03-17T06:24:29.050Z] 765212b225bb: Waiting [2023-03-17T06:24:29.324Z] 04944245beec: Verifying Checksum [2023-03-17T06:24:29.324Z] 04944245beec: Download complete [2023-03-17T06:24:29.324Z] 765212b225bb: Verifying Checksum [2023-03-17T06:24:29.324Z] 765212b225bb: Download complete [2023-03-17T06:24:29.324Z] f23df028b6ca: Verifying Checksum [2023-03-17T06:24:29.324Z] f23df028b6ca: Download complete [2023-03-17T06:24:29.324Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T06:24:29.324Z] d65c8cfc05b1: Download complete [2023-03-17T06:24:29.599Z] 699f458cf7ca: Verifying Checksum [2023-03-17T06:24:29.599Z] 699f458cf7ca: Download complete [2023-03-17T06:24:29.869Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T06:24:29.869Z] 8998bd30e6a1: Download complete [2023-03-17T06:24:32.462Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T06:24:32.462Z] 2437ff75d9bd: Download complete [2023-03-17T06:24:34.412Z] 8998bd30e6a1: Pull complete [2023-03-17T06:24:34.680Z] 04944245beec: Pull complete [2023-03-17T06:24:36.100Z] 699f458cf7ca: Pull complete [2023-03-17T06:24:36.100Z] 765212b225bb: Pull complete [2023-03-17T06:24:37.063Z] f23df028b6ca: Pull complete [2023-03-17T06:24:37.063Z] d65c8cfc05b1: Pull complete [2023-03-17T06:24:52.073Z] 2437ff75d9bd: Pull complete [2023-03-17T06:24:52.073Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T06:24:52.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T06:24:52.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:24:52.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-4353 does not seem to be running inside a container [2023-03-17T06:24:52.413Z] $ 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-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T06:24:55.320Z] $ docker top d4f72420edfc826b7e855c9ed9f9912f06416feec841a96a2ed9b533301801dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:24:56.191Z] ---> job-cost.sh [2023-03-17T06:24:56.191Z] lf-activate-venv: SKIPPING [2023-03-17T06:24:56.191Z] INFO: No Stack... [2023-03-17T06:24:56.464Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T06:24:57.471Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T06:24:58.137Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-03-17T06:24:58.137Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T06:24:58.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [2023-03-17T06:24:58.229Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] did not exist. Created. [2023-03-17T06:24:58.229Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T06:24:58.905Z] /w/workspace/device-usb-camera/2@tmp/durable-af52a366/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T06:24:59.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T06:24:59.593Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T06:25:00.107Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T06:25:00.114Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-187-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T06:25:00.135Z] $ docker stop --time=1 d4f72420edfc826b7e855c9ed9f9912f06416feec841a96a2ed9b533301801dc [2023-03-17T06:25:01.754Z] $ docker rm -f --volumes d4f72420edfc826b7e855c9ed9f9912f06416feec841a96a2ed9b533301801dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T06:25:02.027Z] 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-17T06:25:02.693Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-187/archives ] [2023-03-17T06:25:02.693Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-187/archives [2023-03-17T06:25:02.693Z] total 16 [2023-03-17T06:25:02.693Z] drwxr-xr-x 3 root root 4096 Mar 17 06:17 . [2023-03-17T06:25:02.693Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 06:17 .. [2023-03-17T06:25:02.693Z] drwxr-xr-x 2 root root 4096 Mar 17 06:17 cost [2023-03-17T06:25:02.693Z] -rw-r--r-- 1 root root 89 Mar 17 06:17 cost.csv [2023-03-17T06:25:02.693Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-187/archives [2023-03-17T06:25:02.693Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-187/archives [2023-03-17T06:25:02.693Z] total 16 [2023-03-17T06:25:02.693Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 06:17 . [2023-03-17T06:25:02.693Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 06:17 .. [2023-03-17T06:25:02.693Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 06:17 cost [2023-03-17T06:25:02.693Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 17 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:02.984Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:03.839Z] ---> package-listing.sh [2023-03-17T06:25:03.840Z] ++ facter osfamily [2023-03-17T06:25:03.840Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T06:25:04.098Z] + OS_FAMILY=debian [2023-03-17T06:25:04.098Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-187 [2023-03-17T06:25:04.099Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T06:25:04.099Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T06:25:04.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T06:25:04.099Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T06:25:04.099Z] + '[' /w/workspace/foundry_device-usb-camera_PR-187 ']' [2023-03-17T06:25:04.099Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T06:25:04.099Z] + case "${OS_FAMILY}" in [2023-03-17T06:25:04.099Z] + dpkg -l [2023-03-17T06:25:04.099Z] + grep '^ii' [2023-03-17T06:25:04.099Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T06:25:04.099Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T06:25:04.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T06:25:04.099Z] + '[' /w/workspace/foundry_device-usb-camera_PR-187 ']' [2023-03-17T06:25:04.099Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-187/archives/ [2023-03-17T06:25:04.099Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-187/archives/ [Pipeline] echo [2023-03-17T06:25:04.109Z] 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/foundry_device-usb-camera_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T06:25:04.382Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T06:25:04.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T06:25:04.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T06:25:05.010Z] prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container [2023-03-17T06:25:05.040Z] $ 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/foundry_device-usb-camera_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-187 -v /w/workspace/foundry_device-usb-camera_PR-187:/w/workspace/foundry_device-usb-camera_PR-187:rw,z -v /w/workspace/foundry_device-usb-camera_PR-187@tmp:/w/workspace/foundry_device-usb-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T06:25:05.239Z] $ docker top 46c1982a97de71bd6dbc2e5c2165aa2104983944a1ab6bdaf7821202941b325c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T06:25:05.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T06:25:05.874Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T06:25:06.159Z] + ls /var/log/sa-host [2023-03-17T06:25:06.159Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T06:25:06.217Z] provisioning config files... [2023-03-17T06:25:06.225Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-187@tmp/config1208882814472729556tmp [Pipeline] { [Pipeline] echo [2023-03-17T06:25:06.240Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:06.518Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T06:25:06.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:06.835Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T06:25:06.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:07.123Z] ---> sudo-logs.sh [2023-03-17T06:25:07.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T06:25:07.157Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:07.438Z] ---> job-cost.sh [2023-03-17T06:25:07.438Z] lf-activate-venv: SKIPPING [2023-03-17T06:25:07.438Z] DEBUG: total: 0.2199999988079071 [2023-03-17T06:25:07.438Z] INFO: Retrieving Stack Cost... [2023-03-17T06:25:07.696Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T06:25:07.955Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T06:25:07.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T06:25:08.248Z] ---> logs-deploy.sh [2023-03-17T06:25:08.248Z] lf-activate-venv: SKIPPING [2023-03-17T06:25:08.248Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-187/2 [2023-03-17T06:25:08.248Z] INFO: archiving workspace using pattern(s): [2023-03-17T06:25:09.183Z] Archives upload complete. [2023-03-17T06:25:09.183Z] INFO: archiving logs to Nexus