[MacPorts] #60630: test mtime1 failed

MacPorts noreply at macports.org
Fri Jun 12 12:07:07 UTC 2020


#60630: test mtime1 failed
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.6.99
 Keywords:              |       Port:
------------------------+--------------------
 [https://build.macports.org/builders/base-10.10_x86_64/builds/683/steps/test/logs/stdio
 The mtime1 test now fails]:

 {{{
 ===> making test in src/pextlib1.0
 /opt/bblocal/var/buildworker/base/base-
 10_10_x86_64/opt/local/libexec/macports/bin/tclsh8.5 ./tests/checksums.tcl
 ./Pextlib.dylib
 /opt/bblocal/var/buildworker/base/base-
 10_10_x86_64/opt/local/libexec/macports/bin/tclsh8.5 ./tests/curl.tcl
 ./Pextlib.dylib
 test mtime1 failed: [curl isnewer --ignore-ssl-cert
 http://svn.macports.org/repository/macports/users/eridius/curltest/dummy
 [clock scan 2007-06-16Z]] == 0
 }}}

 [https://build.macports.org/builders/base-10.10_x86_64/builds/681/steps/test/logs/stdio
 This test used to work].

 I don't see any Last-Modified header being sent:

 {{{
 $ curl -iL
 https://svn.macports.org/repository/macports/users/eridius/curltest/dummy
 HTTP/1.1 200 OK
 Date: Fri, 12 Jun 2020 11:38:45 GMT
 Server: Apache/2.4.38 (Debian)
 Cache-Control: max-age=0
 ETag: "26224//users/eridius/curltest/dummy"
 Accept-Ranges: bytes
 Content-Length: 21
 Vary: Accept-Encoding
 Content-Type: text/plain

 This is a dummy file
 }}}

 It seems like such a header would have to be sent for that test to
 succeed.

 It looks like
 [https://github.com/apache/subversion/commit/07d500eed7aaa4c0cb6780e8bdff9fca87b5cd16
 Subversion was deliberately modified to no longer send the Last-Modified
 header] as of Subversion 1.10.0. The Braeburn server currently uses
 Subversion 1.10.4. I assume that the recent Braeburn server update
 upgraded Subversion to this version, and that it was previously using a
 version before 1.10.0.

 So I guess we need to find a different non-svn URL to use for this test.

-- 
Ticket URL: <https://trac.macports.org/ticket/60630>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list