Re: [csswg-drafts] CSS tests - how to fix? (#6896)

Shepherd was built for the old mercurial repo, and hasn't had good data about the actual tests available since they moved to WPT. Shepherd does still share the specification and test suite modules which define the list of knowns specs and test suites for the build system. Shepherd's spec parser is also still running and priovides the anchor database for Bikeshed.

The admin>specs section of Shepherd (and the test harness, and the draft server, since they all use the same Shepherd module) is where you maintain the list of specs. The dates listed are the last seen published dates of spes that have been parsed. The edit button does work (mostly), but you have to scroll to the bottom of the page to see the edit controls. It's only for editing the main spec info tho.

The main problem you're running into is that the nightly builds of the test suites have been failing for some time, so the built test suites are quite out of date. One or more of the tests is causing the build code to crash, here's the latest stack trace:

```
 in: lifecycle/set-composited-layer-position.html
Traceback (most recent call last):
 File "css/tools/build.py", line 385, in <module>
   result = builder.build(args)
 File "css/tools/build.py", line 329, in build
   testSuite.buildInto(workPath, indexer)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Suite.py", line 97, in buildInto
   group.build(format)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Groups.py", line 189, in build
   self.refs.write(format)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Sources.py", line 281, in write
   format.write(source)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/OutputFormats.py", line 99, in write
   source.write(self, source.serializeXHTML())
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Sources.py", line 1447, in serializeXHTML
   nodeList = self.injectNamespaces()
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Sources.py", line 1429, in injectNamespaces
   self._injectNamespace('html', None, 'http://www.w3.org/1999/xhtml', False, nodeList)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Sources.py", line 1417, in _injectNamespace
   elements = self._findElements(namespace, elementName)
 File "/sites/test.csswg.org/builder/web-platform-tests/css/tools/w3ctestlib/Sources.py", line 1410, in _findElements
   elements = self.tree.findall('.//{' + namespace + '}' + elementName)
AttributeError: 'NoneType' object has no attribute 'findall'
```

I don't have the bandwidth to dig into the root cause or fix this right now (see the 'no one is paying me to do W3C work and I'd have to take time away from my paid hourly contracting work that I can't afford to do' issue with the draft server).

-- 
GitHub Notification of comment by plinss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6896#issuecomment-996047519 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 December 2021 17:55:23 UTC