ocket8888 edited a comment on pull request #5352:
URL: https://github.com/apache/trafficcontrol/pull/5352#issuecomment-739090349


   ohhh, right. Yeah, it seems like it works like that. But I'm not sure which 
files are supposed to produce errors:
   ```bash
   find ./test-files/etc/ -type f | while read file; do
       echo "";
       echo "testing $file";
       ./plugin_verifier -c ./test-files/etc -p ./test-files/libexec/ "$file";
   done 
   ```
   
   <details>
   <summary>output</summary>
   
   ```
   testing ./test-files/etc/bg_fetch.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.376714194-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/dscp/set_dscp_8.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.378794233-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/url_sig.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.381009009-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/bad-remap-multiline.config
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383291677-07:00: the 
plugin 'header_rewrite.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383428939-07:00: the 
plugin 'header_rewrite.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383462017-07:00: the 
plugin 'regex_remap.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.38354172-07:00: the 
plugin 'header_rewrite.so' on line '25' or near continuation line '25' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383579812-07:00: the 
plugin 'header_rewrite.so' on line '25' or near continuation line '25' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383615479-07:00: the 
plugin 'url_sig.so' on line '25' or near continuation line '25' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383643872-07:00: the 
plugin 'regex_remap.so' on line '25' or near continuation line '25' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383669448-07:00: the 
plugin 'background_fetch.so' on line '25' or near continuation line '25' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383705072-07:00: the 
plugin 'slicer.so' on line '25' or near continuation line '25' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:152: 2020-12-04T17:26:16.383731765-07:00: the 
plugin config file 'slicer.cfg' on line '25' or near continuation line '25' is 
not available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383779269-07:00: the 
plugin 'header_rewrite.so' on line '39' or near continuation line '39' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383811375-07:00: the 
plugin 'header_rewrite.so' on line '39' or near continuation line '39' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383843059-07:00: the 
plugin 'url_sig.so' on line '39' or near continuation line '39' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383868244-07:00: the 
plugin 'regex_remap.so' on line '39' or near continuation line '39' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.383891693-07:00: the 
plugin 'background_fetch.so' on line '39' or near continuation line '39' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.383914939-07:00: there 
are '15' plugins that could not be verified.
   
   testing ./test-files/etc/regex_revalidate.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.386408647-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/remap.config
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.388930655-07:00: the 
plugin 'header_rewrite.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389071651-07:00: the 
plugin 'header_rewrite.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389107198-07:00: the 
plugin 'regex_remap.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389186074-07:00: the 
plugin 'header_rewrite.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.38923378-07:00: the 
plugin 'header_rewrite.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389307812-07:00: the 
plugin 'url_sig.so' on line '2' or near continuation line '2' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389340888-07:00: the 
plugin 'regex_remap.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389371237-07:00: the 
plugin 'background_fetch.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389425574-07:00: the 
plugin 'header_rewrite.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389450811-07:00: the 
plugin 'header_rewrite.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389480133-07:00: the 
plugin 'url_sig.so' on line '3' or near continuation line '3' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.389506373-07:00: the 
plugin 'regex_remap.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.38953456-07:00: the 
plugin 'background_fetch.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.389574762-07:00: there 
are '13' plugins that could not be verified.
   
   testing ./test-files/etc/regex_remap.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.392318211-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/plugin.config
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.395257207-07:00: the 
plugin 'astats_over_http.so' on line '1' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.395459845-07:00: the 
plugin 'regex_revalidate.so' on line '2' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.395526141-07:00: the 
plugin 'remap_stats.so' on line '3' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.395564797-07:00: the 
plugin 'astats_over_http.so' on line '4' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.395593659-07:00: there 
are '4' plugins that could not be verified.
   
   testing ./test-files/etc/hdr_rw.config
   INFO: plugin_verifier.go:327: 2020-12-04T17:26:16.399032019-07:00: All 
configured plugins have successfully been verified.
   
   testing ./test-files/etc/bad-remap.config
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.40333486-07:00: the 
plugin 'header_rewrite.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403571639-07:00: the 
plugin 'header_rewrite.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403631414-07:00: the 
plugin 'regex_remap.so' on line '1' or near continuation line '1' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403732706-07:00: the 
plugin 'header_rewrite.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403771433-07:00: the 
plugin 'header_rewrite.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403832769-07:00: the 
plugin 'url_sig.so' on line '2' or near continuation line '2' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.4038728-07:00: the plugin 
'regex_remap.so' on line '2' or near continuation line '2' is not available to 
the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403918451-07:00: the 
plugin 'background_fetch.so' on line '2' or near continuation line '2' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.403969812-07:00: the 
plugin 'slice7.so' on line '2' or near continuation line '2' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:152: 2020-12-04T17:26:16.404013453-07:00: the 
plugin config file 'slice7.config' on line '2' or near continuation line '2' is 
not available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.40408259-07:00: the 
plugin 'header_rewrite.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.404122229-07:00: the 
plugin 'header_rewrite.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.404159706-07:00: the 
plugin 'url_sig.so' on line '3' or near continuation line '3' is not available 
to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.404195269-07:00: the 
plugin 'regex_remap.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.404247731-07:00: the 
plugin 'background_fetch.so' on line '3' or near continuation line '3' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.404288185-07:00: there 
are '15' plugins that could not be verified.
   
   testing ./test-files/etc/remap-multiline.config
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.408632097-07:00: the 
plugin 'header_rewrite.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.408905658-07:00: the 
plugin 'header_rewrite.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.408966718-07:00: the 
plugin 'regex_remap.so' on line '9' or near continuation line '9' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409120595-07:00: the 
plugin 'header_rewrite.so' on line '23' or near continuation line '23' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.40921459-07:00: the 
plugin 'header_rewrite.so' on line '23' or near continuation line '23' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409267068-07:00: the 
plugin 'url_sig.so' on line '23' or near continuation line '23' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409334417-07:00: the 
plugin 'regex_remap.so' on line '23' or near continuation line '23' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409385808-07:00: the 
plugin 'background_fetch.so' on line '23' or near continuation line '23' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409527674-07:00: the 
plugin 'header_rewrite.so' on line '37' or near continuation line '37' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409576622-07:00: the 
plugin 'header_rewrite.so' on line '37' or near continuation line '37' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409623842-07:00: the 
plugin 'url_sig.so' on line '37' or near continuation line '37' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409695126-07:00: the 
plugin 'regex_remap.so' on line '37' or near continuation line '37' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:129: 2020-12-04T17:26:16.409753604-07:00: the 
plugin 'background_fetch.so' on line '37' or near continuation line '37' is not 
available to the installed trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.409803216-07:00: there 
are '13' plugins that could not be verified.
   
   testing ./test-files/etc/bad-plugin.config
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.41520739-07:00: the 
plugin 'astats_over_http.so' on line '1' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.415522867-07:00: the 
plugin 'regex_revalidate.so' on line '2' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.415631766-07:00: the 
plugin 'remap_stats.so' on line '3' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.415699012-07:00: the 
plugin 'astats_over_http.so' on line '4' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:171: 2020-12-04T17:26:16.415760058-07:00: the 
plugin 'slice7.so' on line '5' is not available to the the installed 
trafficserver.
   ERROR: plugin_verifier.go:191: 2020-12-04T17:26:16.415832734-07:00: the 
plugin config file 'slice7.config' on line '5' or near continuation line '5' is 
not available to the installed trafficserver.
   ERROR: plugin_verifier.go:324: 2020-12-04T17:26:16.415887391-07:00: there 
are '6' plugins that could not be verified.
   ```
   
   </details>
   
   Some of them have "bad" in the name, so I expect the errors. Some don't, 
though, and I'm not sure if they're supposed to?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to