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
Linux docs_test is failing, closing the tree #147609
Comments
I am able to reproduce this locally. Sample errors are:
This seems to imply that dartdoc or dart pub run is trying to chmod the executable for snippets, but can't find it. However the file referenced does exist, and is already executable, and if I run it outside of dartdoc, it executes normally. Still scratching my head.... |
I've tried to bisect this, and even old revisions (from a few days ago, when it used to work) still fail on my Linux machine. I've tried reverting to previous version of snippets and the previous version of dartdoc, neither of which fix the problem. I've also nuked my .pub-cache to make sure it was clean. |
Okay, it appears that this is a manifestation of #144408 which purports to be fixed, in this pr https://github.com/dart-lang/pub/pull/3285/files#diff-609b203653065d15282bde9c47cbf5c38885fa92957ce5b89adbf9be5db0b1c8R793 according to the comment in #144408 (comment) @sigurdm Is this something you submitted a fix for? This is now a P0 for us, since it's no longer just affecting local hosts, but also affects the build. Did your fix get reverted? |
I was able to get this to work on my local setup by reverting https://dart.googlesource.com/pub/+/ed20b45589766d6fd135e93460b9e8255ccba519 The Flutter Dartdoc script is running a group of |
For #147609 to unblock the tree. @gspencergoog @jason-simmons
Sorry I did not get to the bottom of this today. Still unsure how that PR could cause that failure. Hopefully I'll get further here Monday. Meanwhile I think avoiding global run when invoking the |
## Description This moves the snippets package back into the Flutter repo so that API documentation generation can happen without the use of `dart pub global run` because `pub run` doesn't handle concurrency well. The change modifies the dartdoc building process to include building an executable from the snippets tool and installing that in the cache directory for use during docs generation. The snippets tool will reside in dev/snippets, where it originally resided before being moved to https://github.com/flutter/assets-for-api-docs. The snippets code itself is unchanged from the code that is in https://github.com/flutter/assets-for-api-docs/packages/snippets. ## Related Issues - #144408 - #147609 - #147645 ## Tests - Added snippets tests to the overall testing build.
…l. (#147893) ## Description This fixes the API doc generation that I broke when I moved the snippets tool into the framework. It removes the last of the template support (properly this time), and makes sure all of the tests pass. ## Related Issues - #144408 - #147609 - #147645 ## Tests - Fixed tests, including smoke test of doc generation.
@gspencergoog Should the test be brought back out of bringup now? It looks like it's been green since you landed your PR. |
Yes, I was just waiting to see if it would be green. |
This moves the snippets package back into the Flutter repo so that API documentation generation can happen without the use of `dart pub global run` because `pub run` doesn't handle concurrency well. The change modifies the dartdoc building process to include building an executable from the snippets tool and installing that in the cache directory for use during docs generation. The snippets tool will reside in dev/snippets, where it originally resided before being moved to https://github.com/flutter/assets-for-api-docs. The snippets code itself is unchanged from the code that is in https://github.com/flutter/assets-for-api-docs/packages/snippets. - flutter#144408 - flutter#147609 - flutter#147645 - Added snippets tests to the overall testing build.
…l. (flutter#147893) ## Description This fixes the API doc generation that I broke when I moved the snippets tool into the framework. It removes the last of the template support (properly this time), and makes sure all of the tests pass. ## Related Issues - flutter#144408 - flutter#147609 - flutter#147645 ## Tests - Fixed tests, including smoke test of doc generation.
As in https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20docs_test/16443/infra
Errors of the form
cc @gspencergoog
The text was updated successfully, but these errors were encountered: