registry-token-server: build error

Bug #2043697 reported by Dostoievski Albino Batista
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Karla Felix

Bug Description

Brief Description
-----------------
Build fails at "build-pkgs" step when building package "registry-token-server". Logs point out a syntax error on https://opendev.org/starlingx/containers/commit/7fb4b3d04a6ad19bfc2af98a0c44fda0a9410989#diff-10e0dd0a412acccddd66368a48fad50bdfee1830

Severity
--------
Major

Steps to Reproduce
------------------
Run build-pkgs

Expected Behavior
------------------
build-pkgs run with success

Actual Behavior
----------------
build-pkg fail at building package registry-token-server

Reproducibility
---------------
Seen once

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
Master/2023-11-16

Last Pass
---------
N/A

Timestamp/Logs
--------------
registry-token-server/keystone
registry-token-server
# registry-token-server
src/registry-token-server/main.go:124:15: syntax error: unexpected newline, expecting { after if clause
src/registry-token-server/main.go:129:11: syntax error: unexpected :, expecting := or = or comma
src/registry-token-server/main.go:133:2: syntax error: unexpected else, expecting }
src/registry-token-server/main.go:134:2: syntax error: unexpected { after top level declaration
dh_auto_build: error: cd _build && go install -trimpath -v -p 6 registry-token-server registry-token-server/keystone returned exit code 2
make[1]: *** [debian/rules:28: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Test Activity
-------------
N/A

Workaround
----------
N/A

Changed in starlingx:
status: New → In Progress
Karla Felix (kkarolin)
Changed in starlingx:
assignee: nobody → Karla Felix (kkarolin)
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.9.0 stx.containers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to containers (master)

Reviewed: https://review.opendev.org/c/starlingx/containers/+/901172
Committed: https://opendev.org/starlingx/containers/commit/79b9b044b05e5b3dbc24ad8b46d6e79a499e03a2
Submitter: "Zuul (22348)"
Branch: master

commit 79b9b044b05e5b3dbc24ad8b46d6e79a499e03a2
Author: Karla Felix <email address hidden>
Date: Thu Nov 16 12:23:21 2023 -0300

    Fix syntax errors for registry-token-server

    Fix syntax erros for main.go to fix syntax build errors for package
    registry-token-server.

    Test Plan:

    PASS: Run build-pkgs -c -p registry-token-server

    Closes-Bug: 2043217
    Closes-Bug: 2043697

    Change-Id: I8217b6d58572730811f64c2e92af5d3e4ec69819
    Signed-off-by: Karla Felix <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.