Comments (2)
Looks like this issue is flaky. 😟
I'm going to leave this open and stop commenting.
A human should fix and close this.
When run at the same commit (22aa320), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).
from doc-pipeline.
Oops! Looks like this issue is still flaky. It failed again. 😬
I reopened the issue, but a human will need to close it again.
commit: 0e1d538
buildURL: Build Status, Sponge
status: failed
Test output
yaml_dir = PosixPath('/tmp/pytest-of-kbuilder/pytest-0/test_generate0') tmpdir = PosixPath('/tmp/pytest-of-kbuilder/pytest-0/test_generate0')def test_generate(yaml_dir, tmpdir): tmpdir = pathlib.Path(tmpdir) test_bucket, storage_client = init_test() bucket, yaml_blob, html_blob = setup_testdata(yaml_dir, storage_client, test_bucket) # Test for non-api directory content run_generate(storage_client, test_bucket) verify_content(html_blob, tmpdir) # Ensure xref file was properly uploaded. Also ensure download_xrefs gets # the right content. path = generate.get_xref("devsite://go/cloud.google.com/go/storage", bucket, tmpdir) assert path != "" assert pathlib.Path(path).exists() # Force regeneration and verify the timestamp is different. html_blob = bucket.get_blob(html_blob.name) t1 = html_blob.updated generate.build_all_docs(test_bucket, storage_client) html_blob = bucket.get_blob(html_blob.name) t2 = html_blob.updated assert t1 != t2, "HTML is updated" # Force regeneration of a single doc and verify timestamp. generate.build_one_doc(test_bucket, yaml_blob.name, storage_client) html_blob = bucket.get_blob(html_blob.name) t3 = html_blob.updated assert t2 != t3, "single doc gets updated" # Force generation of Go docs and verify timestamp. language = "go" generate.build_language_docs(test_bucket, language, storage_client) html_blob = bucket.get_blob(html_blob.name) t4 = html_blob.updated assert t3 != t4, "Go docs get updated" # Force generation of Python docs, verify Go HTML timestamp does not change. language = "python" generate.build_language_docs(test_bucket, language, storage_client) html_blob = bucket.get_blob(html_blob.name) t5 = html_blob.updated
assert t4 == t5, "Go timestamp doesn't change"
E AssertionError: Go timestamp doesn't change
E assert datetime.datetime(2023, 11, 1, 3, 51, 6, 994000, tzinfo=datetime.timezone.utc) == datetime.datetime(2023, 11, 1, 3, 51, 14, 415000, tzinfo=datetime.timezone.utc)tests/test_generate.py:293: AssertionError
from doc-pipeline.
Related Issues (20)
- tests.test_generate: test_get_xref[http: failed
- tests.test_generate: test_get_xref[devsite: failed
- generate-prod: java-google-cloud-vertexai-0.1.0.tar.gz failed
- generate-prod: docfx-cpp-logging-2.20.0-rc.tar.gz failed HOT 1
- tests.test_generate: test_generate failed HOT 1
- generate-prod: java-google-cloud-contact-center-insights-2.33.0.tar.gz failed HOT 1
- generate-prod: many tests failed HOT 1
- generate-prod: docfx-cpp-pubsublite-2.22.0-rc.tar.gz failed HOT 1
- generate-prod: many tests failed HOT 2
- generate-prod: docfx-cpp-logging-2.22.0-rc.tar.gz failed HOT 1
- generate-prod: docfx-go-cloud.google.com failed HOT 4
- generate-prod: docfx-cpp-pubsublite-2.23.0-rc.tar.gz failed HOT 2
- tests.test_generate: test_generate failed HOT 2
- tests.test_goldens: test_goldens[dotnet] failed HOT 2
- Allow tests to run in parallel with "build_all_docs" and "latest" in mind
- generate-prod: docfx-java-google-cloud-private-catalog-0.45.0.tar.gz failed HOT 2
- generate-prod: docfx-java-google-cloud-binary-authorization-1.43.0.tar.gz failed HOT 1
- tests.test_generate: test_generate failed HOT 1
- tests.test_goldens: test_goldens[dotnet] failed
- generate-prod: docfx-cpp-webrisk-2.29.0-rc.tar.gz failed HOT 1
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
web
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Game
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.
from doc-pipeline.