:buildSrc:compileTestGroovy (Thread[included builds,5,main]) completed. Took 0.001 secs.
:buildSrc:processTestResources (Thread[included builds,5,main]) started.

> Task :buildSrc:processTestResources NO-SOURCE
Skipping task ':buildSrc:processTestResources' as it has no source files and no previous output files.
:buildSrc:processTestResources (Thread[included builds,5,main]) completed. Took 0.0 secs.
:buildSrc:testClasses (Thread[included builds,5,main]) started.

> Task :buildSrc:testClasses UP-TO-DATE
Skipping task ':buildSrc:testClasses' as it has no actions.
:buildSrc:testClasses (Thread[included builds,5,main]) completed. Took 0.0 secs.
:buildSrc:test (Thread[included builds,5,main]) started.

> Task :buildSrc:test NO-SOURCE
Skipping task ':buildSrc:test' as it has no source files and no previous output files.
:buildSrc:test (Thread[included builds,5,main]) completed. Took 0.0 secs.
:buildSrc:check (Thread[Execution worker for ':buildSrc',5,main]) started.

> Task :buildSrc:check UP-TO-DATE
Skipping task ':buildSrc:check' as it has no actions.
:buildSrc:check (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.007 secs.
:buildSrc:build (Thread[Execution worker for ':buildSrc',5,main]) started.

> Task :buildSrc:build UP-TO-DATE
Skipping task ':buildSrc:build' as it has no actions.
:buildSrc:build (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.
producer locations for task group 0 (Thread[Execution worker for ':buildSrc',5,main]) started.
producer locations for task group 0 (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

> Configure project :
Evaluating root project 'nemoursorg-cloud' using build file '/Users/dl0001/Projects/nemoursorg-cloud/build.gradle.kts'.
Loading properties from file '/Users/dl0001/Projects/nemoursorg-cloud/gradle.user.properties'
Build cache key for Kotlin DSL accessors for root project 'nemoursorg-cloud' is b9486a87ca49f0cd5a5b81e02faee367
Skipping Kotlin DSL accessors for root project 'nemoursorg-cloud' as it is up-to-date.

> Configure project :all
Evaluating project ':all' using build file '/Users/dl0001/Projects/nemoursorg-cloud/all/build.gradle'.

> Configure project :core
Evaluating project ':core' using build file '/Users/dl0001/Projects/nemoursorg-cloud/core/build.gradle'.

> Configure project :dispatcher
Evaluating project ':dispatcher' using build file '/Users/dl0001/Projects/nemoursorg-cloud/dispatcher/build.gradle'.

> Configure project :env
Evaluating project ':env' using build file '/Users/dl0001/Projects/nemoursorg-cloud/env/build.gradle.kts'.
Build cache key for Kotlin DSL accessors for project ':env' is 471d59d2e1bdc684926fdaa11ba17d20
Skipping Kotlin DSL accessors for project ':env' as it is up-to-date.

> Configure project :root
Evaluating project ':root' using build file '/Users/dl0001/Projects/nemoursorg-cloud/root/build.gradle'.

> Configure project :ui.acl
Evaluating project ':ui.acl' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.acl/build.gradle'.

> Configure project :ui.apps
Evaluating project ':ui.apps' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.apps/build.gradle'.

> Configure project :ui.apps.structure
Evaluating project ':ui.apps.structure' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.apps.structure/build.gradle'.

> Configure project :ui.config
Evaluating project ':ui.config' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.config/build.gradle'.

> Configure project :ui.content
Evaluating project ':ui.content' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.content/build.gradle'.

> Configure project :ui.videoadmin
Evaluating project ':ui.videoadmin' using build file '/Users/dl0001/Projects/nemoursorg-cloud/ui.videoadmin/build.gradle'.
All projects evaluated.
Selected primary task ':env:down' from project :env
Tasks to be executed: [task ':env:environmentDown', task ':env:instanceDown', task ':env:down']
Tasks that were excluded: []
:env:environmentDown (Thread[Execution worker for ':' Thread 2,5,main]) started.

> Task :env:environmentDown
Caching disabled for task ':env:environmentDown' because:
  Caching has not been enabled for the task
Task ':env:environmentDown' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Docker Compose command is 'docker compose'
Skipping turning off the environment as it is not running.
:env:environmentDown (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 1.923 secs.
:env:instanceDown (Thread[Execution worker for ':' Thread 2,5,main]) started.
Starting process 'command '/usr/libexec/java_home''. Working directory: /Users/dl0001/.gradle/daemon/7.4.1 Command: /usr/libexec/java_home -V
Successfully started process 'command '/usr/libexec/java_home''

> Task :env:instanceDown
Caching disabled for task ':env:instanceDown' because:
  Caching has not been enabled for the task
Task ':env:instanceDown' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Successfully read product version '2023.12.14538.20231205T165334Z' of LocalInstance(name='local-author', httpUrl='http://localhost:4502')
Successfully read product version '2023.12.14538.20231205T165334Z' of LocalInstance(name='local-publish', httpUrl='http://localhost:4503')
Successfully read status properties at path '/system/console/status-System Properties.txt' on LocalInstance(name='local-author', httpUrl='http://localhost:4502').
Successfully read status properties at path '/system/console/status-System Properties.txt' on LocalInstance(name='local-publish', httpUrl='http://localhost:4503').
Executing script 'sh /Users/dl0001/Projects/nemoursorg-cloud/env/.gradle/aem/localInstance/instance/author/control/stop.sh' at directory '/Users/dl0001/Projects/nemoursorg-cloud/env/.gradle/aem/localInstance/instance/author'

05.02.2024 10:18:02.118 *INFO * [main] Setting sling.home=. (command line)
05.02.2024 10:18:02.144 *INFO * [main] Sent 'stop' to /<IP_ADDRESS>:57700: STOPPING
Application not running

> Task :env:instanceDown
Executing script 'sh /Users/dl0001/Projects/nemoursorg-cloud/env/.gradle/aem/localInstance/instance/publish/control/stop.sh' at directory '/Users/dl0001/Projects/nemoursorg-cloud/env/.gradle/aem/localInstance/instance/publish'

05.02.2024 10:18:35.810 *INFO * [main] Setting sling.home=. (command line)
05.02.2024 10:18:35.860 *INFO * [main] Sent 'stop' to /<IP_ADDRESS>:57727: STOPPING
Application not running

> Task :env:instanceDown
Awaiting instance(s) down: local-author, local-publish

Checking started for LocalInstance(name='local-publish', httpUrl='http://localhost:4503')
Checking started for LocalInstance(name='local-author', httpUrl='http://localhost:4502')
Awaiting state to be changed on LocalInstance(name='local-author', httpUrl='http://localhost:4502')
Checking done for LocalInstance(name='local-publish', httpUrl='http://localhost:4503')
Checking ended for LocalInstance(name='local-publish', httpUrl='http://localhost:4503')
Awaiting state to be changed on LocalInstance(name='local-author', httpUrl='http://localhost:4502')
Checking done for LocalInstance(name='local-author', httpUrl='http://localhost:4502')
Checking ended for LocalInstance(name='local-author', httpUrl='http://localhost:4502')

> Task :env:instanceDown
Instance(s) down
Which: local-author, local-publish
:env:instanceDown (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 57.258 secs.
:env:down (Thread[Execution worker for ':' Thread 2,5,main]) started.

> Task :env:down
Skipping task ':env:down' as it has no actions.
:env:down (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.001 secs.

 Continue? [y/N]
y
task: [dispatcher:stop] docker compose down
task: [aem:stop] sh aemw instance stop
INFO[2024-02-05 10:19:14] [local_author,local_publish] > stopping
INFO[2024-02-05 10:19:14] no instance(s) to stop
task: [aem:stop] sh aemw instance stop
INFO[2024-02-05 10:19:14] [local_author,local_publish] > stopping
INFO[2024-02-05 10:19:14] no instance(s) to stop
task: [aem:destroy] sh aemw instance destroy
INFO[2024-02-05 10:19:14] [local_author,local_publish] > deleting
INFO[2024-02-05 10:19:14] no instance(s) to delete
task: [dispatcher:destroy] docker compose rm -fsv
No stopped containers
task: [dispatcher:destroy] rm -fr home
dl0001@CKH79HXQ0V nemoursorg-cloud % sh taskw setup
task: [aem:start] sh aemw instance launch
INFO[2024-02-05 10:20:42] preparing new SDK 'aem/home/lib/aem-sdk-2023.11.14227.20231108T162349Z-231100.zip'
INFO[2024-02-05 10:20:42] unpacking SDK ZIP 'aem/home/lib/aem-sdk-2023.11.14227.20231108T162349Z-231100.zip' to dir 'aem/home/opt/sdk'
INFO[2024-02-05 10:20:42] unpacked SDK ZIP 'aem/home/lib/aem-sdk-2023.11.14227.20231108T162349Z-231100.zip' to dir 'aem/home/opt/sdk'
INFO[2024-02-05 10:20:42] unpacking SDK dispatcher tools using script 'aem/home/opt/sdk/aem-sdk-dispatcher-tools-2.0.190-unix.sh' to dir 'aem/home/opt/sdk/dispatcher'
Creating directory aem/home/opt/sdk/dispatcher
Verifying archive integrity...  100%   All good.
Uncompressing dispatcher-sdk-2.0.190  100%
INFO[2024-02-05 10:20:44] unpacked SDK dispatcher tools using script 'aem/home/opt/sdk/aem-sdk-dispatcher-tools-2.0.190-unix.sh' to dir 'aem/home/opt/sdk/dispatcher'
INFO[2024-02-05 10:20:44] prepared new SDK 'aem/home/lib/aem-sdk-2023.11.14227.20231108T162349Z-231100.zip'
INFO[2024-02-05 10:20:44] [local_author,local_publish] > creating
INFO[2024-02-05 10:20:44] local_author > creating
INFO[2024-02-05 10:20:44] local_author > unpacking files
Loading quickstart properties: default
Loading quickstart properties: instance
Setting properties from filename '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/opt/sdk/aem-sdk-quickstart-2023.11.14227.20231108T162349Z-231100.jar'
Verbose mode - stdout/err not redirected to files, and stdin not closedResourceProvider paths=[/gui, /gui/default]
quickstart.build=2023.11.14227.20231108T162349Z.2023.11.14227
quickstart.properties not found, initial install
UpgradeUtil.handleInstallAndUpgrade has mode INSTALL
Saving build number in quickstart.properties
Upgrade: no files to restore from pre-upgrade backup
15 files extracted from jar file
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/bin/start
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/bin/stop
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/bin/status
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/bin/quickstart
Not starting the Quickstart server as the -unpack option is set
Quickstart files unpacked, server startup scripts can be found under /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/bin
INFO[2024-02-05 10:20:47] local_author > copying CBP executable to '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/aem-compose/bin/cbpow.exe'
INFO[2024-02-05 10:20:47] local_author > created
INFO[2024-02-05 10:20:47] local_publish > creating
INFO[2024-02-05 10:20:47] local_publish > unpacking files
Loading quickstart properties: default
Loading quickstart properties: instance
Setting properties from filename '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/opt/sdk/aem-sdk-quickstart-2023.11.14227.20231108T162349Z-231100.jar'
Verbose mode - stdout/err not redirected to files, and stdin not closedResourceProvider paths=[/gui, /gui/default]
quickstart.build=2023.11.14227.20231108T162349Z.2023.11.14227
quickstart.properties not found, initial install
UpgradeUtil.handleInstallAndUpgrade has mode INSTALL
Saving build number in quickstart.properties
Upgrade: no files to restore from pre-upgrade backup
15 files extracted from jar file
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/bin/start
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/bin/stop
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/bin/status
Running chmod +x /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/bin/quickstart
Not starting the Quickstart server as the -unpack option is set
Quickstart files unpacked, server startup scripts can be found under /Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/bin
INFO[2024-02-05 10:20:50] local_publish > copying CBP executable to '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/aem-compose/bin/cbpow.exe'
INFO[2024-02-05 10:20:50] local_publish > created
INFO[2024-02-05 10:20:50] [local_author,local_publish] > checking started & out-of-date
INFO[2024-02-05 10:20:54] [local_author,local_publish] > starting
INFO[2024-02-05 10:20:55] local_author > configuring instance Sling properties in file '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/conf/sling.properties'
INFO[2024-02-05 10:20:55] local_author > configured instance Sling properties in file '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/conf/sling.properties'
INFO[2024-02-05 10:20:55] local_author > configuring instance secret vars in dir '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/conf/secret'
INFO[2024-02-05 10:20:55] local_author > configured instance secret vars in dir '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/author/crx-quickstart/conf/secret'
INFO[2024-02-05 10:20:55] local_author > starting
INFO[2024-02-05 10:20:55] local_author > started
INFO[2024-02-05 10:20:58] local_publish > configuring instance Sling properties in file '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/conf/sling.properties'
INFO[2024-02-05 10:20:58] local_publish > configured instance Sling properties in file '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/conf/sling.properties'
INFO[2024-02-05 10:20:58] local_publish > configuring instance secret vars in dir '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/conf/secret'
INFO[2024-02-05 10:20:58] local_publish > configured instance secret vars in dir '/Users/dl0001/Projects/nemoursorg-cloud/aem/home/var/instance/publish/crx-quickstart/conf/secret'
INFO[2024-02-05 10:20:58] local_publish > starting
INFO[2024-02-05 10:20:59] local_publish > started
INFO[2024-02-05 10:20:59] [local_author,local_publish] > awaiting started
INFO[2024-02-05 10:21:00] local_author > not reachable (localhost:4502)
INFO[2024-02-05 10:21:00] local_publish > not reachable (localhost:4503)
INFO[2024-02-05 10:21:06] local_author > not reachable (localhost:4502)
INFO[2024-02-05 10:21:06] local_publish > not reachable (localhost:4503)
INFO[2024-02-05 10:21:12] local_author > not reachable (localhost:4502)
INFO[2024-02-05 10:21:12] local_publish > not reachable (localhost:4503)
INFO[2024-02-05 10:21:18] local_author > many bundles unstable (84/611=14%): 'com.day.cq.dam.cq-dam-handler'
INFO[2024-02-05 10:21:18] local_publish > not reachable (localhost:4503)
INFO[2024-02-05 10:21:24] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:24] local_publish > many bundles unstable (85/605=14%): 'com.adobe.cq.dam.cq-delivery-internal-api'
INFO[2024-02-05 10:21:30] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:30] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:36] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:36] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:42] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:42] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:48] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:48] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:54] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:21:55] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:01] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:01] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:07] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:07] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:13] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:13] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:19] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:19] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:25] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:25] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:31] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:31] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:37] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:37] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:43] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:44] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:50] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:50] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:56] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:22:56] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:02] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:02] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:08] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:08] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:14] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:14] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:20] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:20] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:26] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:26] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:32] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:32] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:38] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:39] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:45] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:45] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:51] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:51] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:58] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:23:58] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:04] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:04] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:10] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:10] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:16] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:16] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:22] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:22] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:28] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:29] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:35] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:35] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:41] local_author > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:41] local_publish > cannot request bundle list: 503 Service Unavailable
INFO[2024-02-05 10:24:47] local_author > all bundles stable
INFO[2024-02-05 10:24:49] local_author > some events unstable (5): 'javax.servlet.Filter'
INFO[2024-02-05 10:24:49] local_publish > all bundles stable
INFO[2024-02-05 10:24:51] local_publish > some events unstable (16): 'javax.servlet.Filter'
INFO[2024-02-05 10:24:57] local_author > all bundles stable
INFO[2024-02-05 10:24:59] local_author > recent events stable
INFO[2024-02-05 10:25:00] local_author > installer idle
INFO[2024-02-05 10:25:10] local_author > Get "http://localhost:4502/libs/granite/core/content/login.html": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
INFO[2024-02-05 10:25:10] local_publish > all bundles stable
INFO[2024-02-05 10:25:12] local_publish > recent events stable
INFO[2024-02-05 10:25:12] local_publish > installer idle
INFO[2024-02-05 10:25:22] local_publish > Get "http://localhost:4503/libs/granite/core/content/login.html": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
INFO[2024-02-05 10:25:28] local_author > all bundles stable
INFO[2024-02-05 10:25:30] local_author > recent events stable
INFO[2024-02-05 10:25:30] local_author > installer idle
INFO[2024-02-05 10:25:30] local_author > login page ready
INFO[2024-02-05 10:25:30] local_publish > all bundles stable
INFO[2024-02-05 10:25:32] local_publish > recent events stable
INFO[2024-02-05 10:25:32] local_publish > installer idle
INFO[2024-02-05 10:25:32] local_publish > login page ready
INFO[2024-02-05 10:25:32] [local_author,local_publish] > checked (1/5)
INFO[2024-02-05 10:25:38] local_author > all bundles stable
INFO[2024-02-05 10:25:39] local_author > recent events stable
INFO[2024-02-05 10:25:39] local_author > installer idle
INFO[2024-02-05 10:25:39] local_author > login page ready
INFO[2024-02-05 10:25:40] local_publish > all bundles stable
INFO[2024-02-05 10:25:41] local_publish > recent events stable
INFO[2024-02-05 10:25:41] local_publish > installer idle
INFO[2024-02-05 10:25:41] local_publish > login page ready
INFO[2024-02-05 10:25:41] [local_author,local_publish] > checked (2/5)
INFO[2024-02-05 10:25:47] local_author > all bundles stable
INFO[2024-02-05 10:25:49] local_author > recent events stable
INFO[2024-02-05 10:25:49] local_author > installer idle
INFO[2024-02-05 10:25:49] local_author > login page ready
INFO[2024-02-05 10:25:49] local_publish > all bundles stable
INFO[2024-02-05 10:25:51] local_publish > recent events stable
INFO[2024-02-05 10:25:51] local_publish > installer idle
INFO[2024-02-05 10:25:51] local_publish > login page ready
INFO[2024-02-05 10:25:51] [local_author,local_publish] > checked (3/5)
INFO[2024-02-05 10:25:57] local_author > all bundles stable
INFO[2024-02-05 10:25:59] local_author > recent events stable
INFO[2024-02-05 10:25:59] local_author > installer idle
INFO[2024-02-05 10:25:59] local_author > login page ready
INFO[2024-02-05 10:25:59] local_publish > all bundles stable
INFO[2024-02-05 10:26:01] local_publish > recent events stable
INFO[2024-02-05 10:26:01] local_publish > installer idle
INFO[2024-02-05 10:26:01] local_publish > login page ready
INFO[2024-02-05 10:26:01] [local_author,local_publish] > checked (4/5)
INFO[2024-02-05 10:26:07] local_author > all bundles stable
INFO[2024-02-05 10:26:08] local_author > recent events stable
INFO[2024-02-05 10:26:08] local_author > installer idle
INFO[2024-02-05 10:26:08] local_author > login page ready
INFO[2024-02-05 10:26:08] local_publish > all bundles stable
INFO[2024-02-05 10:26:10] local_publish > recent events stable
INFO[2024-02-05 10:26:10] local_publish > installer idle
INFO[2024-02-05 10:26:10] local_publish > login page ready
INFO[2024-02-05 10:26:10] [local_author,local_publish] > checked (5/5)
INFO[2024-02-05 10:26:10] launched instance(s) (2 created, 2 started)
task: [aem:provision:repl-agent-publish] PROPS="
enabled: true
transportUri: http://localhost:4503/bin/receive?sling:authRequestLogin=1
transportUser: admin
transportPassword: admin
userId: admin
"
echo "$PROPS" | sh aemw repl agent setup -A --location "author" --name "publish"

INFO[2024-02-05 10:26:11] local_author > saving node '/etc/replication/agents.author/publish/jcr:content'
INFO[2024-02-05 10:26:11] local_author > saved node '/etc/replication/agents.author/publish/jcr:content'
INFO[2024-02-05 10:26:11] local_author > stopping bundle '308'
INFO[2024-02-05 10:26:17] local_author > stopped bundle '308'
INFO[2024-02-05 10:26:17] local_author > starting bundle '308'
INFO[2024-02-05 10:26:18] local_author > started bundle '308'
INFO[2024-02-05 10:26:18] [local_author] > awaiting started
INFO[2024-02-05 10:26:20] local_author > all bundles stable
INFO[2024-02-05 10:26:21] local_author > some events unstable (233): 'org.osgi.service.http.runtime.HttpServiceRuntime'
INFO[2024-02-05 10:26:27] local_author > all bundles stable
INFO[2024-02-05 10:26:29] local_author > recent events stable
INFO[2024-02-05 10:26:29] local_author > installer idle
INFO[2024-02-05 10:26:29] local_author > login page ready
INFO[2024-02-05 10:26:29] [local_author] > checked (1/5)
INFO[2024-02-05 10:26:35] local_author > all bundles stable
INFO[2024-02-05 10:26:37] local_author > recent events stable
INFO[2024-02-05 10:26:37] local_author > installer idle
INFO[2024-02-05 10:26:37] local_author > login page ready
INFO[2024-02-05 10:26:37] [local_author] > checked (2/5)
INFO[2024-02-05 10:26:43] local_author > all bundles stable
INFO[2024-02-05 10:26:45] local_author > recent events stable
INFO[2024-02-05 10:26:45] local_author > installer idle
INFO[2024-02-05 10:26:45] local_author > login page ready
INFO[2024-02-05 10:26:45] [local_author] > checked (3/5)
INFO[2024-02-05 10:26:51] local_author > all bundles stable
INFO[2024-02-05 10:26:52] local_author > recent events stable
INFO[2024-02-05 10:26:52] local_author > installer idle
INFO[2024-02-05 10:26:52] local_author > login page ready
INFO[2024-02-05 10:26:52] [local_author] > checked (4/5)
INFO[2024-02-05 10:26:58] local_author > all bundles stable
INFO[2024-02-05 10:27:00] local_author > recent events stable
INFO[2024-02-05 10:27:00] local_author > installer idle
INFO[2024-02-05 10:27:00] local_author > login page ready
INFO[2024-02-05 10:27:00] [local_author] > checked (5/5)
INFO[2024-02-05 10:27:00] replication agent set up
task: [aem:provision:repl-agent-flush] PROPS="
enabled: true
transportUri: http://<IP_ADDRESS>/dispatcher/invalidate.cache
protocolHTTPHeaders:
  - 'CQ-Action: {action}'
  - 'CQ-Handle: {path}'
  - 'CQ-Path: {path}'
  - 'Host: publish'
  "
echo "$PROPS" | sh aemw repl agent setup -P --location "publish" --name "flush"

INFO[2024-02-05 10:27:01] local_publish > saving node '/etc/replication/agents.publish/flush/jcr:content'
INFO[2024-02-05 10:27:01] local_publish > saved node '/etc/replication/agents.publish/flush/jcr:content'
INFO[2024-02-05 10:27:01] local_publish > stopping bundle '301'
INFO[2024-02-05 10:27:06] local_publish > stopped bundle '301'
INFO[2024-02-05 10:27:06] local_publish > starting bundle '301'
INFO[2024-02-05 10:27:07] local_publish > started bundle '301'
INFO[2024-02-05 10:27:07] [local_publish] > awaiting started
INFO[2024-02-05 10:27:08] local_publish > all bundles stable
INFO[2024-02-05 10:27:09] local_publish > some events unstable (228): 'Bundle com.day.cq.cq-replication started'
INFO[2024-02-05 10:27:16] local_publish > all bundles stable
INFO[2024-02-05 10:27:17] local_publish > recent events stable
INFO[2024-02-05 10:27:17] local_publish > installer idle
INFO[2024-02-05 10:27:17] local_publish > login page ready
INFO[2024-02-05 10:27:17] [local_publish] > checked (1/5)
INFO[2024-02-05 10:27:23] local_publish > all bundles stable
INFO[2024-02-05 10:27:25] local_publish > recent events stable
INFO[2024-02-05 10:27:25] local_publish > installer idle
INFO[2024-02-05 10:27:25] local_publish > login page ready
INFO[2024-02-05 10:27:25] [local_publish] > checked (2/5)
INFO[2024-02-05 10:27:31] local_publish > all bundles stable
INFO[2024-02-05 10:27:32] local_publish > recent events stable
INFO[2024-02-05 10:27:32] local_publish > installer idle
INFO[2024-02-05 10:27:32] local_publish > login page ready
INFO[2024-02-05 10:27:32] [local_publish] > checked (3/5)
INFO[2024-02-05 10:27:38] local_publish > all bundles stable
INFO[2024-02-05 10:27:39] local_publish > recent events stable
INFO[2024-02-05 10:27:39] local_publish > installer idle
INFO[2024-02-05 10:27:39] local_publish > login page ready
INFO[2024-02-05 10:27:39] [local_publish] > checked (4/5)
INFO[2024-02-05 10:27:45] local_publish > all bundles stable
INFO[2024-02-05 10:27:47] local_publish > recent events stable
INFO[2024-02-05 10:27:47] local_publish > installer idle
INFO[2024-02-05 10:27:47] local_publish > login page ready
INFO[2024-02-05 10:27:47] [local_publish] > checked (5/5)
INFO[2024-02-05 10:27:47] replication agent set up
task: [aem:provision:crx] sh aemw osgi config save --pid "org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet" --input-string "alias: /crx/server"
INFO[2024-02-05 10:27:48] config already saved (up-to-date)
task: Task "aem:build" is up to date
task: [aem:deploy] sh aemw package deploy --file "all/target/*.all-*.zip"
INFO[2024-02-05 10:27:49] local_author > uploading package 'all/target/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:50] local_author > uploaded package 'all/target/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:50] local_author > copying node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_mod' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:50] local_author > copied node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_mod' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:50] local_author > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:50] local_author > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:50] local_author > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:50] local_author > copying node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_create' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:51] local_author > copied node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_create' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:51] local_author > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:51] local_author > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:51] local_author > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:51] local_author > copying node from '/libs/settings/workflow/launcher/config/dam_xmp_nested_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_nested_writeback'
INFO[2024-02-05 10:27:51] local_author > copied node from '/libs/settings/workflow/launcher/config/dam_xmp_nested_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_nested_writeback'
INFO[2024-02-05 10:27:51] local_author > copying node from '/libs/settings/workflow/launcher/config/dam_smarttags_training' to '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:51] local_author > copied node from '/libs/settings/workflow/launcher/config/dam_smarttags_training' to '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:51] local_author > saving node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:51] local_author > saved node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:51] local_author > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:51] local_author > copying node from '/libs/settings/workflow/launcher/config/dam_autotag_assets' to '/conf/global/settings/workflow/launcher/config/dam_autotag_assets'
INFO[2024-02-05 10:27:51] local_author > copied node from '/libs/settings/workflow/launcher/config/dam_autotag_assets' to '/conf/global/settings/workflow/launcher/config/dam_autotag_assets'
INFO[2024-02-05 10:27:51] local_author > copying node from '/libs/settings/workflow/launcher/config/dam_xmp_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_writeback'
INFO[2024-02-05 10:27:51] local_author > copied node from '/libs/settings/workflow/launcher/config/dam_xmp_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_writeback'
INFO[2024-02-05 10:27:51] local_author > installing package '/etc/packages/com.nemours/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:54] local_author > installed package '/etc/packages/com.nemours/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:54] local_author > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:54] local_author > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:54] local_author > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:54] local_author > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:54] local_author > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:54] local_author > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:54] local_author > saving node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:54] local_author > saved node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:54] local_author > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:54] local_publish > uploading package 'all/target/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:55] local_publish > uploaded package 'all/target/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_mod' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_mod' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:56] local_publish > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:56] local_publish > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:56] local_publish > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_create' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/asset_processing_on_sdk_create' to '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:56] local_publish > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:56] local_publish > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:56] local_publish > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/dam_xmp_nested_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_nested_writeback'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/dam_xmp_nested_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_nested_writeback'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/dam_smarttags_training' to '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/dam_smarttags_training' to '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:56] local_publish > saving node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:56] local_publish > saved node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:56] local_publish > disabled workflow launcher '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/dam_autotag_assets' to '/conf/global/settings/workflow/launcher/config/dam_autotag_assets'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/dam_autotag_assets' to '/conf/global/settings/workflow/launcher/config/dam_autotag_assets'
INFO[2024-02-05 10:27:56] local_publish > copying node from '/libs/settings/workflow/launcher/config/dam_xmp_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_writeback'
INFO[2024-02-05 10:27:56] local_publish > copied node from '/libs/settings/workflow/launcher/config/dam_xmp_writeback' to '/conf/global/settings/workflow/launcher/config/dam_xmp_writeback'
INFO[2024-02-05 10:27:56] local_publish > installing package '/etc/packages/com.nemours/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:59] local_publish > installed package '/etc/packages/com.nemours/nemours.all-1.0.0-SNAPSHOT.zip'
INFO[2024-02-05 10:27:59] local_publish > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:59] local_publish > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:59] local_publish > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_mod'
INFO[2024-02-05 10:27:59] local_publish > saving node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:59] local_publish > saved node '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:59] local_publish > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/asset_processing_on_sdk_create'
INFO[2024-02-05 10:27:59] local_publish > saving node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:59] local_publish > saved node '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:59] local_publish > enabled workflow launcher '/conf/global/settings/workflow/launcher/config/dam_smarttags_training'
INFO[2024-02-05 10:27:59] [local_author,local_publish] > awaiting started
INFO[2024-02-05 10:28:01] local_author > all bundles stable
INFO[2024-02-05 10:28:03] local_author > recent events stable
INFO[2024-02-05 10:28:03] local_author > installer active (6)
INFO[2024-02-05 10:28:03] local_author > login page ready
INFO[2024-02-05 10:28:03] local_publish > all bundles stable
INFO[2024-02-05 10:28:05] local_publish > recent events stable
INFO[2024-02-05 10:28:05] local_publish > installer active (6)
INFO[2024-02-05 10:28:05] local_publish > login page ready
INFO[2024-02-05 10:28:11] local_author > all bundles stable
INFO[2024-02-05 10:28:19] local_author > recent events stable
INFO[2024-02-05 10:28:20] local_author > installer active (4)
INFO[2024-02-05 10:28:20] local_author > login page ready
INFO[2024-02-05 10:28:20] local_publish > all bundles stable
INFO[2024-02-05 10:28:27] local_publish > recent events stable
INFO[2024-02-05 10:28:27] local_publish > installer active (4)
INFO[2024-02-05 10:28:27] local_publish > login page ready
INFO[2024-02-05 10:28:33] local_author > all bundles stable
INFO[2024-02-05 10:28:37] local_author > recent events stable
INFO[2024-02-05 10:28:37] local_author > installer active (4)
INFO[2024-02-05 10:28:37] local_author > login page ready
INFO[2024-02-05 10:28:37] local_publish > all bundles stable
INFO[2024-02-05 10:28:39] local_publish > recent events stable
INFO[2024-02-05 10:28:39] local_publish > installer active (4)
INFO[2024-02-05 10:28:39] local_publish > login page ready
INFO[2024-02-05 10:28:45] local_author > all bundles stable
INFO[2024-02-05 10:28:48] local_author > recent events stable
INFO[2024-02-05 10:28:48] local_author > installer active (4)
INFO[2024-02-05 10:28:48] local_author > login page ready
INFO[2024-02-05 10:28:48] local_publish > all bundles stable
INFO[2024-02-05 10:28:51] local_publish > recent events stable
INFO[2024-02-05 10:28:51] local_publish > installer active (4)
INFO[2024-02-05 10:28:51] local_publish > login page ready
INFO[2024-02-05 10:28:57] local_author > all bundles stable
INFO[2024-02-05 10:29:00] local_author > recent events stable
INFO[2024-02-05 10:29:00] local_author > installer active (4)
INFO[2024-02-05 10:29:00] local_author > login page ready
INFO[2024-02-05 10:29:00] local_publish > all bundles stable
INFO[2024-02-05 10:29:02] local_publish > recent events stable
INFO[2024-02-05 10:29:02] local_publish > installer active (4)
INFO[2024-02-05 10:29:02] local_publish > login page ready
INFO[2024-02-05 10:29:08] local_author > all bundles stable
INFO[2024-02-05 10:29:17] local_author > recent events stable
INFO[2024-02-05 10:29:17] local_author > installer active (4)
INFO[2024-02-05 10:29:17] local_author > login page ready
INFO[2024-02-05 10:29:17] local_publish > all bundles stable
INFO[2024-02-05 10:29:20] local_publish > recent events stable
INFO[2024-02-05 10:29:20] local_publish > installer active (4)
INFO[2024-02-05 10:29:20] local_publish > login page ready
INFO[2024-02-05 10:29:26] local_author > all bundles stable
INFO[2024-02-05 10:29:28] local_author > recent events stable
INFO[2024-02-05 10:29:29] local_author > installer active (4)
INFO[2024-02-05 10:29:29] local_author > login page ready
INFO[2024-02-05 10:29:29] local_publish > all bundles stable
INFO[2024-02-05 10:29:30] local_publish > recent events stable
INFO[2024-02-05 10:29:31] local_publish > installer active (4)
INFO[2024-02-05 10:29:31] local_publish > login page ready
INFO[2024-02-05 10:29:37] local_author > all bundles stable
INFO[2024-02-05 10:29:40] local_author > some events unstable (5): 'com.nemours.core.aemconnectors.external.ApiService'
INFO[2024-02-05 10:29:40] local_publish > all bundles stable
INFO[2024-02-05 10:29:44] local_publish > some events unstable (119): 'com.day.cq.dam.api.s7dam.scene7.ImageUrlApi'
INFO[2024-02-05 10:29:50] local_author > many bundles unstable (615/635=97%): 'groovy-dateutil'
INFO[2024-02-05 10:29:50] local_publish > many bundles unstable (609/629=97%): 'groovy-dateutil'
INFO[2024-02-05 10:29:57] local_author > all bundles stable
INFO[2024-02-05 10:29:59] local_author > some events unstable (174): 'org.apache.sling.serviceusermapping.impl.MappingConfigAmendment'
INFO[2024-02-05 10:29:59] local_publish > all bundles stable
INFO[2024-02-05 10:30:00] local_publish > some events unstable (3): 'org.osgi.service.http.runtime.HttpServiceRuntime'
INFO[2024-02-05 10:30:06] local_author > all bundles stable
INFO[2024-02-05 10:30:08] local_author > recent events stable
INFO[2024-02-05 10:30:08] local_author > installer idle
INFO[2024-02-05 10:30:08] local_author > login page ready
INFO[2024-02-05 10:30:08] local_publish > all bundles stable
INFO[2024-02-05 10:30:09] local_publish > recent events stable
INFO[2024-02-05 10:30:09] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:30:09] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:30:15] local_author > all bundles stable
INFO[2024-02-05 10:30:17] local_author > recent events stable
INFO[2024-02-05 10:30:17] local_author > installer idle
INFO[2024-02-05 10:30:17] local_author > login page ready
INFO[2024-02-05 10:30:17] local_publish > all bundles stable
INFO[2024-02-05 10:30:19] local_publish > recent events stable
INFO[2024-02-05 10:30:19] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:30:19] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:30:25] local_author > all bundles stable
INFO[2024-02-05 10:30:26] local_author > recent events stable
INFO[2024-02-05 10:30:26] local_author > installer idle
INFO[2024-02-05 10:30:26] local_author > login page ready
INFO[2024-02-05 10:30:26] local_publish > all bundles stable
INFO[2024-02-05 10:30:28] local_publish > recent events stable
INFO[2024-02-05 10:30:28] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:30:28] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:30:34] local_author > all bundles stable
INFO[2024-02-05 10:30:36] local_author > recent events stable
INFO[2024-02-05 10:30:36] local_author > installer idle
INFO[2024-02-05 10:30:36] local_author > login page ready
INFO[2024-02-05 10:30:36] local_publish > all bundles stable
INFO[2024-02-05 10:30:37] local_publish > some events unstable (2): 'org.apache.felix.hc.api.condition.Unhealthy'
INFO[2024-02-05 10:30:43] local_author > all bundles stable
INFO[2024-02-05 10:30:45] local_author > recent events stable
INFO[2024-02-05 10:30:45] local_author > installer idle
INFO[2024-02-05 10:30:45] local_author > login page ready
INFO[2024-02-05 10:30:45] local_publish > all bundles stable
INFO[2024-02-05 10:30:47] local_publish > recent events stable
INFO[2024-02-05 10:30:47] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:30:47] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:30:53] local_author > all bundles stable
INFO[2024-02-05 10:30:54] local_author > recent events stable
INFO[2024-02-05 10:30:54] local_author > installer idle
INFO[2024-02-05 10:30:54] local_author > login page ready
INFO[2024-02-05 10:30:54] local_publish > all bundles stable
INFO[2024-02-05 10:30:56] local_publish > recent events stable
INFO[2024-02-05 10:30:56] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:30:56] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:02] local_author > all bundles stable
INFO[2024-02-05 10:31:04] local_author > recent events stable
INFO[2024-02-05 10:31:04] local_author > installer idle
INFO[2024-02-05 10:31:04] local_author > login page ready
INFO[2024-02-05 10:31:04] local_publish > all bundles stable
INFO[2024-02-05 10:31:05] local_publish > recent events stable
INFO[2024-02-05 10:31:05] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:05] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:11] local_author > all bundles stable
INFO[2024-02-05 10:31:13] local_author > recent events stable
INFO[2024-02-05 10:31:13] local_author > installer idle
INFO[2024-02-05 10:31:13] local_author > login page ready
INFO[2024-02-05 10:31:13] local_publish > all bundles stable
INFO[2024-02-05 10:31:15] local_publish > recent events stable
INFO[2024-02-05 10:31:15] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:15] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:21] local_author > all bundles stable
INFO[2024-02-05 10:31:22] local_author > recent events stable
INFO[2024-02-05 10:31:22] local_author > installer idle
INFO[2024-02-05 10:31:22] local_author > login page ready
INFO[2024-02-05 10:31:22] local_publish > all bundles stable
INFO[2024-02-05 10:31:24] local_publish > recent events stable
INFO[2024-02-05 10:31:24] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:24] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:30] local_author > all bundles stable
INFO[2024-02-05 10:31:31] local_author > recent events stable
INFO[2024-02-05 10:31:31] local_author > installer idle
INFO[2024-02-05 10:31:31] local_author > login page ready
INFO[2024-02-05 10:31:31] local_publish > all bundles stable
INFO[2024-02-05 10:31:33] local_publish > recent events stable
INFO[2024-02-05 10:31:33] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:33] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:39] local_author > all bundles stable
INFO[2024-02-05 10:31:40] local_author > recent events stable
INFO[2024-02-05 10:31:40] local_author > installer idle
INFO[2024-02-05 10:31:40] local_author > login page ready
INFO[2024-02-05 10:31:41] local_publish > all bundles stable
INFO[2024-02-05 10:31:42] local_publish > recent events stable
INFO[2024-02-05 10:31:42] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:42] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:48] local_author > all bundles stable
INFO[2024-02-05 10:31:50] local_author > recent events stable
INFO[2024-02-05 10:31:50] local_author > installer idle
INFO[2024-02-05 10:31:50] local_author > login page ready
INFO[2024-02-05 10:31:50] local_publish > all bundles stable
INFO[2024-02-05 10:31:51] local_publish > recent events stable
INFO[2024-02-05 10:31:51] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:31:51] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:31:57] local_author > all bundles stable
INFO[2024-02-05 10:31:58] local_author > recent events stable
INFO[2024-02-05 10:31:58] local_author > installer idle
INFO[2024-02-05 10:31:58] local_author > login page ready
INFO[2024-02-05 10:31:58] local_publish > all bundles stable
INFO[2024-02-05 10:32:00] local_publish > recent events stable
INFO[2024-02-05 10:32:00] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:32:00] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:32:06] local_author > all bundles stable
INFO[2024-02-05 10:32:07] local_author > recent events stable
INFO[2024-02-05 10:32:07] local_author > installer idle
INFO[2024-02-05 10:32:07] local_author > login page ready
INFO[2024-02-05 10:32:07] local_publish > all bundles stable
INFO[2024-02-05 10:32:09] local_publish > recent events stable
INFO[2024-02-05 10:32:09] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:32:09] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:32:15] local_author > all bundles stable
INFO[2024-02-05 10:32:16] local_author > recent events stable
INFO[2024-02-05 10:32:16] local_author > installer idle
INFO[2024-02-05 10:32:16] local_author > login page ready
INFO[2024-02-05 10:32:16] local_publish > all bundles stable
INFO[2024-02-05 10:32:17] local_publish > recent events stable
INFO[2024-02-05 10:32:17] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:32:17] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:32:23] local_author > all bundles stable
INFO[2024-02-05 10:32:25] local_author > recent events stable
INFO[2024-02-05 10:32:25] local_author > installer idle
INFO[2024-02-05 10:32:25] local_author > login page ready
INFO[2024-02-05 10:32:25] local_publish > all bundles stable
INFO[2024-02-05 10:32:26] local_publish > recent events stable
INFO[2024-02-05 10:32:26] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:32:26] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:32:32] local_author > all bundles stable
INFO[2024-02-05 10:32:34] local_author > recent events stable
INFO[2024-02-05 10:32:34] local_author > installer idle
INFO[2024-02-05 10:32:34] local_author > login page ready
INFO[2024-02-05 10:32:34] local_publish > all bundles stable
INFO[2024-02-05 10:32:35] local_publish > recent events stable
INFO[2024-02-05 10:32:35] local_publish > cannot read Sling JMX Bean 'org/apache/sling/installer/Installer/Sling%20OSGi%20Installer': 404 Not Found
INFO[2024-02-05 10:32:35] local_publish > login page responds with unexpected code (404)
INFO[2024-02-05 10:32:41] local_author > all bundles stable
INFO[2024-02-05 10:32:43] local_author > recent events stable
INFO[2024-02-05 10:32:43] local_author > installer idle
INFO[2024-02-05 10:32:43] local_author > login page ready
INFO[2024-02-05 10:32:43] local_publish > all bundles stable
INFO[2024-02-05 10:32:44] local_publish > some events unstable (186): 'org.apache.jackrabbit.oak.spi.commit.Observer'
INFO[2024-02-05 10:32:50] local_author > all bundles stable
INFO[2024-02-05 10:32:52] local_author > recent events stable
INFO[2024-02-05 10:32:52] local_author > installer idle
INFO[2024-02-05 10:32:52] local_author > login page ready
INFO[2024-02-05 10:32:52] local_publish > all bundles stable
INFO[2024-02-05 10:32:53] local_publish > some events unstable (169): 'org.apache.sling.api.resource.observation.ResourceChangeListener'
INFO[2024-02-05 10:32:59] local_author > all bundles stable
INFO[2024-02-05 10:33:01] local_author > recent events stable
INFO[2024-02-05 10:33:01] local_author > installer idle
INFO[2024-02-05 10:33:01] local_author > login page ready
INFO[2024-02-05 10:33:01] local_publish > all bundles stable
INFO[2024-02-05 10:33:02] local_publish > recent events stable
INFO[2024-02-05 10:33:02] local_publish > installer idle
INFO[2024-02-05 10:33:03] local_publish > login page ready
INFO[2024-02-05 10:33:03] [local_author,local_publish] > checked (1/5)
INFO[2024-02-05 10:33:09] local_author > all bundles stable
INFO[2024-02-05 10:33:11] local_author > recent events stable
INFO[2024-02-05 10:33:11] local_author > installer idle
INFO[2024-02-05 10:33:11] local_author > login page ready
INFO[2024-02-05 10:33:11] local_publish > all bundles stable
INFO[2024-02-05 10:33:12] local_publish > recent events stable
INFO[2024-02-05 10:33:12] local_publish > installer idle
INFO[2024-02-05 10:33:12] local_publish > login page ready
INFO[2024-02-05 10:33:12] [local_author,local_publish] > checked (2/5)
INFO[2024-02-05 10:33:18] local_author > all bundles stable
INFO[2024-02-05 10:33:20] local_author > recent events stable
INFO[2024-02-05 10:33:20] local_author > installer idle
INFO[2024-02-05 10:33:20] local_author > login page ready
INFO[2024-02-05 10:33:20] local_publish > all bundles stable
INFO[2024-02-05 10:33:21] local_publish > recent events stable
INFO[2024-02-05 10:33:21] local_publish > installer idle
INFO[2024-02-05 10:33:21] local_publish > login page ready
INFO[2024-02-05 10:33:21] [local_author,local_publish] > checked (3/5)
INFO[2024-02-05 10:33:27] local_author > all bundles stable
INFO[2024-02-05 10:33:29] local_author > recent events stable
INFO[2024-02-05 10:33:29] local_author > installer idle
INFO[2024-02-05 10:33:29] local_author > login page ready
INFO[2024-02-05 10:33:29] local_publish > all bundles stable
INFO[2024-02-05 10:33:30] local_publish > recent events stable
INFO[2024-02-05 10:33:30] local_publish > installer idle
INFO[2024-02-05 10:33:31] local_publish > login page ready
INFO[2024-02-05 10:33:31] [local_author,local_publish] > checked (4/5)
INFO[2024-02-05 10:33:37] local_author > all bundles stable
INFO[2024-02-05 10:33:38] local_author > recent events stable
INFO[2024-02-05 10:33:38] local_author > installer idle
INFO[2024-02-05 10:33:38] local_author > login page ready
INFO[2024-02-05 10:33:38] local_publish > all bundles stable
INFO[2024-02-05 10:33:39] local_publish > recent events stable
INFO[2024-02-05 10:33:39] local_publish > installer idle
INFO[2024-02-05 10:33:39] local_publish > login page ready
INFO[2024-02-05 10:33:39] [local_author,local_publish] > checked (5/5)
INFO[2024-02-05 10:33:39] package deployed
task: [dispatcher:start] command -v docker || { echo "Docker is not installed! Visit: https://www.docker.com/products/docker-desktop"; exit 1; }
/usr/local/bin/docker
task: [dispatcher:start] test -d ../aem/home/opt/sdk/dispatcher || { echo "Dispatcher SDK is not available. Try providing AEM SDK ZIP instead of JAR to directory: aem/home/lib"; exit 1; }
task: [dispatcher:start] test -d home/sdk || (rm -fr home/sdk && mkdir -p home && cp -r ../aem/home/opt/sdk/dispatcher home/sdk)
task: [dispatcher:start] docker tag "$(docker load --input "home/sdk/lib/dispatcher-publish-arm64.tar.gz" | awk -v 'FS= ' '{print $3}')" "adobe/aem-ethos/dispatcher-publish:latest"
task: [dispatcher:start] mkdir -p home/sdk/logs home/sdk/cache
task: [dispatcher:start] docker compose up -d
[+] Running 2/2
 ✔ Network dispatcher_default  Created                                                                                0.0s
 ✔ Container dispatcher        Started                                                                                0.3s
task: [dispatcher:status] docker compose ps
NAME                IMAGE               COMMAND             SERVICE             CREATED             STATUS              PORTS
task: [dispatcher:status] docker compose logs --tail 20
dispatcher  | Waiting until port 4503 on host.docker.internal is available (with timeout of 1s)
dispatcher  | Port 4503 on host.docker.internal is available
dispatcher  | Running script /docker_entrypoint.d/40-generate-allowed-clients.sh
dispatcher  | Running script /docker_entrypoint.d/50-check-expiration.sh
dispatcher  | Running script /docker_entrypoint.d/60-check-loglevel.sh
dispatcher  | Detected dispatcher log level: warn
dispatcher  | Detected rewrite log level: warn
dispatcher  | Running script /docker_entrypoint.d/70-check-forwarded-host-secret.sh
dispatcher  | Running script /docker_entrypoint.d/80-frontend-domain.sh
dispatcher  | Running script /docker_entrypoint.d/zzz-import-sdk-config.sh
dispatcher  | grep: /etc/httpd/conf.d/variables/default.vars: No such file or directory
dispatcher  | INFO Mon Feb  5 15:33:44 UTC 2024: Copied customer configuration to /etc/httpd.
dispatcher  | INFO Mon Feb  5 15:33:44 UTC 2024: Start testing
dispatcher  | Cloud manager validator 2.0.62
dispatcher  | 2024/02/05 15:33:45 Dispatcher configuration validation failed:
dispatcher  | 2024/02/05 15:33:45   /mnt/dev/src/conf.d/variables/default.vars: lstat /etc/httpd.extra: no such file or directory
dispatcher  |
dispatcher  | ERROR Mon Feb  5 15:33:45 UTC 2024 Configuration invalid, please fix and retry,
dispatcher  |               Line numbers reported are correct for your configuration files.
dispatcher  |
task: [aem:publish:check] sleep 3
task: [aem:author:check] sleep 3
task: [aem:publish:check] curl -s -u "admin:admin" "http://localhost:4503/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"
task: [aem:author:check] curl -s -u "admin:admin" "http://localhost:4502/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"
task: [aem:author:check] curl -s -u "admin:admin" "http://localhost:4502/etc/replication/agents.author/publish.test.html" | grep -q "Replication (TEST) of /content successful"
task: [aem:publish:check] curl -s -u "admin:admin" "http://localhost:4503/etc/replication/agents.publish/flush.test.html" | grep -q "Replication (TEST) of /content successful"
task: Failed to run task "setup": exit status 1

Have you destroyed previous instance?

Yes, I ran sh taskw destroy before executing the setup command.

I will check this out tomorrow

sorry guys (@dleonhardt  and @tomasz-pawliczak-wttech) but when
[1] using AEM project archetype:
https://github.com/adobe/aem-project-archetype?tab=readme-ov-file#usage
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=47\
 -D appTitle="My Site" \
 -D appId="mysite" \
 -D groupId="com.mysite"

[2] combined with recent AEM SDK
AEM SDK for AEM v2023.12.14697.20231215T125030Z-231200
[3] everything works as expected

sorry, it means that most probably you need to adapt your project to adapt the changes which are already applied in Adobe AEM project archetype.

BTW the last screenshot provided by @dleonhardt is about some problem in AEM dispatcher configuration. Please take a look there especially :)


Foo

I am going to press Ctrl+Enter now. Normally this submits the text in the comment box as a comment.


modify synchronize get method in class LifeCycleMethodsMap

What's the purpose of this change?

Sorry for the silly mistake in my last commit.
I was a bootcamper and was assigned the task#8700769 about fixing lock contention. Thomas Georgiou told me that LifeCycleMethodMap is the class that has the contention. (https://github.com/airlift/airlift/blob/master/bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleModule.java#L56 registers an injection listener with guice so anytime you get an object from guice it has to go through a global lock.)
So I change the synchronized method to synchronized block, thus the method will go through a global lock only when it needs to put new obj into the map.

Use a ConcurrentHashMap and switch this to computeIfAbsent

Be aware that this may not solve the underlying contention issue. One important assumption we make in Airlift is that Guice is used only for wiring the application, and it doesn't play a role after that.

@martint we use Guice assisted injection to create objects at runtime with Guice provided objects injected in. i.e. a WorkToken with some thrift client. We have multiple threads getting objects and seeing them all bottleneck on this Guice listener.

@tageorgiou, that's what I figured.
We'll get this merged, but I'm curious about whether it helps in your scenario.

#363 was merged. Closing.


AWS Elastic Beanstalk Build Error: node-gyp requires that the user home directory is specified in either of the environmental variables HOME or USERPROFILE

I have aws elastic beanstalk for node js application and I uploaded my node js app (zip file) to my instance but I saw this error in aws logs
The Error
node-gyp requires that the 'user'\''s' home directory is specified in either of the environmental variables HOME or 'USERPROFILE\n' at new Gyp '(/opt/elasticbeanstalk/node-install/node-v0.8.26-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:54:11

Package.json
{
  "name": "testing-beanstalk",
  "description": "Testing Beanstalk",
  "author": "Bugan",
  "version": "1.0",
  "private": true,
  "dependencies": {
    "express": "3.x",
    "socket.io": "0.9.6",
    "mysql": "2.0.1",
    "cron": "1.0.0",
  }
}

Any idea to solve this problem? How to set user home directory?
Thank you before

@eric-tucker :+1:

What is the current status of this issue? Because i have the same problem.

FWIW, I deployed a Node app to EB based on Amazon Linux 2015.03 today and this problem is no longer present. I poked around a bit and /opt/elasticbeanstalk/containerfiles/ebnode.py (which is used to drive the npm install) now sets $HOME.
(I'm not a fan of build tools depending on a homedir, but it does now seem to work.)

good news. Maybe I will try eb again. I gave up after many, many confusing
and stalled deployments.
On Thu, Jul 23, 2015, 5:46 PM Kyle VanderBeek<EMAIL_ADDRESS>wrote:

FWIW, I deployed a Node app to EB based on Amazon Linux 2015.03 today and
this problem is no longer present. I poked around a bit and
/opt/elasticbeanstalk/containerfiles/ebnode.py (which is used to drive
the npm install) now sets $HOME.
(I'm not a fan of build tools depending on a homedir, but it does now seem
to work.)
—
Reply to this email directly or view it on GitHub
https://github.com/TooTallNate/node-gyp/issues/414#issuecomment-124248111
.

--
--chad

We ended up using a slightly modified version for our problem. Leaving it here for anyone else who may need it (bcrypt specific):
files:
  "/opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh" :
    mode: "000775"
    owner: root
    group: root
    content: |
      #!/bin/bash
      #==============================================================================
      # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
      #
      # Licensed under the Amazon Software License (the "License"). You may not use
      # this file except in compliance with the License. A copy of the License is
      # located at
      #
      #       http://aws.amazon.com/asl/
      #
      # or in the "license" file accompanying this file. This file is distributed on
      # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
      # implied. See the License for the specific language governing permissions
      # and limitations under the License.
      #==============================================================================

      export HOME=/home/ec2-user
      export USERPROFILE=/home/ec2-user

      sudo rm -rf /tmp/deployment/application/node_modules/bcrypt

      set -xe

      /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install

Thank you so much! @rhyeal and all. Your solution did the trick. Very painless process thanks to this thread.

Don't forget to have an .ebignore file. The .ebignore file should (generally) just be:
node_modules/
This was my error - I was on a wild goose chase for hours.

Hello,
Sorry I have the same issue , I have tried your solutions but nothing works..
I have tried deerawan's config
I have tried rhyeal's config
Do you have other solutions ?
node version:  4.4.3
os: 64bit Amazon Linux 2016.03 v2.1.1 running Node.js
Thanks !

this is still an issue; deploying to aws elastic beanstalk, and running into this same issue. Also have issues with it on windows, docker, and on it goes. It literally has to be the largest point of failure in the node world. fix it for christ sakes

+1

@GuillaumeSarfati Were you able to resolve the issue?
This is still active:/

Also still having issues deploying to AWS EB. node-gyp rebuild fails… anyone came up with a solution?

A solution is outlined in https://github.com/nodejs/node-gyp/issues/414#issuecomment-37620497.  As to this:

Fix this properly - $HOME should NOT be required to install ANY software.

node-gyp needs a place to download the SDK to.  If you don't pass --devdir, it defaults to $HOME/.node-gyp.  See the README for more info.

We ended up using a slightly modified version for our problem. Leaving it here for anyone else who may need it (bcrypt specific):
files:
  "/opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh" :
    mode: "000775"
    owner: root
    group: root
    content: |
      #!/bin/bash
      #==============================================================================
      # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
      #
      # Licensed under the Amazon Software License (the "License"). You may not use
      # this file except in compliance with the License. A copy of the License is
      # located at
      #
      #       http://aws.amazon.com/asl/
      #
      # or in the "license" file accompanying this file. This file is distributed on
      # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
      # implied. See the License for the specific language governing permissions
      # and limitations under the License.
      #==============================================================================

      export HOME=/home/ec2-user
      export USERPROFILE=/home/ec2-user

      sudo rm -rf /tmp/deployment/application/node_modules/bcrypt

      set -xe

      /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install

Thank you this worked for me, or at least got me past this issue :)

None of the above worked for me. This is what did. In root add .npmrc file and in it:
unsafe-perm=true

Then eb deploy again and you should be good to go.
from SO


Branch-specific concurrency setting

We support controlling concurrency at the workflow level with the --max-workers option.
A complex flow may have multiple foreaches with different @resources which would benefit from a branch-specific concurrency setting (e.g. @concurrent(workers=5)).
Context: https://gitter.im/metaflow_org/community?at=5e8a41021aaf8e4b8e6257da

Attaching another thread from Gitter - https://gitter.im/metaflow_org/community?at=5f9c00f5c6fe0131d4c52e16

Another thread from slack - https://outerbounds-community.slack.com/archives/C02116BBNTU/p1629218117129500

@savingoyal @tuulos any updates on this? This is something I have been wanting for some time. We have many real world use cases where this would be useful. Because of this limitation we have to reduce concurrency globally to avoid ending up in a situation where a single branch consumes all N workers which could result in resource contention on that branch.


UNREFERENCED_OPEN_API_FILE being flagged for example files

https://dev.azure.com/azure-sdk/public/_build/results?buildId=10830&view=logs&jobId=f10f5372-40ed-54fc-caa4-b1cb5bd1252b&taskId=d3b2b841-a93b-5fa5-47c3-d8c4f6eae6e3&lineStart=33&lineEnd=39&colStart=1&colEnd=1
It looks like changed example files are getting marked as unreferenced from the README. Since they aren't something normally referenced from the README, that should be supressed.

Yes, we need to change the message to "UNREFERENCED_JSON_FILE"

Yeah, that would make sense for the example files, but I'm not sure if it's still a false-positive

The issue with adhybridhealthservice should be fixed https://github.com/Azure/avocado/issues/9. I will keep this issue open to track an error message change.

The message should be changed in PR #13


Cannot Read Properties of .split in Complex Macros

Advanced Macros produces an error when reading .split in complex script macros. Simple uses of .split like the simple macro below work, but more complex macros like applyBuff for PF1e produce the error.
Repo Steps

Using PF1e 0.82.2 and Foundry v10.290, activate libWrapper and Advanced Macros.
Add the linked macro above as a script macro named applyBuff
Use @Macro[applyBuff]{Apply Mage Armor} on a token.

Outcome without Advanced Macros Active: Buff named Mage Armor applied on token/actor
Outcome with Advanced Macros Active: Error below
Error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'split')
[Detected 1 package: advanced-macros]
    at HTMLAnchorElement._onClickContentLink (Macros.js:587)

Simple Macro
const str = 'The quick brown fox jumps over the lazy dog.';

const words = str.split(' ');
console.log(words[3]);
// expected output: "fox"

const chars = str.split('');
console.log(chars[8]);
// expected output: "k"

const strCopy = str.split();
console.log(strCopy);
// expected output: Array ["The quick brown fox jumps over the lazy dog."]

There was a major rewrite of the module with the latest Pull Request (#44) and that issue was already fixed when I tried to fix it.
Next release shall have this issue fixed.


Some Formula tests are flaky

What happened?
    async def test_3_phase_formulas(self, mocker: MockerFixture) -> None:
        """Test 3 phase formulas current formulas and their composition."""
        mockgrid = MockMicrogrid(grid_side_meter=False)
        mockgrid.add_batteries(3)
        mockgrid.add_ev_chargers(1)
        request_chan, channel_registry = await mockgrid.start(mocker)
        logical_meter = LogicalMeter(
            channel_registry,
            request_chan.new_sender(),
            microgrid.get().component_graph,
        )
        grid_current_recv = await logical_meter.grid_current()
        pool = EVChargerPool(channel_registry, request_chan.new_sender())
        ev_current_recv = await pool.total_current()

        engine = (grid_current_recv.clone() - ev_current_recv.clone()).build(
            "net_current"
        )
        net_current_recv = engine.new_receiver()

        await synchronize_receivers(
            [grid_current_recv, ev_current_recv, net_current_recv]
        )

        for _ in range(10):
            grid_amps = await grid_current_recv.receive()
            ev_amps = await ev_current_recv.receive()
            net_amps = await net_current_recv.receive()

>           assert grid_amps.value_p1 is not None and grid_amps.value_p1 > 0.0
E           assert (None is not None)
E            +  where None = Sample3Phase(timestamp=datetime.datetime(2023, 3, 10, 7, 9, 39, 78987, tzinfo=datetime.timezone.utc), value_p1=None, value_p2=None, value_p3=None).value_p1

What did you expect instead?
We should fix them
Affected version(s)
No response
Affected part(s)
Unit, integration and performance tests (part:tests)
Extra information
No response

This test is also flaky:
=================================== FAILURES ===================================
_____________________ TestEVChargerPool.test_state_updates _____________________
self = <tests.timeseries.test_ev_charger_pool.TestEVChargerPool object at 0x7ff695e1c990>
mocker = <pytest_mock.plugin.MockerFixture object at 0x7ff68f98a510>
async def test_state_updates(self, mocker: MockerFixture) -> None:
    """Test ev charger state updates are visible."""

    mockgrid = MockMicrogrid(grid_side_meter=False, sample_rate_s=0.01)
    mockgrid.add_ev_chargers(5)
    await mockgrid.start(mocker)

    state_tracker = StateTracker(set(mockgrid.evc_ids))

    async def check_states(
        expected: dict[int, EVChargerState],
    ) -> None:
        await asyncio.sleep(0.02)
        for comp_id, exp_state in expected.items():
            assert state_tracker.get(comp_id) == exp_state

    ## check that all chargers are in idle state.
    expected_states = {evc_id: EVChargerState.IDLE for evc_id in mockgrid.evc_ids}
    assert len(expected_states) == 5

  await check_states(expected_states)

tests/timeseries/test_ev_charger_pool.py:56:

expected = {6: <EVChargerState.IDLE: 'IDLE'>, 16: <EVChargerState.IDLE: 'IDLE'>, 26: <EVChargerState.IDLE: 'IDLE'>, 36: <EVChargerState.IDLE: 'IDLE'>, ...}
async def check_states(
    expected: dict[int, EVChargerState],
) -> None:
    await asyncio.sleep(0.02)
    for comp_id, exp_state in expected.items():

      assert state_tracker.get(comp_id) == exp_state

E           AssertionError: assert <EVChargerState.MISSING: 'MISSING'> == <EVChargerState.IDLE: 'IDLE'>
E            +  where <EVChargerState.MISSING: 'MISSING'> = <bound method StateTracker.get of <frequenz.sdk.timeseries.ev_charger_pool._state_tracker.StateTracker object at 0x7ff68fcc1cd0>>(6)
E            +    where <bound method StateTracker.get of <frequenz.sdk.timeseries.ev_charger_pool._state_tracker.StateTracker object at 0x7ff68fcc1cd0>> = <frequenz.sdk.timeseries.ev_charger_pool._state_tracker.StateTracker object at 0x7ff68fcc1cd0>.get
tests/timeseries/test_ev_charger_pool.py:51: AssertionError
------------------------------ Captured log call -------------------------------

tests/timeseries/test_ev_charger_pool.py:51: AssertionError

I'm hitting this one very often in #335.
@sahas-subramanian-frequenz can you have a look at this to see if we can fix the root cause?

This might need to be moved to v0.20.0 if we can't find a proper workaround before the release.

For now,  we can just increase the sample rate for the failing test like this:  https://github.com/frequenz-floss/frequenz-sdk-python/pull/336/commits/b91da340c403c5385601b52e6385a323aa4cba1c
For permanent fix,  I have already made a few tests by mocking the resampling actor's output when testing formulas.  I will work on a generic way to do this, so that all the tests can be updated.  I will get to that this week or early next week.


Can ts infer "never" return type without reduntant return?

TypeScript Version:  2.1.5 / nightly (2.2.0-dev.201xxxxx)
Code
// A function return "never"
function foo(msg): never {
  throw new Error(msg);
}

// A function call to foo and return "never" too.
function bar(): never {  // ERROR: Return statement is required for non-void return type
  foo('custom message');
  // We can resolve the question by add reduntant return foo(...) statement
  // return foo('custom message');   -- correct
}

Expected behavior:
Hope need not add the reduntant return keyword here.
Actual behavior:
ERROR: Return statement is required for non-void return type

This is a design limitation of the current system. the process of inferring return types depend on having a throw/return statement.
you can instead use return foo(..) as you noted.


Allow a user to download the original pk6s of their uploads

Acceptance criteria:
Given that the user is identified
And that the Pokémon exists
And that the Pokémon is associated to the user’s account
Ensure that the Pokémon can be downloaded and is the exact same pk6 that was uploaded.

Merged with #27.


ChangeFeed: Investigating Compute Gateway AVAD Archival Tree Cache Eviction

Description
Investigating Compute Gateway AVAD Archival Tree Cache Eviction Caching.
Problem statement
Currently, Archival caching is unbounded for CF AVAD on Compute Gateway. Investigation is needed to determine if and when bounded caching is necessary.
Stackholders

Dmitri Melnikov
Gary Fang
Rodimiro Cerrato Espinal
Justine Cocchi

Tasks

[x] Cache must be tied to tenant container (should be evicted when container is deleted)
[x] Trim cached data to minimum required set (consider abbreviations, etc.)
[x] Investigate max size of our cache and implement some limits
[x] Publish counters specific to cache information
[ ] Code complete, signoffs, delivery and release schedules.

Diagram

Cache must be tied to tenant container (should be evicted when container is deleted)

How frequently are tenant containers evicted?

Follow-up: With engineer, Gary Fang, that can give me telemetry for this.

Actionable items

[ ] Observability/KUSTO queries on TenantContainer percentages for eviction times.
[ ] KUSTO queries on when TenantContainer's where last evicted.

_TenantContainer_s are evicted automatically at least 3 weeks when Upgrades occur. So, no TenantContainer life last longer than 3 weeks.

[ ] Observability/KUSTO queries on size of specific caches or activities in memory on TenantContainer.
[ ] Model for adding ArchivalTreeCaching to TenantContainer.

No support for Graphana or Application Insights.

What constitutes or justifies a container deletion and who owns this?

TenantContainer are evicted after not seeing new requests for ~5 hours on the node.

This is configurable account level and federation level.

Gary is point of contact for Compute.

Actionable item:

[x] Locating the configuration.

TenantConfiguration.SocketConnectionIdleTimeoutInSeconds

We may have to include code to evict the archival tree cache ourselves, it is not done automagically.
ArchivalTreeCache needs to be owned by the TenantContainer object, not the FullFidelityChangeFeedHandler object, so some refactoring needs to happen and since TenantContainer owns other caches, we can potentially model this from the others as a point of reference.

Are other global caches deleted, or stored, in the event of a tenant container deletion?

Yes. (Ex. ComputeRecyclableMemoryManager).
Rules for creating caches owned by TenantContainer.

It loads all the necessary service at the initialization.
It can refresh once every 5 minutes allowing to change the state using feature flags.
It must dispose all of the data on dispose being called once tenant went idle for 5+ hours.
Frequently accessed services could be received using a separate interface using direct (bypass dictionary lookup).

Should archival tree caches be evicted based only on the deletion of tenant container?

Reconvene with Kiran again on this.

Since the archival tree cache is primary based on the state of the tenant container's partition key range cache, should archival tree caches be evicted based on changes or refreshes to the partition key range cache?

Reconvene with Kiran again on this.

Should archival tree caches be evicted based on changes or refreshes to the tenant container cache (not necessarily related to partition key range)?

Reconvene with Kiran again on this.

#### Trim cached data to minimum required set (consider abbreviations, etc.)
Note: The impact of change needs to be assessed more closely. There may be a situation where this is changed on a more iterative release as part of a phase 2
1. What cached elements are essential?
2. What cached elements are informational?
3. What cached elements can be abbreviated or removed?
4. Should we revisit and refactor the archival tree structure?
5. What is the baseline size under the most extreme cases and how do we measure and test this?
6. What is the future size under the most extreme cases if a refactoring is done?
Investigate max size of our cache and implement some limits

Check with Rodimiro.

Actionable items:

[x] Get the most extreme case of a partitions in a single container.
let minSplitTreeDepth = 10;
let agoDuration = 30m;
ReportQuota5M
| where TIMESTAMP >= ago(agoDuration)
| where array_length(parse_json(PartitionKeyRangeParentIds)) >= minSplitTreeDepth
| project TIMESTAMP, Tenant, DatabaseName, CollectionName, PartitionId, PartitionKeyRangeParentIds
[ ] Take extreme case, generate a sample ArchivalTree, cache it, measure it, and create a tests that uses this cache to observe the performance.

[x] Samples

1 split (2982 bytes)
2 splits (4538 bytes)
3 splits (6146 bytes)
6 splits (12484 bytes)
10 splits (18964 bytes)

[x] Highest split count for all containers, not exclusive to FFCF accounts was 258 splits using KUSTO

let minSplitTreeDepth = 258;
let agoDuration = 30m;
ReportQuota5M
| where TIMESTAMP >= ago(agoDuration)
| where array_length(parse_json(PartitionKeyRangeParentIds)) >= minSplitTreeDepth
| project TIMESTAMP, Tenant, DatabaseName, CollectionName, PartitionId, PartitionKeyRangeParentIds
| summarize Count=count()

[x] Highest split count for all containers exclusive to FFCF accounts was 12 splits using KUSTO

let minSplitTreeDepth = 12;
let agoDuration = 30m;
let accountsWithFFCFEnabled = MgmtGlobalDatabaseAccountTrace
| where Status !in ("CreationFailed", "DeletionFailed")
| extend EnableFFCFWithPITR=iff(extractjson("$.enableffcfwithpitr", tolower(ConfigurationOverrides)) == "true", "True", "False")
| extend EnableFFCFWithPITRCopy=iff(extractjson("$.enableffcfwithpitrcopy", tolower(ConfigurationOverrides)) == "true", "True", "False")
| summarize arg_max(TIMESTAMP, EnableFFCFWithPITR, EnableFFCFWithPITRCopy) by SubscriptionId, GlobalDatabaseAccount
| where EnableFFCFWithPITR == "True" or EnableFFCFWithPITRCopy == "True"
| project GlobalDatabaseAccountName=GlobalDatabaseAccount;
ReportQuota5M
| where TIMESTAMP >= ago(agoDuration)
| where array_length(parse_json(PartitionKeyRangeParentIds)) >= minSplitTreeDepth
| join kind=inner accountsWithFFCFEnabled on GlobalDatabaseAccountName
| project TIMESTAMP, Tenant, DatabaseName, CollectionName, PartitionId, PartitionKeyRangeParentIds

Publish counters specific to cache information

Observability on metrics. How to measure and get notifications. Supportability.

[x] Log in memory size of all collective caches when a cache entry is

[x] added.
[x] removed.
NOTE: Trickier than it seems.

AsyncCache does not give access to the actual value, ArchivalTree, so even when serialized, it only gives you the key (Ex. {"Keys":[{"Item1":"%d+q,PHgqbz=","Item2":4}]}). The only access you have to the ArchivalTree is by way of AsyncCache.GetAsync, and you need the key for that.

Option 1: We can check memory before and after adding and removing cached item using GC.GetTotalMemory(true); and do the subtraction and that can be the best guess. Verdict: More favorable and easy to implement.
Option 2: Read all keys in AsyncCache. Iterate through all the keys to call Async.GetAsync. Measure each ArchivalTree by converting it to a MemoryStream and using MemoryStream.Length incrementing a long size value and use that. Verdict: Do not like this one. Seems a bit much.
[x] Option 3: new AsyncCache object that has ClearCache, GetAsync, TotalMemorySize capabilities. Object is also responsible for calculating the object size and logic to publish counters. Cache is calculated usingthe already existing UserDefinedTypesExtensions.ConvertToStream{T}(T) in Compute Gateway to get the length of the memory stream. It is only calculating the size once after the archival tree is built and added to the cache. See diagram above.

[ ] Produce KUSTO query to view memory size.
[x] Uses DefaultTrace.TraceInformation logger.
[ ] What logger to use? Friends does not have access to CosmosDBTrace which is widely used by TenantContainer and is based on Microsoft.Azure.Cosmos.Compute.Core.Diagnostics.ITrace. Friends uses Microsoft.Azure.Cosmos.Tracing.ITrace.

[ ] Which KUSTO table does these loggers actually log to?
[ ] Suggestion was made by Rodimiro to log to NodeCounter5MRoleInstanceEvent. Waiting on response on which logger writes to this KUSTO table.

Code complete, testing, signoffs, delivery and release schedules.

Proof of concept

[ ] Also dealing with dependencies while moving internal static ConcurrentDictionary<Uri, AsyncCache<(string, int), ArchivalTree>> ArchivalCacheTree { get; } = new(); to TenantConfiguration from FullFidelityChangeFeedHandler.
[ ] Create and test feature flag.
[x] Code and assembly.info changes to give TenantContainer access to Friends library.

Release and delivery

mid-June?
Schedule: Once a month, or every 3 weeks?

I need more confirmation.

Is this tied to Private Preview, Public Preview, or GA?

Signoffs

Soham can sign off for Compute
Rodimiro can sign off for Backend

Testing

[ ] Create a CTL in test environment.

In Tasks, below two are the high priority and MUST
Cache must be tied to tenant container (should be evicted when container is deleted)
Publish counters specific to cache information
On when to emit cache full size information

Size gets impacted by addition/deletes => On add/delete
Periodic emitter => Gary shared a related code reference

Please share the design of the cache size computation (need to cover the CPU/resurce constraints)

Is the proposal above final solution? Or current stage?
Also there is an open fundamental question about "Is JSON serialized size the right representation of in-memory size"?
Can you please also cover that aspect?

Is the proposal above final solution? Or current stage?
Also there is an open fundamental question about "Is JSON serialized size the right representation of in-memory size"? Can you please also cover that aspect?

@kirankumarkolli  I choose this path because I feel that it is probably the best, which is why, in my documentation, I talked briefly about the other options, and I did strike through them.
After checking many sources, there is no accurate means to determine the actual size of an instanced managed object in .NET. Using Stream.Length is an approximation of the data contained within the object without the overhead. Memory is usually going to be slightly larger.
If we were dealing with structs, there are things like Marshall.SizeOf that we could use, but it is still just an approximation.
GC.GetTotalMemory(true) before and after caches are created or removed can give us a number of what was just add or created, but not the actual size of the caches without subtracting afterSize and beforeSize (afterSize - beforeSize). I don't really have a way of asserting this in a test other that the value is greater every time you add to the cache, and lesser every time you remove from the cache. And 0 if the cache is totally cleared. With this approach you get results like this from one of my tests
One cache item, one service endpoint
Post MemorySizes.TryAdd, the total memory size of AsyncArchivalTreeCache.Caches: (1496) bytes.
The memory size removed for https://localhost/ with key((7P[NqJ9[AUL=, 1)) was (1496) bytes.
Post MemorySizes.TryRemove, the total memory size of AsyncArchivalTreeCache.Caches: (0) bytes.

Two caches, one service endpoint
Post MemorySizes.TryAdd, the total memory size of AsyncArchivalTreeCache.Caches: (1736) bytes.
Post MemorySizes.TryAdd, the total memory size of AsyncArchivalTreeCache.Caches: (1752) bytes.
The memory size removed for https://localhost/ with key((#M1u8uTBIXw=, 2)) was (16) bytes.
The memory size removed for https://localhost/ with key((4Z.(u!yQnb>=, 1)) was (1736) bytes.
Post MemorySizes.TryRemove, the total memory size of AsyncArchivalTreeCache.Caches: (0) bytes.

Two caches, two service endpoints.
Post MemorySizes.TryAdd, the total memory size of AsyncArchivalTreeCache.Caches: (1408) bytes.
Post MemorySizes.TryAdd, the total memory size of AsyncArchivalTreeCache.Caches: (1424) bytes.
The memory size removed for https://localhost/ with key((YHI0O1mybjR=, 1)) was (1408) bytes.
Post MemorySizes.TryRemove, the total memory size of AsyncArchivalTreeCache.Caches: (16) bytes.
The memory size removed for https://localhost2/ with key((x+A]($XTR!j=, 2)) was (16) bytes.
Post MemorySizes.TryRemove, the total memory size of AsyncArchivalTreeCache.Caches: (0) bytes.

There is talk that BenchmarkDotNet and ObjectLayoutInspector has some functions that supposedly does the trick, but not sure this is something we want to introduce.

GC is for the whole process and there might be other concurrent allocations/de-allocations happening right? Our goal is to find just ArchivalTree approximation for the cache, process memory counters are already captured.
ObjectLayoutInspector: ArchivalTree is composed of DrainRoute, SplitGraph types, it's a fixed set of types (even if it evolves it will be a bounded set). If for each type how much space is in-memory, then we can compose the total size right?
Now for each of those types we can pre-compile/model the size and use as a possibility thoughts?

GC is for the whole process and there might be other concurrent allocations/de-allocations happening right? Our goal is to find just ArchivalTree approximation for the cache, process memory counters are already captured.
ObjectLayoutInspector: ArchivalTree is composed of DrainRoute, SplitGraph types, it's a fixed set of types (even if it evolves it will be a bounded set). If for each type how much space is in-memory, then we can compose the total size right?
Now for each of those types we can pre-compile/model the size and use as a possibility thoughts?

@kirankumarkolli
I agree with you sentiments on GC, which is why I did not wish to go that route but included it in the PR just as a point of reference just like I did for Stream.Length.
I do not know much about ObjectLayoutInspector. Maybe I am falsely assuming that this was not a viable option bringing in such a dependency in Compute Gateway so I do not fully understand your question or the direction you are going in when you make references to DrainRoute, SplitGraph types. If you are suggesting that ObjectLayoutInspector is not a deal breaker, then I will look into it more, but my next steps were to start reaching out to others for recommendations, but I think that we are just drawing this out but I am 100% sure you will disagree with whatever stance I take.
The reason why Stream.Length wins for me, at least for this iteration, is that it is a consistent number. It goes up. It goes down. It is something we can use to measure. It is not the accuracy of the number. It is what the number represents. But sure, we can keep going down this rabbit hole.


Locking: Create exclusive lock with timeout

An exclusive lock should be requested with an optional timeout in ms.
When the lock cannot be acquired, a retry will be done until the timeout is reached.
If the blocking lock is released in the meantime, then the new one is set and the flow of the code can resume.

First customer is smart charging @OliveGerste ;-)

First customer is smart charging @OliveGerste ;-)

What the difference with https://app.zenhub.com/workspaces/charge-angels-5dfcfa78b123df328c12f43d/issues/charge-angels/ev-dashboard/2285?

This issue is to try to acquire a lock for a given period of time before it fails and the other is to delete a lock automatically after a given period of time.

@jerome-benoit Would be nice to have unit tests.
Thanks.


Unpin LXML dependency

This lxml-dependency is only required for the scaffold-script, not for regular development, so pinning it to any specific version is not necessary as far as I can tell.
It also doesn't support Python 3.8 and 3.9 natively, so unpinning it will simplify make init for many people

Codecov Report

Merging #3874 (60f5178) into master (f6dda54) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #3874    +/-   ##
========================================
  Coverage   94.86%   94.86%
========================================
  Files         447      447
  Lines       48833    48950   +117
========================================
+ Hits        46324    46438   +114
- Misses       2509     2512     +3

Flag
Coverage Δ

servertests
55.87% <ø> (-0.01%)
:arrow_down:

unittests
94.73% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/swf/models/domain.py
100.00% <0.00%> (ø)

moto/swf/models/__init__.py
93.90% <0.00%> (ø)

moto/ecs/responses.py
99.23% <0.00%> (+<0.01%)
:arrow_up:

moto/emr/responses.py
99.46% <0.00%> (+0.01%)
:arrow_up:

moto/ecs/models.py
92.20% <0.00%> (+0.03%)
:arrow_up:

moto/route53/responses.py
96.47% <0.00%> (+0.04%)
:arrow_up:

moto/emr/models.py
96.25% <0.00%> (+0.04%)
:arrow_up:

moto/route53/models.py
93.11% <0.00%> (+0.12%)
:arrow_up:

moto/sagemaker/models.py
91.22% <0.00%> (+0.67%)
:arrow_up:

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 f6dda54...60f5178. Read the comment docs.


All Clockwork Servers Broken

Due to the recent Garry's Mod update all clockwork servers are now broken. Once you get into the server there is no screen to select your character.

http://forums.cloudsixteen.com/threads/error.11864/#post-134954