Title: Bonsai CI: bSDD classification tests fail when api.bsdd.buildingsmart.org is unreachable · Issue #10030 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai CI: bSDD classification tests fail when api.bsdd.buildingsmart.org is unreachable · Issue #10030 · IfcOpenShell/IfcOpenShell
X Title: Bonsai CI: bSDD classification tests fail when api.bsdd.buildingsmart.org is unreachable · Issue #10030 · IfcOpenShell/IfcOpenShell
Description: test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD calls the live bSDD API (api.bsdd.buildingsmart.org). When that service is slow or down, test-bonsai fails on unrelated PRs with: requests.exceptions.RetryError: HT...
Open Graph Description: test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD calls the live bSDD API (api.bsdd.buildingsmart.org). When that service is slow or down, test-bonsai fails on unrelated PRs ...
X Description: test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD calls the live bSDD API (api.bsdd.buildingsmart.org). When that service is slow or down, test-bonsai fails on unrelated PRs ...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10030
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai CI: bSDD classification tests fail when api.bsdd.buildingsmart.org is unreachable","articleBody":"`test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD` calls the live bSDD API (`api.bsdd.buildingsmart.org`). When that service is slow or down, `test-bonsai` fails on unrelated PRs with:\n\n```\nrequests.exceptions.RetryError: HTTPSConnectionPool(host='api.bsdd.buildingsmart.org', port=443):\nMax retries exceeded with url: /api/Class/v1?Uri=...\nFAILED test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD::test_add_classification_refence_with_props\n```\n\nOf the last 40 failed \"Test Bonsai\" runs, 11 failed this way and on nothing else, for example a burst on 2026-10-15 across ten branches, and #9989 on 2026-10-21. The same commits pass when the service responds.\n\nThe feature tests already avoid this: `test/bim/test_feature.py` sets `tool.Bsdd.client = test.bim.stub.bSDDClientStub()`. The two tests in `TestAddClassificationReferenceFromBSDD` don't, so they depend on the network.\n\n**Proposal:** use the same stub in `TestAddClassificationReferenceFromBSDD`, extending `bSDDClientStub` with whatever responses those tests need, so CI no longer depends on bSDD being up. If a live check against bSDD is wanted, it could be kept as a separate test that's skipped when the service can't be reached.\n","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2026-10-21T14:02:26Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10030"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e4cbafe-50b5-33f2-4a27-6e67386f97b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A84:19B98B:A80BEB:EB3CD4:6B048C06 |
| html-safe-nonce | c263c7ebeb7692315d40e6d86d49eae99fbd3328b759e101f8ec395e4fd67d93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTg0OjE5Qjk4QjpBODBCRUI6RUIzQ0Q0OjZCMDQ4QzA2IiwidmlzaXRvcl9pZCI6Ijg1MTM3Mzk5NjY5OTg5NDA2NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 950247e78dac29be1f9968e98e642127ad58e957c28aa15c681492b0756139ac |
| hovercard-subject-tag | issue:5962039961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/10030/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a58f7e9ad8cec7dd77b4fcaf9eb403d771d98f4a60d75aac48ec2a47cd9c29b4/IfcOpenShell/IfcOpenShell/issues/10030 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a58f7e9ad8cec7dd77b4fcaf9eb403d771d98f4a60d75aac48ec2a47cd9c29b4/IfcOpenShell/IfcOpenShell/issues/10030 |
| og:image:alt | test/tool/test_classification.py::TestAddClassificationReferenceFromBSDD calls the live bSDD API (api.bsdd.buildingsmart.org). When that service is slow or down, test-bonsai fails on unrelated PRs ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theoryshaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b51ce57ca6d4565a42856fc1c9897077c794597f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width