Closed rfc1036 closed 12 months ago
Thank you for this report!
Just for the sake of clarity: The error is actually at the end of the attached log file:
cache/local_cache_test.c:737:F:metadata.json:test_metadata_json:0: Assertion '"[{\"url\":\"rsync://a.b.c/d\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"rsync://a.b.c/e\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":1}," "{\"url\":\"rsync://x.y.z/e\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"https://a/b\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":1,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"https://a/c\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}]" == str' failed: "[{\"url\":\"rsync://a.b.c/d\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"rsync://a.b.c/e\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":1}," "{\"url\":\"rsync://x.y.z/e\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"https://a/b\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":1,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}," "{\"url\":\"https://a/c\",\"attempt-timestamp\":\"1969-12-31T18:00:00-0600\",\"attempt-result\":0,\"success-timestamp\":\"1969-12-31T18:00:00-0600\"}]" == "[{"url":"rsync://a.b.c/d","attempt-timestamp":"1969-12-31T18:00:00-0600","attempt-result":0,"success-timestamp":"1969-12-31T18:00:00-0600"},{"url":"rsync://a.b.c/e","attempt-timestamp":"1969-12-31T18:00:00-0600","attempt-result":1},{"url":"rsync://x.y.z/e","attempt-timestamp":"1969-12-31T18:00:00-0600","attempt-result":0,"success-timestamp":"1969-12-31T18:00:00-0600"},{"url":"https://a/b","attempt-timestamp":"1969-12-31T18:00:00-0600","attempt-result":1,"success-timestamp":"1969-12-31T18:00:00-0600"},{"url":"https://a/c","attempt-timestamp":"1969-12-31T18:00:00-0600","attempt-result":0,"success-timestamp":"1969-12-31T18:00:00-0600"}]", str == "[{"url":"rsync://a.b.c/d","attempt-timestamp":"1970-01-01T01:00:00+0100","attempt-result":0,"success-timestamp":"1970-01-01T01:00:00+0100"},{"url":"rsync://a.b.c/e","attempt-timestamp":"1970-01-01T01:00:00+0100","attempt-result":1},{"url":"rsync://x.y.z/e","attempt-timestamp":"1970-01-01T01:00:00+0100","attempt-result":0,"success-timestamp":"1970-01-01T01:00:00+0100"},{"url":"https://a/b","attempt-timestamp":"1970-01-01T01:00:00+0100","attempt-result":1,"success-timestamp":"1970-01-01T01:00:00+0100"},{"url":"https://a/c","attempt-timestamp":"1970-01-01T01:00:00+0100","attempt-result":0,"success-timestamp":"1970-01-01T01:00:00+0100"}]"
The following messages:
URI 'rsync://a.b.c/d/' does not begin with 'https://'. Cannot generate 's cage. I'm probably going to end up deleting it from the cache.
Are simply error pipeline tests.
I'll try finding a more elegant way to convey this in the output tomorrow.
1.6.0 fails the test suite:
test/cache.log
attached.