Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Notification for jobs of type XPath? #16

Open
contorama opened this issue Nov 27, 2022 · 0 comments
Open

No Notification for jobs of type XPath? #16

contorama opened this issue Nov 27, 2022 · 0 comments

Comments

@contorama
Copy link

Hi,
websites checked by job type "Visual Snapshots" create SMTP notifications as expected.
But when I try to check only on certain XPath, I cannot get any notifications.
Job History shows there are changes, but no notifications are sent. Test button also doesn´t create notifications.

I don´t know how to find the cause of this behaviour. Is it a known issue?

docker-compose logs shows the following for a XPath job:

changd-api  | Changes detected ... saving to history and sending notifications ...
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:23:47 +0000] "GET /api/v1/jobs/4/run?type=test HTTP/1.1" 200 40 "http://vmtest/jobs/4" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"
changd-ui   | 2022/11/27 14:23:48 [warn] 31#31: *433 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/07/0000000072 while reading upstream, client: 192.168.9.10, server: frontend, request: "GET /api/v1/jobs/4 HTTP/1.1", upstream: "http://172.18.0.2:8000/api/v1/jobs/4", host: "vmtest", referrer: "http://vmtest/jobs/4"
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:23:48 +0000] "GET /api/v1/jobs/4 HTTP/1.1" 200 1770877 "http://vmtest/jobs/4" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"

compared to a Visual Snapshot job:

changd-api  | https://de.wikipedia.org
changd-api  | Image difference to original: 0
changd-api  | Reason: Pixel comparison
changd-api  | Job threshold: 0
changd-api  | Changes detected within threshold ... saving to history and sending notifications ...
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:26:28 +0000] "GET /api/v1/jobs/2/run?type=test HTTP/1.1" 200 40 "http://vmtest/jobs/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:26:29 +0000] "GET /api/v1/jobs/2 HTTP/1.1" 200 5720 "http://vmtest/jobs/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"
changd-api  | get local screenshot: /app/screenshots/2/ivpx0l_diff.png
changd-ui   | 2022/11/27 14:26:29 [warn] 31#31: *457 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/4/07/0000000074 while reading upstream, client: 192.168.9.10, server: frontend, request: "GET /api/v1/screenshots/2/ivpx0l_diff.png HTTP/1.1", upstream: "http://172.18.0.2:8000/api/v1/screenshots/2/ivpx0l_diff.png", host: "vmtest", referrer: "http://vmtest/jobs/2"
changd-api  | get local screenshot: /app/screenshots/2/ivpx0l.png
changd-ui   | 2022/11/27 14:26:29 [warn] 30#30: *465 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/5/07/0000000075 while reading upstream, client: 192.168.9.10, server: frontend, request: "GET /api/v1/screenshots/2/ivpx0l.png HTTP/1.1", upstream: "http://172.18.0.2:8000/api/v1/screenshots/2/ivpx0l.png", host: "vmtest", referrer: "http://vmtest/jobs/2"
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:26:29 +0000] "GET /api/v1/screenshots/2/ivpx0l_diff.png HTTP/1.1" 200 825596 "http://vmtest/jobs/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"
changd-ui   | 192.168.9.10 - - [27/Nov/2022:14:26:29 +0000] "GET /api/v1/screenshots/2/ivpx0l.png HTTP/1.1" 200 738585 "http://vmtest/jobs/2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0" "-"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant