You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "masaori335 (via GitHub)" <gi...@apache.org> on 2023/10/19 05:01:19 UTC

[I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

masaori335 opened a new issue, #10648:
URL: https://github.com/apache/trafficserver/issues/10648

   With the default value (256M), I haven't seen failure, but increasing the size, it fails intermittently.
   
   - `storage.config`
   ```
   var/trafficserver 1G
   ```
   
   ```
   ยป /opt/ats-asf-master/bin/traffic_server -R 3 -r Cache_vol
   Traffic Server 10.0.0-0 Oct 19 2023 08:21:06 Masaoris-MacBook-Pro-16.local
   traffic_server: using root directory '/opt/ats-asf-master'
   [Oct 19 13:55:46.501]  NOTE: records parsing completed.
   [Oct 19 13:55:46.501]  NOTE: /opt/ats-asf-master/etc/trafficserver/records.yaml finished loading
   [Oct 19 13:55:46.567] [TS_MAIN] NOTE: Traffic Server is running unprivileged, not switching to user 'nobody'
   REGRESSION_TEST initialization begun
   REGRESSION TEST Cache_vol started
   RPRINT Cache_vol: 7 128 Megabyte Volumes
   [Oct 19 13:55:47.575] [ET_NET 9] NOTE: Clearing Disk: /opt/ats-asf-master/var/trafficserver/cache.db
   RPRINT Cache_vol: Not enough space for 10 volume
   RPRINT Cache_vol: Random Volumes after clearing the disks
   RPRINT Cache_vol: volume=1 scheme=http size=384
   RPRINT Cache_vol: volume=3 scheme=http size=256
   RPRINT Cache_vol: Random Volumes without clearing the disks
   RPRINT Cache_vol: volume=1 scheme=http size=512
   RPRINT Cache_vol: volume=2 scheme=http size=384
   RPRINT Cache_vol: Configuration and Actual volumes don't match
       REGRESSION_RESULT Cache_vol:                                FAILED
   REGRESSION_TEST DONE: FAILED
   ```
   
   https://github.com/apache/trafficserver/blob/e084750c6943920cae0fe611d9ebf416c09d2c97/src/iocore/cache/CacheHosting.cc#L1004


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

Posted by "bryancall (via GitHub)" <gi...@apache.org>.
bryancall closed issue #10648: `Cache_vol` regression test intermittently fails with large storage settings .
URL: https://github.com/apache/trafficserver/issues/10648


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #10648:
URL: https://github.com/apache/trafficserver/issues/10648#issuecomment-2430660926

   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on issue #10648:
URL: https://github.com/apache/trafficserver/issues/10648#issuecomment-1776143086

   ```
       REGRESSION_RESULT PARENTSELECTION:                          FAILED
   ```
   The job is failed with parent selection?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on issue #10648:
URL: https://github.com/apache/trafficserver/issues/10648#issuecomment-1773878923

   It failed on CI: https://ci.trafficserver.apache.org/job/Github_Builds/job/centos/1674/console.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `Cache_vol` regression test intermittently fails with large storage settings . [trafficserver]

Posted by "bryancall (via GitHub)" <gi...@apache.org>.
bryancall commented on issue #10648:
URL: https://github.com/apache/trafficserver/issues/10648#issuecomment-4828154612

   The run-mode this issue is about no longer exists. This was the old in-binary regression test invoked with `traffic_server -R -r Cache_vol`, and the intermittent failure only showed up when running it against a large, user-supplied `storage.config` (1G). In [PR #10649](https://github.com/apache/trafficserver/pull/10649) (merged for the 10.0.0 milestone, the first release containing it) the CacheVol regression test was converted into a self-contained Catch2 unit test. On current master there is no longer a `Cache_vol` regression test to run that way, and the cache hosting line this issue pointed at no longer holds any regression-test code. The unit test now runs against a fixed 256M storage span defined in its own [storage.yaml](https://github.com/apache/trafficserver/blob/master/src/iocore/cache/unit_tests/etc/storage.yaml) rather than whatever storage configuration a developer happens to have, which removes the variable-sized-disk input that caused the intermittent mismatch. Sinc
 e the failing run-mode and trigger are gone, I am closing this as obsolete. If anyone still sees the converted unit test fail intermittently, please open a fresh issue against that unit test with the details.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org