Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[ANSIENG-4269] | adding profile_tasks to note time of each task in molecule run #1870

Open
wants to merge 1 commit into
base: 7.9.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions molecule/archive-community-plaintext-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than adding these config_options, can we do it at a common place something like pre-setup script. And any particular reason to add it from 7.8 and not before?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I felt like 7.8 is pretty recent version so has a lot of new changes in it which is where we might have to look into to optimize the run times. If we did this in older versions also then probably pint merge will be causing some trouble as names of a bunch of tests cases changes in newer versions making it tougher to resolve conflicts.

Yes if we could add this in a pre setup like script that would be easier to manage. I'll check if I can find some way to do that. If that is easily doable then we can go ahead and add this to all older versions as well

defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/archive-plain-debian10/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/archive-plain-debian12/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/archive-plain-rhel-fips/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/archive-plain-ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/archive-scram-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
4 changes: 2 additions & 2 deletions molecule/archive-zookeeper-tls-rhel-fips/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ platforms:
networks:
- name: confluent
provisioner:
name: ansible
config_options:
defaults:
hash_behaviour: merge
callbacks_enabled: profile_tasks
name: ansible
inventory:
group_vars:
all:
Expand Down
3 changes: 3 additions & 0 deletions molecule/broker-scale-up/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
ansible_args:
- --skip-tags=validate_memory_usage
playbooks:
Expand Down
3 changes: 3 additions & 0 deletions molecule/ccloud/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: converge.yml
inventory:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/connect-scale-up/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
ansible_args:
- --skip-tags=validate_memory_usage
playbooks:
Expand Down
3 changes: 3 additions & 0 deletions molecule/cp-kafka-plain-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/custom-user-plaintext-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ platforms:
networks:
- name: confluent${JOB_BASE_NAME}${BUILD_NUMBER}
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: converge.yml
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/kerberos-customcerts-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/kerberos-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/ksql-scale-up/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
ansible_args:
- --skip-tags=validate_memory_usage
playbooks:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mini-setup-ext-mds-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE_RBAC:-../multi_rbac_converge.yml}
inventory:
Expand Down
5 changes: 4 additions & 1 deletion molecule/mini-setup-ldap-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down Expand Up @@ -307,4 +310,4 @@ provisioner:
- username: "{{mds_super_user}}"
password: "{{mds_super_user_password}}"
uid: 9993
guid: 93
guid: 93
3 changes: 3 additions & 0 deletions molecule/mini-setup-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mini-setup-oauth-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
5 changes: 4 additions & 1 deletion molecule/mini-setup-out-ldap-in-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down Expand Up @@ -300,4 +303,4 @@ provisioner:
- username: "{{mds_super_user}}"
password: "{{mds_super_user_password}}"
uid: 9993
guid: 93
guid: 93
3 changes: 3 additions & 0 deletions molecule/mini-setup-out-oauth-in-mtls/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-custombundle-rhel-fips/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-customcerts-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-debian12/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-java11-rhel-fips/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-java8-ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/mtls-ubuntu/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/multi-ksql-connect-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
inventory:
host_vars:
# ksql1 will not have an advertised listener, validating the defaulting logic
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-archive-plain-ubuntu2004/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: converge.yml
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-mtls-java11-debian/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-mtls-ubuntu-acl/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
inventory:
group_vars:
all:
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-plain-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE:-../collections_converge.yml}
inventory:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: converge.yml
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-rbac-mds-kerberos-debian/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE_RBAC:-../multi_rbac_converge.yml}
inventory:
Expand Down
3 changes: 3 additions & 0 deletions molecule/oauth-rbac-mds-scram-custom-rhel/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ platforms:
networks:
- name: confluent
provisioner:
config_options:
defaults:
callbacks_enabled: profile_tasks
playbooks:
converge: ${MIGRATION_CONVERGE_RBAC:-../multi_rbac_converge.yml}
inventory:
Expand Down
Loading