Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest architecture links are not uploaded #2059

Closed
acomodi opened this issue Feb 28, 2021 · 10 comments
Closed

Latest architecture links are not uploaded #2059

acomodi opened this issue Feb 28, 2021 · 10 comments
Assignees
Labels

Comments

@acomodi
Copy link
Contributor

acomodi commented Feb 28, 2021

The mechanism is which the latest links of the architectures are generated is the following:

  • run all CI's checks on master
  • check if all CI's checks are green before
  • generate latest links
  • push latest links on GCS

It seems that the last stage has some problems due to permissions:

Building synchronization state...
Starting synchronization...
Copying file://install/symbiflow-xc7a50t-arty-swbut-overlay_test-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-toolchain-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-xc7a100t_test-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-xc7a50t_test-latest [Content-Type=application/octet-stream]...
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
Copying file://install/symbiflow-xc7z010_test-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-benchmarks-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-xc7a50t-arty-switch-processing-overlay_test-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-xc7z020_test-latest [Content-Type=application/octet-stream]...
Copying file://install/symbiflow-xc7a200t_test-latest [Content-Type=application/octet-stream]...
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
/ [0/9 files][    0.0 B/  2.4 KiB]   0% Done                                    
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7z010_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7z020_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7a200t_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-toolchain-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7a50t_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7a50t-arty-swbut-overlay_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7a100t_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-xc7a50t-arty-switch-processing-overlay_test-latest.
AccessDeniedException: 403 ***@foss-fpga-tools-ext.iam.gserviceaccount.com does not have storage.objects.delete access to ***/symbiflow-benchmarks-latest.
CommandException: 9 files/objects

Possibly, this is solved by updating the credentials.

@issuelabeler issuelabeler bot added the done label Feb 28, 2021
@mithro
Copy link
Contributor

mithro commented Feb 28, 2021

I think I have fixed this now.

@litghost
Copy link
Contributor

litghost commented Mar 2, 2021

@acomodi Can you see if this is still a problem?

@acomodi
Copy link
Contributor Author

acomodi commented Mar 2, 2021

We'd need to have a fully green continuous CI to verify this is solved. Unfortunately, the latest merge has a failure in the Vendor tools, preventing the GH actions to proceed and upload the links.

@litghost
Copy link
Contributor

litghost commented Mar 2, 2021

The nightly should hopefully go green. Last night failed because of a kokoro failure.

@litghost
Copy link
Contributor

litghost commented Mar 3, 2021

Nightly last night was green, @acomodi can you double check if the "latest" links updated?

@acomodi
Copy link
Contributor Author

acomodi commented Mar 3, 2021

Doesn't seem to be working, I see the same error as reported above: https://github.com/SymbiFlow/symbiflow-arch-defs/runs/2023135530?check_suite_focus=true

GitHub
GitHub is where people build software. More than 56 million people use GitHub to discover, fork, and contribute to over 100 million projects.

@litghost litghost assigned mithro and unassigned acomodi Mar 3, 2021
@litghost
Copy link
Contributor

litghost commented Mar 3, 2021

@mithro Do you have another idea what the problem might be?

@mithro
Copy link
Contributor

mithro commented Mar 3, 2021

@QuantamHD is helping me look into this. I think the error message might be a lie...

@acomodi
Copy link
Contributor Author

acomodi commented Mar 4, 2021

It seems that there was a successful GH action: https://github.com/SymbiFlow/symbiflow-arch-defs/runs/2031341989?check_suite_focus=true

GitHub
GitHub is where people build software. More than 56 million people use GitHub to discover, fork, and contribute to over 100 million projects.

@umarcor
Copy link
Contributor

umarcor commented May 18, 2022

I'm closing this because it is related to a deprecated infrastructure (Kokoro), which required a custom syncing solution.

FTR, there is now a different issue with regard to having the latest links/pointers updated: #2655.

@umarcor umarcor closed this as completed May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants