Skip to content

Instantly share code, notes, and snippets.

(venv) jcnarasimhan@hadr-crdhost:~/swingbench/swingbench/configs$ cat mntrlscan_soepdb_ac_highertimeouts.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SwingBenchConfiguration xmlns="http://www.dominicgiles.com/swingbench/config">
<Name>Order Entry (JDBC)</Name>
<Comment>Simple Order Entry workload using client side JDBC calls for Appliction Continuity</Comment>
<Connection>
<UserName>soe</UserName>
<Password>enc(cw4Xx9RgsQA=)</Password>
<ConnectString>(DESCRIPTION= (TRANSPORT_CONNECT_TIMEOUT=5) (RETRY_COUNT=6) (FAILOVER=ON) (ADDRESS = (PROTOCOL = TCP) (HOST = mntrlscan.company.brisbane.com) (PORT = 1521) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME = soepdb_ac) ))</ConnectString>
<DriverType>Oracle jdbc Driver</DriverType>
devops@ibm-dev:/app/labs/03_test_fixtures/tests$ python -m unittest
E
======================================================================
ERROR: test_account (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_account
Traceback (most recent call last):
File "/usr/local/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/local/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
Thank you all for various message today (in group & DMs)... consolidating below for anyone's benefit in future:
Dublin:
=====================
CityHealth COVID-19 Testing - Dublin
5376 Broder Blvd, Dublin, CA 94568
(510) 984-2489
This is free of cost.
Time is 24hours.
If you take the test 10am , you will get 10pm.
@jcnars
jcnars / gist:4d104db7a1960c4eee0bbe6c7fee2a3d
Last active December 14, 2021 04:55
Github Payload for PR comment
jcnarasimhan@jon2:~$ curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/google/bms-toolkit/events
...
{
"id": "19173721650",
"type": "IssueCommentEvent",
"actor": {
"id": 12689962,
"login": "jcnars",
"display_login": "jcnars",
"gravatar_id": "",
✔ ~/mydrive/bmaas/host_provisioning/bms-toolkit [host-provision|✚ 1…1]
14:08 $ runlocalssh ./host-provision.sh --instance-ip-addr 172.16.110.1 --instance-ssh-user ansible9 --proxy-setup true --u01-lun /dev/mapper/3600a098038314473792b51456555712f
Command used:
/usr/local/google/home/jcnarasimhan/mydrive/bmaas/host_provisioning/bms-toolkit/host-provision.sh --instance-ip-addr 172.16.110.1 --instance-ssh-user ansible9 --proxy-setup true --u01-lun /dev/mapper/3600a098038314473792b51456555712f
Running with parameters from command line or environment variables:
INSTANCE_SSH_USER=ansible9
INVENTORY_FILE=172.16.110.1,
ORA_CS_HOSTS=172.16.110.1
[root@linuxserver44 oracle_install]# lsof|grep u01
[root@linuxserver44 oracle_install]# findmnt
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/rootvg-rootlv
xfs rw,relatime,attr2,inode64,noquota
├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
│ │ ├─/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
│ │ ├─/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids
[root@linuxserver44 /]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
sw db -wi-a----- <160.01g
homelv rootvg -wi-ao---- 20.00g
optlv rootvg -wi-ao---- 20.00g
rootlv rootvg -wi-ao---- 8.00g
swaplv rootvg -wi-ao---- 16.00g
tmplv rootvg -wi-ao---- 5.00g
varlv rootvg -wi-ao---- 4.00g
u01 sw -wi-a----- 400.00m
[root@linuxserver44 oracle_install]# cat /etc//fstab
#
# /etc/fstab
# Created by anaconda on Sun Feb 16 10:06:11 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/rootvg-rootlv / xfs defaults 0 0
jcnarasimhan-macbookpro:bms-toolkit jcnarasimhan$ pwd
/Users/jcnarasimhan/Documents/GitHub/bms-toolkit
jcnarasimhan-macbookpro:bms-toolkit jcnarasimhan$ git status
On branch test-prow-job
Your branch is up to date with 'origin/test-prow-job'.
nothing to commit, working tree clean
jcnarasimhan-macbookpro:bms-toolkit jcnarasimhan$ git update-index --chmod=+x presubmit_tests/test-pr-poc.sh
jcnarasimhan-macbookpro:bms-toolkit jcnarasimhan$ git status
On branch test-prow-job
jcnarasimhan@jon2:~/DriveFS/My Drive/bmaas/test_automation/oss_prow_onboarding/running_cleanup_install_oracle$ !grep
grep -v \# ~/mydrive/bmaas/test_automation/oss_prow_onboarding/test_locally_rac.yaml
---
apiVersion: v1
kind: Pod
metadata:
name: test-pods-namespace-lo-podname
namespace: test-pods
spec:
hostNetwork: true