Problem/Motivation

Authcache Varnish comes with docker based integration tests for the VCL shipping with authcache. Due to a spurious backend declaration those tests will fail with the following output:

**** v1    0.5 CLI RX| Message from VCC-compiler:\n
**** v1    0.5 CLI RX| Unused backend s1, defined:\n
**** v1    0.5 CLI RX| ('input' Line 2 Pos 9)\n
**** v1    0.5 CLI RX| backend s1 { .host = "127.0.0.1"; .port = "34125"; }\n
**** v1    0.5 CLI RX| --------##------------------------------------------\n
**** v1    0.5 CLI RX| \n
**** v1    0.5 CLI RX| Running VCC-compiler failed, exited with 2\n
**** v1    0.5 CLI RX| \n
**** v1    0.5 CLI RX| VCL compilation failed
---- v1    0.5 FAIL VCL does not compile
*    top   0.5 RESETTING after auc/fetch-0002-set-cookie-sess-key.vtc

Proposed resolution

Remove the backend declarations from the example.vcl file. Those are left-overs from manual testing.

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

znerol created an issue. See original summary.

znerol’s picture

Run tests with docker using the following command lines:

docker build -t authcache-varnish-3 modules/authcache_varnish/varnish-3 && docker run --rm authcache-varnish-3
docker build -t authcache-varnish-4 modules/authcache_varnish/varnish-4 && docker run --rm authcache-varnish-4
znerol’s picture

Status: Active » Needs review

  • znerol committed 5fe9283 on 7.x-2.x
    Issue #2702503 by znerol: Impossible to run VCL tests due to a spurious...
znerol’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.