jer317
jer317

Reputation: 23

Google Cloud Build Step Logs Not Viewable in Console

I am not able to view Google Cloud Build logs in the console. For each step that I click on I cannot see the associated logs in the Build Log window on the right (see picture). This occurs with both the Build Summary and each detail step. The only way to view these logs is to click View Raw, but that is only a great workaround.

Cloud Build Console Screenshot

Another issue is that each build step status (Success/Failure) is only populated at the end of the entire build process, as opposed to updating after each step.

Is anybody also experiencing this or have suggestions to rememdy this issue? My browser is Google Chrome Version 93.0.4577.82 (Official Build) (x86_64)

Upvotes: 1

Views: 3830

Answers (4)

user3284739
user3284739

Reputation: 11

Another Chrome extension that seems to cause the problem is "Dark Mode". My version is 0.4.2 on Chrome version 96.0.4664.110 and disabling this and refreshing the Build Detail page restored the build log listing.

Upvotes: 0

empiskm
empiskm

Reputation: 151

Adding on Kolban's answer above, one of the Chrome extensions that interfered is Imagus. Uninstalling / disabling it should fix the problem.

Upvotes: 0

Kolban
Kolban

Reputation: 15246

Experience shows that there can be adverse interactions between Chrome Plugins and a variety of websites that have rich content or streaming (such as Google's Console). If something seems odd, try and create a new Chrome profile or try running in incognito mode and see if that resolves the issue. If it does, you can incrementally add (or remove) the plugins until you find the one that is causing problems. If you do find the culprit plugin, consider posting that as a comment to others on what you find.

Upvotes: 1

Akshansha Singhal
Akshansha Singhal

Reputation: 862

As per the documentation, if you’re storing your build logs in logging, you won’t be able to see them in the cloud build page, instead you will be able to see them in the Logging page(i.e. Operations logging).

To view the build in Cloud Build page in the Cloud Console, if your build logs are present in the Google-created Cloud Storage bucket, grant the Project Viewer role on the project but if your build logs are in a user-specified Cloud Storage bucket, grant the Storage Object Viewer role. And for more information, consider looking at the documentation.

Your second point is an expected behaviour, please look here.

Upvotes: 0

Related Questions