Skip to content

Instantly share code, notes, and snippets.

View mbukatov's full-sized avatar

Martin Bukatovic mbukatov

View GitHub Profile
@mbukatov
mbukatov / log
Created April 30, 2020 18:47
issue 1954 negative usecase example
20:35:35 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n namespace-test-61e4539a41ec40768a4b0ec8d7716c31 --kubeconfig /home/ocsqe/data/mbukatov-dc2-cluster_20200226T131741/auth/kubeconfig get Pod fio-qk5hj -n namespace-test-61e4539a41ec40768a4b0ec8d7716c31
20:35:36 - MainThread - ocs_ci.ocs.ocp - ERROR - Waiting for Pod resource at column STATUS to reach desired condition Completed was aborted because at least one is in unexpected Error state.
20:35:36 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n namespace-test-61e4539a41ec40768a4b0ec8d7716c31 --kubeconfig /home/ocsqe/data/mbukatov-dc2-cluster_20200226T131741/auth/kubeconfig describe Pod
20:35:38 - MainThread - ocs_ci.ocs.ocp - WARNING - Description of the resource(s) we were waiting for:
Name: fio-d42xz
Namespace: namespace-test-61e4539a41ec40768a4b0ec8d7716c31
Priority: 0
PriorityClassName: <none>
Node: compute-1/10.70.60.58
Start Time: Thu, 30 Apr 2020
@mbukatov
mbukatov / xmonad.hs
Last active February 18, 2020 17:35
minimal xmonad config with plain volume control
import Graphics.X11.ExtraTypes.XF86
import XMonad
import XMonad.Config
import XMonad.Util.EZConfig
import XMonad.Util.Run (spawnPipe)
myKeys = [
((0, xF86XK_AudioRaiseVolume), spawn "amixer -D pulse sset Master 10%+")
, ((0, xF86XK_AudioLowerVolume), spawn "amixer -D pulse sset Master 10%-")
@mbukatov
mbukatov / 1128.2019-12-06.log
Created December 6, 2019 15:38
old logs for pr 1128
This file has been truncated, but you can view the full file.
2019-12-05 11:43:32,560 - INFO - tests.conftest.cluster.709 - All logs located at /tmp/ocs-ci-logs-1575542596
2019-12-05 11:43:32,561 - INFO - ocs_ci.deployment.factory.get_deployment.34 - Deployment key = aws_ipi
2019-12-05 11:43:32,562 - INFO - ocs_ci.deployment.factory.get_deployment.36 - Current deployment platform: AWS,deployment type: ipi
2019-12-05 11:43:33,112 - INFO - ocs_ci.utility.utils.run_cmd.401 - Executing command: /home/ocsqe/projects/ocs-ci/bin/oc version --client
2019-12-05 11:43:33,250 - INFO - ocs_ci.utility.utils.get_openshift_client.593 - OpenShift Client version: Client Version: openshift-clients-4.2.2-201910250432
2019-12-05 11:43:33,252 - INFO - ocs_ci.utility.utils.get_rook_repo.1205 - The rook directory /home/ocsqe/projects/ocs-ci/data/rook already exists, ocs-ci will skip the clone of rook repository.
2019-12-05 11:43:33,252 - INFO - ocs_ci.utility.utils.get_rook_repo.1208 - Fetching latest changes from rook repository.
2019-12-05 11:43:33,253 - INFO - ocs_ci.utility.utils.run_cmd.
@mbukatov
mbukatov / test_workload_fixture.py::test_workload_rbd.log
Created December 5, 2019 16:19
test_workload_fixture.py::test_workload_rbd
----------------------------------------------------------------------- live log call ------------------------------------------------------------------------ [3/487]
17:12:45 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc login -u kubeadmin -p kXNwY-BZEnv-yvikT-cF8ur
17:12:48 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n openshift-monitoring --kubeconfig /home/ocsqe/data/cluster-2019-12-03.3/auth/kubeconfig whoami --show-token
17:12:49 - MainThread - ocs_ci.utility.utils - INFO - Executing com
==================================== ERRORS ====================================
______________________ ERROR at setup of test_deployment _______________________
request = <SubRequest 'cluster' for <Function test_deployment>>
log_cli_level = 'INFO'
@pytest.fixture(scope="session", autouse=True)
def cluster(request, log_cli_level):
"""
This fixture initiates deployment for both OCP and OCS clusters.
@mbukatov
mbukatov / README.md
Last active August 15, 2019 17:10
ocs-ci 499
@mbukatov
mbukatov / .gitignore
Last active August 2, 2019 16:08
ocs-ci-pull-499-deployment-testing
cluster-2019-08-02.02.tar.gz

Evidence related to fixing accidental changes in mutable default structures #265

With master branch:

$ grep KeyError: report.master-ff0206c.format.xml
E               KeyError: 'root[895]root[896]'
    <failure message="KeyError: 'userID'">self =
&lt;tests.manage.test_ocs_336_346.TestOSCBasics object at 0x7ff90e40d7b8&gt;,
test_fixture = None
@mbukatov
mbukatov / peerprobe.1.yml
Created July 27, 2018 07:10
Create Gluster Trusted Storage Pool (peer probe) via ansible
- hosts: gluster
user: root
tasks:
- name: Create a trusted storage pool
gluster_peer:
state: present
nodes: "{{ groups['gluster'] }}"
run_once: yes
@mbukatov
mbukatov / example.yml
Last active February 23, 2018 15:04
ansbile check if ntp package is installed
- name: Check if ntp is installed
command: rpm -q ntp
register: rpm_q_ntp
changed_when: False
failed_when: rpm_q_ntp.rc > 1