Skip to content

Instantly share code, notes, and snippets.

View rasheedamir's full-sized avatar

Rasheed Amir rasheedamir

View GitHub Profile
@rasheedamir
rasheedamir / SystemLog.txt
Created February 13, 2018 14:21
SystemLog.txt
pper/usr.
 OK ] Started Verity Setup for /dev/mapper/usr.
[ 3.433601] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null)
[ 3.437516] systemd[1]: Mounted /sysroot/usr.
[ OK ] Mounted /sysroot/usr.
[ 3.442525] systemd[1]: Starting Root filesys[ 3.444077] random: crng init done
tem setup...
Starting Root filesystem setup...
[ 3.551360] systemd-networkd[260]: eth0: Gained IPv6LL
[ OK ] Started Root filesystem setup.
@rasheedamir
rasheedamir / Actions->InstanceSettings->GetSystemLog.txt
Created February 13, 2018 13:12
Actions->InstanceSettings->GetSystemLog.txt
erved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1
[ 0.000000] ftrace: allocating 26629 entries in 105 pages
[ 0.001000] Hierarchical RCU implementation.
[ 0.001000] RCU event tracing is enabled.
[ 0.001000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=15.
[ 0.001000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=15
[ 0.001000] NR_IRQS: 33024, nr_irqs: 952, preallocated irqs: 16
[ 0.001000] xen:events: Using 2-level ABI
[ 0.001000] xen:events: Xen HVM callback vector for event delivery is enabled
@rasheedamir
rasheedamir / jenkinsfile-and-log.md
Created October 31, 2017 09:09
jenkinsfile-and-log.md
#!/usr/bin/env groovy
@Library('github.com/stakater/fabric8-pipeline-library@master')

def localItestPattern = ""
try {
    localItestPattern = ITEST_PATTERN
} catch (Throwable e) {
    localItestPattern = "*KT"
@rasheedamir
rasheedamir / jenkins-k8s-apply-issue.md
Created October 30, 2017 10:05
jenkins-k8s-apply-issue

PROBLEM

Jenkinsfile

        // timeout is in milliseconds
        stage('Rollout to Stage') {
            kubernetesApply(readinessTimeout: 180000, environment: envStage)
            // TODO: figure out why to stash deployments?
            // TODO: from where does the stash command comes?
@rasheedamir
rasheedamir / install.sh
Created October 22, 2017 09:39 — forked from ziadoz/install.sh
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`

FAIL

Rasheeds-MacBook-Pro-2:systemtest rasheed$ kubectl logs -f jenkins-slave-l2qvk-zkpnz -n=digitaldealer -c jnlp
Sep 29, 2017 10:47:10 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: jenkins-slave-l2qvk-zkpnz
Sep 29, 2017 10:47:11 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Sep 29, 2017 10:47:11 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins:80]
Rasheeds-MacBook-Pro-2:systemtest rasheed$ kubectl describe pod jenkins-slave-l8llm-bz973 -n=dd
Name:   jenkins-slave-l8llm-bz973
Namespace:  dd
Node:   ip-10-240-102-119.eu-west-1.compute.internal/10.240.102.119
Start Time: Fri, 29 Sep 2017 12:20:40 +0200
Labels:   jenkins=slave
    jenkins/maven.systemtest.14=true
Annotations:  <none>
Status:   Running
Rasheeds-MacBook-Pro-2:systemtest rasheed$ kubectl describe pod jenkins-slave-bzgpg-9l5fr -n=dd
Name:       jenkins-slave-bzgpg-9l5fr
Namespace:      dd
Node:       ip-10-240-101-231.eu-west-1.compute.internal/10.240.101.231
Start Time:     Fri, 29 Sep 2017 12:15:50 +0200
Labels:       jenkins=slave
        jenkins/maven.systemtest.13=true
Annotations:      <none>
Status:       Terminating (expires Fri, 29 Sep 2017 12:17:47 +0200)
Rasheeds-MacBook-Pro-2:systemtest rasheed$ kubectl describe pod jenkins-slave-q9fnr-n8qv1 -n=dd
Name:				jenkins-slave-q9fnr-n8qv1
Namespace:			dd
Node:				ip-10-240-102-119.eu-west-1.compute.internal/10.240.102.119
Start Time:			Fri, 29 Sep 2017 12:11:31 +0200
Labels:				jenkins=slave
				jenkins/maven.systemtest.12=true
Annotations:			<none>
Status:				Terminating (expires Fri, 29 Sep 2017 12:12:48 +0200)
#!/usr/bin/env groovy
@Library('github.com/stakater/fabric8-pipeline-library@master')

def localItestPattern = ""
try {
    localItestPattern = ITEST_PATTERN
} catch (Throwable e) {
    localItestPattern = "*KT"
}