Authenticated login is not scanning post login urls

Hi,
I have created a temporary login at https://demoqa.com I can see authentication but the urls after authentication are not followed. I presume I must be missing something.
docker run --rm -v $(pwd):/zap/wrk/:rw -t ictu/zap2docker-weekly zap-baseline.py -I -j
-d -t https://demoqa.com
-r testreport.html
--hook=/zap/auth_hook.py
-z "auth.loginurl=https://demoqa.com/login auth.username=username auth.password=password auth.include=https://demoqa.*"
Logs
2021-11-23 17:12:10,965 Target: https://demoqa.com
2021-11-23 17:12:11,070 Trigger hook: cli_opts, args: 1
2021-11-23 17:12:11,071 Using port: 46852
2021-11-23 17:12:11,072 Trigger hook: start_zap, args: 2
2021-11-23 17:12:11,072 Extra params passed by ZAP: ['-config', 'spider.maxDuration=1', '-addonupdate', '-addoninstall', 'pscanrulesBeta', 'auth.loginurl=https://demoqa.com/login', 'auth.username=username', 'auth.password=password', 'auth.include=https://demoqa.']
2021-11-23 17:12:11,072 _get_zap_param auth.loginurl: https://demoqa.com/login
2021-11-23 17:12:11,073 _get_zap_param auth.username: username
2021-11-23 17:12:11,073 _get_zap_param auth.password: password
2021-11-23 17:12:11,073 _get_zap_param_list auth.include: ['https://demoqa.']
2021-11-23 17:12:11,073 Starting ZAP
2021-11-23 17:12:11,074 Params: ['zap-x.sh', '-daemon', '-port', '46852', '-host', '<IP_ADDRESS>', '-config', 'database.recoverylog=false', '-config', 'api.disablekey=true', '-config', 'api.addrs.addr.name=.', '-config', 'api.addrs.addr.regex=true', '-config', 'spider.maxDuration=1', '-addonupdate', '-addoninstall', 'pscanrulesBeta', 'auth.loginurl=https://demoqa.com/login', 'auth.username=username', 'auth.password=password', 'auth.include=https://demoqa.']
2021-11-23 17:12:11,080 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:12,084 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:13,088 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:14,092 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:15,097 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:16,105 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:17,115 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:18,120 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:19,125 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:20,130 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:21,134 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:22,140 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:23,150 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,154 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,254 http://localhost:46852 "GET http://zap/JSON/core/view/version/ HTTP/1.1" 200 26
2021-11-23 17:12:24,255 ZAP Version D-2021-11-15
2021-11-23 17:12:24,255 Took 13 seconds
2021-11-23 17:12:24,255 Trigger hook: zap_started, args: 2
2021-11-23 17:12:24,257 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,324 http://localhost:46852 "GET http://zap/JSON/ascan/action/updateScanPolicy/?scanPolicyName=Default+Policy&apikey=&attackStrength=LOW HTTP/1.1" 200 15
2021-11-23 17:12:24,327 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,348 http://localhost:46852 "GET http://zap/JSON/replacer/action/addRule/?description=Scanner&enabled=True&matchType=REQ_HEADER&matchRegex=False&matchString=X-Scanner&apikey=&replacement=ZAP HTTP/1.1" 200 15
2021-11-23 17:12:24,353 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,445 http://localhost:46852 "GET http://zap/JSON/context/action/newContext/?contextName=ctx-zap-docker&apikey= HTTP/1.1" 200 17
2021-11-23 17:12:24,448 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,495 http://localhost:46852 "GET http://zap/JSON/context/action/includeInContext/?contextName=ctx-zap-docker&regex=https%3A%2F%2Fdemoqa.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,496 Included https://demoqa.*
2021-11-23 17:12:24,497 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,521 http://localhost:46852 "GET http://zap/JSON/context/action/includeInContext/?contextName=ctx-zap-docker&regex=https%3A%2F%2Fdemoqa.com.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,522 Included https://demoqa.com.*
2021-11-23 17:12:24,523 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,552 http://localhost:46852 "GET http://zap/JSON/context/action/excludeFromContext/?contextName=ctx-zap-docker&regex=.*logout.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,553 Excluded .logout.
2021-11-23 17:12:24,555 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,572 http://localhost:46852 "GET http://zap/JSON/context/action/excludeFromContext/?contextName=ctx-zap-docker&regex=.*uitloggen.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,573 Excluded .uitloggen.
2021-11-23 17:12:24,575 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,593 http://localhost:46852 "GET http://zap/JSON/context/action/excludeFromContext/?contextName=ctx-zap-docker&regex=.*afmelden.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,594 Excluded .afmelden.
2021-11-23 17:12:24,596 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:24,611 http://localhost:46852 "GET http://zap/JSON/context/action/excludeFromContext/?contextName=ctx-zap-docker&regex=.*signout.*&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:24,612 Excluded .signout.
2021-11-23 17:12:24,612 Start webdriver
2021-11-23 17:12:25,624 POST http://<IP_ADDRESS>:53503/session {"capabilities": {"firstMatch": [{}], "alwaysMatch": {"browserName": "firefox", "acceptInsecureCerts": true, "moz:firefoxOptions": {"profile": "UEsDBBQAAAAIAIyJd1N0S+jrjgMAAPcMAAAHAAAAdXNlci5qc6VWTW/UMBC98ytQTyCx1rbABU6lFAkJUcSq4mg59mTjrmMbe7zp/nvGyaYsbb6AWz7e89hvZt44RQjcByhfnBXBNfTGlKtZo61yDVOp9gysKAyos1fPMSR4+f5ZesoxAiGEZE/ApTBxBG2hQVGwFAzhzkThEr4rjLC7sym8F1tYtn5EETB5lhmEXE+jKlfDEblgL49Z3O3p5FoBqyM6266it9YFGFmAPqkb+6MVOJ6vmbYY3O33L9Phc1Jqcc9lFSgwjzJoj5wU56jrHPT1epiwDBnAu4BcGMPvIod7CR61s3Ew6XdiL7plmetgLFau+Wyv6NEZGCRZwMaFHZOCKHtY5XjCrAiw13ImrxFkChoPTMa+HEeAj5PTgJFZr9lSm2IyoZTO5xQzizRQqECHC1zIrCBPlNsUERSXEHBYzRNSjClHfCBp+gBhhtXpwa3IsnLYgx0J9KAimsiIGelErNaWwOd/IoX3LHlFPc1EQjes9QloUVMqHb0RB1DX5+vNV4eUdSK8GQG7xhonFJWwpWyEtsB+VGA3OU/abqdjXd9+uWR9Y04aV4t8zbp8zZmctjuqeLDUIGR3XTlczGHJvDo3HQe7siT8SE33oABCZWUAQdJOP+kQ8ZK0kCMN92BYooT2mVRbaJ+njFqYRoSlxgsiyOpYFnNQU8bksw30g2DMcSHmUiV3pW0EaHukJBfkMohYzUSpwBgmK5C7j1CKZPBD92eaRtMmMjq2vbFXxsWZo5ygbyjjw2BSRHQum1WtQBisune2yAMn+MnnVrn+R3YfvcwF9T39/faN227zR9m5/1/swzuj5YHlj5tU1LrN8//yv7UfL3839NAysEfnyAbJIVw4bnzyopOHJDlYa7VtWyvyUrvlWfnhGNkjbFu4rYl+7MgbSezsz+frUXhhnNwZHXG6Ik4YbYFfudrTECi0ySZv9bZCc5ilLrHwp3BL/l0ebkcb6eSKMKVqfynoXH519MEVDWNMcXjlnlIh0gWv0rE6rPJvT9NzZcBuMVvCxdu3f9L6pWlqUT6McQ0vDlx1njC4N08W4zHm7ua1U8IsvKOU2gA9MRc0tQXvajRfu2bwEYOWyB/ThkLl+6UlK6yhLiBs2tcRuXKZ7zSyo2z9OD2W8uDBewqCoQgYDqyToj35xRx2UqSn8AB37Tgb3Mm912T7lC2Wj0w1Qe5PjJ9Jh7EIvylNpSlM7qIBxi9QSwECFAMUAAAACACMiXdTdEvo644DAAD3DAAABwAAAAAAAAAAAAAApIEAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAACzAwAAAAA=", "args": ["-headless"]}}}, "desiredCapabilities": {"browserName": "firefox", "acceptInsecureCerts": true, "marionette": true, "moz:firefoxOptions": {"profile": "UEsDBBQAAAAIAIyJd1N0S+jrjgMAAPcMAAAHAAAAdXNlci5qc6VWTW/UMBC98ytQTyCx1rbABU6lFAkJUcSq4mg59mTjrmMbe7zp/nvGyaYsbb6AWz7e89hvZt44RQjcByhfnBXBNfTGlKtZo61yDVOp9gysKAyos1fPMSR4+f5ZesoxAiGEZE/ApTBxBG2hQVGwFAzhzkThEr4rjLC7sym8F1tYtn5EETB5lhmEXE+jKlfDEblgL49Z3O3p5FoBqyM6266it9YFGFmAPqkb+6MVOJ6vmbYY3O33L9Phc1Jqcc9lFSgwjzJoj5wU56jrHPT1epiwDBnAu4BcGMPvIod7CR61s3Ew6XdiL7plmetgLFau+Wyv6NEZGCRZwMaFHZOCKHtY5XjCrAiw13ImrxFkChoPTMa+HEeAj5PTgJFZr9lSm2IyoZTO5xQzizRQqECHC1zIrCBPlNsUERSXEHBYzRNSjClHfCBp+gBhhtXpwa3IsnLYgx0J9KAimsiIGelErNaWwOd/IoX3LHlFPc1EQjes9QloUVMqHb0RB1DX5+vNV4eUdSK8GQG7xhonFJWwpWyEtsB+VGA3OU/abqdjXd9+uWR9Y04aV4t8zbp8zZmctjuqeLDUIGR3XTlczGHJvDo3HQe7siT8SE33oABCZWUAQdJOP+kQ8ZK0kCMN92BYooT2mVRbaJ+njFqYRoSlxgsiyOpYFnNQU8bksw30g2DMcSHmUiV3pW0EaHukJBfkMohYzUSpwBgmK5C7j1CKZPBD92eaRtMmMjq2vbFXxsWZo5ygbyjjw2BSRHQum1WtQBisune2yAMn+MnnVrn+R3YfvcwF9T39/faN227zR9m5/1/swzuj5YHlj5tU1LrN8//yv7UfL3839NAysEfnyAbJIVw4bnzyopOHJDlYa7VtWyvyUrvlWfnhGNkjbFu4rYl+7MgbSezsz+frUXhhnNwZHXG6Ik4YbYFfudrTECi0ySZv9bZCc5ilLrHwp3BL/l0ebkcb6eSKMKVqfynoXH519MEVDWNMcXjlnlIh0gWv0rE6rPJvT9NzZcBuMVvCxdu3f9L6pWlqUT6McQ0vDlx1njC4N08W4zHm7ua1U8IsvKOU2gA9MRc0tQXvajRfu2bwEYOWyB/ThkLl+6UlK6yhLiBs2tcRuXKZ7zSyo2z9OD2W8uDBewqCoQgYDqyToj35xRx2UqSn8AB37Tgb3Mm912T7lC2Wj0w1Qe5PjJ9Jh7EIvylNpSlM7qIBxi9QSwECFAMUAAAACACMiXdTdEvo644DAAD3DAAABwAAAAAAAAAAAAAApIEAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAACzAwAAAAA=", "args": ["-headless"]}}}
2021-11-23 17:12:25,624 Starting new HTTP connection (1): <IP_ADDRESS>:53503
2021-11-23 17:12:29,302 http://<IP_ADDRESS>:53503 "POST /session HTTP/1.1" 200 693
2021-11-23 17:12:29,302 Finished Request
2021-11-23 17:12:29,303 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/window/rect {"x": null, "y": null, "width": 1920, "height": 1080}
2021-11-23 17:12:29,331 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/window/rect HTTP/1.1" 200 50
2021-11-23 17:12:29,332 Finished Request
2021-11-23 17:12:29,332 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/window/maximize {}
2021-11-23 17:12:29,587 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/window/maximize HTTP/1.1" 200 50
2021-11-23 17:12:29,588 Finished Request
2021-11-23 17:12:29,588 authenticate using webdriver against URL: https://demoqa.com/login
2021-11-23 17:12:29,588 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/url {"url": "https://demoqa.com/login"}
2021-11-23 17:12:31,480 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/url HTTP/1.1" 200 14
2021-11-23 17:12:31,480 Finished Request
2021-11-23 17:12:36,482 automatically finding login elements
2021-11-23 17:12:36,482 Trying to find element username
2021-11-23 17:12:36,482 Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='username') and (@type='text' or @type='email' or @type='number' or not(@type))]
2021-11-23 17:12:36,482 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element {"using": "xpath", "value": "//input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='username') and (@type='text' or @type='email' or @type='number' or not(@type))]"}
2021-11-23 17:12:36,507 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element HTTP/1.1" 200 88
2021-11-23 17:12:36,507 Finished Request
2021-11-23 17:12:36,507 Found element username by id
2021-11-23 17:12:36,508 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/b854ce8d-4a2b-44e8-b965-a1ff033eedae/clear {"id": "b854ce8d-4a2b-44e8-b965-a1ff033eedae"}
2021-11-23 17:12:36,540 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/b854ce8d-4a2b-44e8-b965-a1ff033eedae/clear HTTP/1.1" 200 14
2021-11-23 17:12:36,540 Finished Request
2021-11-23 17:12:36,541 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/b854ce8d-4a2b-44e8-b965-a1ff033eedae/value {"text": "username", "value": ["u", "s", "e", "r", "n", "a", "m", "e"], "id": "b854ce8d-4a2b-44e8-b965-a1ff033eedae"}
2021-11-23 17:12:36,738 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/b854ce8d-4a2b-44e8-b965-a1ff033eedae/value HTTP/1.1" 200 14
2021-11-23 17:12:36,738 Finished Request
2021-11-23 17:12:36,738 Filled the username element
2021-11-23 17:12:36,738 Trying to find element password
2021-11-23 17:12:36,739 Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]
2021-11-23 17:12:36,739 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element {"using": "xpath", "value": "//input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]"}
2021-11-23 17:12:36,744 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element HTTP/1.1" 200 88
2021-11-23 17:12:36,745 Finished Request
2021-11-23 17:12:36,745 Found element password by id
2021-11-23 17:12:36,745 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/e9d401fd-712b-46b4-8686-6f694191e950/clear {"id": "e9d401fd-712b-46b4-8686-6f694191e950"}
2021-11-23 17:12:36,761 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/e9d401fd-712b-46b4-8686-6f694191e950/clear HTTP/1.1" 200 14
2021-11-23 17:12:36,762 Finished Request
2021-11-23 17:12:36,763 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/e9d401fd-712b-46b4-8686-6f694191e950/value {"text": "passwprd", "value": ["p", "a", "s", "s", "w", "o", "r", "d"], "id": "e9d401fd-712b-46b4-8686-6f694191e950"}
2021-11-23 17:12:36,840 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/e9d401fd-712b-46b4-8686-6f694191e950/value HTTP/1.1" 200 14
2021-11-23 17:12:36,840 Finished Request
2021-11-23 17:12:36,840 Filled the password element
2021-11-23 17:12:36,841 Trying to find element login
2021-11-23 17:12:36,841 Built xpath: //[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='login') and (@type='submit' or @type='button' or button)]
2021-11-23 17:12:36,841 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element {"using": "xpath", "value": "//[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='login') and (@type='submit' or @type='button' or button)]"}
2021-11-23 17:12:36,854 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element HTTP/1.1" 200 88
2021-11-23 17:12:36,854 Finished Request
2021-11-23 17:12:36,854 Found element login by id
2021-11-23 17:12:36,854 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/0c7a8e85-118d-4f78-a862-9cce041f094b/click {"id": "0c7a8e85-118d-4f78-a862-9cce041f094b"}
2021-11-23 17:12:37,106 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/element/0c7a8e85-118d-4f78-a862-9cce041f094b/click HTTP/1.1" 200 14
2021-11-23 17:12:37,106 Finished Request
2021-11-23 17:12:37,106 Clicked the login element
2021-11-23 17:12:42,077 Finding authentication cookies
2021-11-23 17:12:42,079 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,087 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/addSessionToken/?site=https%3A%2F%2Fdemoqa.com&sessionToken=session_token&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,089 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,107 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/createEmptySession/?site=https%3A%2F%2Fdemoqa.com&apikey=&session=auth-session HTTP/1.1" 200 15
2021-11-23 17:12:42,108 GET http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/cookie {}
2021-11-23 17:12:42,118 http://<IP_ADDRESS>:53503 "GET /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/cookie HTTP/1.1" 200 1175
2021-11-23 17:12:42,119 Finished Request
2021-11-23 17:12:42,121 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,126 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=_ga&tokenValue=GA1.2.121671487.1637687551&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,127 Cookie added: _ga=GA1.2.121671487.1637687551
2021-11-23 17:12:42,130 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,135 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=_gid&tokenValue=GA1.2.1784877309.1637687551&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,136 Cookie added: _gid=GA1.2.1784877309.1637687551
2021-11-23 17:12:42,138 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,145 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=_gat_gtag_UA_109033876_1&tokenValue=1&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,146 Cookie added: _gat_gtag_UA_109033876_1=1
2021-11-23 17:12:42,148 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,153 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=token&tokenValue=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyTmFtZSI6InBldGVwZXJmZWN0IiwicGFzc3dvcmQiOiJUZXN0IVRlc3QhMTEiLCJpYXQiOjE2Mzc2ODc1NTZ9.xYKcRuxRIymzfy2809SKlVQOCxFDKa0VDTs66l06qJg&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,154 Cookie added: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyTmFtZSI6InBldGVwZXJmZWN0IiwicGFzc3dvcmQiOiJUZXN0IVRlc3QhMTEiLCJpYXQiOjE2Mzc2ODc1NTZ9.xYKcRuxRIymzfy2809SKlVQOCxFDKa0VDTs66l06qJg
2021-11-23 17:12:42,156 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,160 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=expires&tokenValue=2021-11-30T17%253A12%253A36.979Z&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,161 Cookie added: expires=2021-11-30T17%3A12%3A36.979Z
2021-11-23 17:12:42,164 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,169 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=userID&tokenValue=201225b8-58b3-4284-b54c-0e9447a8e374&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,170 Cookie added: userID=201225b8-58b3-4284-b54c-0e9447a8e374
2021-11-23 17:12:42,173 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,178 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setSessionTokenValue/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&sessionToken=userName&tokenValue=username&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,179 Cookie added: userName=username
2021-11-23 17:12:42,182 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,187 http://localhost:46852 "GET http://zap/JSON/httpSessions/action/setActiveSession/?site=https%3A%2F%2Fdemoqa.com&session=auth-session&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,193 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,200 http://localhost:46852 "GET http://zap/JSON/httpSessions/view/activeSession/?site=https%3A%2F%2Fdemoqa.com HTTP/1.1" 200 33
2021-11-23 17:12:42,201 Active session: auth-session
2021-11-23 17:12:42,201 Finding authentication headers
2021-11-23 17:12:42,202 POST http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/execute/sync {"script": "var ls = window.localStorage, items = {}; for (var i = 0, k; i < ls.length; ++i)   items[k = ls.key(i)] = ls.getItem(k); return items; ", "args": []}
2021-11-23 17:12:42,216 http://<IP_ADDRESS>:53503 "POST /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff/execute/sync HTTP/1.1" 200 12
2021-11-23 17:12:42,216 Finished Request
2021-11-23 17:12:42,217 DELETE http://<IP_ADDRESS>:53503/session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff {}
2021-11-23 17:12:42,914 http://<IP_ADDRESS>:53503 "DELETE /session/3a1afbcf-0114-4b1b-abf6-e76a1178bcff HTTP/1.1" 200 14
2021-11-23 17:12:42,915 Finished Request
2021-11-23 17:12:42,916 Tune
2021-11-23 17:12:42,916 Disable all tags
2021-11-23 17:12:42,920 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,930 http://localhost:46852 "GET http://zap/JSON/pscan/action/disableAllTags/?apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,930 Set max pscan alerts
2021-11-23 17:12:42,932 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:42,936 http://localhost:46852 "GET http://zap/JSON/pscan/action/setMaxAlertsPerRule/?maxAlerts=10&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:42,937 Trigger hook: zap_tuned, args: 1
2021-11-23 17:12:42,937 Trigger hook: zap_access_target, args: 2
2021-11-23 17:12:42,940 Starting new HTTPS connection (1): demoqa.com:443
2021-11-23 17:12:43,498 https://demoqa.com:443 "GET / HTTP/1.1" 200 2450
2021-11-23 17:12:45,503 Trigger hook: zap_spider, args: 2
2021-11-23 17:12:45,503 Spider https://demoqa.com
2021-11-23 17:12:45,506 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:45,520 http://localhost:46852 "GET http://zap/JSON/spider/action/scan/?apikey=&url=https%3A%2F%2Fdemoqa.com&contextName=ctx-zap-docker HTTP/1.1" 200 12
2021-11-23 17:12:50,527 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:50,531 http://localhost:46852 "GET http://zap/JSON/spider/view/status/?scanId=0 HTTP/1.1" 200 16
2021-11-23 17:12:50,532 Spider complete
2021-11-23 17:12:50,532 Trigger hook: zap_spider_wrap, args: 1
2021-11-23 17:12:50,532 Trigger hook: zap_ajax_spider, args: 3
2021-11-23 17:12:50,534 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:50,538 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/action/setOptionMaxDuration/?Integer=1&apikey= HTTP/1.1" 200 15
2021-11-23 17:12:50,538 AjaxSpider https://demoqa.com
2021-11-23 17:12:50,540 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:50,565 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/action/scan/?apikey=&url=https%3A%2F%2Fdemoqa.com&contextName=ctx-zap-docker HTTP/1.1" 200 15
2021-11-23 17:12:55,573 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:55,577 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/status/ HTTP/1.1" 200 20
2021-11-23 17:12:55,580 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:12:55,585 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/numberOfResults/ HTTP/1.1" 200 23
2021-11-23 17:12:55,586 Ajax Spider running, found urls: 2
2021-11-23 17:13:00,591 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:00,594 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/status/ HTTP/1.1" 200 20
2021-11-23 17:13:00,597 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:00,599 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/numberOfResults/ HTTP/1.1" 200 24
2021-11-23 17:13:00,601 Ajax Spider running, found urls: 13
2021-11-23 17:13:05,603 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:05,606 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/status/ HTTP/1.1" 200 20
2021-11-23 17:13:05,608 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:05,612 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/numberOfResults/ HTTP/1.1" 200 24
2021-11-23 17:13:05,614 Ajax Spider running, found urls: 25
2021-11-23 17:13:10,587 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,590 http://localhost:46852 "GET http://zap/JSON/ajaxSpider/view/status/ HTTP/1.1" 200 20
2021-11-23 17:13:10,591 Ajax Spider complete
2021-11-23 17:13:10,591 Trigger hook: zap_ajax_spider_wrap, args: 1
2021-11-23 17:13:10,594 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,599 http://localhost:46852 "GET http://zap/JSON/pscan/view/recordsToScan/ HTTP/1.1" 200 21
2021-11-23 17:13:10,600 Records to scan...
2021-11-23 17:13:10,603 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,606 http://localhost:46852 "GET http://zap/JSON/pscan/view/recordsToScan/ HTTP/1.1" 200 21
2021-11-23 17:13:10,608 Passive scanning complete
2021-11-23 17:13:10,612 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,619 http://localhost:46852 "GET http://zap/JSON/core/view/urls/ HTTP/1.1" 200 360
Total of 11 URLs
2021-11-23 17:13:10,620 Trigger hook: zap_get_alerts, args: 4
2021-11-23 17:13:10,623 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,829 http://localhost:46852 "GET http://zap/JSON/core/view/alerts/?baseurl=https%3A%2F%2Fdemoqa.com&start=0&count=5000 HTTP/1.1" 200 88631
2021-11-23 17:13:10,832 Reading 5000 alerts from 0
2021-11-23 17:13:10,833 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,944 http://localhost:46852 "GET http://zap/JSON/core/view/alerts/?start=5000&count=5000 HTTP/1.1" 200 13
2021-11-23 17:13:10,946 Total number of alerts: 73
2021-11-23 17:13:10,947 Trigger hook: zap_get_alerts_wrap, args: 1
2021-11-23 17:13:10,951 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,964 http://localhost:46852 "GET http://zap/JSON/pscan/view/scanners/ HTTP/1.1" 200 6415
PASS: Vulnerable JS Library [10003]
PASS: Cookie No HttpOnly Flag [10010]
PASS: Cookie Without Secure Flag [10011]
PASS: Content-Type Header Missing [10019]
PASS: Information Disclosure - Debug Error Messages [10023]
PASS: Information Disclosure - Sensitive Information in URL [10024]
PASS: Information Disclosure - Sensitive Information in HTTP Referrer Header [10025]
PASS: HTTP Parameter Override [10026]
PASS: Information Disclosure - Suspicious Comments [10027]
PASS: Open Redirect [10028]
PASS: Cookie Poisoning [10029]
PASS: User Controllable Charset [10030]
PASS: User Controllable HTML Element Attribute (Potential XSS) [10031]
PASS: Viewstate [10032]
PASS: Directory Browsing [10033]
PASS: Heartbleed OpenSSL Vulnerability (Indicative) [10034]
PASS: X-Backend-Server Header Information Leak [10039]
PASS: Secure Pages Include Mixed Content [10040]
PASS: HTTP to HTTPS Insecure Transition in Form Post [10041]
PASS: HTTPS to HTTP Insecure Transition in Form Post [10042]
PASS: User Controllable JavaScript Event (XSS) [10043]
PASS: Big Redirect Detected (Potential Sensitive Information Leak) [10044]
PASS: Retrieved from Cache [10050]
PASS: X-ChromeLogger-Data (XCOLD) Header Information Leak [10052]
PASS: Cookie without SameSite Attribute [10054]
PASS: CSP [10055]
PASS: X-Debug-Token Information Leak [10056]
PASS: Username Hash Found [10057]
PASS: X-AspNet-Version Response Header [10061]
PASS: PII Disclosure [10062]
PASS: Hash Disclosure [10097]
PASS: Cross-Domain Misconfiguration [10098]
PASS: Weak Authentication Method [10105]
PASS: Reverse Tabnabbing [10108]
PASS: Modern Web Application [10109]
PASS: Absence of Anti-CSRF Tokens [10202]
PASS: Private IP Disclosure [2]
PASS: Session ID in URL Rewrite [3]
PASS: Script Passive Scan Rules [50001]
PASS: Insecure JSF ViewState [90001]
PASS: Charset Mismatch [90011]
PASS: Application Error Disclosure [90022]
PASS: WSDL File Detection [90030]
PASS: Loosely Scoped Cookie [90033]
2021-11-23 17:13:10,966 Trigger hook: print_rules_wrap, args: 2
2021-11-23 17:13:10,966 Trigger hook: print_rules_wrap, args: 2
WARN-NEW: Incomplete or No Cache-control Header Set [10015] x 4
2021-11-23 17:13:10,969 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,987 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:10,991 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:10,997 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,000 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,003 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,006 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,009 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
WARN-NEW: Cross-Domain JavaScript Source File Inclusion [10017] x 12
2021-11-23 17:13:11,011 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,014 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,017 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,020 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,022 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,026 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,028 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,035 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,037 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,040 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
WARN-NEW: X-Frame-Options Header Not Set [10020] x 4
2021-11-23 17:13:11,043 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,046 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,049 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,052 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,055 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,059 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,062 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,065 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
WARN-NEW: X-Content-Type-Options Header Missing [10021] x 8
2021-11-23 17:13:11,068 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,072 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,078 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,083 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,088 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,093 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,099 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,105 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
2021-11-23 17:13:11,111 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,119 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=14 HTTP/1.1" 200 2351
https://demoqa.com/favicon.png (200 OK)
WARN-NEW: Strict-Transport-Security Header Not Set [10035] x 8
2021-11-23 17:13:11,126 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,132 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,137 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,141 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,144 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,150 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,158 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,164 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
2021-11-23 17:13:11,167 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,172 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=14 HTTP/1.1" 200 2351
https://demoqa.com/favicon.png (200 OK)
WARN-NEW: Server Leaks Version Information via "Server" HTTP Response Header Field [10036] x 8
2021-11-23 17:13:11,176 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,182 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,186 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,190 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,200 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,205 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,208 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,213 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
2021-11-23 17:13:11,217 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,223 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=14 HTTP/1.1" 200 2351
https://demoqa.com/favicon.png (200 OK)
WARN-NEW: Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) [10037] x 8
2021-11-23 17:13:11,231 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,235 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,238 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,244 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,247 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,251 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,255 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,260 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
2021-11-23 17:13:11,265 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,268 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=14 HTTP/1.1" 200 2351
https://demoqa.com/favicon.png (200 OK)
WARN-NEW: Content Security Policy (CSP) Header Not Set [10038] x 4
2021-11-23 17:13:11,271 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,276 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,278 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,282 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,284 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,290 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,296 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,301 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
WARN-NEW: Timestamp Disclosure - Unix [10096] x 10
2021-11-23 17:13:11,305 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,309 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=1 HTTP/1.1" 200 4016
https://demoqa.com/ (200 OK)
2021-11-23 17:13:11,313 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,319 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=7 HTTP/1.1" 200 4077
https://demoqa.com (200 OK)
2021-11-23 17:13:11,322 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,336 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=8 HTTP/1.1" 200 4088
https://demoqa.com/robots.txt (200 OK)
2021-11-23 17:13:11,338 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,342 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=12 HTTP/1.1" 200 4089
https://demoqa.com/sitemap.xml (200 OK)
2021-11-23 17:13:11,346 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:11,356 http://localhost:46852 "GET http://zap/JSON/core/view/message/?id=15 HTTP/1.1" 200 56484
https://demoqa.com/main.css (200 OK)
2021-11-23 17:13:11,358 Trigger hook: print_rules_wrap, args: 2
2021-11-23 17:13:11,358 Trigger hook: print_rules_wrap, args: 2
2021-11-23 17:13:11,360 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:12,656 http://localhost:46852 "GET http://zap/OTHER/core/other/htmlreport/?apikey= HTTP/1.1" 200 77244
FAIL-NEW: 0	FAIL-INPROG: 0	WARN-NEW: 9	WARN-INPROG: 0	INFO: 0	IGNORE: 0	PASS: 44
2021-11-23 17:13:12,673 Trigger hook: zap_pre_shutdown, args: 1
2021-11-23 17:13:12,674 Overview of spidered URL's:
2021-11-23 17:13:12,686 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:12,715 http://localhost:46852 "GET http://zap/JSON/spider/view/allUrls/ HTTP/1.1" 200 215
2021-11-23 17:13:12,716 found: https://demoqa.com
2021-11-23 17:13:12,717 found: https://demoqa.com/robots.txt
2021-11-23 17:13:12,717 found: https://demoqa.com/sitemap.xml
2021-11-23 17:13:12,717 found: https://demoqa.com/
2021-11-23 17:13:12,717 found: https://demoqa.com/favicon.png
2021-11-23 17:13:12,718 found: https://demoqa.com/main.css
2021-11-23 17:13:12,718 found: https://demoqa.com/bundle.js
2021-11-23 17:13:12,726 Starting new HTTP connection (1): localhost:46852
2021-11-23 17:13:12,733 http://localhost:46852 "GET http://zap/JSON/core/action/shutdown/?apikey= HTTP/1.1" 200 15
2021-11-23 17:13:12,735 Trigger hook: pre_exit, args: 3

@pedro37 I think it has something to do with your site using a lot of Javascript. Because many links that do not require are not spidered as well. Maybe the Ajax spider is not working properly. Can you try running the official image and see if all URL's without authentication are properly spidered?

@dhodyrahmad can you provide a full log?

Hi, thanks for replying. Im doing little modification with the auth and showing the url to scan
Im running with :
zap-full-scan.py -I -j -m 10 -T 60 -t "https://web.portal.local.altodev.id" --hook=/zap/auth_hook.py -J zap-$CI_PROJECT_NAME-report.json -r zap-$CI_PROJECT_NAME-report.html -x zap-$CI_PROJECT_NAME-report.xml -z 'auth.loginurl="https://web.portal.local.altodev.id/login"<EMAIL_ADDRESS>auth.password="P4ssw0rd" auth.exclude="https://web.portal.local.altodev.id/logout" auth.username_field="email" auth.password_field="password" auth.first_submit_field="Continue" auth.submit_field="LOGIN" auth.include="https://web.portal.local.altodev.id/monitoring, https://web.portal.local.altodev.id/transaction,https://web.portal.local.altodev.id/altopay,https://web.portal.local.altodev.id/bifast,https://web.portal.local.altodev.id/bcad,https://web.portal.local.altodev.id/adminportal.*"'
logs:
023-01-03 04:09:00,895 _get_zap_param auth.loginurl: https://web.portal.local.altodev.id/login
2023-01-03 04:09:00,895 _get_zap_param auth.username<EMAIL_ADDRESS>2023-01-03 04:09:00,895 _get_zap_param auth.password: P4ssw0rd
2023-01-03 04:09:00,895 _get_zap_param auth.username_field: email
2023-01-03 04:09:00,895 _get_zap_param auth.password_field: password
2023-01-03 04:09:00,895 _get_zap_param auth.submit_field: LOGIN
2023-01-03 04:09:00,895 _get_zap_param auth.first_submit_field: Continue
2023-01-03 04:09:00,895 _get_zap_param_list auth.exclude: ['https://web.portal.local.altodev.id/logout']
2023-01-03 04:09:00,895 _get_zap_param_list auth.include: ['https://web.portal.local.altodev.id/monitoring', ' https://web.portal.local.altodev.id/transaction', 'https://web.portal.local.altodev.id/altopay', 'https://web.portal.local.altodev.id/bifast', 'https://web.portal.local.altodev.id/bcad', 'https://web.portal.local.altodev.id/adminportal.']
2023-01-03 04:09:11,227 Included https://web.portal.local.altodev.id/monitoring
2023-01-03 04:09:11,265 Included  https://web.portal.local.altodev.id/transaction
2023-01-03 04:09:11,296 Included https://web.portal.local.altodev.id/altopay
2023-01-03 04:09:11,326 Included https://web.portal.local.altodev.id/bifast
2023-01-03 04:09:11,347 Included https://web.portal.local.altodev.id/bcad
2023-01-03 04:09:11,372 Included https://web.portal.local.altodev.id/adminportal.
2023-01-03 04:09:11,393 Included https://web.portal.local.altodev.id.*
2023-01-03 04:09:11,414 Excluded https://web.portal.local.altodev.id/logout
2023-01-03 04:09:11,414 Start webdriver
2023-01-03 04:09:13,432 authenticate using webdriver against URL: https://web.portal.local.altodev.id/login
2023-01-03 04:09:19,502 automatically finding login elements
2023-01-03 04:09:19,502 Trying to find element email
2023-01-03 04:09:19,502 Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='email') and (@type='text' or @type='email' or @type='number' or not(@type))]
2023-01-03 04:09:19,540 Built xpath: //input[(translate(@name, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='email') and (@type='text' or @type='email' or @type='number' or not(@type))]
2023-01-03 04:09:19,573 Found element email by name
2023-01-03 04:09:19,710 Filled the email element
2023-01-03 04:09:19,710 Trying to find element password
2023-01-03 04:09:19,710 Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]
2023-01-03 04:09:19,729 Built xpath: //input[(translate(@name, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]
2023-01-03 04:09:19,755 Found element password by name
2023-01-03 04:09:19,790 Did not find the password field - clicking Next button and trying again
2023-01-03 04:09:19,882 button Continue success
2023-01-03 04:09:19,884 Trying to find element password
2023-01-03 04:09:19,884 Built xpath: //input[(translate(@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]
2023-01-03 04:09:29,949 Built xpath: //input[(translate(@name, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='password') and (@type='text' or @type='password' or not(@type))]
2023-01-03 04:09:29,968 Found element password by name
2023-01-03 04:09:30,180 Filled the password element
2023-01-03 04:09:30,243 button LOGIN success
2023-01-03 04:09:35,249 Finding authentication cookies
2023-01-03 04:09:35,308 Cookie added: accessToken=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZvcHNAYWx0by5pZCIsImlhdCI6MTY3MjcxODk4MCwiaXNzIjoiYWx0by5pZCIsImp0aSI6IjBkZGNmZTg2LTFkOTgtNGJhYy1iOWNiLWViOGIxYzliZjFkYyIsImF1dGgiOiJTdXBlciBBZG1pbiIsImV4cCI6MTY3MzMyMzc4MH0.Ey5nLlaXogT76zPfjxG8FZ048Le4vmPmUnUcVifNxUphSVqmnsv7QfiEjrC21gDGn1JQQPv_cGi2luLk4DQpVA
2023-01-03 04:09:35,327 Active session: auth-session
2023-01-03 04:09:35,327 Finding authentication headers
2023-01-03 04:09:35,344 Found Local or Session Storage item: dataAccess: [{"parentId":1,"menuId":1,"menu":"Monitoring","typ
2023-01-03 04:09:35,359 Found Local or Session Storage item: dataLogin: {"accessToken":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZ
2023-01-03 04:09:35,376 Authorization header added: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkZXZvcHNAYWx0by5pZCIsImlhdCI6MTY3MjcxODk4MCwiaXNzIjoiYWx0by5pZCIsImp0aSI6IjBkZGNmZTg2LTFkOTgtNGJhYy1iOWNiLWViOGIxYzliZjFkYyIsImF1dGgiOiJTdXBlciBBZG1pbiIsImV4cCI6MTY3MzMyMzc4MH0.Ey5nLlaXogT76zPfjxG8FZ048Le4vmPmUnUcVifNxUphSVqmnsv7QfiEjrC21gDGn1JQQPv_cGi2luLk4DQpVA
2023-01-03 04:09:35,385 Found Local or Session Storage item: dataParameter: [{"parameterId":"max_send_email_attempt","value":"
2023-01-03 04:09:35,398 Found Local or Session Storage item: dataUser: {"id":39,"email":"user@alto.id","userName":"devo
2023-01-03 04:09:35,416 Found Local or Session Storage item: isLoggedin: true
Total of 25 URLs
['https://web.portal.local.altodev.id', 'https://web.portal.local.altodev.id/', 'https://web.portal.local.altodev.id/_next', 'https://web.portal.local.altodev.id/_next/static', 'https://web.portal.local.altodev.id/_next/static/0IpQV7yOuOwgF84a0VbK9', 'https://web.portal.local.altodev.id/_next/static/0IpQV7yOuOwgF84a0VbK9/_buildManifest.js', 'https://web.portal.local.altodev.id/_next/static/0IpQV7yOuOwgF84a0VbK9/_ssgManifest.js', 'https://web.portal.local.altodev.id/_next/static/chunks', 'https://web.portal.local.altodev.id/_next/static/chunks/196-346c0f26fe0af850.js', 'https://web.portal.local.altodev.id/_next/static/chunks/8342-a665f5aca586f7f5.js', 'https://web.portal.local.altodev.id/_next/static/chunks/9272-77d73fe56ed12c2a.js', 'https://web.portal.local.altodev.id/_next/static/chunks/framework-4ed89e9640adfb9e.js', 'https://web.portal.local.altodev.id/_next/static/chunks/main-f5e0661ff7893278.js', 'https://web.portal.local.altodev.id/_next/static/chunks/pages', 'https://web.portal.local.altodev.id/_next/static/chunks/pages/404-ba3883ea9e06b786.js', 'https://web.portal.local.altodev.id/_next/static/chunks/pages/_app-98137182b9474f25.js', 'https://web.portal.local.altodev.id/_next/static/chunks/pages/index-59239617b2a79521.js', 'https://web.portal.local.altodev.id/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js', 'https://web.portal.local.altodev.id/_next/static/chunks/webpack-3c67ae7a563786aa.js', 'https://web.portal.local.altodev.id/_next/static/css', 'https://web.portal.local.altodev.id/_next/static/css/7728a5f98bae38fd.css', 'https://web.portal.local.altodev.id/apple-icon.png', 'https://web.portal.local.altodev.id/favicon.ico', 'https://web.portal.local.altodev.id/robots.txt', 'https://web.portal.local.altodev.id/sitemap.xml']
PASS: Directory Browsing [0]
PASS: Vulnerable JS Library (Powered by Retire.js) [10003]
PASS: In Page Banner Information Leak [10009]
PASS: Cookie No HttpOnly Flag [10010]
PASS: Cookie Without Secure Flag [10011]
PASS: Re-examine Cache-control Directives [10015]
PASS: Cross-Domain JavaScript Source File Inclusion [10017]
PASS: Content-Type Header Missing [10019]
PASS: Information Disclosure - Debug Error Messages [10023]
PASS: Information Disclosure - Sensitive Information in URL [10024]
PASS: Information Disclosure - Sensitive Information in HTTP Referrer Header [10025]
PASS: HTTP Parameter Override [10026]
PASS: Information Disclosure - Suspicious Comments [10027]
PASS: Open Redirect [10028]
PASS: Cookie Poisoning [10029]
PASS: User Controllable Charset [10030]
PASS: User Controllable HTML Element Attribute (Potential XSS) [10031]
PASS: Viewstate [10032]
PASS: Directory Browsing [10033]
PASS: Heartbleed OpenSSL Vulnerability (Indicative) [10034]
PASS: HTTP Server Response Header [10036]
PASS: X-Backend-Server Header Information Leak [10039]
PASS: Secure Pages Include Mixed Content [10040]
PASS: HTTP to HTTPS Insecure Transition in Form Post [10041]
PASS: HTTPS to HTTP Insecure Transition in Form Post [10042]
PASS: User Controllable JavaScript Event (XSS) [10043]
PASS: Big Redirect Detected (Potential Sensitive Information Leak) [10044]
PASS: Source Code Disclosure - /WEB-INF folder [10045]
PASS: HTTPS Content Available via HTTP [10047]
PASS: Remote Code Execution - Shell Shock [10048]
PASS: Content Cacheability [10049]
PASS: Retrieved from Cache [10050]
PASS: Relative Path Confusion [10051]
PASS: X-ChromeLogger-Data (XCOLD) Header Information Leak [10052]
PASS: Cookie without SameSite Attribute [10054]
PASS: CSP [10055]
PASS: X-Debug-Token Information Leak [10056]
PASS: Username Hash Found [10057]
PASS: GET for POST [10058]
PASS: X-AspNet-Version Response Header [10061]
PASS: PII Disclosure [10062]
PASS: Backup File Disclosure [10095]
PASS: Hash Disclosure [10097]
PASS: Cross-Domain Misconfiguration [10098]
PASS: User Agent Fuzzer [10104]
PASS: Weak Authentication Method [10105]
PASS: HTTP Only Site [10106]
PASS: Httpoxy - Proxy Header Misuse [10107]
PASS: Reverse Tabnabbing [10108]
PASS: Modern Web Application [10109]
PASS: Dangerous JS Functions [10110]
PASS: Absence of Anti-CSRF Tokens [10202]
PASS: Private IP Disclosure [2]
PASS: Anti-CSRF Tokens Check [20012]
PASS: HTTP Parameter Pollution [20014]
PASS: Heartbleed OpenSSL Vulnerability [20015]
PASS: Cross-Domain Misconfiguration [20016]
PASS: Source Code Disclosure - CVE-2012-1823 [20017]
PASS: Remote Code Execution - CVE-2012-1823 [20018]
PASS: External Redirect [20019]
PASS: Session ID in URL Rewrite [3]
PASS: Buffer Overflow [30001]
PASS: Format String Error [30002]
PASS: Integer Overflow Error [30003]
PASS: CRLF Injection [40003]
PASS: Parameter Tampering [40008]
PASS: Server Side Include [40009]
PASS: Cross Site Scripting (Reflected) [40012]
PASS: Session Fixation [40013]
PASS: Cross Site Scripting (Persistent) [40014]
PASS: Cross Site Scripting (Persistent) - Prime [40016]
PASS: Cross Site Scripting (Persistent) - Spider [40017]
PASS: SQL Injection [40018]
PASS: SQL Injection - MySQL [40019]
PASS: SQL Injection - Hypersonic SQL [40020]
PASS: SQL Injection - Oracle [40021]
PASS: SQL Injection - PostgreSQL [40022]
PASS: Possible Username Enumeration [40023]
PASS: SQL Injection - SQLite [40024]
PASS: Cross Site Scripting (DOM Based) [40026]
PASS: SQL Injection - MsSQL [40027]
PASS: ELMAH Information Leak [40028]
PASS: Trace.axd Information Leak [40029]
PASS: Out of Band XSS [40031]
PASS: .htaccess Information Leak [40032]
PASS: .env Information Leak [40034]
PASS: Hidden File Finder [40035]
PASS: Bypassing 403 [40038]
PASS: CORS Header [40040]
PASS: Spring Actuator Information Leak [40042]
PASS: Log4Shell [40043]
PASS: Exponential Entity Expansion (Billion Laughs Attack) [40044]
PASS: Spring4Shell [40045]
PASS: Source Code Disclosure - Git  [41]
PASS: Source Code Disclosure - SVN [42]
PASS: Source Code Disclosure - File Inclusion [43]
PASS: Script Active Scan Rules [50000]
PASS: Script Passive Scan Rules [50001]
PASS: Path Traversal [6]
PASS: Remote File Inclusion [7]
PASS: Insecure JSF ViewState [90001]
PASS: Java Serialization Object [90002]
PASS: Sub Resource Integrity Attribute Missing [90003]
PASS: Charset Mismatch [90011]
PASS: XSLT Injection [90017]
PASS: Server Side Code Injection [90019]
PASS: Remote OS Command Injection [90020]
PASS: XPath Injection [90021]
PASS: XML External Entity Attack [90023]
PASS: Generic Padding Oracle [90024]
PASS: Expression Language Injection [90025]
PASS: SOAP Action Spoofing [90026]
PASS: Cookie Slack Detector [90027]
PASS: Insecure HTTP Method [90028]
PASS: SOAP XML Injection [90029]
PASS: WSDL File Detection [90030]
PASS: Loosely Scoped Cookie [90033]
PASS: Cloud Metadata Potentially Exposed [90034]
PASS: Server Side Template Injection [90035]
PASS: Server Side Template Injection (Blind) [90036]
WARN-NEW: Missing Anti-clickjacking Header [10020] x 2
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
WARN-NEW: X-Content-Type-Options Header Missing [10021] x 11
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
https://web.portal.local.altodev.id/apple-icon.png (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/webpack-3c67ae7a563786aa.js (200 OK)
https://web.portal.local.altodev.id/favicon.ico (200 OK)
WARN-NEW: Strict-Transport-Security Header Not Set [10035] x 11
https://web.portal.local.altodev.id/robots.txt (404 Not Found)
https://web.portal.local.altodev.id/sitemap.xml (404 Not Found)
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
https://web.portal.local.altodev.id/apple-icon.png (200 OK)
WARN-NEW: Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) [10037] x 4
https://web.portal.local.altodev.id/robots.txt (404 Not Found)
https://web.portal.local.altodev.id/sitemap.xml (404 Not Found)
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
WARN-NEW: Content Security Policy (CSP) Header Not Set [10038] x 4
https://web.portal.local.altodev.id/robots.txt (404 Not Found)
https://web.portal.local.altodev.id/sitemap.xml (404 Not Found)
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
WARN-NEW: Permissions Policy Header Not Set [10063] x 11
https://web.portal.local.altodev.id/sitemap.xml (404 Not Found)
https://web.portal.local.altodev.id/robots.txt (404 Not Found)
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/ (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/webpack-3c67ae7a563786aa.js (200 OK)
WARN-NEW: Timestamp Disclosure - Unix [10096] x 18
https://web.portal.local.altodev.id/apple-icon.png (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/8342-a665f5aca586f7f5.js (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/8342-a665f5aca586f7f5.js (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/8342-a665f5aca586f7f5.js (200 OK)
https://web.portal.local.altodev.id/_next/static/chunks/8342-a665f5aca586f7f5.js (200 OK)
WARN-NEW: Proxy Disclosure [40025] x 25
https://web.portal.local.altodev.id/ (200 OK)
https://web.portal.local.altodev.id (200 OK)
https://web.portal.local.altodev.id/_next (404 Not Found)
https://web.portal.local.altodev.id/_next/static (404 Not Found)
https://web.portal.local.altodev.id/_next/static/0IpQV7yOuOwgF84a0VbK9 (404 Not Found)
WARN-NEW: Application Error Disclosure [90022] x 1
https://web.portal.local.altodev.id/_next/static/chunks/main-f5e0661ff7893278.js (200 OK)
FAIL-NEW: 0     FAIL-INPROG: 0  WARN-NEW: 9     WARN-INPROG: 0  INFO: 0 IGNORE: 0       PASS: 120
I need to scan all the paths on include urls


Pre-GPU Hack Cleanup: Restore corner check of energy for positivity of solution in prim_lbo_calc

To improve performance and code maintainability, we no longer separate the moments (M0, M1i, M2) and boundary corrections (momentum and energy corrections) that are passed to prim_moment.c kernels (self/cross and vlasov/gk). Instead of 5 arrays, we just pass 2 arrays (moms and boundary_corrections).
While this has significant benefit, to get testing done quickly, one of the robustness features was cut:
  // If a corner value is below zero, use cell average m0.
  bool cellAvg = false;
  if (0.7071067811865475*(2.23606797749979*moms[2]-1.732050807568877*moms[1]+moms[0]) < 0) cellAvg = true;
  if (0.7071067811865475*(2.23606797749979*moms[2]+1.732050807568877*moms[1]+moms[0]) < 0) cellAvg = true;

the second if statement should access the part of the moms array that is M2, not just re-do the check on M0.

This was fixed by @manauref in commit 8fb20d9b2a733de17a56197409d22525e26f6d03


How to link to Carthage dependancies

I'm trying to add references to Carthage dependancies like this
references:
  - location: Carthage/Build/iOS/Alamofire.framework

But the target doesn't build saying No such module 'Alamofire'. Is there more configuration required to get this working?

Hi @yonaskolb, that is correct syntax yes, but make sure to also declare your FRAMEWORK_SEARCH_PATHS. You need to include the directory containing your Carthage frameworks in order for Xcode to resolve them (annoyingly).
For example, in your case, you could do something like this:
references:
  - location: Carthage/Build/iOS/Alamofire.framework
configurations:
  $base:
    FRAMEWORK_SEARCH_PATHS:
    - $(inherited)
    - Carthage/Build/iOS

Ideally we should auto-inject the directories into your settings (this has literally just sprung to mind now), but for the time being, that will work for you.
You can also have Struct auto-link to any frameworks it finds in a directory, to save you adding each reference individually:
sources:
  my-source-dir
  Carthage/Build/iOS

I can get it building now, but at runtime I get this error:
dyld: Library not loaded: @rpath/Result.framework/Result
  Referenced from: /Users/Yonas/Library/Developer/CoreSimulator/Devices/4610CC5E-0AC7-4674-AEB1-2DF607BCABE6/data/Containers/Bundle/Application/5CD28B30-7DC4-441E-9428-9F2D489DCAB6/Axis_iOS.app/Axis_iOS
  Reason: image not found

This is how the target references are specifed:
    configuration:
      FRAMEWORK_SEARCH_PATHS:
        - $(inherited)
        - $(PROJECT_DIR)/Carthage/Build/iOS
    references:
      - location: Carthage/Build/iOS/BrightFutures.framework
      - location: Carthage/Build/iOS/Result.framework

Is there something else required?

Hi @yonaskolb, nearly there!
I think the final thing you need to do is specify that the references should be copied and code signed, if you skip doing this the frameworks will not be embedded into your application. This is due to the fact that a lot of frameworks do not support being embedded (fake frameworks, etc), and only support being linked. To err on the side of caution, this is opt-in when specifying frameworks individually.
So for your above example, try this:
    references:
      - location: Carthage/Build/iOS/BrightFutures.framework
         copy: true
         codeSignOnCopy: True

Ok, setting those properties works, while quite verbose.
Now, I'm having an error:
dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: /Users/Yonas/Library/Developer/Xcode/DerivedData/project-bfymwxmomjolbneoriduzkgfurff/Build/Products/test debug-iphonesimulator/MyFramework.framework/MyFramework
  Reason: image not found

I've added the following to the application target, but no luck
      - sdkroot:UIKit.framework
      - sdkroot:AVKit.framework
      - sdkroot:AVFoundation.framework

@yonaskolb whats in the linker build setting for your project ?

@yonaskolb are those libraries added to your framework target? That's what dyld is complaining about.

@jcampbell05 There don't seem to be any linker build settings set specifically for the project or any of the targets. (That group of settings under Linking in Xcode if that's what you mean?)
@lyptt Yes, those libraries are added to the framework targets in the same way. Those framework targets also rely on the AVFoundation libraries
Speaking of framework targets, my project is such that I have multiple framework targets that each have dependancies. I would like to define the references once in those targets, and then embed those framework targets in the application target. Though defining them only once in the framework, for the carthage dependancies for example, led to dyld: Library not loaded errors, until I added those carthage dependancies to the application target as well (using the copy options), which is duplicating the effort. Any tips? Is there a better way of embedding framework targets? Would that required the work mentioned in #122?

@yonaskolb yeah I'm meaning the flag that specifies what to link

@yonaskolb in my experience using Carthage, it expects every Carthage framework you use to be linked to to the application target in addition to its dependencies, due to its flat dependency tree / dependency resolution behaviour.
It could be that Carthage is auto-adding the dependent frameworks for you when you run carthage copy-frameworks in a run script phase, but I'm not certain of this.
In the large project I worked on which used Struct this is what we had to do.

The way our project is now without Struct we only have to specify carthage dependancies in the framework targets. Those frameworks are then embedded in the application, and the copy-frameworks is run on that application.
Due to missing support for input files in build scripts, and lack of embedding binaries, this doesn't work. I'm ok with specify all the carthage dependancies in the application, as that has to be done anyway in the copy-frameworks script. The lack of framework embedding might be a problem though.
Do you have any suggestions for getting the AVFoundation framework linking correctly? I actually can't see it linked in anyway in our non struct project, but it's not working in the struct generated project, even by specifying the framework as above in all targets

As input files are now supported by struct, it's likely that this is no longer an issue. @yonaskolb please re-file if this comes up again.


How to enable autocomplete in MacOS bash

As the title explains, I'm searching for a solution to enable the autocomplete feature in MacOS bash.
Now az... isn't autocompleting by using "tab"
Environment summary
MacOS 10.14.2Beta / CLI version azure-cli (2.0.48)/ bash

How did you install the CLI?

Sorry for that,
I installed the CLI via Homebrew.
I followed this documentation:
https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-macos?view=azure-cli-latest
Thank you :-)

add to S164.

@fengzhou-msft, could you help verify if az.completion is executed correctly on MacOS.
https://github.com/Azure/azure-cli/blob/37b6c8c5d929c7b585a23035744b2efeb62c1db8/scripts/release/homebrew/docker/formula_template.txt#L47
To manually enable auto-complete, please run
eval "$(register-python-argcomplete az --complete-arguments -o nospace -o default -o bashdefault)"

Also see: https://github.com/Azure/azure-cli/issues/6371

@fengzhou-msft can we close this issue?

Fixed by #11817, will release with 2.0.81 next week.

@hurricaneeb1 azure-cli installs az.completion to /usr/local/etc/bash_completion.d/, the folder is created when Homebrew is installed. You need to configure completions for your shell first to enable completions in this directory: https://docs.brew.sh/Shell-Completion


New: rule prefer-replaceText

this rule will warn about:
context.report({
  fix(fixer) {
    return fixer.replaceTextRange(node.range, "");
  }
});

context.report({
  fix(fixer) {
    return fixer.replaceTextRange([node.range[0], node.range[1]], "");
  }
});

Nitpick: I think prefer-replace-text would be a better name for consistent capitalization (even though the method is actually called replaceText.

I'm a little worried it will cause some false positive cases. e.g
  fix(fixer) {
    node.range= [start, end];
    return fixer.replaceTextRange(node.range, "");
  }

I think that would be fine because replaceTextRange just uses the range property anyway.


CNN made using tf.keras yields different and worse accuracy if compared to the same CNN built using keras

System information

Have I written custom code: I'm using the CNN Mnist example from the keras documentation
OS Platform and Distribution: Linux (Google Colab)
TensorFlow installed from (source or binary): Colab
TensorFlow version: 2.2.0-rc3
Python version: 3.6.9
CUDA/cuDNN version: Colab gpu default
GPU model and memory: Colab gpu default

Describe the current behavior
If I train a simple CNN on the mnist dataset following the Keras Mnist CNN example I get different accuracy depending on whether I use tf.keras or keras.
Describe the expected behavior
I think that the accuracy should be the same.
Standalone code to reproduce the issue
You can find the code reproducing this possible bug in a colab notebook here: https://colab.research.google.com/drive/1bLOyOt7tJqh2m-4rNdb_t-FZC4xX7DJI
This is the first issue I open in this repository, so I hope that the information I have provided is clear enough.
Thank you for your work with Tensorflow!

Apparently it was a matter of learning rate: keras and tf.keras have different default learning rates for Adadelta (keras uses lr=1, tf 0.001), thus it is not a bug but only a slight difference in the api.
Sorry for the inconvenience...


Properties/Frontmatter included in document stats

When viewing stats for the entire document, any properties or frontmatter are included. This is most noticeable when documents are small. Included .txt file is the one from the screenshot.

2023-12-30.txt

I tried several approaches how to filter out the 'non-text' text, but I either filter out too much or too little to make it universally applicable. for example, in the text that you attached, which words should count? should 'banner' count as a word? Or even a sentence and paragraph? Using a selection of text to point precisely what you want to measure is currently the best (most repeatable) approach.
banner_icon: "🗓"
banner_y: 0.5
banner: https://images.unsplash.com/photo-1581291518857-4e27b48ff24e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wzNjAwOTd8MHwxfHNlYXJjaHwzfHxQbGFubmluZ3xlbnwwfDB8fHwxNzAzOTU2NjI0fDA&ixlib=rb-4.0.3&q=80&w=1080
---
Testing

Fixed (I think). Please update the plugin to 1.1.0 and confirm/


When creating the cell in the MULTIPLY_1_Data_access_pyth3.9.ipynb the action fails

The action in Githib is created but fails due to dependecies:
https://github.com/QCDIS/NaaVRE-container-prestage/actions/runs/3272989460/jobs/5384657572

Fixed by https://github.com/QCDIS/miniconda3-MULTIPLY/commit/c8ca34f5e1432afd1d4cff3e58c272d049caae65


typo?

just reading through your code it looks like a typing error in src/ESPHome/esp32-energymeter.yaml, line 67-68. Do you mean ct2Amps? Also need to change line 83.
  current:
    name: "CT2 Current"
    id: ct3Amps

line 82-83
current:
name: " CT3 Current"
id: ct2Amps
Regards
Dave

Hi Dave,
Yes,I believe it is, thanks for pointing it out.
Regards,
Saad


Jupyter Notebook: Stretched Bloch and Q-Spheres

Information

Qiskit Terra version: 14.2
Python version: 3.7.7
Operating system: Mac OS

What is the current behavior?

When I create a Bloch or Q-Sphere, the drawing displayed is horizontally stretched.
Steps to reproduce the problem

Open a Jupyter Notebook
Type the following into a cell:

from numpy import sqrt
from qiskit.visualization import plot_bloch_multivector

plot_bloch_multivector([1/sqrt(2), 1/sqrt(2)])

Run the cell

What is the expected behavior?
I would expect the spheres to be shaped like spheres instead of ellipsoids.
Suggested solutions
Is it possible the backend (matplotlib?) needs to be updated?

What's your matplotlib version? Cause mine is  3.2.2 and Bloch shpere is fine for me.
Additionally, did you try adding %matplotlib inline or infact, try adding figsize param: plot_bloch_multivector([1/sqrt(2), 1/sqrt(2)], figsize=(10,10))?

@obliviateandsurrender I'm running matplotlib version 3.3.0 (so this might be a version issue?) and neither figsize=(10,10) nor %matplotlib inline fixed the drawing.

I can also replicate the issue with matplotlib 3.3.0 but not with 3.2.2.
Likely due to https://matplotlib.org/3.3.0/users/whats_new.html#axes3d-no-longer-distorts-the-3d-plot-to-match-the-2d-aspect-ratio

@gschaffner Do you think creating a default argument for set_box_aspect would fix the distortion?

Hey, looks like this has not been fixed yet. Mind if I take a look at this?

@e-eight yes please do! i hope you can figure it out but let me know if i can help with anything

Cool. I'll let you know what I find.


[GOBBLIN-1008] Upgrading parquet dependency to org.apache.parquet. Fixing tests

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1008

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Adds a new module gobblin-parquet-apache (which contains the ParquetWriter with dependencies on org.apache.parquet
Adds a new module gobblin-parquet-common (to contain common refactored code for Parquet support without dependencies on any version of Parquet)

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

No new tests were added, existing tests for gobblin-parquet were copied to gobblin-parquet-apache to support the new version
Existing tests were refactored to be more portable (run from IDE, use temporary directories versus test-run directories etc)

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2853 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #2853      +/-   ##
============================================
- Coverage     45.52%   45.52%   -0.01%
- Complexity     8996     8998       +2
============================================
  Files          1904     1904
  Lines         71577    71582       +5
  Branches       7892     7892
============================================
+ Hits          32585    32586       +1
  Misses        35989    35989
- Partials       3003     3007       +4

Impacted Files
Coverage Δ
Complexity Δ

...g/apache/gobblin/writer/ParquetHdfsDataWriter.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...onverter/parquet/JsonElementConversionFactory.java
90.32% <ø> (ø)
11 <0> (ø)
:arrow_down:

...sion/finder/HdfsModifiedTimeHiveVersionFinder.java
84.61% <ø> (ø)
4 <0> (ø)
:arrow_down:

...rquet/JsonIntermediateToParquetGroupConverter.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...pache/gobblin/writer/ParquetDataWriterBuilder.java
86.2% <ø> (ø)
6 <0> (ø)
:arrow_down:

...g/apache/gobblin/converter/parquet/JsonSchema.java
87.5% <ø> (ø)
13 <0> (ø)
:arrow_down:

...apache/gobblin/converter/parquet/ParquetGroup.java
45.05% <0%> (-2.62%)
16 <0> (ø)

...gobblin/service/modules/core/GitConfigMonitor.java
77.96% <0%> (-3.39%)
7% <0%> (-1%)

...he/gobblin/metrics/reporter/ScheduledReporter.java
59.09% <0%> (-1.52%)
14% <0%> (-1%)

...lin/elasticsearch/writer/FutureCallbackHolder.java
61.42% <0%> (-1.43%)
4% <0%> (ø)

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 313faa5...0cef6e0. Read the comment docs.

@htran1 : Can you review?


Backward LSTM behavior mismatch

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.2
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: N/A
GPU model and memory: N/A

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

v2.2.0-0-g2b96f3662b 2.2.0
Describe the current behavior
Say input is [a1 a2 a3] and running on GPU
In reverse LSTM,
reversed_input_to_cudnn = [a3 a2 a1]
output_from_cudnn = [b3 b2 b1]
final output = [b1 b2 b3]
This is based on the code and description mentioned here:
https://github.com/tensorflow/tensorflow/blob/v2.2.0/tensorflow/python/keras/layers/recurrent_v2.py#L630
Describe the expected behavior
Expected final output is [b3 b2 b1] based on the description mentioned here:
https://github.com/tensorflow/tensorflow/blob/v2.2.0/tensorflow/python/keras/layers/recurrent_v2.py#L1000
I'm not sure what internally is happening and what is the expected behavior?
Other inference engines like ONNXRuntime will give output [b1 b2 b3] and currently there is mismatch of outputs with ONNXRuntime and TF.
Standalone code to reproduce the issue
simple_lstm.txt
(rename to .h5)
You can use this sample model to verify the results.

@buddhapuneeth Can you please share a simple standalone code to reproduce the issue? You could use google colab or Jupyter notebook. Thanks!

code for reverse LSTM:
max_features = 10
maxlen = 10
model = Sequential()
model.add(Embedding(max_features, 128, input_length=maxlen))

model.add(LSTM(64, go_backwards=True, return_sequences = True))
model.add(Dense(1, activation='sigmoid'))
model.compile('adam', 'binary_crossentropy', metrics=['accuracy'])

from keras.models import load_model
model.save('simple_rev_lstm.h5')

To compare results with other inference engines like ONNXRuntime (by converting to ONNX)
# pip install onnxruntime
#env TF_KERAS=1
import numpy as np
import onnxruntime
from tensorflow.keras.models import load_model as load_model_tf_keras
np.random.seed(0)
input_data = np.random.randint(10, size=(2, 10))
# with CustomObjectScope({'GlorotUniform': glorot_uniform()}):
sess = onnxruntime.InferenceSession("simple_rev_lstm.onnx")
result = sess.run(["dense_1"], {'embedding_1_input': input_data.astype(np.float32)})
print("ONNX Runtime")
print(np.asarray(result[0]))

model = load_model_tf_keras('simple_rev_lstm.h5')
result = model.predict(input_data)
print("TF Runtime")
print(result)

OUTPUT:
ONNX Runtime
[[[0.5028585 ]
  [0.51010513]
  [0.5096171 ]
  [0.50567615]
  [0.50046337]
  [0.50202006]
  [0.5010086 ]
  [0.49436894]
  [0.4989641 ]
  [0.50032514]]

 [[0.50235206]
  [0.5045772 ]
  [0.504677  ]
  [0.5032916 ]
  [0.5016299 ]
  [0.50043035]
  [0.4991624 ]
  [0.50064933]
  [0.5028503 ]
  [0.5012636 ]]]

TF Runtime
[[[0.50032514]
  [0.4989641 ]
  [0.49436894]
  [0.5010086 ]
  [0.50202006]
  [0.50046337]
  [0.50567615]
  [0.5096171 ]
  [0.51010513]
  [0.5028585 ]]

 [[0.5012636 ]
  [0.5028503 ]
  [0.50064933]
  [0.4991624 ]
  [0.50043035]
  [0.5016299 ]
  [0.5032916 ]
  [0.504677  ]
  [0.5045773 ]
  [0.50235206]]]

Observation:
The values are in reverse to each other on axis 1.
Not sure which is correct behavior. Documentation is bit confusing here.

@jvishnuvardhan any update? Let me know if you need more info'.

I'm confused too , clarification need.

@buddhapuneeth Could you please try on latest stable version of tf 2.5 or 2.4.1 and let us know if this is still an issue.Thanks!

@sushreebarsa
I am seeing same old issue on TF 2.5.0
Tried on Mac TF 2.5.0 (installed using pip)

@sushreebarsa are you able to reproduce?
I am worried as bot marked this stall.

Hi There,
This is a stale issue. As you are using an older version of tensorflow, we are checking to see if you still need help on this issue. Please test the issue with the latest TensorFlow (TF2.7 and tf-nightly). If the issue still persists with the newer versions of TF, please feel free to open it in keras-team/keras repository by providing details about the issue and a standalone code to reproduce the issue. Thanks!
Please note that Keras development has moved to a separate Keras-team/keras repository to focus entirely on only Keras. Thanks!


Bookmark testing

@eshadatta I ended up making other changes that relate to various needs (principle of always improving existing code). The main problem with the bookmarks was that the user wasn't persisting from cucumber step to step, it was creating a new user each time and hence the Bookmarks were being saved but not to the user who was logged in when you visited the bookmarks page. The key file to look at is  features/support/login.rb. This works to persist this one user. It won't hold up to scrutiny if we need to test logging as different types of users for now, but I don't see a use case for that in this product currently so #LetsIterateOnThat.
I added a number of scenarios onto the bookmarks feature as well so we cover our bases. And I had to do some finessing to figure out how to test that the email worked, so you should see that below as well.
@jgpawletko I also moved your tests which were under requests but were really controller tests into the controllers dir in spec
@eshadatta Once you merge this back to yours and confirm your user story, you'll want to rebase against development before I merge it back.

Coverage decreased (-0.18%) to 97.13% when pulling 78783bfc522490f69a1baa1f6396e9d73187f12a on bookmark_testing into b8dbf711a46dc981a75a935da87a0d51301597fe on feature/bookmark_export.

Coverage decreased (-0.18%) to 97.13% when pulling 78783bfc522490f69a1baa1f6396e9d73187f12a on bookmark_testing into b8dbf711a46dc981a75a935da87a0d51301597fe on feature/bookmark_export.

Coverage decreased (-0.18%) to 97.13% when pulling 78783bfc522490f69a1baa1f6396e9d73187f12a on bookmark_testing into b8dbf711a46dc981a75a935da87a0d51301597fe on feature/bookmark_export.

@barnabyalter , thanks very much for the changes and the feedback! I also enjoyed the biblical user names. :)


⚠ Bofrost.es has degraded performance

In 623aec1, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1378 ms

Resolved: Bofrost.es performance has improved in c9492d4 after 27 minutes.


Type inference fails for struct select

We don't do type inference correctly for struct selections.
For example, the following query, with counts being of type struct<a string, b bigint>, fails type inference:
SELECT SUM(counts.b) FROM source

An example unit test for the failure:
def test_struct_select_type_inference(client_with_examples: TestClient):
    """
    Testing struct select type inference
    """

    client_with_examples.post("/nodes/source/",
        json={
            "columns": [
                {"name": "id", "type": "int"},
                {"name": "painter", "type": "string"},
                {
                    "name": "counts",
                    "type": "struct<a string, b bigint>",
                },
            ],
            "description": "Murals",
            "mode": "published",
            "name": "basic.murals2",
            "catalog": "public",
            "schema_": "basic",
            "table": "murals2",
        },
    )

    response = client_with_examples.post("/nodes/metric/",
        json={
            "query": "SELECT SUM(counts.b) FROM basic.murals2",
            "description": "Mural Counts",
            "mode": "published",
            "name": "basic.mural_count",
        },
    )

One issue is that sbp.DereferenceContext cannot always be interpreted as a <table>.<column> and can sometimes be <column>.<field>.

@shangyian taking a look at this. here is a dummy minimal example:
query = parse("SELECT SUM(counts.b) FROM (select cast(_ as struct<a string, b bigint>) as counts) dummy")

compiling query we get the expected DJError(code=<ErrorCode.INVALID_COLUMN: 206>, message='Columncounts.b does not exist on any valid table.', debug=None, context='') on the exception in the compilation context.
You mention an issue while visiting sbp.DereferenceContext but I wonder if we can address this in the ast by maybe in https://github.com/DataJunction/dj/blob/95a2c033074fbb6503d37c58e06068d9054d7e28/dj/sql/parsing/ast.py#L907 making the check more sophisticated when using the namespace columns.
https://github.com/DataJunction/dj/blob/95a2c033074fbb6503d37c58e06068d9054d7e28/dj/sql/parsing/ast.py#L945-L953

@CircArgs good point, I think something like this should work:
                # For struct types we can additionally check if there's a column that matches
                # the search column's namespace and if there's a nested field that matches the
                # search column's name
                if isinstance(col.type, StructType):
                    column_namespace = ".".join([name.name for name in column.namespace])
                    if column_namespace == current_col_name:
                        for field in col.type.fields:
                            if field.name.name == column.name:
                                column.add_table(self)
                                column.add_expression(col)
                                column.add_type(field.type)

Although I wasn't able to reproduce it with just compile, still had to go with the less minimal example with compile + build.

@shangyian maybe try this example? I couldn't get it to work with the cast either but I was able to reproduce using named_struct.
from dj.errors import DJException
from dj.sql.parsing.ast import CompileContext
from dj.sql.parsing.backends.antlr4 import parse

err = DJException()
ctx = CompileContext(
    session=session,
    exception=err,
)
query = parse("SELECT SUM(counts.b) FROM (select named_struct('a', '1', 'b', 2) as counts) dummy")
query.compile(ctx)
print(err.errors)

Ok I can confirm that this snippet added to add_ref_column works:
                # For struct types we can additionally check if there's a column that matches
                # the search column's namespace and if there's a nested field that matches the
                # search column's name
                if isinstance(col.type, StructType):
                    column_namespace = ".".join([name.name for name in column.namespace])
                    if column_namespace == current_col_name:
                        for field in col.type.fields:
                            if field.name.name == column.name.name:
                                column.add_table(self)
                                column.add_expression(col)
                                column.add_type(field.type)

@samredai Hmm, I get an error with that example saying that named_struct hasn't been implemented yet 😕

Oh yeah, another weird thing is that the API always responds with:
Unable to infer type for some columns on node

It might be nice if it actually surfaced the specific DJParseException like say Not all the same type in CASE! Found ....

@samredai Hmm, I get an error with that example saying that named_struct hasn't been implemented yet 😕

Woah...😅

Oh yeah, another weird thing is that the API always responds with:
Unable to infer type for some columns on node

It might be nice if it actually surfaced the specific DJParseException like say Not all the same type in CASE! Found ....

+1, the API should be returning the array of errors from the error context whenever possible.

Added another commit that should surface the errors in the response (it's a bit confusing because we have two types of errors, type inference specific errors and compile-time errors): https://github.com/DataJunction/dj/pull/495/commits/30317e66fc87ae05be3b6357b4eba86f712173f7


Mocks for testing

Hi! Is there any possibility to mock registry schema so it can use locally parsed schemas only? This can be useful for testing purposes to avoid Docker usage

Yes, this will be useful, i just ran into a usecase

This will be useful, i just ran into a usecase

Yes, this will be useful, i just came across a case where i needed a mock.

Totally, we need this for unit testing in a clean way


Document the Forms programtically

Hello,
I want to dock some forms with equal widths and arranged as shown in the image. Please help me how to achieve  that.
In the image there is diagramatic representation of the output i require. consider each cell a new form

We documented how to put multiple dock contents in the same dock state in the official documentation,
http://docs.dockpanelsuite.com/en/latest/tutorials/basics.html#show-multiple-contents-in-the-same-dock-state
You can follow it to place your forms by manually calculating the percentage to pass to Show method with proper DockAlignment option.

Thank you Lex,
I have checked that. But when i have Four windows. I first Document one window. and then use that pane for docking other windows. The Windows are not coming in equal Proportions.
PanelMain.Contents[1].DockHandler.Show(DockPanelMain, DockState.Document);
Other Windows as:
PanelMain.Contents[j].DockHandler.Show(PanelMain.Contents[1].DockHandler.Pane, DockAlignment.Right, 0.25);

It requires some mathematics than coding. To achieve equal widths, the first call should use 0.5 (1/2), while the second call should use 0.33 (1/3). If you want to call it one more time, you should then use 0.25 (1/4).
You cannot use a constant percentage every time, as that means a completely different layout effect.

Hello lex,
Tried your solution Still the results are not as expected.

Documents can be easily organized with the following code to achieve the layout,
DummyDoc doc1 = CreateNewDocument("Document1");
DummyDoc doc2 = CreateNewDocument("Document2");
DummyDoc doc3 = CreateNewDocument("Document3");
DummyDoc doc4 = CreateNewDocument("Document4");
DummyDoc doc5 = CreateNewDocument("Document5");
DummyDoc doc6 = CreateNewDocument("Document6");
DummyDoc doc7 = CreateNewDocument("Document7");
DummyDoc doc8 = CreateNewDocument("Document8");
DummyDoc doc9 = CreateNewDocument("Document9");

doc1.Show(dockPanel, DockState.Document);
doc4.Show(doc1.Pane, DockAlignment.Bottom, 0.66);
doc7.Show(doc4.Pane, DockAlignment.Bottom, 0.5);

doc2.Show(doc1.Pane, DockAlignment.Right, 0.66);
doc3.Show(doc2.Pane, DockAlignment.Right, 0.5);
doc5.Show(doc4.Pane, DockAlignment.Right, 0.66);
doc6.Show(doc5.Pane, DockAlignment.Right, 0.5);
doc8.Show(doc7.Pane, DockAlignment.Right, 0.66);
doc9.Show(doc8.Pane, DockAlignment.Right, 0.5);

It is just variation of the sample code in MainForm.menuItemLayoutByCode_Click.


Move .txx to .hxx file extensions.

STYLE: Change for development tool compliance
PREMISE:
The  use of the .txx file extension for indicating the file
that is to hold the implementation of a template class is
only adopted by the ITK community and VNL communities (and has
slightly “infected” a few other small components of other projects).
Increasingly tools are being created to help the programmer better
understand and analyze, and provide hints to proper coding options
dynamically in the development environment (color coding, auto-completion).
The obscure .txx file requires special configuration of each development
environment tool to indicate that it is really a c++ header.  For new
developers this is often a difficult and frustrating task.  This is
confirmed by the large amount of documentation for just a few of the
common editors.  Tools that recognize and respect the .hxx extension:
uncrustify, vim, emacs, VisualStudios, clang, SlickEdit,
kwrite, etc....)  None of these tools recognize the .txx extension without
end user customizations.
CONS:
Many files will be changed, and it will not be backwards compatible for
those who accidently included the “.txx” files in their projects.  The .txx
files should not be included in external packages.
BENEFITS:
Implementation files are properly mapped to C++ language type by default
for improved development environment experience.
CONSIDERATIONS:
There is no obvious single correct solution, but in general a common theme
from other guides is that the final extension should be “.hxx” or
some suffix that ends with “.h”.  The extension should be all lower case
letters (to avoid problems on case insensitive file sysetms).
PROPOSAL:
In ITKv4 (and outside of the ThirdParty directory) change all implementation files
that currently have a “.txx” extension to have a “.hxx” extension.
An in-depth discussion was held near April 20, 2011 on the Insight-Developers
mailing list.

Thanks for the detailed issue. I am not so fond of such large changes but my collaborators agreed with you so I just applied the change. Thanks again!


stlastar.h:661: EnsureMenoryFreed: Assertion `m_AllocateNodeCount == 0' failed.

I recently always get this assertion failure.
I checked and seems the m_AllocateNodeCount fails with value -2
Do you have any suggestions? Thanks!
Update:
I think I have located where is the cause: I called FreeSolutionNodes() when I didn't get a solution...
This frees m_Start and m_Goal, with decreasing the m_AllocateNodeCount to -2.
But anyway m_Start/m_Goal is allocated by AllocateNode()
Shouldn't we free it? Thanks!

Hi, wasn't able to replicate this problem. By changing the findpath example to one that does not find a path all memory was freed. Check in your code whether you are following the same allocation pattern. You don't have to call AllocateNode yourself, you just pass the start and end states to SetStartAndGoalStates and the m_Start and m_Goal is allocated there, and should be freed later.


codeunit 7204 "CDS Setup Defaults" - Event Publisher OnBeforeResetShippingAgentMapping

in procedure ResetShippingAgentMapping
START Code on Top of procedure
OnBeforeResetShippingAgentMapping(IntegrationTableMappingName, IsHandled);
if IsHandled then
exit;
END Code
similar to procedure ResetItemProductMapping in codeunit 5334 "CRM Setup Defaults" (no EnqueueJobQueEntry Bool)
to OnBeforeResetItemProductMapping

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Empty tests in ClaimInfoActivityTest.

Currently 4 test methods are empty.

Those are from the use cases I did.  The cache has a higher priority for me for now.

All of the empty test methods I created issues for would be from the use cases. Functionality certainly has higher priority at this point, I simply created these to better keep track of what's left.

1b197c41773d336861db014272c3edf47930c0e4


Points panel

An panel in the farm designer for creating/managing points

Here is an updated nav icon (less like the Controls popout icon) and a new matching empty-state graphic for the points panel. Zipped b/c GH doesn't allow SVG uploads.
Points Graphics.zip

@gabrielburnworth what do you think about making the edit point panel have more or less the same layout as the create point panel? On staging I'm seeing a pretty different layout of the fields for the edit panel, and there's also no NAME field.

Perhaps also the title of the edit point panel should just be "Edit Point", to match the edit panels for the other resources, and not get cutoff so soon with longer point names.

Continued in #1564.


Documentation links for pre-release versions (v6, v7) redirect to the latest version

Related page
https://mui.com/versions/
Kind of issue
Unclear explanations
Issue description
When attempting to access the documentation for pre-release versions such as v6 or v7 of Material-UI, the links redirect to the latest stable version instead of the specified pre-release version. This behavior makes it difficult for users to access the documentation relevant to the version they are interested in, hindering their ability to explore new features, changes, and updates specific to these pre-release versions.
Context
No response
Search keywords: is:open is:closed Documentation links for pre-release versions

@zannager any updates about the issue? Is there any method available to access the MUI core v6 documentation until the fix is deployed?

You can use this link: https://next.mui.com/material-ui/getting-started/, accessing it trough the versious tab, see the image attached

@danilo-leal I was surprised to see this versions page, also it seems to be attached to a global docs that seems to not be ready yet (at least for production use).
One more thought, I feel like we should have a versions page per product as the versions differ between them, e.g. Material UI being currently at v5, MUI X at v7, Base UI at v1 etc.


disable repository in some case

Failed to execute goal on project silencer: Could not resolve dependencies for project pro.fessional.wings:silencer:jar:3.2.130-SNAPSHOT: The following artifacts could not be resolved: pro.fessional:mirana:jar:2.7.3-SNAPSHOT (absent): Could not find artifact pro.fessional:mirana:jar:2.7.3-SNAPSHOT in oss-sonatype (https://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]

Warning:  Could not transfer metadata pro.fessional:mirana:2.7.3-SNAPSHOT/maven-metadata.xml from/to oss-sonatype (https://oss.sonatype.org/content/repositories/snapshots/): status code: 502, reason phrase: Bad Gateway (502)

use repo-snapshot profile to manage soantype oss

active by default
-P !repo-snapshot`` to disable


Editable install does not work

Describe the bug
When using an editable install, pyvisfile fails to load:
$ python -c 'import pyvisfile'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "/Users/mdiener/Work/e4/miniforge3/envs/ceesd/lib/python3.11/site-packages/_pyvisfile_editable_loader.py", line 310, in find_spec
    tree = self._rebuild()
           ^^^^^^^^^^^^^^^
  File "/Users/mdiener/Work/e4/miniforge3/envs/ceesd/lib/python3.11/site-packages/_pyvisfile_editable_loader.py", line 343, in _rebuild
    subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=subprocess.DEVNULL)
  File "/Users/mdiener/Work/e4/miniforge3/envs/ceesd/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mdiener/Work/e4/miniforge3/envs/ceesd/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Users/mdiener/Work/e4/miniforge3/envs/ceesd/lib/python3.11/subprocess.py", line 1953, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/2f/56g48t855fq44c1p370wvfn40000gn/T/pip-build-env-l1574hnj/overlay/bin/ninja'

To Reproduce
Steps to reproduce the behavior:
Consider this script:
$ git clone <pyvisfile>
$ cd pyvisfile
$ pip install -e . -v
$ python -c 'import pyvisfile'

I would expect this to:

not fail

Instead, it:

failed

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

OS: MacOS
PyVisfile version: git
Python version: 3.11

Additional context
Add any other context about the problem here.
cc https://github.com/illinois-ceesd/mirgecom/issues/1044

Just doing a pip install --editable . will do the install in a local environment that gets cleaned up when it's done. You need to install the build dependencies and use --no-build-isolation. This works just fine for me in a new venv
python -m pip install --upgrade meson-python ninja
python -m pip install --no-build-isolation --editable .
python -c 'import pyvisfile'

I think scikit-build-core works in the same way. For more info, see
https://meson-python.readthedocs.io/en/latest/how-to-guides/editable-installs.html

I think scikit-build-core works in the same way.

Kind of. by default, editable rebuilds are off in scikit-build-core, such that editable installs work without --no-build-isolation.

Edit: There seems to be no way to disable editable rebuilds in meson-python.

Hm, yeah, they seem to always call ninja to do a build. From a quick browse through their issues, it doesn't seem like they're interested in offering a way to disable that besides just setting --no-build-isolation..

@matthiasdiener Another little workaround for this is to set the NINJA env variable. Without build isolation, meson-python uses the ninja installed in the local environment created by pip, i.e.
/private/var/folders/2f/56g48t855fq44c1p370wvfn40000gn/T/pip-build-env-l1574hnj/overlay/bin/ninja

This works for me from your original post:
export NINJA=/usr/bin/ninja
python -m pip install --editable .
python -c "import pyvisfile"

You still need to have ninja installed globally (or in the venv somewhere and point at that) + the rebuilds are still happening at import time.. but it's not crashing :grin:


feat: add generated code for alternate parser

@brian-pickens @wokkaflokka
I've been trying out ChatGPT more and gave it the bai2 specification to have it generate code, which I think is a lot cleaner. Do you have sample files you could parse against this? If v2 is better we could just replace it as the current code is much less performant and harder to debug.

Code is way off. I'll keep working on it to improve.

@adamdecaf I think it's a great idea to try this. I would agree that although adequate, there is room to improve the internal implementation of the bai2 library and that improvement could pay dividends for maintainability (and perhaps also performance, etc).
In terms of test cases, it seems to me like the existing test suite in this project would be a valid harness for testing an alternative parser implementation. This file would certainly be a usable test case.
While I was working on this library, I came across a recent Rust bai2 implementation that I thought had a nice implementation technique and thought was worthy of evaluation. Sharing in case this is a valuable reference point here.


Wrong function name in documentation

The settings.md documentation mentions the function Copy-AppFilesToFolder in the description to one of the parameters passed to the "DeployTo..." script:
https://github.com/microsoft/AL-Go/blob/e9f4cc63d149d341172cebfc8112e825123683d8/Scenarios/settings.md?plain=1#L250
However, unless this is referring to something different, the function of BCContainerHelper is called Copy-AppFilesToCompilerFolder. I'm assuming this is a typo, but if not, it should elaborate what module this is from.

I noticed that the function Copy-AppFilesToFolder does in fact exist - not sure how I missed it before.